View Full Version : eac3to - audio conversion tool
Yraen
29th April 2008, 19:35
Yes, that's Ratatouille.
My experience encoding it to flac differs from yours. For me, it just won't make use of the gaps file.
eac3to v2.43
command line: "D:\editing apps\eac3to\2.43\eac3to.exe" "H:\HD\RATATOUILLE\" 1) 3: "N:\test\audio.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...
[a03] Extracting audio track number 3...
[a03] Reading RAW/PCM...
[a03] Swapping endian...
[a03] Remapping channels...
[a03] Encoding FLAC...
[a03] Creating file "N:\test\audio.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 information.
[a03] Please rerun the same eac3to command line. That will correct the gaps/overlaps.
Video track 2 contains 159042 frames.
eac3to processing took 20 minutes, 14 seconds.
Done.
Bluestraw
29th April 2008, 19:56
That's the same thing that happened for me when I ran it on the BD directly. Try running eac3to on the flac file directly, e.g. 'eac3to audio.flac audionew.flac'.
rack04
29th April 2008, 20:26
When should -stripPulldown be used?
madshi
29th April 2008, 21:20
When should -stripPulldown be used?
IIRC it helped making stuff play for the Xbox. But if you don't know what purpose you need it for then you probably don't need it.
BLKMGK
29th April 2008, 22:22
Okay, trying this on Golden Compass which appears to NOT have branching...
First I tried:
D:\Video\eac3to>eac3to x:
1) 00010.mpls, 00008.m2ts, 1:53:18
- VC-1, 1080p24 /1.001 (16:9)
- DTS Master Audio, English, multi-channel, 48khz
- DTS, English, stereo, 48khz
2) 00013.mpls, 00011.m2ts, 1:53:18
- VC-1, 1080p24 /1.001 (16:9)
- DTS, English, multi-channel, 48khz
3) 00011.mpls, 00008.m2ts, 1:53:18
- VC-1, 1080p24 /1.001 (16:9)
- DTS Master Audio, English, multi-channel, 48khz
- DTS, English, stereo, 48khz
4) 00012.mpls, 00011.m2ts, 1:53:18
- VC-1, 1080p24 /1.001 (16:9)
- DTS, English, multi-channel, 48khz
Then I tried:
D:\Video\eac3to>eac3to x:\BDMV\STREAM\
1) 00010.mpls, 00008.m2ts, 1:53:18
- VC-1, 1080p24 /1.001 (16:9)
- DTS Master Audio, English, multi-channel, 48khz
- DTS, English, stereo, 48khz
2) 00013.mpls, 00011.m2ts, 1:53:18
- VC-1, 1080p24 /1.001 (16:9)
- DTS, English, multi-channel, 48khz
3) 00011.mpls, 00008.m2ts, 1:53:18
- VC-1, 1080p24 /1.001 (16:9)
- DTS Master Audio, English, multi-channel, 48khz
- DTS, English, stereo, 48khz
4) 00012.mpls, 00011.m2ts, 1:53:18
- VC-1, 1080p24 /1.001 (16:9)
- DTS, English, multi-channel, 48khz
Now, file 10 is 666KB, file 13 is non-existant, file 11 is 21.1Gigs, file 12 is 6.5megs. Looking closer I have a file 8 that is 25Gigs. So I tried:
D:\Video\eac3to>eac3to x:\BDMV\STREAM\00008.m2ts
M2TS, 1 video track, 2 audio tracks, 1:53:18
1: VC-1, 1080p24 /1.001 (16:9)
2: DTS Master Audio, English, 5.1 channels, 24 bits, 48khz
3: DTS, English, 2t channels, 24 bits, 256kbit/s, 48khz
I cannot tell if file 8 and file 11 are supposed to be together or what. I'm ripping file 8 now ->
D:\Video\eac3to>eac3to x:\BDMV\STREAM\00008.m2ts 1: f:\gold\gold-vid.mkv 2: f:\gold\gold-aud.ac3 -640 -libav
M2TS, 1 video track, 2 audio tracks, 1:53:18
1: VC-1, 1080p24 /1.001 (16:9)
2: DTS Master Audio, English, 5.1 channels, 24 bits, 48khz
3: DTS, English, 2t channels, 24 bits, 256kbit/s, 48khz
[a02] The libav DTS decoder doesn't decode the full DTS-HD information.
[v01] Extracting video track number 1...
[a02] Extracting audio track number 2...
[a02] Extracting DTS core...
[a02] Remapping channels...
Loading white noise (needed for dithering)...
[a02] Encoding AC3...
[v01] Muxing video to Matroska...
[a02] Creating file "f:\gold\gold-aud.ac3"...
Fingers crossed but it seems odd that ONLY DTS is listed, that file 8 wasn't listed until I specified it, and I'm concerned that the "core" from the DTS may not give me 5.1 sound - not sure on that, anyone? Cannot watch it till it's ripped so hopefully I'll be able to see what's going on then.
Ideas? Am I screwing this up? (lol) Really want to see this movie! :p
Edit: Okay start looks good, I see credits at end, length is correct! Wonder what the 21Gig piece is....
Yraen
29th April 2008, 22:48
In your title listings if you'll look closely you'll see that two files are actually listed: .mpls and .m2ts. 0008.m2ts and 0011.m2ts appear to be the two movie files. Does the movie have an alternate ending or deleted scenes besides the theatrical release? It looks like they did this movie like they did I Am Legend, put the movie on there twice. It is weird that it only has DTS audio though. Does the box mention anything about any other audio formats?
BLKMGK
29th April 2008, 23:38
Ah yeah you're right about some MPLs there - weird. There's an option for a Director's commentary but doing that as a second movie would be silly! I have Legend, not yet watched the second ending though - I did giggle at the structure on that one..
There's also mention of Dolby Digital it looks like - disk itself says Dolby HD and DTS on it but surely it has something else too since my receiver cannot even decode either of those I don't think and I'm not alone - maybe DTS but I'd have to look. Since I have no stand-alone BD player and actually no BD player software it's kind of hard to look at some stuff lol, I just rip them to drive, compress, and then watch from HTPC with XBMC!
Here's a description -> http://www.amazon.com/Golden-Compass-Blu-ray-Nicole-Kidman/dp/B00139XZF4/ref=sr_1_4?ie=UTF8&s=dvd&qid=1209508002&sr=8-4
Might rip that second one for grins. I'm about 4 hours or so away from being able to watch this one so I've got time to prep the second part :p
P.S. file 8 never showed up in any of the eac3to listings until I pointed at it specifically - it was THE largest M2TS file on there too!
Bluestraw
30th April 2008, 00:06
I think you're confusing the mpls files with the m2ts ones. m2ts files 8 and 11 are the ONLY ones that show up. They happen to each be listed twice, i.e. mpls files 10,11 and 12,13 are identical pairs. I've seen that before - must be a quirk of how some BDs are authored.
Looking at the runtimes, it seems 8 and 11 are identical, except one has the single soundtrack. Definitely file 8 will be the 'normal' one, and instead of adding a soundtrack they've repeated the whole movie for director commentary on 11. Maybe they also overlaid some graphics or something on 11 - would definitely be interested to hear what you find!
BLKMGK
30th April 2008, 00:54
Oh! Now I see it - duh! Okay, am about to rip the smaller one, number 11 now. I have to laugh, I heard on and on about how BD was better because it had more space blah blah. However I still see some movies doing silly things like having multiple copies instead of having a single movie and multiple tracks of audio. If there's nothing visually different in the second one that will be odd indeed!
D:\Video\eac3to>eac3to x:\BDMV\STREAM\00011.m2ts
M2TS, 1 video track, 1 audio track, 1:53:18
1: VC-1, 1080p24 /1.001 (16:9)
2: DTS, English, 5.1 channels, 24 bits, 1536kbit/s, 48khz
Thanks!
P.S. Got a framecount after that first rip - woohoo!
xxx666yyy777
30th April 2008, 01:57
@Madshi:
Very cool tool!!!
Suggestion for additional feature (or maybe I just don't understand how to use it...)
If I have a source with chapters, video and several audio streams, it would be nice to be able to issue one single command to mux, for example, the chapters, with the 2nd video stream and the 5th audio stream into one .mkv file at once. As far as I see it now, I have to demux the chapter file to a .txt, the video stream into .mkv and the audio stream into thre separate files and then mux them into another .mkv file with video, chapters and audio...
Just a thought...
Thx
bkman
30th April 2008, 03:42
Hi,
just a question: Any possibility of making use of Cyberlink filters for Dolby Headphone mixing?
Because that would be great.
Thanks.
madshi
30th April 2008, 07:30
I think you're confusing the mpls files with the m2ts ones. m2ts files 8 and 11 are the ONLY ones that show up. They happen to each be listed twice, i.e. mpls files 10,11 and 12,13 are identical pairs. I've seen that before - must be a quirk of how some BDs are authored.
Looking at the runtimes, it seems 8 and 11 are identical, except one has the single soundtrack. Definitely file 8 will be the 'normal' one, and instead of adding a soundtrack they've repeated the whole movie for director commentary on 11. Maybe they also overlaid some graphics or something on 11 - would definitely be interested to hear what you find!
That's exactly my thinking. Probably file 11 has some PIP windows hard coded to it in some parts of the movie.
Suggestion for additional feature (or maybe I just don't understand how to use it...)
If I have a source with chapters, video and several audio streams, it would be nice to be able to issue one single command to mux, for example, the chapters, with the 2nd video stream and the 5th audio stream into one .mkv file at once. As far as I see it now, I have to demux the chapter file to a .txt, the video stream into .mkv and the audio stream into thre separate files and then mux them into another .mkv file with video, chapters and audio...
eac3to is using the Haali Matroska Muxer which doesn't support muxing chapters. So what you're suggesting is technically not even possible with the code I'm using now. I'd have to write my own Matroska Muxer to make that work which is quite a lot of work.
One thing that would be possible is for eac3to is to do 2 steps:
(1) Do what it does now.
(2) Automatically call mkvtoolnix to mux everything into MKV in a 2nd step.
That would be possible, but it would take just as long as what you can do today. It would just be slightly more comfortable. So I don't know if it's worth it. Furthermore I think the Eac3to and More GUI can already do that, anyway.
just a question: Any possibility of making use of Cyberlink filters for Dolby Headphone mixing?
Most Cyberlink filters can not be used outside of PowerDVD, as far as I know.
madshi
30th April 2008, 09:30
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.
* 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.
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.
Just checked this. I can reproduce the sync problem when using the Nero decoder. But with the libav decoder audio is in sync! Well, compared to the PCM track the TrueHD track is 4ms off after the first joint point and 8ms off after the 2nd joint point. But that's within eac3to's tolerance.
* Libav is unable to decode the TrueHD track (lossless check fail).
Actually libav decodes the TrueHD track perfectly fine. *Nero* has a problem with it. Those "lossless check fail" messages just mean that the checksum calculation isn't working correctly on the join points. But that was to be expected. It doesn't affect audio quality at all.
I'll surpress these "lossless check failed" messages at join points in the next version to avoid confusion...
Kurtnoise
30th April 2008, 09:54
eac3to is using the Haali Matroska Muxer which doesn't support muxing chapters.
using gdsmux (the GUI included in the Haali package which uses the filters), there is one tab dedicated to the chapters. Dunno if it's available through the directshow pins though...
madshi
30th April 2008, 10:11
eac3to v2.44 released
http://madshi.net/eac3to.zip
* libav is now automatically used when Nero/Sonic decoders are not working
* gap/overlap correction of RAW/PCM tracks sometimes aborted
* rerunning de/remuxing to correct gaps/overlaps ignored RAW/PCM tracks
* "lossless check failed" messages are surpressed on join points now
This should fix all problems with seamless branching Blu-Rays which were reported to me - except the one problem that audio sync gets lost when using Nero to decode TrueHD tracks. But I don't consider that a big problem since libav is default for TrueHD decoding and gets it right.
nautilus7
30th April 2008, 11:00
Just checked this. I can reproduce the sync problem when using the Nero decoder. But with the libav decoder audio is in sync! Well, compared to the PCM track the TrueHD track is 4ms off after the first joint point and 8ms off after the 2nd joint point. But that's within eac3to's tolerance.
Actually libav decodes the TrueHD track perfectly fine. *Nero* has a problem with it. Those "lossless check fail" messages just mean that the checksum calculation isn't working correctly on the join points. But that was to be expected. It doesn't affect audio quality at all.
I checked the logs regarding all commands i run for Surf's Up. I was mistaken. I checked sync only with nero decoder, considering that libav had trouble decoding the stream correctly. So, the screens above are with nero. I am currently checking with libav and newer version.
shambles
30th April 2008, 11:33
i redid spider-man 2 now with 2.44 and it does indeed stay in sync.. sorry for jumping to conclusions :o
masterful job, as always. many many thanks!
madshi
30th April 2008, 11:46
i redid spider-man 2 now with 2.44 and it does indeed stay in sync..
So gap/overlap correction for the TrueHD track executed and it worked ok? Just asking because I haven't seen confirmation for working TrueHD gap/overlap correction yet. Thanks...
Greif
30th April 2008, 12:28
Since libav is the default for TrueHD, and since I do not have Nero7 or Sonic filters installed, should I always go with the TrueHD track over EAC3?
Which will result in better sound quality using libav?
nautilus7
30th April 2008, 12:47
Since libav is the default for TrueHD, and since I do not have Nero7 or Sonic filters installed, should I always go with the TrueHD track over EAC3?
Which will result in better sound quality using libav?
If both TrueHD and E-AC3 is available for a movie, then TrueHD is always the way to go since it uses lossless compression (while E-AC3 is a lossy format). As a result, all TrueHD decoders have to output bit identical audio streams (that's the case with nero and libav truehd decoders). On the other hand, nero E-AC3 decoder uses Dolby's reference code, while libav not that may or may not result in somewhat lower sound quality. Anyway, the difference should be very small to hear.
shambles
30th April 2008, 13:02
So gap/overlap correction for the TrueHD track executed and it worked ok? Just asking because I haven't seen confirmation for working TrueHD gap/overlap correction yet. Thanks...
well, no. it doesn't seem to write any gap/overlap file. here's what i got:
eac3to v2.44
command line: eac3to "E:\Spider-Man 2 Blu-Ray" 1) 2: f:\sm2.mkv 4: f:\sm2.flac
------------------------------------------------------------------------------
M2TS, 1 video track, 7 audio tracks, 2:07:27
1: Chapters, 52 chapters
2: h264/AVC, 1080p24 /1.001 (16:9)
3: TrueHD/AC3, English, 5.1 channels, 48khz
4: TrueHD/AC3, English, 5.1 channels, 48khz
5: AC3, Czech, 5.1 channels, 448kbit/s, 48khz, dialnorm: -30dB
6: AC3, Czech, 5.1 channels, 448kbit/s, 48khz, dialnorm: -30dB
7: AC3, Polish, 5.1 channels, 448kbit/s, 48khz, dialnorm: -28dB
8: AC3, Polish, 5.1 channels, 448kbit/s, 48khz, dialnorm: -27dB
9: AC3, English, 2.0 channels, 192kbit/s, 48khz, dialnorm: -30dB
[v02] Extracting video track number 2...
[a04] Extracting audio track number 4...
[a04] Extracting TrueHD stream...
[a04] Encoding FLAC...
[v02] Muxing video to Matroska...
[a04] This audio track contains more than 16 bit of information.
[a04] Creating file "f:\sm2.24bit.flac"...
Added fps value to MKV header.
Video track 2 contains 183372 frames.
eac3to processing took 42 minutes, 4 seconds.
Done.
still the track is in sync.
earlier in this thread, drmpeg posted that truehd pes granularity is 0.83 ms (http://forum.doom9.org/showthread.php?p=1076017#post1076017), so each overlap should be less than 1ms. does eac3to list overlaps that are less than 1ms?
Bluestraw
30th April 2008, 13:14
I re-tested Ratatouille and the 2 problems I had are both fixed - it DOES now pick up the GAPS file on re-running the command-line, and also if you process the flac by itself it no longer errors out.
Great job Madshi - once again :)
nautilus7
30th April 2008, 13:27
does eac3to list overlaps that are less than 1ms?No. Overall overlap should be more than 40ms to be displayed.
I suppose we 'll never see overlaps/gaps for TrueHD streams. :eek:
BTW, i redone the TrueHD stream from Surf's Up and it's perfect now.
madshi
30th April 2008, 14:09
well, no. it doesn't seem to write any gap/overlap file.
[...]
earlier in this thread, drmpeg posted that truehd pes granularity is 0.83 ms (http://forum.doom9.org/showthread.php?p=1076017#post1076017), so each overlap should be less than 1ms.
That makes sense. But there's one thing I don't understand: I've heard from different people that audio went out of sync for them when remuxing Spider-Man 2. Well, that was before eac3to supported m2ts joining, of course. But still if the TrueHD tracks have no noticable overlaps then I'm wondering why sync ever was a problem with Spider-Man 2.
I re-tested Ratatouille and the 2 problems I had are both fixed
BTW, i redone the TrueHD stream from Surf's Up and it's perfect now.
Good to hear! :)
nautilus7
30th April 2008, 14:14
That makes sense. But there's one thing I don't understand: I've heard from different people that audio went out of sync for them when remuxing Spider-Man 2. Well, that was before eac3to supported m2ts joining, of course. But still if the TrueHD tracks have no noticable overlaps then I'm wondering why sync ever was a problem with Spider-Man 2.Maybe they decoded with nero and run into the same problem i did with Surf's Up. Maybe nero can't deal with joint truehd streams at all. Maybe it should be blocked with seamless branching blu-rays. Time will tell i guess...
rack04
30th April 2008, 14:51
Here's what I recommend (and what I'm using myself):
(1) Extend the search path to include eac3to's folder. In Windows XP you can do that by:
right click on My Computer -> "extended" tab -> "environment variables" button
In the first list double click on "PATH". Then add ";c:\program files\eac3to" (replace that path with the one you're using on your PC) to the list of paths. This change will make sure that you can always directly type "eac3to" in the command line, no matter in which folder you are. Windows will then automatically find eac3to.exe for you. Very comfortable. You may need to log off/on to make the "PATH" change active.
(2) In the command line go to the folder where you want to have the files demuxed to. E.g. if you want to have the movie "c:\fresh rips\some HD DVD movie" demuxed to "c:\demuxed\some HD DVD movie", you should in the command line go to "c:\demuxed\some HD DVD movie". I mean the command line window should look like this "c:\demuxed\some HD DVD movie> _".
(3) Now type:
eac3to "c:\fresh rips\some HD DVD movie" -demux
This will demux everything to "c:\demuxed\some HD DVD movie".
MKVToolnix is already defined in the PATH. Will changing this to eac3to cause problems with MKVToolnix?
shambles
30th April 2008, 15:07
Maybe they decoded with nero and run into the same problem i did with Surf's Up. Maybe nero can't deal with joint truehd streams at all. Maybe it should be blocked with seamless branching blu-rays. Time will tell i guess...
i did spider-man 2 with both libav and nero before eac3to had branching support (as in 1.thd+2.thd+...) and both were massively out of sync by the end.
but sync was fine when doing the same files one by one with eac3to and then joining them after (with libav, didn't try nero this way iirc).
madshi
30th April 2008, 15:37
MKVToolnix is already defined in the PATH. Will changing this to eac3to cause problems with MKVToolnix?
No, not at all.
i did spider-man 2 with both libav and nero before eac3to had branching support (as in 1.thd+2.thd+...) and both were massively out of sync by the end.
Strange...
bkman
30th April 2008, 16:46
Most Cyberlink filters can not be used outside of PowerDVD, as far as I know.
Maybe there is a special way to talk to them..? A secret handshake? :P
It's just the Dolby Headphone sounds AMAZING, and it's very elusive to encode or convert to...
nautilus7
30th April 2008, 19:09
Regarding Cyberlink decoders, i 've read that new PowerDVD 9 supports full DTS-HD decoding now, so maybe it worths spending some time with that decoder in case it supports 7.1 channels. We need a 7.1 channel DTS-HD decoder.
Rectal Prolapse
30th April 2008, 20:26
Wow I thought PowerDVD 8 (EIGHT) was the latest. :)
nautilus7
30th April 2008, 20:34
Yes... 8 is the latest. :D
I messed up versions with WinDVD 9. :D
Thunderbolt8
30th April 2008, 20:57
madshi, could you please at least add a switch or something like that that the user is able get rid of that seamless branching delay, even in case its below those 40ms for the movie?
i know that such low values are most likely not perceivable, but for me the point is more coming as close to the source as possible. eac3to provides best = lossless results when it comes to adapting the picture and sound 1 : 1 (flac conversion), but in the respect with these little overlaps it gets a bit away from that point, though its technically possible. when playing the complete movie with a commercial programm like powerdvd or in a hardware player then those gaps are/should not be present as well and this is then the way a lossless 'copy' (=remux) to another format should look like as well.
i know that another pass is most likely needed then, but for me its not a question of time, whether eac3to needs 30 mins or 2 hours to finish, since its a singular process anyway for each movie.
so it would be nice if you give the user at least the choice to decide himself if he likes to bring it to perfection or chooses the more practical way, which is 'less closer' to the source though. its a matter of feeling perfection ;)
Rectal Prolapse
30th April 2008, 21:09
40 ms is too large - especially for those with displays with large input lag (ie. some LCD monitors/TVs have 40 to 60 ms of input lag - add on 40 ms and things will be very noticeably out of sync).
saint-francis
30th April 2008, 22:31
I would like to make a feature request/suggestion. I think it would be helpful if there were an option in eac3to to set up profiles. For example I never use a flack track. My sound system can almost do justice to a 640 Kbps ac3 and I have absolutely NO plans on upgrading it for years to come. By then people will be laughing at the poor quality of the DTS-HD tracks they used to have in BD. I always erase the flack track when I do eac3to.exe source movie.mkv but I appreciate why that automatically encoding to flack function is there. Also just about every 2.0 channel track I convert to ac3 and then ultimately to AAC. If I could just once make a profile that would mux the video to .mkv, convert all 5.1 channel and up tracks to ac3 and any 2.0 channel tracks to AAC while demuxing the subtitles and chapter file it would save me an enormous amount of time and potentially save me from carpel tunnel syndrome. I know that eac3to is under pretty heavy development as it is just trying to iron out all of the kinks and complete it's current functionality so this is just food for thought.
P.S. madshi, you rock.
hey madshi, I'm joining two m2ts' into an mkv. The first one is 99% of the movie, and the 2nd one is the credits. The 2nd one comes in Japanese or English. I'm joining the Japanese, so it's 00000.m2ts+00001.m2ts
Once it gets to the credits m2ts I get the error:
"[v01] The h264 muxer received invalid h264/AVC data.
Aborted at file position 30684829696."
What should I do the successfully join these? This is with v2.44. Both m2ts' convert to mkv fine on their own.
EDIT: Also errored with the M:\Movie 1) setup
Hi,
Not sure if the following is by design or if it is a bug:
D:\video>eac3to "Ice Age The MeltDown" 2: "Ice Age The MeltDown.mkv" 3: "Ice Age
The MeltDown.flac"
M2TS, 1 video track, 5 audio tracks, 1:30:36
1: Chapters, 25 chapters
2: MPEG2, 1080p24 /1.001 (16:9)
3: DTS Master Audio, English, 5.1 channels, 24 bits, 48khz
4: AC3, French, 5.1 channels, 448kbit/s, 48khz, dialnorm: -27dB
5: AC3, Spanish, 5.1 channels, 448kbit/s, 48khz, dialnorm: -27dB
6: AC3, English, 2.0 channels, 224kbit/s, 48khz, dialnorm: -27dB
7: AC3, English, 2.0 channels, 224kbit/s, 48khz, dialnorm: -27dB
[a03] The Sonic decoder doesn't seem to work, will use libav instead.
[a03] The libav DTS decoder doesn't decode the full DTS-HD information.
[a03] Extracting audio track number 3...
[v02] Extracting video track number 2...
[a03] The libav decoder received a non-supported data format.
[v02] Muxing video to Matroska...
Aborted at file position 65536.
D:\video>eac3to "Ice Age The MeltDown" 2: "Ice Age The MeltDown.mkv" 3: "Ice Age
The MeltDown.flac" -libav
M2TS, 1 video track, 5 audio tracks, 1:30:36
1: Chapters, 25 chapters
2: MPEG2, 1080p24 /1.001 (16:9)
3: DTS Master Audio, English, 5.1 channels, 24 bits, 48khz
4: AC3, French, 5.1 channels, 448kbit/s, 48khz, dialnorm: -27dB
5: AC3, Spanish, 5.1 channels, 448kbit/s, 48khz, dialnorm: -27dB
6: AC3, English, 2.0 channels, 224kbit/s, 48khz, dialnorm: -27dB
7: AC3, English, 2.0 channels, 224kbit/s, 48khz, dialnorm: -27dB
[a03] The libav DTS decoder doesn't decode the full DTS-HD information.
[v02] Extracting video track number 2...
[a03] Extracting audio track number 3...
[a03] Extracting DTS core...
[v02] Muxing video to Matroska...
[a03] Remapping channels...
Loading white noise (needed for dithering)...
[a03] Encoding FLAC...
[a03] Creating file "Ice Age The MeltDown.flac"...
Added fps value to MKV header.
Video track 2 contains 130338 frames.
eac3to processing took 32 minutes, 11 seconds.
Done.
The first run it tried to use libav automatically I think, but failed for some reason. The 2nd run I specified -libav and it worked correctly. Just thought I would report it in case it was important.
Bluestraw
1st May 2008, 12:39
Madshi,
How does eac3to handle multiple languages within a single mpls file? For example, on the Cars BD, my understanding is that within a single mpls file there are different orders based on the language chosen. If you examine the mpls file in a text editor, you can see the languages and numbers listed. Not sure which language it would pick by default today?
I uploaded an example mpls file here:
http://rapidshare.com/files/111721488/00072.mpls.html
madshi
1st May 2008, 14:27
Maybe there is a special way to talk to them..? A secret handshake? :P
Regarding Cyberlink decoders, i 've read that new PowerDVD 9 supports full DTS-HD decoding now, so maybe it worths spending some time with that decoder in case it supports 7.1 channels. We need a 7.1 channel DTS-HD decoder.
That's all nice and fine. But as long as you don't find a way to make these filters work outside of PowerDVD, we don't even need to begin to think about using the filters in eac3to. Try making them work in GraphEdit. If you succeed, let me know... ;)
madshi, could you please at least add a switch or something like that that the user is able get rid of that seamless branching delay, even in case its below those 40ms for the movie?
You know what? I already expected you to complain about those 40ms... ;)
i know that another pass is most likely needed then, but for me its not a question of time, whether eac3to needs 30 mins or 2 hours to finish, since its a singular process anyway for each movie.
It's not a question of processing time at all. eac3to already uses 2 steps for gap/overlap correction.
40 ms is too large - especially for those with displays with large input lag (ie. some LCD monitors/TVs have 40 to 60 ms of input lag - add on 40 ms and things will be very noticeably out of sync).
If your display has an input lag you should adjust your receiver or media player to delay audio accordingly.
Anyway, I hear you. I can lower the threshold to something lower than 40ms. But there's one thing you should know: The timestamps are not 100% reliable. If I lower the threshold too much, we'll get false alarms. I mean then eac3to will report audio gaps/overlaps for movies which don't really have any gaps/overlaps. We don't want that, do we? So it's kind of difficult to find the right threshold. But maybe 40ms is really a bit too much. I chose this value because an AC3 frame is usually 32ms long and I wanted to allow one AC3 frame "off" without reporting a gap/overlap.
I would like to make a feature request/suggestion. I think it would be helpful if there were an option in eac3to to set up profiles. For example I never use a flack track.
I generally find this suggestion useful. Actually I thought about it myself already. However, I think it's not time for such features yet. First I need to get everything working alright, fix all bugs etc. Afterwards I may think about comfortability features like this.
hey madshi, I'm joining two m2ts' into an mkv. The first one is 99% of the movie, and the 2nd one is the credits. The 2nd one comes in Japanese or English. I'm joining the Japanese, so it's 00000.m2ts+00001.m2ts
Once it gets to the credits m2ts I get the error:
"[v01] The h264 muxer received invalid h264/AVC data.
Aborted at file position 30684829696."
Hmmmm... That's quite strange. Could you send me the last 20MB of 00000.m2ts and the first 20MB of 00001.m2ts?
Not sure if the following is by design or if it is a bug: [...] The first run it tried to use libav automatically I think, but failed for some reason. The 2nd run I specified -libav and it worked correctly. Just thought I would report it in case it was important.
Thanks, that's a useful bug report. Will fix that in the next build.
How does eac3to handle multiple languages within a single mpls file? For example, on the Cars BD, my understanding is that within a single mpls file there are different orders based on the language chosen.
No, there are no different orders for different languages in one mpls file. If there are different orders for different languages, then that is realized through using multiple mpls files. So there is no problem.
Bluestraw
1st May 2008, 15:53
Anyway, I hear you. I can lower the threshold to something lower than 40ms. But there's one thing you should know: The timestamps are not 100% reliable. If I lower the threshold too much, we'll get false alarms. I mean then eac3to will report audio gaps/overlaps for movies which don't really have any gaps/overlaps. We don't want that, do we? So it's kind of difficult to find the right threshold. But maybe 40ms is really a bit too much. I chose this value because an AC3 frame is usually 32ms long and I wanted to allow one AC3 frame "off" without reporting a gap/overlap.Would it be possible to make it user-configurable? Maybe you could set it at your preferred 'default' but then let certain 'perfectionists' experiment on a per-movie basis to get the desired result?
No, there are no different orders for different languages in one mpls file. If there are different orders for different languages, then that is realized through using multiple mpls files. So there is no problem.Are you absolutely sure about this? For example, in the Cars BD I was talking about, there are 3 language versions. All the playlists shown by eac3to are identical, yet different languages do result in a different required join order. The same thing happens in Open Season - there are different orders for the different languages, simply in order to show the movie title on screen in the right language, and all this in the single mpls file.
If you load that mpls file I sent above into the latest version of BDEdit, you'll see that it contains 3 'angles' - I presume these correspond to the 3 languages. There's more about mpls files here, though it doesn't actually cover the multi angles so well:
http://forum.doom9.org/showpost.php?p=998714&postcount=1543
madshi
1st May 2008, 16:08
Are you absolutely sure about this? For example, in the Cars BD I was talking about, there are 3 language versions. All the playlists shown by eac3to are identical, yet different languages do result in a different required join order. The same thing happens in Open Season - there are different orders for the different languages, simply in order to show the movie title on screen in the right language, and all this in the single mpls file.
If you load that mpls file I sent above into the latest version of BDEdit, you'll see that it contains 3 'angles' - I presume these correspond to the 3 languages.
Hmmmm... You're right, I forgot about angles. eac3to always uses the first angle, IIRC. Do you need access to the other ones, too? I don't think the order of the parts changes, though. Instead different languages are using different parts, I believe.
Bluestraw
1st May 2008, 17:33
Hmmmm... You're right, I forgot about angles. eac3to always uses the first angle, IIRC. Do you need access to the other ones, too? I don't think the order of the parts changes, though. Instead different languages are using different parts, I believe.That's right I think - e.g. you could have
0000
0001
0004
0005
0008
as the English version,
0000
0002
0004
0006
0008
as the German one
0000
0003
0004
0007
0008
as the French one.
where for example part 0001 has some on-screen English text, 0002 has German and 0003 has French. From what I've seen so far, each one has all the audio tracks, so for example you could watch the 'French version' but keep the English soundtrack.
From my pov, I always want the English one, so it depends for me whether or not which angle that is. My guess would be that I'd typically be lucky and get the first one, but others (like you!) may not find their first choice available!
madshi
1st May 2008, 18:26
others (like you!) may not find their first choice available!
Actually I want the English one, too, which is usually the first. But there may be other people who want their local version. So I guess angle support would make sense...
Bluestraw
1st May 2008, 19:19
Actually I want the English one, too, which is usually the first. But there may be other people who want their local version. So I guess angle support would make sense...:) Sorry didn't mean to offend, I thought I remember you saying you weren't English. Not that I could tell from what you write - impeccable English!
nautilus7
1st May 2008, 19:38
Surf's Up consists of 3 m2ts files. The 2nd is language specific. It might uses angles too.
Thunderbolt8
1st May 2008, 20:16
Anyway, I hear you. I can lower the threshold to something lower than 40ms. But there's one thing you should know: The timestamps are not 100% reliable. If I lower the threshold too much, we'll get false alarms. I mean then eac3to will report audio gaps/overlaps for movies which don't really have any gaps/overlaps. We don't want that, do we? So it's kind of difficult to find the right threshold. But maybe 40ms is really a bit too much. I chose this value because an AC3 frame is usually 32ms long and I wanted to allow one AC3 frame "off" without reporting a gap/overlap.
false alarms would indeed be really bad, you are right that we dont want that. hm is there maybe a way to combine the gap/overlap checking with the audio tracks used? for example if I only decide to use a pcm or truehd/dts-hd and no ac3 track for my muxing at all would it be possible then to have that checking only apply to those tracks, which have quite shorter frames as ac3?
or would this be too complicated?
Hmmmm... That's quite strange. Could you send me the last 20MB of 00000.m2ts and the first 20MB of 00001.m2ts?
Ok, I will, but I don't understand how to use this HxD program.
nautilus7
1st May 2008, 22:27
Ok, I will, but I don't understand how to use this HxD program.You load the file. Then go to edit--> select block and set the size (20MB) in bytes. Make sure dec is chosen. To select the start of the file you put 0 to start-offset and 20971520 in end-offset. To select the end, click the mouse to the end of the file and then put in the start-offset (end-offset - 20971520). Final step is to copy-paste the selected part to a new file. Be careful not to modify the original file.
Snowknight26
1st May 2008, 23:19
Or use clip.exe (http://www.stfcc.org/misc/clip.exe).
usage: clip <infile> <outfile> <start offset> <length>
Rectal Prolapse
1st May 2008, 23:33
madshi, Ratatouille also makes use of multi-angles for different languages.
Is there a way to lower the overlap/gap threshold only for m2ts files that are to be joined from a single playlist, and only at the endpoints of the m2ts files? That may give better results overall - for multiple m2ts and single m2ts files.
Anyways - thanks for the great tool - again. :)
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.