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. |
28th April 2008, 06:20 | #4461 | Link |
Registered User
Join Date: Nov 2005
Posts: 85
|
Madshi, thanks for the new functionality for seamless branching titles. Used it with Spiderman 2 and it worked great!
When I tried to use if for Nine Inch Nails BD I got the following output: The program channel mapping changes in the middle of the stream. [v02] Extracting video track number 2... [a03] Extracting audio track number 3... [v02] Muxing video to Matroska... [a03] Extracting TrueHD stream... [a03] Encoding FLAC... [a03] This audio track contains more than 16 bit of information. [a03] Creating file "nin.24bit.flac"... [libav] Lossless check failed - expected ee, calculated 8e [a03] This track is not clean. [libav] Lossless check failed - expected ae, calculated 6c [v02] The pes parser received incomplete data. [a03] The pes parser received incomplete data. [libav] Lossless check failed - expected ac, calculated 5a [libav] End of stream indicated [v02] The program channel mapping changes in the middle of the stream. [a03] The program channel mapping changes in the middle of the stream. Aborted at file position 16586463232. Can you tell me what this means? thanks |
28th April 2008, 07:20 | #4463 | Link | ||||
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
Quote:
The time listed in the folder view comes from reading the Blu-Ray playlist (*.mpls). The m2ts files are not even read by eac3to when creating the folder view. The other time comes from eac3to really reading/parsing the m2ts files. There shouldn't really be any differences. If there are, either the playlist file is not fully correct or eac3to has a bug. If you watched the movie and it's artifact free and audio is in sync, then probably the playlist file is not fully correct. Quote:
Quote:
Quote:
Wow, I was fearing that this might happen with some broadcasts. But I really didn't expect it with a Blu-Ray!!! Where is the eac3to progress bar when this happens? Right at the beginning? Or somewhere in the middle of the conversion? |
||||
28th April 2008, 07:24 | #4464 | Link | |
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
Quote:
I started with looping a 10 millisecond audio buffer to fill gaps, but with a test gap of 1 second this was awful, I got a permanently fixed tone during the full second gap. What do you think is the best length (in milliseconds) for looping audio? Currently I'm looping a full second worth of audio data. Not sure if that isn't too much. I guess during dialog it would sound strange if a full second is repeated (over and over again). But then looping only one frame (10-30ms) can probably even sound worse, depending on the situation... |
|
28th April 2008, 07:40 | #4466 | Link | |
Registered User
Join Date: Sep 2006
Posts: 2,197
|
Quote:
|
|
28th April 2008, 10:07 | #4467 | Link |
Registered User
Join Date: Mar 2007
Location: London, UK
Posts: 576
|
Re: audio gaps.
Just to throw another idea out there. How about up to 1/3rd of a second (or other arbitrary figure of your choosing!) fill with audio from the buffer. More than 1/3rd of a second fill with silence. |
28th April 2008, 11:09 | #4468 | Link |
Moderator
Join Date: Feb 2005
Location: Spain
Posts: 6,915
|
Re: audio gaps
If there are audio gaps so long (>1 sec) we can't do anything to hide the problem, don't matter the method you chose to maintain the sync. 1 sec. buffer can confuse more than hide, for me 100 ms is enough. For long gaps (>1 sec) maybe the silence is better. |
28th April 2008, 11:15 | #4469 | Link |
Registered User
Join Date: Mar 2002
Posts: 353
|
First of all, many thnks for the latest version. Full M2TS support is a fantastic feature.
Regarding audio gaps, I assumed that any gaps would only ever be 1 or 2 frames in duration and so, as tebasuna51 says, a 100ms buffer should be plenty. Are there really any cases where we could expect gaps of 1 sec or longer. If so, that would be impossible to hide and I think silence would be the best solution. Cheers, Beastie. |
28th April 2008, 11:45 | #4471 | Link | ||||
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
Makes no difference for the sync.
Quote:
Quote:
Quote:
It seems that you all vote for the same things (silence for really big gaps and a shorter/smaller buffer for small gaps), so I'll change that accordingly. Quote:
Looking forward to your test results! |
||||
28th April 2008, 19:31 | #4474 | Link | |
Registered User
Join Date: Mar 2008
Posts: 33
|
Quote:
I did try both methods, just to check if they both gave me the same results. (2) seemed to work great, but (1) produced the following - i.e. eac3to seems to find the GAPS file and then not use it. I did run the exact same command line twice. Code:
M2TS, 1 video track, 1 audio track, 1:26:15 1: h264/AVC, 1080p24 /1.001 (16:9) 2: RAW/PCM, 5.1 channels, 16 bits, 48khz [a02] Audio gap description file detected, will be used for processing... [v01] Extracting video track number 1... [a02] Extracting audio track number 2... [a02] Reading RAW/PCM... [a02] Swapping endian... [a02] Remapping channels... [a02] Encoding FLAC... [v01] Muxing video to Matroska... [a02] Creating file "openseason - 2 - PCM, 5.1 channels, 16 bits, 48khz.flac"... [a02] Audio overlaps for 129ms at playtime 0:01:33. [a02] Audio overlaps for 46ms at playtime 0:03:00. [a02] The audio file was demuxed without making use of the gap/overlap informati on. [a02] Please rerun the same eac3to command line. That will correct the gaps/over laps. Added fps value to MKV header. Video track 1 contains 124080 frames. eac3to processing took 16 minutes, 44 seconds. Done. |
|
28th April 2008, 21:45 | #4476 | Link | ||
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
Quote:
Quote:
Sure. |
||
28th April 2008, 23:20 | #4478 | Link |
Registered User
Join Date: Jan 2006
Location: Athens, Greece
Posts: 1,518
|
I 've been dealing with Surf's Up the last few hours... The movie consists of 3 files. Joint points are at 3:19 mins and 3:49 mins. Here is my command line:
Code:
C:\Tools>eac3to "C:\SURFSUP" 1) 1: c:\su\su.txt 2: c:\su\su.mkv 3: c:\su\su.thd.flac 3: c:\su\su.thd.ac3 4: c:\su\su.pcm.flac 7: c:\su\su.comm1.ac3 8: c:\su\su.comm2.ac3 M2TS, 1 video track, 6 audio tracks, 1:25:31 1: Chapters, 16 chapters 2: h264/AVC, 1080p24 /1.001 (16:9) 3: TrueHD/AC3, English, 5.1 channels, 48khz 4: RAW/PCM, English, 5.1 channels, 16 bits, 48khz 5: AC3, French, 5.1 channels, 640kbit/s, 48khz, dialnorm: -30dB 6: AC3, Spanish, 5.1 channels, 640kbit/s, 48khz 7: AC3, English, 2.0 channels, 192kbit/s, 48khz 8: AC3, English, 2.0 channels, 192kbit/s, 48khz Creating file "c:\su\su.txt"... [v02] Extracting video track number 2... [a03] Extracting audio track number 3... [a07] Extracting audio track number 7... [a03] Extracting audio track number 3... [a04] Extracting audio track number 4... [a08] Extracting audio track number 8... [a04] Reading RAW/PCM... [a04] Swapping endian... [a04] Remapping channels... [a04] Encoding FLAC... [a03] Extracting TrueHD stream... [a03] Extracting AC3 stream... [a03] Encoding FLAC... [a03] Removing dialog normalization... [v02] Muxing video to Matroska... [a03] This audio track contains more than 16 bit of information. [a03] Creating file "c:\su\su.thd.24bit.flac"... [a04] Creating file "c:\su\su.pcm.flac"... [a03] Creating file "c:\su\su.thd.ac3"... [a08] Creating file "c:\su\su.comm2.ac3"... [a07] Creating file "c:\su\su.comm1.ac3"... [libav] Lossless check failed - expected 8c, calculated a3 [libav] Lossless check failed - expected 46, calculated 94 [a03] Audio overlaps for 18ms at playtime 0:03:19. [a03] Audio overlaps for 30ms at playtime 0:03:49. [a03] The audio file was demuxed without making use of the gap/overlap information. [a03] Please rerun the same eac3to command line. That will correct the gaps/overlaps. [a07] Audio overlaps for 19ms at playtime 0:03:19. [a07] Audio overlaps for 30ms at playtime 0:03:49. [a07] The audio file was demuxed without making use of the gap/overlap information. [a07] Please rerun the same eac3to command line. That will correct the gaps/over laps. [a08] Audio overlaps for 19ms at playtime 0:03:19. [a08] Audio overlaps for 30ms at playtime 0:03:49. [a08] The audio file was demuxed without making use of the gap/overlap information. [a08] Please rerun the same eac3to command line. That will correct the gaps/overlaps. Added fps value to MKV header. Video track 2 contains 123023 frames. eac3to processing took 40 minutes, 31 seconds. Done. After rerunning the same command, i got: Code:
C:\Tools>eac3to "C:\SURFSUP" 1) 1: c:\su\su.txt 2: c:\su\su.mkv 3: c:\su\su.thd.flac 3: c:\su\su.thd.ac3 4: c:\su\su.pcm.flac 7: c:\su\su.comm1.ac3 8: c:\su\su.comm2.ac3 M2TS, 1 video track, 6 audio tracks, 1:25:31 1: Chapters, 16 chapters 2: h264/AVC, 1080p24 /1.001 (16:9) 3: TrueHD/AC3, English, 5.1 channels, 48khz 4: RAW/PCM, English, 5.1 channels, 16 bits, 48khz 5: AC3, French, 5.1 channels, 640kbit/s, 48khz, dialnorm: -30dB 6: AC3, Spanish, 5.1 channels, 640kbit/s, 48khz 7: AC3, English, 2.0 channels, 192kbit/s, 48khz 8: AC3, English, 2.0 channels, 192kbit/s, 48khz Creating file "c:\su\su.txt"... [a03] Audio gap description file detected, will be used for processing... [a07] Audio gap description file detected, will be used for processing... [a08] Audio gap description file detected, will be used for processing... [v02] Extracting video track number 2... [a03] Extracting audio track number 3... [a03] Extracting audio track number 3... [a04] Extracting audio track number 4... [a07] Extracting audio track number 7... [a08] Extracting audio track number 8... [a04] Reading RAW/PCM... [a04] Swapping endian... [a04] Remapping channels... [a04] Encoding FLAC... [a03] Extracting TrueHD stream... [a03] Extracting AC3 stream... [a03] Encoding FLAC... [a03] Removing dialog normalization... [a03] Realizing (E-)AC3 gaps... [a07] Realizing (E-)AC3 gaps... [a08] Realizing (E-)AC3 gaps... [v02] Muxing video to Matroska... [a03] This audio track contains more than 16 bit of information. [a03] Creating file "c:\su\su.thd.24bit.flac"... [a04] Creating file "c:\su\su.pcm.flac"... [a03] Creating file "c:\su\su.thd.ac3"... [a08] Creating file "c:\su\su.comm2.ac3"... [a07] Creating file "c:\su\su.comm1.ac3"... [libav] Lossless check failed - expected 8c, calculated a3 [libav] Lossless check failed - expected 46, calculated 94 Added fps value to MKV header. Video track 2 contains 123023 frames. eac3to processing took exactly 41 minutes. Done. * Gaps/Overlaps files ARE used. * It seems that the corrected AC3 audio streams are in sync (2 of them are commentary, so i can't tell, but the other which is main audio sounds fine). * FLAC track made by the PCM track is in sync (no gaps/overlaps reported for that). * FLAC track made by the TrueHD track is NOT in sync (no gaps/overlaps reported for that). I also converted this track to flac alone, in a separate command line, to be sure that no overlaps/gaps are reported. Here is a screen shot comparing AC3, PCM and TrueHD track before, after 1st joint and after the 2nd joint: You can see that all 3 tracks are in sync before, but the TrueHD goes off sync after 1st joint. The TrueHD is leading by 30ms the AC3 before the joints and is leading 160ms after 1st (and 2nd joint). I guess there is a gap in the audio stream. Does eac3to current version deal with them or not? * Libav is unable to decode the TrueHD track (lossless check fail). Should i send a sample? * When i was prompted to rerun the same command in order eac3to to make use of the gaps/overlaps files, it rewrote ALL files again. Is it necessary? * Subtitle demuxing support is missing... Last edited by nautilus7; 28th April 2008 at 23:34. |
29th April 2008, 00:01 | #4479 | Link | ||
Registered User
Join Date: Mar 2008
Posts: 33
|
Quote:
Quote:
Code:
H:\!Temp>eac3to "e:\Ratatouille Blu-Ray" 1) 00001.mpls, 1:50:33 [27+28+0+1+2+5+8+9+12+13+16+18+21+17+33+34+49+37+50+40+51+43+52+46+53+56+54+5 9+55+62+65].m2ts - h264/AVC, 1080p24 /1.001 (16:9) - RAW/PCM, English, multi-channel, 48khz - AC3, English, multi-channel, 48khz - AC3, French, multi-channel, 48khz - AC3, Spanish, multi-channel, 48khz - AC3, English, stereo, 48khz 2) 00143.mpls, 1:50:33 [27+28+0+1+2+5+8+9+12+13+16+18+21+17+33+34+49+37+50+40+51+43+52+46+53+56+54+5 9+55+62+65].m2ts - h264/AVC, 1080p24 /1.001 (16:9) - RAW/PCM, English, multi-channel, 48khz - AC3, English, multi-channel, 48khz - AC3, French, multi-channel, 48khz - AC3, Spanish, multi-channel, 48khz - AC3, English, stereo, 48khz 3) 00137.mpls, 0:50:58 [143+144+83+145+146+147+148+149+150+151].m2ts - MPEG2, 480i30 /1.001 (16:9) - AC3, English, stereo, 48khz 4) 00012.mpls, 00021.m2ts, 0:28:00 - h264/AVC, 1080p24 /1.001 (16:9) - RAW/PCM, English, multi-channel, 48khz - AC3, English, multi-channel, 48khz - AC3, French, multi-channel, 48khz - AC3, Spanish, multi-channel, 48khz - AC3, English, stereo, 48khz H:\!Temp>eac3to "e:\Ratatouille Blu-Ray" 1) 2: vid.mkv 3: aud.flac M2TS, 1 video track, 5 audio tracks, 1:50:32 1: Chapters, 32 chapters 2: h264/AVC, 1080p24 /1.001 (16:9) 3: RAW/PCM, English, 5.1 channels, 24 bits, 48khz 4: AC3, English, 5.1 channels, 640kbit/s, 48khz 5: AC3, French, 5.1 channels, 640kbit/s, 48khz 6: AC3, Spanish, 5.1 channels, 640kbit/s, 48khz 7: AC3, English, 2.0 channels, 192kbit/s, 48khz, dialnorm: -27dB [v02] Extracting video track number 2... [a03] Extracting audio track number 3... [a03] Reading RAW/PCM... [a03] Swapping endian... [a03] Remapping channels... [v02] Muxing video to Matroska... [a03] Encoding FLAC... [a03] Creating file "aud.flac"... [a03] Audio overlaps for 6ms at playtime 0:08:50. [a03] Audio overlaps for 6ms at playtime 0:11:24. [a03] Audio overlaps for 7ms at playtime 0:13:31. [a03] Audio overlaps for 6ms at playtime 0:42:09. [a03] Audio overlaps for 8ms at playtime 1:08:51. [a03] Audio overlaps for 6ms at playtime 1:11:58. [a03] Audio overlaps for 5ms at playtime 1:15:28. [a03] Audio overlaps for 6ms at playtime 1:30:31. [a03] Audio overlaps for 6ms at playtime 1:31:39. [a03] Audio overlaps for 5ms at playtime 1:33:24. [a03] The audio file was demuxed without making use of the gap/overlap informati on. [a03] Please rerun the same eac3to command line. That will correct the gaps/over laps. Added fps value to MKV header. Video track 2 contains 159042 frames. eac3to processing took 34 minutes, 23 seconds. Done. H:\!Temp>eac3to "e:\Ratatouille Blu-Ray" 1) 2: vid.mkv 3: aud.flac M2TS, 1 video track, 5 audio tracks, 1:50:32 1: Chapters, 32 chapters 2: h264/AVC, 1080p24 /1.001 (16:9) 3: RAW/PCM, English, 5.1 channels, 24 bits, 48khz 4: AC3, English, 5.1 channels, 640kbit/s, 48khz 5: AC3, French, 5.1 channels, 640kbit/s, 48khz 6: AC3, Spanish, 5.1 channels, 640kbit/s, 48khz 7: AC3, English, 2.0 channels, 192kbit/s, 48khz, dialnorm: -27dB [a03] Audio gap description file detected, will be used for processing... [v02] Extracting video track number 2... [a03] Extracting audio track number 3... [a03] Reading RAW/PCM... [a03] Swapping endian... [v02] Muxing video to Matroska... [a03] Remapping channels... [a03] Encoding FLAC... [a03] Creating file "aud.flac"... [a03] Audio overlaps for 6ms at playtime 0:08:50. [a03] Audio overlaps for 6ms at playtime 0:11:24. [a03] Audio overlaps for 7ms at playtime 0:13:31. [a03] Audio overlaps for 6ms at playtime 0:42:09. [a03] Audio overlaps for 8ms at playtime 1:08:51. [a03] Audio overlaps for 6ms at playtime 1:11:58. [a03] Audio overlaps for 5ms at playtime 1:15:28. [a03] Audio overlaps for 6ms at playtime 1:30:31. [a03] Audio overlaps for 6ms at playtime 1:31:39. [a03] Audio overlaps for 5ms at playtime 1:33:24. [a03] The audio file was demuxed without making use of the gap/overlap informati on. [a03] Please rerun the same eac3to command line. That will correct the gaps/over laps. Added fps value to MKV header. Video track 2 contains 159042 frames. eac3to processing took 34 minutes, 56 seconds. Done. Code:
N:\e>eac3to.exe "h:\!temp\aud.flac" audnew.flac FLAC, 5.1 channels, 1:50:33, 24 bits, 48khz Audio gap description file detected, will be used for processing... Decoding FLAC... Realizing RAW/PCM gaps... Encoding FLAC... The FLAC encoder was not able to allocate enough memory. Aborted at file position 224329728. Last edited by Bluestraw; 29th April 2008 at 00:05. |
||
29th April 2008, 00:59 | #4480 | Link |
Registered User
Join Date: Aug 2007
Posts: 39
|
Oh madshi, I just got access to my dad's Blu-Ray drive, and I want to say thank you oh so very much. life is so much easier thanks to eac3to.
That being said I do have 1 question (if its been answered, sorry. I searched, but couldn't find anything...and if we can do it now, feel free to call me a moron ). Will it ever be possible to output the raw 264/vc1 data to a file? Having to rip it out of the mkv is an extra step for me, which I would love to get rid of. Thanks for everything! Last edited by killa_kid; 29th April 2008 at 02:11. |
Tags |
eac3to |
Thread Tools | Search this Thread |
Display Modes | |
|
|