View Single Post
Old 18th December 2007, 23:19   #2020  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
eac3to v2.09 released

http://madshi.net/eac3to.zip

Code:
* EVO demuxing added with proper delays for all audio tracks
* EVO file joining/rebuilding added
* automated EVO video remuxing (Matroska) added
* automated rewriting of Matroska timestamps to 24p via mkvtoolnix added
* multiple operations on the source file can now be run at the same time
* switch "-test" tests all external DirectShow filters and tools
* latest ffmpeg/libav TrueHD and E-AC3 decoder patches included
* latest libAften build included
* libav TrueHD decoder is now the default decoder for TrueHD/MLP
* support for libav DTS decoding added
* fixed a whole lot of bugs (and might have added a few new ones)
Let me stress one new feature so that it won't go unnoticed:

full EVO demuxing/remuxing support added

It's a bit difficult to explain all the new features. Let me simply give you a few examples to get you going:

Example 1:
This one looks really simple. Basically it encodes the source PCM file to both AC3 and FLAC - at the same time! This saves time because the source file only needs to be read once:
Code:
eac3to source.pcm dest.ac3 dest.flac
Example 2:
This example demuxes the first PCM, TrueHD or DTS Master Audio track that is stored in the EVO container and transcodes it to FLAC:
Code:
eac3to source.evo dest.flac
Example 3:
This example demuxes the first video track and all audio tracks of the whole HD DVD movie:
Code:
eac3to FEATURE_1.EVO+FEATURE_2.EVO -demux
Example 4:
Now it gets more complicated. First let's list the contents of the EVO source:
Code:
eac3to FEATURE_1.EVO+FEATURE_2.EVO
eac3to analyzes the source files and outputs something like this:
Code:
EVO/VOB, 2 video tracks, 5 audio tracks, 1:55:18
1: Joined EVO/VOB file
2: VC-1
3: VC-1
4: TrueHD, 5.1 channels, 48khz, dialnorm: -24dB
5: E-AC3, 5.1 channels, 384kbit/s, 48khz, dialnorm: -27dB, -17ms
6: E-AC3, 5.1 channels, 384kbit/s, 48khz, dialnorm: -27dB, -17ms
7: E-AC3, 2.0 channels, 192kbit/s, 48khz, dialnorm: -27dB, -17ms
8: E-AC3, 2.0 channels, 192kbit/s, 48khz, dialnorm: -27dB, -4ms
As you can see, all video and audio tracks are listed. Now instead of using the "-demux" or "-auto" options, which do everything automatically, you can manually decide what to do. The following command muxes the primary VC-1 video track to MKV and transcodes the TrueHD track to FLAC:
Code:
eac3to FEATURE_1.EVO+FEATURE_2.EVO 2: video.mkv 4: english.flac
Example 5:
Same EVO files as in Example 4. Now the following command will simply join the EVO files (same functionality as "rebuild" in EvoDemux).
Code:
eac3to FEATURE_1.EVO+FEATURE_2.EVO joined.evo
Example 5:
The following command line muxes the primary video track to MKV and rewrites the timestamps to 23.976. Furthermore all AC3, E-AC3, DTS and DTS-HD Hi-Res tracks are demuxed. And all PCM, TrueHD and DTS-HD Master Audio tracks are automatically converted to FLAC:
Code:
eac3to FEATURE_1.EVO+FEATURE_2.EVO movie.mkv
The whole EVO demuxing/remuxing functionality should automatically handle all video and audio delay correctly. So the final video and audio files should all be in perfect sync. There are 2 limitations, though:
(1) Delaying of bitstream formats (AC3, E-AC3, DTS) still isn't supported. So the necessary delay value is added to the file name. You can do the delaying by using delaycut.
(2) I think I got all the delay stuff right, but we'll only find out with LOTS of testing.

Generally because there was so much functionality added in this version please expect new bugs to show up. Especially the new EVO features will need a lot of testing...

Last edited by madshi; 19th December 2007 at 10:56.
madshi is offline