amgeex
7th September 2009, 05:57
Ok, I've spent all day trying to figure this out to no avail. I demuxed the main mpls from a bluray and here is the log:
eac3to v3.16
command line: eac3to.exe -demux ..\PLAYLIST\00100.mpls
------------------------------------------------------------------------------
M2TS, 2 video tracks, 3 audio tracks, 6 subtitle tracks, 3:06:27
1: Chapters, 44 chapters
2: VC-1, 1080p24 /1.001 (16:9)
3: VC-1, 480p24 /1.001 (3:2)
4: DTS Master Audio, English, 5.1 channels, 24 bits, 48khz, dialnorm: -4dB
(core: DTS, 5.1 channels, 24 bits, 1509kbps, 48khz, dialnorm: -4dB)
5: AC3, French, 5.1 channels, 448kbps, 48khz, dialnorm: -27dB
6: DTS Express, English, 2.0 channels, 16 bits, 192kbps, 48khz
7: Subtitle (PGS), English
8: Subtitle (PGS), French
9: Subtitle (PGS), Spanish
10: Subtitle (PGS), French
11: Subtitle (PGS), English
12: Subtitle (PGS), French
Creating file "00500 - Chapters.txt"...
[a05] Extracting audio track number 5...
[s10] Extracting subtitle track number 10...
[v02] Extracting video track number 2...
[a05] Removing AC3 dialog normalization...
[s12] Extracting subtitle track number 12...
[s09] Extracting subtitle track number 9...
[s08] Extracting subtitle track number 8...
[a04] Extracting audio track number 4...
[a04] Removing DTS dialog normalization...
[s11] Extracting subtitle track number 11...
[s07] Extracting subtitle track number 7...
[a04] Creating file "00500 - 4 - DTS Master Audio, English, 5.1 channels, 24 bits, 48khz.dtsma"...
[v02] Creating file "00500 - 2 - VC-1, 1080p24.vc1"...
[a05] Creating file "00500 - 5 - AC3, French, 5.1 channels, 448kbps, 48khz.ac3"...
[s12] Creating file "00500 - 12 - Subtitle (PGS), French.sup"...
[s11] Creating file "00500 - 11 - Subtitle (PGS), English.sup"...
[s07] Creating file "00500 - 7 - Subtitle (PGS), English.sup"...
[s08] Creating file "00500 - 8 - Subtitle (PGS), French.sup"...
[s09] Creating file "00500 - 9 - Subtitle (PGS), Spanish.sup"...
[a04] Audio overlaps for 7ms at playtime 0:00:04. <WARNING>
[a04] Audio overlaps for 7ms at playtime 0:05:41. <WARNING>
[a04] Audio overlaps for 10ms at playtime 0:20:45. <WARNING>
[a04] Audio overlaps for 9ms at playtime 0:44:59. <WARNING>
[a04] Audio overlaps for 12ms at playtime 0:52:07. <WARNING>
[a04] Audio overlaps for 9ms at playtime 0:54:11. <WARNING>
[a04] Audio overlaps for 6ms at playtime 1:00:59. <WARNING>
[a04] Audio overlaps for 8ms at playtime 1:24:20. <WARNING>
[a04] Audio overlaps for 10ms at playtime 1:26:25. <WARNING>
[a04] Audio overlaps for 8ms at playtime 1:57:19. <WARNING>
[a04] Audio overlaps for 6ms at playtime 2:19:29. <WARNING>
[a04] Audio overlaps for 6ms at playtime 2:22:18. <WARNING>
[a04] Audio overlaps for 7ms at playtime 2:34:53. <WARNING>
[a04] Audio overlaps for 5ms at playtime 2:59:30. <WARNING>
[a05] Audio overlaps for 28ms at playtime 0:00:04. <WARNING>
[a05] Audio overlaps for 13ms at playtime 0:02:38. <WARNING>
[a05] Audio overlaps for 26ms at playtime 0:05:41. <WARNING>
[a05] Audio overlaps for 20ms at playtime 0:20:45. <WARNING>
[a05] Audio overlaps for 20ms at playtime 0:44:59. <WARNING>
[a05] Audio overlaps for 14ms at playtime 0:47:27. <WARNING>
[a05] Audio overlaps for 20ms at playtime 0:52:07. <WARNING>
[a05] Audio overlaps for 30ms at playtime 0:54:11. <WARNING>
[a05] Audio overlaps for 27ms at playtime 1:00:59. <WARNING>
[a05] Audio overlaps for 19ms at playtime 1:24:20. <WARNING>
[a05] Audio overlaps for 20ms at playtime 1:26:25. <WARNING>
[a05] Audio overlaps for 8ms at playtime 1:57:19. <WARNING>
[a05] Audio overlaps for 28ms at playtime 2:19:29. <WARNING>
[a05] Audio overlaps for 28ms at playtime 2:22:18. <WARNING>
[a05] Audio overlaps for 28ms at playtime 2:34:53. <WARNING>
[a05] Audio overlaps for 23ms at playtime 2:41:30. <WARNING>
[a05] Audio overlaps for 24ms at playtime 2:43:55. <WARNING>
[a05] Audio overlaps for 23ms at playtime 2:59:30. <WARNING>
[s10] Creating file "00500 - 10 - Subtitle (PGS), French.sup"...
[a04] Starting 2nd pass...
[a04] Realizing DTS gaps...
[a04] Creating file "00500 - 4 - DTS Master Audio, English, 5.1 channels, 24 bits, 48khz.dtsma"...
[a05] Starting 2nd pass...
[a05] Realizing (E-)AC3 gaps...
[a05] Creating file "00500 - 5 - AC3, French, 5.1 channels, 448kbps, 48khz.ac3"...
Video track 2 contains 268251 frames.
Video track 3 contains 268251 frames.
Subtitle track 7 contains 2035 captions.
Subtitle track 8 contains 2134 captions.
Subtitle track 9 contains 1991 captions.
Subtitle track 10 contains 20 captions.
Subtitle track 11 contains 2378 captions.
Subtitle track 12 contains 2611 captions.
eac3to processing took 1 hour, 28 minutes.
Done.
You can see that the audio overlaps in several places, although eac3to seems to have fixed it. Or so I thought... If I extract the DTS core and mux it to my already-done x264 encode, the audio is out of sync in several places. So then I tried encoding the dts-ma track to AC3 with libav and it still doesn't work, same sync issues, here's the log:
eac3to v3.16
command line: eac3to audio.dtsma audio.ac3 -libav
------------------------------------------------------------------------------
DTS Master Audio, 5.1 channels, 24 bits, 48khz
(core: DTS, 5.1 channels, 24 bits, 1509kbps, 48khz)
The libav DTS decoder doesn't decode the full DTS-HD information. <WARNING>
Extracting DTS core...
Decoding with libav/ffmpeg...
Remapping channels...
Encoding AC3 <640kbps> with libAften...
Creating file "audio.ac3"...
Clipping detected, a 2nd pass will be necessary. <WARNING>
The original audio track has a constant bit depth of 64 bits.
The libav DTS decoder doesn't decode the full DTS-HD information. <WARNING>
Starting 2nd pass...
Extracting DTS core...
Decoding with libav/ffmpeg...
Remapping channels...
Encoding AC3 <640kbps> with libAften...
Creating file "audio.ac3"...
The processed audio track has a constant bit depth of 64 bits.
eac3to processing took 19 minutes, 51 seconds.
Done.
Now, I have the latest ArcSoft DTS decoder installed, so I thought, as to use the lossless data from the dts-ma track, I should use it. And the ac3 track it produces its out of sync, much like the dts core I extracted earlier, check the log:
eac3to v3.16
command line: eac3to audio.dtsma audio.ac3
------------------------------------------------------------------------------
DTS Master Audio, 5.1 channels, 24 bits, 48khz
(core: DTS, 5.1 channels, 24 bits, 1509kbps, 48khz)
Decoding with ArcSoft DTS Decoder...
Encoding AC3 <640kbps> with libAften...
Creating file "audio.ac3"...
The original audio track has a constant bit depth of 24 bits.
eac3to processing took 29 minutes, 43 seconds.
Done.
Why is it that when decoding with libav the clipping/overlaps are detected and (seemingly) corrected, but its still out of sync? Why is it that when extracting the dts core or encoding to ac3 with the arcsoft decoder the same happens? Is there a way to force the clipping/overlapping correction? Whan can I do if I want to use the arcsoft dts decoder and get a dolby digital compliant ac3 track?
Thanks in advance! :thanks:
eac3to v3.16
command line: eac3to.exe -demux ..\PLAYLIST\00100.mpls
------------------------------------------------------------------------------
M2TS, 2 video tracks, 3 audio tracks, 6 subtitle tracks, 3:06:27
1: Chapters, 44 chapters
2: VC-1, 1080p24 /1.001 (16:9)
3: VC-1, 480p24 /1.001 (3:2)
4: DTS Master Audio, English, 5.1 channels, 24 bits, 48khz, dialnorm: -4dB
(core: DTS, 5.1 channels, 24 bits, 1509kbps, 48khz, dialnorm: -4dB)
5: AC3, French, 5.1 channels, 448kbps, 48khz, dialnorm: -27dB
6: DTS Express, English, 2.0 channels, 16 bits, 192kbps, 48khz
7: Subtitle (PGS), English
8: Subtitle (PGS), French
9: Subtitle (PGS), Spanish
10: Subtitle (PGS), French
11: Subtitle (PGS), English
12: Subtitle (PGS), French
Creating file "00500 - Chapters.txt"...
[a05] Extracting audio track number 5...
[s10] Extracting subtitle track number 10...
[v02] Extracting video track number 2...
[a05] Removing AC3 dialog normalization...
[s12] Extracting subtitle track number 12...
[s09] Extracting subtitle track number 9...
[s08] Extracting subtitle track number 8...
[a04] Extracting audio track number 4...
[a04] Removing DTS dialog normalization...
[s11] Extracting subtitle track number 11...
[s07] Extracting subtitle track number 7...
[a04] Creating file "00500 - 4 - DTS Master Audio, English, 5.1 channels, 24 bits, 48khz.dtsma"...
[v02] Creating file "00500 - 2 - VC-1, 1080p24.vc1"...
[a05] Creating file "00500 - 5 - AC3, French, 5.1 channels, 448kbps, 48khz.ac3"...
[s12] Creating file "00500 - 12 - Subtitle (PGS), French.sup"...
[s11] Creating file "00500 - 11 - Subtitle (PGS), English.sup"...
[s07] Creating file "00500 - 7 - Subtitle (PGS), English.sup"...
[s08] Creating file "00500 - 8 - Subtitle (PGS), French.sup"...
[s09] Creating file "00500 - 9 - Subtitle (PGS), Spanish.sup"...
[a04] Audio overlaps for 7ms at playtime 0:00:04. <WARNING>
[a04] Audio overlaps for 7ms at playtime 0:05:41. <WARNING>
[a04] Audio overlaps for 10ms at playtime 0:20:45. <WARNING>
[a04] Audio overlaps for 9ms at playtime 0:44:59. <WARNING>
[a04] Audio overlaps for 12ms at playtime 0:52:07. <WARNING>
[a04] Audio overlaps for 9ms at playtime 0:54:11. <WARNING>
[a04] Audio overlaps for 6ms at playtime 1:00:59. <WARNING>
[a04] Audio overlaps for 8ms at playtime 1:24:20. <WARNING>
[a04] Audio overlaps for 10ms at playtime 1:26:25. <WARNING>
[a04] Audio overlaps for 8ms at playtime 1:57:19. <WARNING>
[a04] Audio overlaps for 6ms at playtime 2:19:29. <WARNING>
[a04] Audio overlaps for 6ms at playtime 2:22:18. <WARNING>
[a04] Audio overlaps for 7ms at playtime 2:34:53. <WARNING>
[a04] Audio overlaps for 5ms at playtime 2:59:30. <WARNING>
[a05] Audio overlaps for 28ms at playtime 0:00:04. <WARNING>
[a05] Audio overlaps for 13ms at playtime 0:02:38. <WARNING>
[a05] Audio overlaps for 26ms at playtime 0:05:41. <WARNING>
[a05] Audio overlaps for 20ms at playtime 0:20:45. <WARNING>
[a05] Audio overlaps for 20ms at playtime 0:44:59. <WARNING>
[a05] Audio overlaps for 14ms at playtime 0:47:27. <WARNING>
[a05] Audio overlaps for 20ms at playtime 0:52:07. <WARNING>
[a05] Audio overlaps for 30ms at playtime 0:54:11. <WARNING>
[a05] Audio overlaps for 27ms at playtime 1:00:59. <WARNING>
[a05] Audio overlaps for 19ms at playtime 1:24:20. <WARNING>
[a05] Audio overlaps for 20ms at playtime 1:26:25. <WARNING>
[a05] Audio overlaps for 8ms at playtime 1:57:19. <WARNING>
[a05] Audio overlaps for 28ms at playtime 2:19:29. <WARNING>
[a05] Audio overlaps for 28ms at playtime 2:22:18. <WARNING>
[a05] Audio overlaps for 28ms at playtime 2:34:53. <WARNING>
[a05] Audio overlaps for 23ms at playtime 2:41:30. <WARNING>
[a05] Audio overlaps for 24ms at playtime 2:43:55. <WARNING>
[a05] Audio overlaps for 23ms at playtime 2:59:30. <WARNING>
[s10] Creating file "00500 - 10 - Subtitle (PGS), French.sup"...
[a04] Starting 2nd pass...
[a04] Realizing DTS gaps...
[a04] Creating file "00500 - 4 - DTS Master Audio, English, 5.1 channels, 24 bits, 48khz.dtsma"...
[a05] Starting 2nd pass...
[a05] Realizing (E-)AC3 gaps...
[a05] Creating file "00500 - 5 - AC3, French, 5.1 channels, 448kbps, 48khz.ac3"...
Video track 2 contains 268251 frames.
Video track 3 contains 268251 frames.
Subtitle track 7 contains 2035 captions.
Subtitle track 8 contains 2134 captions.
Subtitle track 9 contains 1991 captions.
Subtitle track 10 contains 20 captions.
Subtitle track 11 contains 2378 captions.
Subtitle track 12 contains 2611 captions.
eac3to processing took 1 hour, 28 minutes.
Done.
You can see that the audio overlaps in several places, although eac3to seems to have fixed it. Or so I thought... If I extract the DTS core and mux it to my already-done x264 encode, the audio is out of sync in several places. So then I tried encoding the dts-ma track to AC3 with libav and it still doesn't work, same sync issues, here's the log:
eac3to v3.16
command line: eac3to audio.dtsma audio.ac3 -libav
------------------------------------------------------------------------------
DTS Master Audio, 5.1 channels, 24 bits, 48khz
(core: DTS, 5.1 channels, 24 bits, 1509kbps, 48khz)
The libav DTS decoder doesn't decode the full DTS-HD information. <WARNING>
Extracting DTS core...
Decoding with libav/ffmpeg...
Remapping channels...
Encoding AC3 <640kbps> with libAften...
Creating file "audio.ac3"...
Clipping detected, a 2nd pass will be necessary. <WARNING>
The original audio track has a constant bit depth of 64 bits.
The libav DTS decoder doesn't decode the full DTS-HD information. <WARNING>
Starting 2nd pass...
Extracting DTS core...
Decoding with libav/ffmpeg...
Remapping channels...
Encoding AC3 <640kbps> with libAften...
Creating file "audio.ac3"...
The processed audio track has a constant bit depth of 64 bits.
eac3to processing took 19 minutes, 51 seconds.
Done.
Now, I have the latest ArcSoft DTS decoder installed, so I thought, as to use the lossless data from the dts-ma track, I should use it. And the ac3 track it produces its out of sync, much like the dts core I extracted earlier, check the log:
eac3to v3.16
command line: eac3to audio.dtsma audio.ac3
------------------------------------------------------------------------------
DTS Master Audio, 5.1 channels, 24 bits, 48khz
(core: DTS, 5.1 channels, 24 bits, 1509kbps, 48khz)
Decoding with ArcSoft DTS Decoder...
Encoding AC3 <640kbps> with libAften...
Creating file "audio.ac3"...
The original audio track has a constant bit depth of 24 bits.
eac3to processing took 29 minutes, 43 seconds.
Done.
Why is it that when decoding with libav the clipping/overlaps are detected and (seemingly) corrected, but its still out of sync? Why is it that when extracting the dts core or encoding to ac3 with the arcsoft decoder the same happens? Is there a way to force the clipping/overlapping correction? Whan can I do if I want to use the arcsoft dts decoder and get a dolby digital compliant ac3 track?
Thanks in advance! :thanks: