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

Closed Thread
 
Thread Tools Search this Thread Display Modes
Old 13th July 2010, 17:59   #10321  |  Link
crl2007
Registered User
 
Join Date: Nov 2007
Posts: 650
Sometimes, when I join multiple m2ts files and demux the streams, the end result shows 13 hours as duration.

I join multiple m2ts files from branched discs, for backup as a single m2ts. So it should have 2 hours, not 13.
crl2007 is offline  
Old 16th July 2010, 15:39   #10322  |  Link
hubblec4
Matroska find' ich toll
 
Join Date: Apr 2008
Posts: 1,370
hello

can everybody help me with the second pass. i have a trueHD track. i want convert it to flac. when the first pass ready the second pass starts, with the message superfluous bits detected: reduce bitdepth from 24 to 16bit. but the second-pass-file sounds damaged.
But the first-pass-flie sounds good(perfect)

is there an option to disable the second pass?


and how i get a full-list of the option by eac3to?

Last edited by hubblec4; 16th July 2010 at 21:38.
hubblec4 is offline  
Old 16th July 2010, 15:46   #10323  |  Link
Inspector.Gadget
Registered User
 
Join Date: May 2008
Posts: 1,618
What do you mean "sounds damaged"? What's the difference in sound between the original and the encoded FLAC file? eac3to is pretty good about throwing out only padding in lossless audio tracks.
Inspector.Gadget is offline  
Old 16th July 2010, 15:55   #10324  |  Link
Midzuki
Unavailable
 
Midzuki's Avatar
 
Join Date: Mar 2009
Location: offline
Posts: 1,480
Quote:
Originally Posted by hubblec4 View Post
is there an option to disable the second pass?

and how i get a full-list of the option by eac3to?
http://en.wikibooks.org/wiki/Eac3to/How_to_Use

but I'm not sure if dropping the 2nd pass will be a solution
Midzuki is offline  
Old 16th July 2010, 15:57   #10325  |  Link
hubblec4
Matroska find' ich toll
 
Join Date: Apr 2008
Posts: 1,370
you cant understand speech in this file. the musik is distorted. icant explain that exactly, but you hear nothing right.

the bit depth reducing from 24 to 16 bit is not necessary. you know the option to disable the second pass?

i can manually abort the cmd after finished the first pass and then i have the firstpass-file.

Last edited by hubblec4; 16th July 2010 at 21:37.
hubblec4 is offline  
Old 16th July 2010, 15:57   #10326  |  Link
hubblec4
Matroska find' ich toll
 
Join Date: Apr 2008
Posts: 1,370
Quote:
Originally Posted by Midzuki View Post
http://en.wikibooks.org/wiki/Eac3to/How_to_Use

but I'm not sure if dropping the 2nd pass will be a solution
ok. i've found it. thanks.

i think is a good solution, because the firstpass-audio sounds perfect with a bit depth of 24.
and the secondpass-file with 16bit sounds very bad.

Last edited by hubblec4; 16th July 2010 at 21:36.
hubblec4 is offline  
Old 16th July 2010, 16:11   #10327  |  Link
deathlord
Registered User
 
Join Date: Mar 2008
Posts: 101
Quote:
Originally Posted by hubblec4 View Post
ok. i've found it. thanks.

i think is a good solution, because the firstpass-audio sounds perfect with a bitdeth of 24.
and the secondpass-file with 16bit sounds very bad.
The only reason eac3to uses only 16 bits and not 24 in this track is that only those bits contain audio information. The 8 least significant bits are empty. Eac3to does not need to do a second pass in order to strip these. So the second pass must have another reason, e.g. because eac3to detects clipping.
I suspect there is something (slightly) wrong with the file and that's why the second pass produces garbage (this happend to me once).
In any event, if the result of the first pass is ok, i.e. audio is in sync throughout the movie, you can use that of course.
deathlord is offline  
Old 16th July 2010, 17:44   #10328  |  Link
hubblec4
Matroska find' ich toll
 
Join Date: Apr 2008
Posts: 1,370
here the log with second-pass

eac3to v3.21
command line: eac3to.exe "00000 - 6 - TrueHD+AC3, German, 5.1 channels, 48kHz DELAY 125ms.thd+ac3" "deu.flac" -50mb
------------------------------------------------------------------------------
TrueHD/AC3, 5.1 channels, 48kHz
(embedded: AC3, 5.1 channels, 640kbps, 48kHz)
Extracting TrueHD stream...
Decoding with libav/ffmpeg...
Encoding FLAC with libFlac...
Creating file "deu.flac"...
The original audio track has a constant bit depth of 16 bits.
Superfluous zero bytes detected, will be stripped in 2nd pass.
Starting 2nd pass...
Decoding FLAC...
Reducing depth from 24 to 16 bits...
Encoding FLAC with libFlac...
Creating file "deu.flac"...
The processed audio track has a constant bit depth of 16 bits.
eac3to processing took 25 seconds.
Done.
hubblec4 is offline  
Old 16th July 2010, 19:48   #10329  |  Link
Snowknight26
Registered User
 
Join Date: Aug 2007
Posts: 1,430
Quote:
Originally Posted by hubblec4 View Post
eac3to v3.21
Enough said.
Snowknight26 is offline  
Old 16th July 2010, 19:54   #10330  |  Link
Atak_Snajpera
RipBot264 author
 
Atak_Snajpera's Avatar
 
Join Date: May 2006
Location: Poland
Posts: 7,806
@madshi
can you add option to automatically ignore .m2ts in playlist if number of audio channels is not constant. In this example also frame rate is different in first file.

Movie Downfall
Code:
eac3to v3.22
------------------------------------------------------------------------------
1) 00014.mpls, 00034.m2ts+00014.m2ts, 2:35:21
   - Chapters, 35 chapters
   - VC-1, 1080p24 /1.001 (16:9)
   - AC3, German, stereo, 48kHz

00034.m2ts
M2TS, 1 video track, 1 audio track, 0:00:37, 29.766p
1: Chapters, 35 chapters
2: VC-1, 1080p24 /1.001 (16:9)
3: AC3, German, 2.0 channels, 192kbps, 48kHz, dialnorm: -27dB

00014.m2ts
M2TS, 1 video track, 1 audio track, 0:00:29, 24p /1.001
1: VC-1, 1080p24 /1.001 (16:9)
2: AC3, German, 5.1 channels, 640kbps, 48kHz, dialnorm: -27dB
Sample
http://www.mediafire.com/file/zyyedj..._CLIPPED.zip_0
http://www.mediafire.com/file/hujn1t..._CLIPPED.zip_1
http://www.mediafire.com/file/n1zmqn..._CLIPPED.zip_2

you will have to combine them before extracting:
Code:
copy DOWNFALL_CLIPPED.zip_0 /b + DOWNFALL_CLIPPED.zip_1 /b + DOWNFALL_CLIPPED.zip_2 /b DOWNFALL_CLIPPED.zip /b

Last edited by Atak_Snajpera; 16th July 2010 at 20:07.
Atak_Snajpera is offline  
Old 16th July 2010, 20:57   #10331  |  Link
hubblec4
Matroska find' ich toll
 
Join Date: Apr 2008
Posts: 1,370
Quote:
Originally Posted by Snowknight26 View Post
Enough said.
ok you have right. with eac3to3.22 it works. eac3to make the second-pass and reduce the bitdepth to 16bit. but the file size is the same like 24bit. before the 24bit file was 1,4gb and the 16bit-file 0,9gb.


why two passes? the truehd+ac3-source is 16bit and eac3to convert it to 24bit first and then to 16bit??

so i can use the switch -down16 then start eac3to one pass only.

Last edited by hubblec4; 16th July 2010 at 21:45.
hubblec4 is offline  
Old 17th July 2010, 09:34   #10332  |  Link
yesgrey
Registered User
 
Join Date: Sep 2004
Posts: 1,295
Quote:
Originally Posted by hubblec4 View Post
why two passes? the truehd+ac3-source is 16bit and eac3to convert it to 24bit first and then to 16bit??
It starts converting to 24bit because it's the indicated bit depth. After processing the entire file eac3to realizes that the effective bit depth is 16 bit, hence the bit depth reduction.

If you start using always the -down16, the files which would be effectively 24 bit will be reduced to 16 bit, and you might not want that.
yesgrey is offline  
Old 17th July 2010, 15:13   #10333  |  Link
hubblec4
Matroska find' ich toll
 
Join Date: Apr 2008
Posts: 1,370
Quote:
Originally Posted by yesgrey View Post

If you start using always the -down16, the files which would be effectively 24 bit will be reduced to 16 bit, and you might not want that.
no, thats for this conversion only.

other 16bit sources will directly encoded with 16bit.
hubblec4 is offline  
Old 17th July 2010, 17:54   #10334  |  Link
deathlord
Registered User
 
Join Date: Mar 2008
Posts: 101
Quote:
Originally Posted by hubblec4 View Post
no, thats for this conversion only.

other 16bit sources will directly encoded with 16bit.
TrueHD is always 24 bit, but sometimes it only contains 16 bit of audio data, which can only be seen after reading the whole track. Some time ago, eac3to wrote two tracks, a 16 and a 24 bit one. Apparently, now eac3to starts a second pass to write a 16 bit track in case it was only 16 effectively. So if you always use -down16 on thd tracks, you will lose the least significant 8 bit of audio data in case of a "real" 24 bit track.
However, if this is an audible loss of audio quality is highly questionable. I only use 16 bit for all formats.
deathlord is offline  
Old 17th July 2010, 18:21   #10335  |  Link
ron spencer
DVD Magistrate
 
Join Date: Dec 2003
Location: Sodor
Posts: 991
Just a quick question google has not helped with.

I would like to downmix dts to 2.0, which is easy. But I cannot seem to find what flac compression options eac3to uses? Can I choose 8? Or does it do that by default?

thanks!!!
ron spencer is offline  
Old 17th July 2010, 19:15   #10336  |  Link
deathlord
Registered User
 
Join Date: Mar 2008
Posts: 101
eac3to uses level 8:
http://forum.doom9.org/showthread.ph...el#post1222771
deathlord is offline  
Old 18th July 2010, 14:06   #10337  |  Link
hubblec4
Matroska find' ich toll
 
Join Date: Apr 2008
Posts: 1,370
Quote:
Originally Posted by deathlord View Post
TrueHD is always 24 bit, but sometimes it only contains 16 bit of audio data, which can only be seen after reading the whole track. Some time ago, eac3to wrote two tracks, a 16 and a 24 bit one. Apparently, now eac3to starts a second pass to write a 16 bit track in case it was only 16 effectively. So if you always use -down16 on thd tracks, you will lose the least significant 8 bit of audio data in case of a "real" 24 bit track.
However, if this is an audible loss of audio quality is highly questionable. I only use 16 bit for all formats.
ok i understand this stuff now.
i dont use the switch -down16 for other convertions. only in this case.
with the v3.22 create eac3to a 24bit firstpass file and then the secondpass file with 16bit, which works fine. the original truhd.file is defintiv 16bit.
hubblec4 is offline  
Old 20th July 2010, 17:57   #10338  |  Link
mastrandrea
Registered User
 
Join Date: Mar 2010
Posts: 15
Hi, is there a way to stretching an audio file to a given time?
In my case I would like to stretch a track by adding 400ms to it, is it possible with eac3to?

(Thanks for this really useful tool!)
mastrandrea is offline  
Old 20th July 2010, 22:06   #10339  |  Link
hubblec4
Matroska find' ich toll
 
Join Date: Apr 2008
Posts: 1,370
Quote:
Originally Posted by mastrandrea View Post
Hi, is there a way to stretching an audio file to a given time?
In my case I would like to stretch a track by adding 400ms to it, is it possible with eac3to?

(Thanks for this really useful tool!)
stretch by 400ms?? i think you mean a delay of 400ms.

you can use this switch +400ms
(eac3to input.xxx output.xxx +/-400ms
hubblec4 is offline  
Old 20th July 2010, 23:21   #10340  |  Link
mastrandrea
Registered User
 
Join Date: Mar 2010
Posts: 15
No, I was meaning I need to sync audio and video, and the audio is 400ms shorter.
mastrandrea is offline  
Closed Thread

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 23:36.


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