Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > General > Audio encoding

Reply
 
Thread Tools Search this Thread Display Modes
Old 27th March 2011, 19:44   #11041  |  Link
Snowknight26
Registered User
 
Join Date: Aug 2007
Posts: 1,394
eac3to doesn't seem to handle TrueHD frame changes at the moment. A sample file I have switches from 6 channels to 2 channels within the first few hundred KB, but when it does, eac3to returns "a03 libav Restart header sync incorrect (got 0x14be)" then fails while ffmpeg decodes it properly. Any chance supporting this?
Snowknight26 is offline   Reply With Quote
Old 27th March 2011, 19:46   #11042  |  Link
Sharc
Registered User
 
Join Date: May 2006
Posts: 3,525
Quote:
Originally Posted by tebasuna51 View Post
....Here the parameter -24.000 does nothing.
Out of curiosity: Isn't the effect similiar to avisynth's AssumeFPS(xx) vs ChangeFPS(yy)?
I mean -24.000 would set the new audio playback speed and change the original duration, while -changeTo24.000 would keep the original duration?
Sharc is offline   Reply With Quote
Old 27th March 2011, 20:27   #11043  |  Link
Undead Sega
Registered User
 
Join Date: Oct 2007
Posts: 713
Hi guys, sorry if this may have been brought up before, but I was wondering if it is possible to do either slowdown or speedup whilst preserving the pitch?

For example: '23.796 to 25' pitch preserving/correction? and vice-versa with different framerates?
Undead Sega is offline   Reply With Quote
Old 27th March 2011, 23:56   #11044  |  Link
Thunderbolt8
Registered User
 
Join Date: Sep 2006
Posts: 2,171
Quote:
Originally Posted by Snowknight26 View Post
eac3to doesn't seem to handle TrueHD frame changes at the moment. A sample file I have switches from 6 channels to 2 channels within the first few hundred KB, but when it does, eac3to returns "a03 libav Restart header sync incorrect (got 0x14be)" then fails while ffmpeg decodes it properly. Any chance supporting this?
not unless you post the sample
Thunderbolt8 is offline   Reply With Quote
Old 28th March 2011, 01:25   #11045  |  Link
Sharc
Registered User
 
Join Date: May 2006
Posts: 3,525
Quote:
Originally Posted by Undead Sega View Post
Hi guys, sorry if this may have been brought up before, but I was wondering if it is possible to do either slowdown or speedup whilst preserving the pitch?

For example: '23.796 to 25' pitch preserving/correction? and vice-versa with different framerates?
I am not sure how it goes with eac3to. However, it's certainly possible via avisynth (timestretch) and more easily via BeSweet/BeLight (GUI) for example.
Sharc is offline   Reply With Quote
Old 28th March 2011, 04:03   #11046  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 5,694
Quote:
Originally Posted by krosswindz View Post
dvd video (23.976fps) runtime is: 10619286 ms
blu-ray video (24fps) runtime is: 10631458 ms
Then
dvd video have 10619286 x 23.976 = 254608 frames
bd video have 10631458 x 24 = 255155 frames

The bd video have 547 more frames (~23 seconds) than dvd video. Isn't the same video and you need a big edit to use the audio.
__________________
BeHappy, AviSynth audio transcoder, in Doom9 forums. NicAudio, BassAudio, audio decoders.
tebasuna51 is offline   Reply With Quote
Old 28th March 2011, 04:10   #11047  |  Link
krosswindz
Registered User
 
Join Date: Feb 2006
Location: kernel space
Posts: 245
Quote:
Originally Posted by tebasuna51 View Post
Then
dvd video have 10619286 x 23.976 = 254608 frames
bd video have 10631458 x 24 = 255155 frames

The bd video have 547 more frames (~23 seconds) than dvd video. Isn't the same video and you need a big edit to use the audio.
I noticed the difference in runtime, what is weird is the main movie is the same for both Blu-ray and DVD. There is difference in the title and credits of the movie in terms of additional information. I thought adding suitable delay to sync the audio should work. For some reason it just goes out of sync progressively. When I compare the runtimes of the converted audio from the original audio the original audio is ~1.001 * converted audio runtime. I guess I need to see what else is different to fix it.
krosswindz is offline   Reply With Quote
Old 28th March 2011, 13:47   #11048  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 5,694
Quote:
Originally Posted by Sharc View Post
Out of curiosity: Isn't the effect similiar to avisynth's AssumeFPS(xx) vs ChangeFPS(yy)?
I mean -24.000 would set the new audio playback speed and change the original duration, while -changeTo24.000 would keep the original duration?
Audio don't have reference to video fps, then a pair of fps like -24.000 -changeTo23.976 only means enlarge the audio duration by (24/(24/1.001)) = 1.001
Some defaults can work, for instance:
-slowdown is equivalent to -25.000 -changeTo23.976
-speedup is equivalent to -23.976 -changeTo25.000
But I like always put the fps pair and don't assume any fps for audio.

The fps equivalent parameter for audio is samplerate:
48 KHz means 48000 audio samples per second, like 24 fps means 24 video frames per second.

Quote:
Originally Posted by Undead Sega View Post
Hi guys, sorry if this may have been brought up before, but I was wondering if it is possible to do either slowdown or speedup whilst preserving the pitch?
Nope with soft included in eac3to

Quote:
Originally Posted by Sharc View Post
... it's certainly possible via avisynth (timestretch) and more easily via BeSweet/BeLight (GUI) for example.
Yes.
(but with BeSweet try only with stereo files)
__________________
BeHappy, AviSynth audio transcoder, in Doom9 forums. NicAudio, BassAudio, audio decoders.
tebasuna51 is offline   Reply With Quote
Old 28th March 2011, 13:55   #11049  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 5,694
Quote:
Originally Posted by krosswindz View Post
...
There is difference in the title and credits of the movie in terms of additional information...
Then try only with a initial delay, with the original DVD audio or with the stretched (1/1.001) DVD audio.
No problem with end credits the audio can be short than video.
__________________
BeHappy, AviSynth audio transcoder, in Doom9 forums. NicAudio, BassAudio, audio decoders.
tebasuna51 is offline   Reply With Quote
Old 28th March 2011, 20:37   #11050  |  Link
Sharc
Registered User
 
Join Date: May 2006
Posts: 3,525
Quote:
Originally Posted by tebasuna51 View Post
Audio don't have reference to video fps, then a pair of fps like -24.000 -changeTo23.976 only means enlarge the audio duration by (24/(24/1.001)) = 1.001
Thanks for clarification.
Does such pair of fps preserve or change the pitch?
Sharc is offline   Reply With Quote
Old 28th March 2011, 22:03   #11051  |  Link
Chouonsoku
Registered User
 
Join Date: Sep 2007
Posts: 39
I'm having an issue with a DTS-HD MA 6.1 audio track from Ghost in the Shell 2: Innocence's Absolute Edition. The disc has a TrueHD 6.1 and a DTS-HD MA 6.1 track, and I can compress the TrueHD to FLAC, extract the DD5.1-EX core and also extract the DTS-ES 6.1 core, but when I compress the DTS-MA HD track to FLAC, it ends up being around 2.5 GB (vs. the DTS-MA HD's 1.8 GB) and the output file is also stretched somewhat. The original runtime of the film is 1hr 39m, however the FLAC of the DTS track reports it's 1hr 53m long, and during playback the audio is there, but it's distorted and stretched. No warnings or errors are reported by eac3to, and again all other tracks playback fine.

Quote:
Originally Posted by eac3to
eac3to v3.24
command line: eac3to 1) 1:chapters.txt 2:innocence.h264 3: japanese.ac3 -core 3:japanese-truehd.flac 4:japanese.dts -core 4:japanese-dts.flac 7:english.sup
------------------------------------------------------------------------------
M2TS, 1 video track, 2 audio tracks, 3 subtitle tracks, 1:39:06, 24p /1.001
1: Chapters, 20 chapters
2: h264/AVC, 1080p24 /1.001 (16:9)
3: TrueHD/AC3, Japanese, 6.1 channels, 48kHz
(embedded: AC3 EX, 5.1 channels, 640kbps, 48kHz)
4: DTS Master Audio, Japanese, 6.1 channels, 16 bits, 48kHz
(core: DTS-ES, 6.1 channels, 16 bits, 1509kbps, 48kHz)
5: Subtitle (PGS), Japanese
6: Subtitle (PGS), Japanese
7: Subtitle (PGS), English
Creating file "chapters.txt"...
[a04] Extracting audio track number 4...
[v02] Extracting video track number 2...
[a04] Extracting audio track number 4...
[a03] Extracting audio track number 3...
[a04] Extracting DTS core...
[s07] Extracting subtitle track number 7...
[a04] Remapping channels...
[a03] Extracting TrueHD stream...
[a03] Extracting audio track number 3...
[a04] Patching bitdepth to 24 bits...
[a03] Decoding with libav/ffmpeg...
[a03] Extracting AC3 stream...
[a04] Decoding with ArcSoft DTS Decoder...
[a03] Remapping channels...
[a04] Encoding FLAC with libFlac...
[a03] Encoding FLAC with libFlac...
[a04] Creating file "japanese.dts"...
[v02] Creating file "innocence.h264"...
[a04] Creating file "japanese-dts.flac"...
[a03] Creating file "japanese-truehd.flac"...
[a03] Creating file "japanese.ac3"...
[s07] Creating file "english.sup"...
[a03] The original audio track has a constant bit depth of 16 bits.
[a04] The original audio track has a constant bit depth of 16 bits.
[a03] Superfluous zero bytes detected, will be stripped in 2nd pass.
[a03] Starting 2nd pass...
[a03] Decoding FLAC...
[a03] Reducing depth from 24 to 16 bits...
[a03] Encoding FLAC with libFlac...
[a03] Creating file "japanese-truehd.flac"...
[a03] The processed audio track has a constant bit depth of 16 bits.
Video track 2 contains 142560 frames.
Subtitle track 7 contains 814 captions.
eac3to processing took 34 minutes, 53 seconds.
Done.
Chouonsoku is offline   Reply With Quote
Old 29th March 2011, 00:31   #11052  |  Link
Snowknight26
Registered User
 
Join Date: Aug 2007
Posts: 1,394
Most likely an issue with the ArcSoft DTS decoder. What version is it?
Snowknight26 is offline   Reply With Quote
Old 29th March 2011, 07:46   #11053  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,500
Quote:
Originally Posted by Sharc View Post
Thanks for clarification.
Does such pair of fps preserve or change the pitch?
Change.
sneaker_ger is offline   Reply With Quote
Old 3rd April 2011, 05:36   #11054  |  Link
TDiTP_
Registered User
 
Join Date: Jul 2010
Location: Siberia
Posts: 50
Stupid question. Why eac3to need MkvToolNix?
TDiTP_ is offline   Reply With Quote
Old 3rd April 2011, 06:17   #11055  |  Link
Mark_A_W
3 eyed CRT supporter
 
Join Date: Jan 2008
Location: Or-strayl-ya
Posts: 563
Hi all

Quick question..

What is the command line to upconvert a 6.1 TrueHD track to 7.1 FLAC (with centre rear doubled to L back and R back)?

There's a trilogy coming out soon (finally..) with 6.1 sound
Mark_A_W is offline   Reply With Quote
Old 3rd April 2011, 07:26   #11056  |  Link
TDiTP_
Registered User
 
Join Date: Jul 2010
Location: Siberia
Posts: 50
Quote:
Originally Posted by Mark_A_W
What is the command line to upconvert a 6.1 TrueHD track to 7.1 FLAC (with centre rear doubled to L back and R back)?
-double7

But this command does work incorrect, you need to add -0,1,2,3,5,6,4:
eac3to input output -double7 -0,1,2,3,5,6,4
TDiTP_ is offline   Reply With Quote
Old 8th April 2011, 01:00   #11057  |  Link
Chouonsoku
Registered User
 
Join Date: Sep 2007
Posts: 39
Quote:
Originally Posted by Snowknight26 View Post
Most likely an issue with the ArcSoft DTS decoder. What version is it?
Quote:
Originally Posted by eac3to -test
eac3to (v3.24) is up to date
Nero Audio Decoder (Nero 7) works fine
ArcSoft DTS Decoder (1.1.0.8) works fine
Sonic Audio Decoder (4.3.0.169) works fine
Haali Matroska Muxer (2011-03-03) is up to date
Nero AAC Encoder (1.5.4.0) is up to date
Surcode DTS Encoder doesn't seem to be installed
http://www.surcode.com
MkvToolnix (4.6.0.0, release version) is up to date
Is there a newer version?

Edit: Something I just noticed though, eac3to reports the track as being 16-bit however the bits aren't stripped in the second pass like they are for the TrueHD track. I'm testing decoding with Sonic Audio Decoder now to see if that works, although I'd rather not use it.

Edit 2: Sonic decoded it fine, same exact bitrate as the TrueHD (figured). Plays back fine and has the correct length. Still don't know why ArcSoft is having a problem with it.

Last edited by Chouonsoku; 8th April 2011 at 02:02.
Chouonsoku is offline   Reply With Quote
Old 8th April 2011, 09:10   #11058  |  Link
TDiTP_
Registered User
 
Join Date: Jul 2010
Location: Siberia
Posts: 50
For decode track 4:
Quote:
Originally Posted by Chouonsoku
4: DTS Master Audio, Japanese, 6.1 channels, 16 bits, 48kHz
(core: DTS-ES, 6.1 channels, 16 bits, 1509kbps, 48kHz)
you need ArcSoft DTS Decoder 1.1.0.0 (you can find it here). Versions 1.1.0.7 and 1.1.0.8 can't decode DTS-ES 6.1 properly, it's known bug.

Quote:
Originally Posted by Chouonsoku
Sonic decoded it fine, same exact bitrate as the TrueHD (figured).
Sonic can't decode DTS-ES 6.1 properly too. BC-channel is empty always.
TDiTP_ is offline   Reply With Quote
Old 8th April 2011, 11:49   #11059  |  Link
Mark_A_W
3 eyed CRT supporter
 
Join Date: Jan 2008
Location: Or-strayl-ya
Posts: 563
What about 1.1.0.5? Can that do 6.1?
Mark_A_W is offline   Reply With Quote
Old 8th April 2011, 11:56   #11060  |  Link
TDiTP_
Registered User
 
Join Date: Jul 2010
Location: Siberia
Posts: 50
Quote:
Originally Posted by Mark_A_W
What about 1.1.0.5? Can that do 6.1?
i don't know. If you give me this version, i can test it.
TDiTP_ is offline   Reply With Quote
Reply

Tags
eac3to

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 04:11.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.