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
Register FAQ Calendar Today's Posts Search

Closed Thread
 
Thread Tools Search this Thread Display Modes
Old 19th December 2008, 12:08   #7421  |  Link
NimaBeamer
Registered User
 
Join Date: Feb 2008
Posts: 9
Jup that one.

No change with 2.80 :-(

a04] Extracting audio track number 4...
[a04] Extracting TrueHD stream...
[a04] Decoding with libav/ffmpeg...
[a04] Swapping endian...
[a04] Remapping channels...
[a04] Creating file "G:\Hancock\audio2.pcm"...
[a04] The original audio track has a constant bit depth of 16 bits.
Video track 2 contains 147076 frames.
Video track 3 contains 147076 frames.
eac3to processing took 28 minutes, 12 seconds.
Done.
NimaBeamer is offline  
Old 19th December 2008, 14:42   #7422  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by NimaBeamer View Post
No change with 2.80 :-(
Then it's probably alright. How big the gaps are is a bit random. Probably they are just too small to register. But I'll double check with this Blu-Ray, just to be sure...
madshi is offline  
Old 19th December 2008, 15:42   #7423  |  Link
NimaBeamer
Registered User
 
Join Date: Feb 2008
Posts: 9
But why does it register gaps when extracting the AC3?

[a05] Extracting audio track number 5...
[a05] Removing AC3 dialog normalization...
[a05] Creating file "G:\Hancock\audioac3.ac3"...
[a05] Audio overlaps for 27ms at playtime 0:05:51.
[a05] Audio overlaps for 23ms at playtime 0:27:55.
[a05] Audio overlaps for 16ms at playtime 0:32:31.
[a05] Audio overlaps for 9ms at playtime 0:34:13.
[a05] Audio overlaps for 20ms at playtime 0:48:54.
[a05] Audio overlaps for 18ms at playtime 0:49:56.
[a05] Audio overlaps for 17ms at playtime 0:52:28.
[a05] Audio overlaps for 29ms at playtime 0:53:10.
[a05] Audio overlaps for 31ms at playtime 0:57:34.
[a05] Audio overlaps for 8ms at playtime 1:04:46.
[a05] Audio overlaps for 25ms at playtime 1:07:09.
[a05] Audio overlaps for 7ms at playtime 1:10:47.
[a05] Audio overlaps for 23ms at playtime 1:13:47.
[a05] Audio overlaps for 24ms at playtime 1:15:20.
[a05] Audio overlaps for 18ms at playtime 1:25:56.
[a05] Starting 2nd pass...
[a05] Realizing (E-)AC3 gaps...
[a05] Creating file "G:\Hancock\audioac3.ac3"...
NimaBeamer is offline  
Old 19th December 2008, 16:49   #7424  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Because AC3 has the biggest frames (in terms of audio samples per frame) of all codecs. Biggest overlaps are with AC3, then comes DTS, then TrueHD and least affected is PCM.
madshi is offline  
Old 19th December 2008, 17:35   #7425  |  Link
nautilus7
Registered User
 
nautilus7's Avatar
 
Join Date: Jan 2006
Location: Athens, Greece
Posts: 1,518
I have the same disc. v2.83 doesn't find any gaps for the embedded ac3 in the truehd track (#4). Isn't it weird?

Last edited by nautilus7; 19th December 2008 at 22:15.
nautilus7 is offline  
Old 19th December 2008, 17:48   #7426  |  Link
NimaBeamer
Registered User
 
Join Date: Feb 2008
Posts: 9
For the AC3 I picked audio stream number 5 which said 6ch AC3 English. Still no luck with this.
NimaBeamer is offline  
Old 19th December 2008, 18:31   #7427  |  Link
Jeff Flowerday
Registered User
 
Join Date: Aug 2008
Location: Calgary, AB
Posts: 150
I converted the TrueHD in Hancock to FLAC via eac3to and watched the movie and it was perfect. I don't remember the version I was running but it was before 2.8 for sure.
Jeff Flowerday is offline  
Old 19th December 2008, 18:45   #7428  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by nautilus7 View Post
I have the same disc. v2.83 doesn't find any gaps for the embedded ac3 in the the truehd track (#4). Isn't it weird?
It's a bit weird since AC3 normally does result in gaps when there are multiple parts. I'll look into this.

Quote:
Originally Posted by NimaBeamer View Post
Still no luck with this.
You seem to think that there MUST be a message about gaps/overlaps, or else there's something wrong. But that's not the case.

Quote:
Originally Posted by Jeff Flowerday View Post
I converted the TrueHD in Hancock to FLAC via eac3to and watched the movie and it was perfect.
Thanks for the confirmation.
madshi is offline  
Old 20th December 2008, 07:03   #7429  |  Link
williewonton
Registered User
 
Join Date: Dec 2008
Posts: 10
madshi

I've noted two titles that break eac3to both 2_81 and 2_82 as well as 2_83. Seems to relate to handling over audio gaps/overlaps. Eac3 eventually fails with "The temp file could not be interpreted correctly."

The original ISO's play fine in PDVD8 and TMT

Logs are attached (I hope)
Attached Files
File Type: txt 00128 - Log.txt (3.0 KB, 34 views)
File Type: txt 00092 - Log.txt (28.1 KB, 46 views)

Last edited by williewonton; 20th December 2008 at 07:05. Reason: adding attachments
williewonton is offline  
Old 20th December 2008, 09:19   #7430  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
@willie, attachments don't work well in this forum. Please post the logs here inside of a "[ code ] [ / code ]" block (without the spaces).

Which movies are these 2 and from which country?
madshi is offline  
Old 20th December 2008, 10:57   #7431  |  Link
Boulder
Pig on the wing
 
Boulder's Avatar
 
Join Date: Mar 2002
Location: Finland
Posts: 5,733
When converting mono AC3 tracks to MP4 using Nero, it seems that they are converted to stereo. Is there a way around this?
__________________
And if the band you're in starts playing different tunes
I'll see you on the dark side of the Moon...
Boulder is offline  
Old 20th December 2008, 13:04   #7432  |  Link
DrNein
Registered User
 
Join Date: Sep 2002
Posts: 145
When demuxing an AVC TS, the resolution changes from broadcast standard 1088i to 1084i. Why is that? Is there a way to leave it alone or else change to 1080?
DrNein is offline  
Old 20th December 2008, 14:29   #7433  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by Boulder View Post
When converting mono AC3 tracks to MP4 using Nero, it seems that they are converted to stereo. Is there a way around this?
It's most probably something happening inside of the Nero encoder. That means you need to ask the Nero guys for a fix, not me. Or if you want to make sure that the Nero encoder is at fault and not eac3to, ask eac3to to create a mono WAV file and then manually encode that to AAC with the Nero command line encoder. Is the result still stereo? Then Nero is at fault...

Quote:
Originally Posted by DrNein View Post
When demuxing an AVC TS, the resolution changes from broadcast standard 1088i to 1084i. Why is that? Is there a way to leave it alone or else change to 1080?
That's very weird. eac3to is trying to crop the resolution to 1080i. Don't know why you get 1084i. Must be a bug in eac3to. It works fine for German 1080i50 broadcasts, though. Can I please have a small sample of the TS file? 20MB should be enough. Thanks!
madshi is offline  
Old 20th December 2008, 15:16   #7434  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,915
Quote:
Originally Posted by Boulder View Post
When converting mono AC3 tracks to MP4 using Nero, it seems that they are converted to stereo. Is there a way around this?
Maybe the problem is mp4 decoders because in my test:

eac3to mono.ac3 mono.mp4

NeroAacDec mono.mp4 -> mono.wav
Foobar mono.mp4 -> mono.wav

but
ffdshow mono.mp4 -> stereo.wav
Faad mono.mp4 -> stereo.wav
Bass mono.mp4 -> stereo.wav
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline  
Old 20th December 2008, 15:19   #7435  |  Link
Boulder
Pig on the wing
 
Boulder's Avatar
 
Join Date: Mar 2002
Location: Finland
Posts: 5,733
Quote:
Originally Posted by madshi View Post
It's most probably something happening inside of the Nero encoder. That means you need to ask the Nero guys for a fix, not me. Or if you want to make sure that the Nero encoder is at fault and not eac3to, ask eac3to to create a mono WAV file and then manually encode that to AAC with the Nero command line encoder. Is the result still stereo? Then Nero is at fault...
I used to decode mono AC3s to mono WAV and then encode them manually in Nero encoder so it does work The Nero decoder outputs a mono file in eac3to properly, I just tried it.

By the way, this command line writes the output in the eac3to folder with the name "enarnia.wav":
Code:
eac3to "y:narnia.ac3" "e:narnia.wav"
If I use e:\temp\narnia.wav as the output, it works fine.
__________________
And if the band you're in starts playing different tunes
I'll see you on the dark side of the Moon...
Boulder is offline  
Old 20th December 2008, 15:20   #7436  |  Link
Boulder
Pig on the wing
 
Boulder's Avatar
 
Join Date: Mar 2002
Location: Finland
Posts: 5,733
Quote:
Originally Posted by tebasuna51 View Post
Maybe the problem is mp4 decoders because in my test:

eac3to mono.ac3 mono.mp4

NeroAacDec mono.mp4 -> mono.wav
Foobar mono.mp4 -> mono.wav

but
ffdshow mono.mp4 -> stereo.wav
Faad mono.mp4 -> stereo.wav
Bass mono.mp4 -> stereo.wav
I opened the file in MediaInfo, it showed that it's a stereo file. Also the avg bitrate is pretty much the same as a regular stereo file has at q 0.4.
__________________
And if the band you're in starts playing different tunes
I'll see you on the dark side of the Moon...
Boulder is offline  
Old 20th December 2008, 17:36   #7437  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,915
Quote:
Originally Posted by Boulder View Post
I opened the file in MediaInfo, it showed that it's a stereo file. Also the avg bitrate is pretty much the same as a regular stereo file has at q 0.4.
Please put your complete log files to see if is a eac3to bad detection or a decoder problem, like here:
Code:
eac3to v2.83
command line: "D:\Test\AudioN\eac3to\eac3to.exe" "D:\Test\AudioD\Samples\ac3\1a100.ac3" mono.mp4
------------------------------------------------------------------------------
AC3, 1.0 channels, 0:00:20, 96kbps, 48khz
The Nero decoder doesn't seem to work, will use libav instead.
Decoding with libav/ffmpeg...
Reducing depth from 64 to 32 bits...
Encoding AAC <0.50> with NeroAacEnc...
eac3to processing took 1 second.
Done.
This mono.mp4 is detected by MediaInfo like:
Code:
...
Codec                            : AAC LC
Bit rate mode                    : VBR
Bit rate                         : 16.0 Kbps
Maximum bit rate                 : 103 Kbps
Channel(s)                       : 1 channel
Channel positions                : C
Sampling rate                    : 48.0 KHz
...
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline  
Old 20th December 2008, 18:01   #7438  |  Link
Boulder
Pig on the wing
 
Boulder's Avatar
 
Join Date: Mar 2002
Location: Finland
Posts: 5,733
Strange..now I'm unable to reproduce the problem - the final mp4 file is in mono I must have chosen the incorrect file in MediaInfo because of the bug I posted (the path in the eac3to command line is parsed a bit wrong). I usually cd to working directories in MS-DOS prompt and then use the drive letters only for paths.

Sorry
__________________
And if the band you're in starts playing different tunes
I'll see you on the dark side of the Moon...
Boulder is offline  
Old 20th December 2008, 20:27   #7439  |  Link
mrr19121970
Registered User
 
Join Date: Mar 2008
Posts: 305
I have a disk that -demux es OK with V2.79 and not V2.83
Attached Files
File Type: txt 00105 - Log_V283.txt (16.0 KB, 36 views)
File Type: txt 00105 - Log_V279.txt (8.9 KB, 30 views)
mrr19121970 is offline  
Old 20th December 2008, 20:39   #7440  |  Link
williewonton
Registered User
 
Join Date: Dec 2008
Posts: 10
madshi

Quote:
@willie, attachments don't work well in this forum. Please post the logs here inside of a "[ code ] [ / code ]" block (without the spaces).

Which movies are these 2 and from which country?
OK thanks for the tip

Game Plan - Region B
Open Season - Not Locked
williewonton is offline  
Closed Thread

Tags
eac3to


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 05:56.


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