View Full Version : eac3to - audio conversion tool
Thunderbolt8
26th March 2008, 11:30
That's bad. My MPEG2 handling module explicitly disallows changes from interlaced to progressive. But if D-Theater actually uses that, I might have no choice than to support it. This has nothing to do with the new TS/M2TS support, though. It's a limitation of my MPEG2 code.
ive had this for quite some mpeg2 sources now (non d-theater), so apparently it does not only happen quite rarely. would be nice if eac3to could be used for those as well.
Zelos
26th March 2008, 12:40
i remuxed my 1st bluray with eac3to and it works fine .
Great job , and thanks Madshi !
Did eac3to apply audio delay with bluray file ?
vwpassion
26th March 2008, 13:30
@Madshi
How long do you think until there is a version that "officially" supports m2ts joining? I have a major issue with a title that requires joining of about 40 segments and which includes a TrueHD track. No matter what I do (copy /b, tssplitter join -> tsremux, etc) the audio seems to be borked and doesnt stay in sync with the video. Xport and eac3to report discontinuity issues as well.
We *really* need proper m2ts joining support within eac3to! :)
madshi
26th March 2008, 13:36
Did eac3to apply audio delay with bluray file ?
If it is necessary - yes. However, I've not seen a Blu-Ray title where it was necessary as of yet.
How long do you think until there is a version that "officially" supports m2ts joining? I have a major issue with a title that requires joining of about 40 segments and which includes a TrueHD track. No matter what I do (copy /b, tssplitter join -> tsremux, etc) the audio seems to be borked and doesnt stay in sync with the video. Xport and eac3to report discontinuity issues as well.
We *really* need proper m2ts joining support within eac3to! :)
Patience, young Padawan, patience! :) The first eac3to version with m2ts support is just 2 days old. Code doesn't grow on trees.
Zelos
26th March 2008, 14:00
perhaps i ask a lot , but will you plan to support subtitle stream ?:p
madshi
26th March 2008, 14:05
Maybe? ;)
Zelos
26th March 2008, 14:08
btw , did you stop the developement of h264tsto ?
i used it to mux a m2ts file on to a matroska container.
Eac3to , now offer more options included the audio.
madshi
26th March 2008, 14:44
h264tsto was never meant to do anything more than just automating some DirectShow filters. h264tsto never did any real work on its own. It just connected some DirectShow filters and that's it. As such there's not much that I can do to improve h264tsto. It does what it does well, and the limitations are dictated by the DirectShow filters (which are written by other people).
eac3to is a totally different thing. It does a lot of stuff on its own and only uses external software (DirectShow filters, dlls, exes) when absolutely necessary. In eac3to I've replaced several DirectShow filters which didn't work well enough (for my taste) with self written code.
buzzqw
26th March 2008, 15:47
so we can aspect to see all h264tsto in eac3to .. soon (or later) ?
BHH
shambles
26th March 2008, 15:57
I have a major issue with a title that requires joining of about 40 segments and which includes a TrueHD track. No matter what I do (copy /b, tssplitter join -> tsremux, etc) the audio seems to be borked and doesnt stay in sync with the video.
until madshi tackles the multiple-m2ts titles, demuxing truehd from each m2ts separately and converting each of them separately to wav/pcm and then joining them should get you a synced track.
madshi
26th March 2008, 16:02
so we can aspect to see all h264tsto in eac3to .. soon (or later) ?
Don't know. Maybe? I usually don't plan that far into the future, especially not with hobby projects. I'm usually just checking what needs to be done next and then look from there...
buzzqw
26th March 2008, 16:10
ok, i fully agree.. since i am hobby programmer too (even if i usually do change faster than i suppose to do... :p )
BHH
vwpassion
26th March 2008, 16:10
until madshi tackles the multiple-m2ts titles, demuxing truehd from each m2ts separately and converting each of them separately to wav/pcm and then joining them should get you a synced track.
Actually that's exactly what I did: I demuxed the True-HD track seperately from each m2ts using xport, and then converted to ac3 with eac3to. In the end I joined the ac3 segments, but still the track is borked and goes out of sync in a few scenes, apparently the track doesnt go out of sync progressively. It randomly goes out of sync on some scenes, and basically this can't be fixed by adding a delay or through stretching.
Should I rather convert the demuxed True-HD segments to WAV and then join them, and then covert them to AC3?
shambles
26th March 2008, 20:21
yes, to wav, then join, then to ac3. you should be getting progressive desync with wavs -> ac3s -> join though so don't know if joining before encoding to ac3 will help either
vwpassion
26th March 2008, 20:47
Which program is recommended to join .wav's?
shambles
26th March 2008, 21:10
wavewizard (http://forum.doom9.org/showthread.php?t=95265)
saint-francis
26th March 2008, 22:08
Feature Requet:
Madshi have you thought about adding an option for "continue to next .evo" like the one in EVOdemux? This would also be very nice once m2ts joining is implemented since there seem to be some BD titles with many .m2ts files.
I have an .m2ts file from Mr' Magorium's Wonder Emporium that makes eac3to crash. There is the chance that I'm not doing something right in preparing the file to be fed to eac3to, I'm not sure, this is my first attempt at BD. The .m2ts plays in fine in MPC with the exception of an issue seen below. How can I chop out a piece to post for inspection?
Is this what people mean by rainbow frames?
http://i182.photobucket.com/albums/x270/saint-francis-photos/snapshot20080326171123copy.jpg
This problem seems to be only at the very end of the movie during the credits.
Rectal Prolapse
26th March 2008, 22:08
Actually that's exactly what I did: I demuxed the True-HD track seperately from each m2ts using xport, and then converted to ac3 with eac3to. In the end I joined the ac3 segments, but still the track is borked and goes out of sync in a few scenes, apparently the track doesnt go out of sync progressively. It randomly goes out of sync on some scenes, and basically this can't be fixed by adding a delay or through stretching.
Should I rather convert the demuxed True-HD segments to WAV and then join them, and then covert them to AC3?
That won't work because audio can overlap from one segment to the next. In other words, some m2ts streams will have extra audio at the end (past the last video frame), and other streams will also have extra audio at the beginning (before the first video frame).
You would need to slice off the extra audio in WAV format before joining them to maintain sync!
vwpassion
26th March 2008, 22:18
You would need to slice off the extra audio in WAV format before joining them to maintain sync!
How can I slice off the extra audio? And how do I know which tracks need slicing off?
Rectal Prolapse
26th March 2008, 22:34
vwpassion, it depends - every soundtrack may have a different slice point (ie. PCM can be off by up to 5 milliseconds, while AC3 can be off by as much as 32 millliseconds).
You would need to use a WAV editor like Adobe Audition or Audacity to check the WAVs. You would load the WAV file from one segment, then load the WAV file from the next segment, then use your eyeballs to determine the overlap point, and cut one of them so that there is no more overlap.
madshi
26th March 2008, 23:28
Guys, can we please stop discussing m2ts file joining in this thread? eac3to does not support that yet, so discussion about how to make it work with other tools doesn't really belong here. Thanks.
@saint-francis, can you please email the "bugreport.txt" file to me which you should find in the folder where eac3to.exe is stored? This text file should contain information about the crash.
saint-francis
26th March 2008, 23:36
@saint-francis, can you please email the "bugreport.txt" file to me which you should find in the folder where eac3to.exe is stored? This text file should contain information about the crash.
There is no "bugreport.txt". There is the log from the last process I tried (a separate movie but also BD) but that's it. For the record the last attempt failed too. :(
It looks like this:
M2TS, 1 video track, 4 audio tracks
1: VC-1, 1080p24 /1.001 (16:9)
2: AC3, 5.1 channels, 640kbit/s, 48khz, dialnorm: -27dB
3: TrueHD/AC3, 5.1 channels, 48khz, dialnorm: -27dB
4: AC3, 5.1 channels, 640kbit/s, 48khz, dialnorm: -27dB
5: AC3, 5.1 channels, 640kbit/s, 48khz, dialnorm: -27dB
Extracting audio track number 3...
Extracting primary video track...
Extracting TrueHD stream...
Removing dialog normalization...
Encoding AC3...
Muxing video to Matroska...
Creating file "D:\INVASION\main.ac3"...
Writing the destination file failed.
EDIT:
Forget it. I found out that there wasn't enough room on the HDD for the process. That's why there wasn't a bug report.
But the weird distortion that is seen in my above screen shot still exists even after a successful mux. What is that nonsense anyway? Is that "rainbow frames"?
Tegeril
27th March 2008, 07:26
Here's a new one for me:
V:\Encoder\HD-DVD Tools\EAC3toGUI>eac3to "T:\HDDVD\Mozart - Die Zauberflote\Die
Zauberflote\HVDVD_TS\L0_zauberflote.EVO"+"T:\HDDVD\Mozart - Die Zauberflote\Die
Zauberflote\HVDVD_TS\L1_zauberflote.EVO" 3: -640 MozardDieZauberflote.ac3
EVO, 1 video track, 2 audio tracks, 2:42:37
"mainTitle"
1: Joined EVO file
2: h264/AVC, 1080i60 /1.001 (16:9)
3: TrueHD, German, 5.1 channels, 48khz, dialnorm: -27dB, -17ms
4: TrueHD, German, 2.0 channels, 48khz, dialnorm: -27dB, -17ms
Extracting audio track number 3...
Removing dialog normalization...
Applying RAW/PCM delay...
Encoding AC3...
Creating file "MozardDieZauberflote.ac3"...
[libav] No restart header present in substream 0.
The libav decoder reported an error while decoding.
mmoore99
27th March 2008, 07:43
When attempting to process "Mr. Brooks" I get the following error message:
[C:\workarea]"c:\program files\eac3to\eac3to.exe" H:\BDMV\STREAM\00025.m2ts 1:movie.mkv 3:audio.ac3
M2TS, 1 video track, 3 audio tracks
1: h264/AVC, 1080p24 /1.001 (16:9)
2: DTS Master Audio, 5.1 channels, 24 bits, 48khz
3: AC3, 5.1 channels, 448kbit/s, 48khz, dialnorm: -27dB
4: AC3, 2.0 channels, 224kbit/s, 48khz, dialnorm: -27dB
Extracting primary video track...
Extracting audio track number 3...
Removing dialog normalization...
Muxing video to Matroska...
Creating file "audio.ac3"...
This doesn't seem to be a valid PES packet.
Any suggestions?
madshi
27th March 2008, 09:41
But the weird distortion that is seen in my above screen shot still exists even after a successful mux. What is that nonsense anyway? Is that "rainbow frames"?
Well, "rainbow frames" has been used as a name for all kinds of video distortion, so I'd say "yes". But I rather think that this distortion is coming from a damaged rip. Have you tried reripping the disc?
Here's a new one for me:
V:\Encoder\HD-DVD Tools\EAC3toGUI>eac3to "T:\HDDVD\Mozart - Die Zauberflote\Die
Zauberflote\HVDVD_TS\L0_zauberflote.EVO"+"T:\HDDVD\Mozart - Die Zauberflote\Die
Zauberflote\HVDVD_TS\L1_zauberflote.EVO" 3: -640 MozardDieZauberflote.ac3
EVO, 1 video track, 2 audio tracks, 2:42:37
"mainTitle"
1: Joined EVO file
2: h264/AVC, 1080i60 /1.001 (16:9)
3: TrueHD, German, 5.1 channels, 48khz, dialnorm: -27dB, -17ms
4: TrueHD, German, 2.0 channels, 48khz, dialnorm: -27dB, -17ms
Extracting audio track number 3...
Removing dialog normalization...
Applying RAW/PCM delay...
Encoding AC3...
Creating file "MozardDieZauberflote.ac3"...
[libav] No restart header present in substream 0.
The libav decoder reported an error while decoding.
This could be a bug in the libav decoder or it could be a bad rip. Have you tried reripping the movie? Also you could try using the Nero Audio Decoder ("-nero" parameter) instead of libav. You'd need Nero 7 installed and registered for that, though, together with the Nero HD DVD/Blu-Ray plugin.
When attempting to process "Mr. Brooks" I get the following error message:
[C:\workarea]"c:\program files\eac3to\eac3to.exe" H:\BDMV\STREAM\00025.m2ts 1:movie.mkv 3:audio.ac3
M2TS, 1 video track, 3 audio tracks
1: h264/AVC, 1080p24 /1.001 (16:9)
2: DTS Master Audio, 5.1 channels, 24 bits, 48khz
3: AC3, 5.1 channels, 448kbit/s, 48khz, dialnorm: -27dB
4: AC3, 2.0 channels, 224kbit/s, 48khz, dialnorm: -27dB
Extracting primary video track...
Extracting audio track number 3...
Removing dialog normalization...
Muxing video to Matroska...
Creating file "audio.ac3"...
This doesn't seem to be a valid PES packet.
Any suggestions?
Another case where my first bet would be "bad rip". Isn't Mr. Brooks a BD+ title? If so, please try reripping with the next AnyDVD HD beta (due out today or tomorrow) cause the current one has a bug in it which results in bad rips.
saint-francis
27th March 2008, 11:08
I rather think that this distortion is coming from a damaged rip. Have you tried reripping the disc?
That was one of the first things I did, and to no avail.
If so, please try reripping with the next AnyDVD HD beta (due out today or tomorrow) cause the current one has a bug in it which results in bad rips.
OK thanks. I'll do that.
azad
27th March 2008, 12:17
@madshi
eac3to seems to read out the wrong audiotrack using m2ts files.
Take a look at this:
C:\HD Assets>C:\eac3to\eac3to.exe E:\BDMV\STREAM\00001.m2ts 1: "F:\filename.mkv" 4: "F:\filename.dts" -768 -speedup
M2TS, 1 video track, 4 audio tracks
1: h264/AVC, 1080p24 /1.001 (16:9)
2: DTS Master Audio, 5.1 channels, 24 bits, 48khz
3: DTS, 5.1 channels, 24 bits, 768kbit/s, 48khz
4: DTS, 5.1 channels, 24 bits, 768kbit/s, 48khz
5: AC3, 2.0 channels, 224kbit/s, 48khz, dialnorm: -27dB
Extracting primary video track...
Extracting audio track number 4...
Decoding with DirectShow (Sonic Audio Decoder)...
Muxing video to Matroska...
Find sync word: 7ffe8001
Find sync extension: 3f
DirectShow reports 2.0 channels, 24 bits, 48khz
Applying PAL speedup...
The channel modder was started with incorrect parameters.
The channel modder didn't receive the format information.
The channel modder didn't receive the format information.
The channel modder didn't receive the format information.
As you can see, actually I wanted to extract track 4, DTS 5.1. But eac3to extracted track 5, thus started counting with audiotrack 2 and not as shown in the tracklist with the videotrack 1. Is this a problem of eac3to, or do I have to count the right tracknumber myself? Hell, that would be a lot of work! :D
madshi
27th March 2008, 12:26
eac3to seems to read out the wrong audiotrack using m2ts files.
Didn't have this problem yet with any of the discs I've converted, but it might be possible - and really bad. Can I get a small sample, please? 20MB should be enough.
azad
27th March 2008, 12:48
Didn't have this problem yet with any of the discs I've converted, but it might be possible - and really bad. Can I get a small sample, please? 20MB should be enough.
Sure, here it is:
http://rapidshare.de/files/38941487/00001_cut.1.ts_new.m2ts.html
shambles
27th March 2008, 13:15
here's an interesting sample: http://www.sendspace.com/file/cydiac
the audio starts as 2.0 but switches to 5.1 at frame 11. eac3to handles the whole thing as 2channel and when decoded, the length is 3 times what it should be
edit, another sample where it switches from 2.0 to 5.1, then to 2.0 and to 5.1 again: http://www.sendspace.com/file/5u7t56
killa_kid
27th March 2008, 18:47
i love the recent additions, unfortunately the blu-ray drive i have access to is an hour away :p
When running "eac3to" in an HD-DVD (and Blu-Ray i assume) directory, with the listing of titles. Is it possible to have stream and bitrate printed somewhere on the line? I use those for a few things I do on my own and would make things a fraction easier :p
eg:
1) FEATURE_1.EVO+FEATURE_2.EVO, 2:23:18
"Main Movie"
- h264/AVC, 1080p (16:9)
- VC-1, 480p (16:9)
- E-AC3, 5.1, 48khz, English
- E-AC3, 5.1, 48khz, French
- E-AC3, 5.1, 48khz, Spanish
- E-AC3, 2.0, 48khz, English, "Director Commentary"
would become:
1) FEATURE_1.EVO+FEATURE_2.EVO, 2:23:18
"Main Movie"
- h264/AVC, 1080p (16:9)
- VC-1, 480p (16:9)
- #0 E-AC3, 5.1, 1536kbit/s, 48khz, English
- #1 E-AC3, 5.1, 640kbit/s, 48khz, French
- #2 E-AC3, 5.1, 640kbit/s, 48khz, Spanish
- #8 E-AC3, 2.0, 192kbit/s, 48khz, English, "Director Commentary"
madshi I believe you may be magic, since you keep adding features that i don't realize i need, but are making my life easier :p
Yraen
27th March 2008, 20:49
When running "eac3to" in an HD-DVD (and Blu-Ray i assume) directory, with the listing of titles. Is it possible to have stream and bitrate printed somewhere on the line? I use those for a few things I do on my own and would make things a fraction easier :p
When dealing with a title set that involves multiple evo files, the tracks will start at 2 since track 1 is the joined file. If it is a single file evo then the tracks start at 1.
Rectal Prolapse
27th March 2008, 21:58
madshi, what kind of processing or checking is done on AVC streams in eac3to? I'm wondering if eac3to can be used to check AVC video for errors (ie. corruption introduced by a bad rip).
Thanks again for a great tool!
BlackJack1
28th March 2008, 01:44
How to upgrade to newest version? Deleting old folder and create new one unpacking new rar or unpack new rar to old folder overwriting necessary files? Does eac3to writes some info into registry?
Greif
28th March 2008, 02:11
madshi, are you working on adding sub/srt features eac3to?
if not does anyone know of a process of extracting subs from EVOs?
setarip_old
28th March 2008, 02:19
@Greif
Hi!
Have you read the first two sticky threads in the "Subtitles" sub-forum here?
killa_kid
28th March 2008, 02:50
When dealing with a title set that involves multiple evo files, the tracks will start at 2 since track 1 is the joined file. If it is a single file evo then the tracks start at 1.
I apologize, I used the word title incorrectly. I should have used stream. I am interesting in the different streams within an evo or evos file. So that I can keep records of them to make my records/dvd information database up to date.
Greif
28th March 2008, 04:34
@Greif
Have you read the first two sticky threads in the "Subtitles" sub-forum here?
Yes I understand that I use xport 0.96 to strip out the sub file and then use suprip for the conversion to SRT.
However I can't seem to find xport 0.96 as the newer version removed that option.
yonta
28th March 2008, 06:22
Yes I understand that I use xport 0.96 to strip out the sub file and then use suprip for the conversion to SRT.
However I can't seem to find xport 0.96 as the newer version removed that option.
use evodemux (http://www.pel.hu/down/EVOdemux.exe) to extract subs from evo and xportpgs (http://www.w6rz.net/xportpgs.zip) from m2ts.
itsancho
28th March 2008, 06:51
hi all & quick q.
after remuxing with TSRemux0020 (just removing some audio & subtitles streams) new *.m2ts file is playing fine with MPC, but 4 eac3to file is damaged.
C:\Documents and Settings\iTSAN>eac3to\eac3to "J:\movie.m2ts" 3: "I:\a.ac3"
This TS/M2TS file seems to be damaged (discontinuity).
M2TS, 1 video track, 3 audio tracks
1: h264/AVC, 1080p24 (16:9)
2: RAW/PCM, 5.1 channels, 16 bits, 48khz
3: AC3, 5.1 channels, 640kbit/s, 48khz
4: AC3, 5.1 channels, 640kbit/s, 48khz
Extracting audio track number 3...
This TS/M2TS file seems to be damaged (discontinuity).
This TS/M2TS file seems to be damaged (discontinuity). So, is this caused by TSRemux0020 or...?
FatChuang
28th March 2008, 08:52
Recently I'm trying to downmix a 6ch mlp from DVD-A to stereo wav file for playback with common CDplayer.
eac3to is really a great tool to do so, but I think the downmixed 2ch wav with default "-down2 (Dolby Pro Logic II mode)" sounds a little weird.
Maybe I don't have a Dolby Pro Logic II decoder and thus can't recover the signal properly.
So I wonder if there is a chance to add different downmixing modes as
L = fL + (-3db)C + (-3db)sL + (-3db)LFE
R = fR + (-3db)C + (-3db)sR + (-3db)LFE
or the one used in Surcode MLP encoder:
L = (-6db)fL + (-9db)C + (-12db)sL + (-15db)LFE
R = (-6db)fR + (-9db)C + (-12db)sR + (-15db)LFE
thanks in advance:)
*note: the original 6ch mlp is grabbed with DVD-AExplorer, all with channel map 0,1,2,3,4,5=fL,fR,C,LFE,sL,sR
madshi
28th March 2008, 09:38
Sure, here it is:
http://rapidshare.de/files/38941487/00001_cut.1.ts_new.m2ts.html
Thanks, I'll have a look at it.
here's an interesting sample: http://www.sendspace.com/file/cydiac
the audio starts as 2.0 but switches to 5.1 at frame 11. eac3to handles the whole thing as 2channel and when decoded, the length is 3 times what it should be
edit, another sample where it switches from 2.0 to 5.1, then to 2.0 and to 5.1 again: http://www.sendspace.com/file/5u7t56
eac3to does not handle such files well, I'm aware of that. But IMO it's not really possible to handle such files perfectly. If the AC3 file begins with 2.0 and then switches to 5.1 then what format should eac3to decode to? A 2.0 WAV file would be incorrect. A 5.1 WAV file would be better but still not really right. Furthermore eac3to would have to know that although it begins as 2.0 it will suddenly become 5.1 later because otherwise eac3to would begin writing a 2.0 WAV file.
Currently I'm not really planning to do anything to solve this problem. eac3to just doesn't like files which are switching essential parameters (like number of channels) in mid stream.
When running "eac3to" in an HD-DVD (and Blu-Ray i assume) directory, with the listing of titles. Is it possible to have stream and bitrate printed somewhere on the line? I use those for a few things I do on my own and would make things a fraction easier :p
Unfortunately that's not possible without fully parsing every single EVO file which would cost a lot of time. eac3to prints out every bit of information about the audio/video tracks it can gather from the XPL and VTI files. But if the bitrate is not contained in these files (theoretically it could, but practically it rarely is) eac3to simply doesn't know the bitrate. But if the bitrate is contained in the XPL and/or VTI file then eac3to does print it out.
madshi, what kind of processing or checking is done on AVC streams in eac3to? I'm wondering if eac3to can be used to check AVC video for errors (ie. corruption introduced by a bad rip).
Unfortunately eac3to does only very limited checks on video streams. Just enough to split the video streams into frames, that's it. In order to do reliable corruption checking every frame would have to be fully decoded and the decoder would have to output information about whether there's something wrong or not.
I have just 2 days ago asked the ffmpeg/libav guys to add a "frame contains corruption" flag to their decoders. That would allow eac3to to do what mpeg2repair does - on all video and audio tracks. The ffmpeg/libav guys who replied generally liked the idea. But I'm not sure if anybody is going to actually implement this feature.
How to upgrade to newest version? Deleting old folder and create new one unpacking new rar or unpack new rar to old folder overwriting necessary files? Does eac3to writes some info into registry?
Nothing is written to registry at this point in time. You can just delete the old folder and unpack the new zip.
hi all & quick q.
after remuxing with TSRemux0020 (just removing some audio & subtitles streams) new *.m2ts file is playing fine with MPC, but 4 eac3to file is damaged.
So, is this caused by TSRemux0020 or...?
Yes and no. The resulting files really do contain discontinuity errors, so IMHO TsRemux does something wrong. BUT the discontinuities are not in the streams you left in the m2ts file, but they are in some other streams. The next eac3to version will check discontinuities only in streams which really contain data. This will fix the problem. (I ran into the same problem.)
Recently I'm trying to downmix a 6ch mlp from DVD-A to stereo wav file for playback with common CDplayer.
eac3to is really a great tool to do so, but I think the downmixed 2ch wav with default "-down2 (Dolby Pro Logic II mode)" sounds a little weird.
Maybe I don't have a Dolby Pro Logic II decoder and thus can't recover the signal properly.
So I wonder if there is a chance to add different downmixing modes as
L = fL + (-3db)C + (-3db)sL + (-3db)LFE
R = fR + (-3db)C + (-3db)sR + (-3db)LFE
or the one used in Surcode MLP encoder:
L = (-6db)fL + (-9db)C + (-12db)sL + (-15db)LFE
R = (-6db)fR + (-9db)C + (-12db)sR + (-15db)LFE
thanks in advance:)
*note: the original 6ch mlp is grabbed with DVD-AExplorer, all with channel map 0,1,2,3,4,5=fL,fR,C,LFE,sL,sR
Generally adding further mixing modes is not difficult. However, what I don't want to do is this:
(1) add one private mixing mode for the taste of every eac3to user
(2) make the options any more complicated than they already are
Because of that I'm not sure what to do. If there are some "official" and knowingly good mixing modes apart from Dolby Pro Logic II, then I might be willing to support them. Are there?
itsancho
28th March 2008, 09:51
madshi, thank you very, very much!
deathlord
28th March 2008, 17:12
Hi
First of all, million thanks to madshi. Without your amazing work I might have given up on HDDVD/BD long ago.
[Edit: Problem solved (see below).]
Now I have a .ts file that gives me some trouble.
When feeding it directly to eac3to, eac3to crashes. So I remuxed it to m2ts using tsRemux. Eac3to crashes on that file aswell. But I was able to demux the video and both audio tracks with xport. The video works ok, but for either of the two eac3 tracks, eac3to says:
This track is not clean. Processing aborted.
Please clean the track with delaycut and then retry eac3to.
The xport output is:
xport Transport Stream Demuxer 1.01
program = 1, video channel = 0, audio channel = 1
Program Number = 0 (0x0000), Program Map PID = 31 (0x001f)
Program Number = 1 (0x0001), Program Map PID = 256 (0x0100)
program descriptor = 0x88, 0x04, 0x0f, 0xff, 0x84, 0xfc
program descriptor = 0x05, 0x04, 0x48, 0x44, 0x4d, 0x56
ES descriptor for stream type 0xea = 0x05, 0x05, 0x56, 0x43, 0x2d, 0x31, 0xff
Audio PID = 4352 <0x1100>, type = 0x81
ES descriptor for stream type 0x81 = 0x05, 0x04, 0x41, 0x43, 0x2d, 0x33
ES descriptor for stream type 0x81 = 0x81, 0x03, 0x10, 0xc8, 0x0f
ES descriptor for stream type 0x81 = 0x05, 0x04, 0x41, 0x43, 0x2d, 0x33
ES descriptor for stream type 0x81 = 0x81, 0x03, 0x10, 0xc8, 0x0f
Discontinuity!, pid = 256 <0x0100>, received = 2, expected = 3, at 3649
Audio Bitrate = 112000, Audio Sampling Rate = 48000
Audio Mode = 3/2, bsid = 16, bsmod = 6
First Audio PTS = 0x02e1586e
ts rate = 00d
packets for pid 0 <0x0000> = 55308, first = 1, last = 101329809
packets for pid 31 <0x001f> = 5531, first = 3, last = 101327774
packets for pid 256 <0x0100> = 55308, first = 2, last = 101329810
packets for pid 4097 <0x1001> = 55309, first = 3383, last = 101329811
packets for pid 4113 <0x1011> = 87161097, first = 4, last = 101329939
packets for pid 4352 <0x1100> = 6998759, first = 76, last = 101330065
packets for pid 4353 <0x1101> = 6998759, first = 82, last = 101330071
coded pictures = 0, video fields = 0
Ending audio to video PTS difference = 559902830 ticks, 6221142.555556 milliseco
nds
(Note: Discontinuity!, pid = 256 <0x0100>, received = 2, expected = 3, at 3649)
This happens for both audio tracks, both "at 3649".
Delaycut doesn't help, ... -info gives:
[Input info]
Bitrate=384
Actual rate=384.000000
Sampling Frec=44100
TotalFrames=10444797
Bytesperframe= 104.4898
Filesize=1091374688
FrameDuration= 2.1769
Framespersecond=459.3750
Duration=06:18:56.972
Channels mode=Single Channel (Mono)
LFE=LFE: Not present
When I run delaycut (v1.3.0.0), it seems to run forever, the filesize keeps growing way over the original size. The logfile stops after a few dozen lines.
A new attemt was remuxing the .ts to .mkv using gdsmux, then remuxing that to .m2ts with tsmuxer. (I can't use tsmuxer directly because it doesn't see the audio tracks.) The xport output then is:
xport Transport Stream Demuxer 1.01
program = 1, video channel = 0, audio channel = 2
Program Number = 0 (0x0000), Program Map PID = 31 (0x001f)
Program Number = 1 (0x0001), Program Map PID = 256 (0x0100)
program descriptor = 0x88, 0x04, 0x0f, 0xff, 0x84, 0xfc
program descriptor = 0x05, 0x04, 0x48, 0x44, 0x4d, 0x56
ES descriptor for stream type 0x81 = 0x05, 0x04, 0x41, 0x43, 0x2d, 0x33
ES descriptor for stream type 0x81 = 0x0a, 0x04, 0x75, 0x6e, 0x64, 0x00
Audio PID = 4353 <0x1101>, type = 0x81
ES descriptor for stream type 0x81 = 0x05, 0x04, 0x41, 0x43, 0x2d, 0x33
ES descriptor for stream type 0x81 = 0x0a, 0x04, 0x75, 0x6e, 0x64, 0x00
Audio Bitrate = 112000, Audio Sampling Rate = 48000
Audio Mode = 3/2, bsid = 16, bsmod = 6
First Audio PTS = 0x0337f980
ts rate = -2134967296
packets for pid 0 <0x0000> = 22887, first = 1, last = 14134331
packets for pid 31 <0x001f> = 22887, first = 3, last = 14134333
packets for pid 256 <0x0100> = 22887, first = 2, last = 14134332
packets for pid 4097 <0x1001> = 68616, first = 49, last = 14134737
packets for pid 4352 <0x1100> = 6998748, first = 50, last = 14134767
packets for pid 4353 <0x1101> = 6998748, first = 56, last = 14134773
coded pictures = 0, video fields = 0
Ending audio to video PTS difference = 613899805 ticks, 6821108.944444 milliseco
nds
(Note: no more discontinuity)
However, the behaviour of eac3to and delaycut afterwards are the same.
Edit: I have tried both fix and silence options in delaycut, doesn't seem to make a difference.
Any suggestions?
Reripping is unfortunately not an option right now...
LessThanJake
28th March 2008, 22:25
Hello,
first off all, thank you for the great tool, but Iīve got two short questions concerning VC1-Streams in Blu-Ray anyway.
As far as I know it is essential to have a good basis for stable frameserving. In the past I always muxed VC1-content to Matroska via dsmux and then a second time with mkvmerge including the right timecode-file. If I got it right, eac3to could do this in one step with EVO-sources since v.2.2.0 (http://forum.doom9.org/showthread.php?p=1092713#post1092713).
1. Can I simply handle m2ts-sources containing VC1 the same way as shown in the example in the first post?
(eac3to 00001.m2ts movie.mkv) or is it necessary to mux a second time with mkvmerge and the correct timecode?
2. Maybe this is a more general question, if this is undesirable in this thread please ignore it.
HD-DVD comes with a pulldown-flag in VC1. In which case do I have to strip it with "-stripPulldown" ? Is this only for lossless EVO to m2ts conversations?
Thank you.
LTJ
Please apologize my bad english, itīs not my native language. :o
nautilus7
28th March 2008, 23:42
1. One time is just fine. Though, you need mkvmerge to mux audio and subs, but without change anything to the video part.
2. If i got it correctly from madshi have said, you need it to come closer to blu-ray compatibility (it's not all that you need though). If you're muxing to .mkv it isn't something you have to do.
Welcome here!
azad
28th March 2008, 23:45
1. Can I simply handle m2ts-sources containing VC1 the same way as shown in the example in the first post?
(eac3to 00001.m2ts movie.mkv) or is it necessary to mux a second time with mkvmerge and the correct timecode?
If you want the timestamps of the mkv to be rewritten with for example 25fps, then you just have to add the option -speedup behind the filename of the mkv and eac3to takes care of the rest. Using this method you don't have to mux the mkv a second time with mkvmerge and a timecode-file, at least when you only want to adjust the timestamps of the mkv to another framerate.
IanD
29th March 2008, 05:35
eac3to does not handle such files well, I'm aware of that. But IMO it's not really possible to handle such files perfectly. If the AC3 file begins with 2.0 and then switches to 5.1 then what format should eac3to decode to? A 2.0 WAV file would be incorrect. A 5.1 WAV file would be better but still not really right. Furthermore eac3to would have to know that although it begins as 2.0 it will suddenly become 5.1 later because otherwise eac3to would begin writing a 2.0 WAV file.
I note that with TrueHD audio, you process as 24 bit and then later go back and determine whether it is actually 24 or 16 bit.
Could you do something similar for these changing AC3 files: that is, assume 6 channel and decode both DD2.0 and DD5.1 to 6 channel, then go back and check if the extra 4 channels are empty?
Tegeril
29th March 2008, 07:51
Just so you know Madshi, that German audio track from Mozart - Die Zauberflote encoded just fine with -nero. So I guess libav is to blame. Though I ended up scrapping the encode, because after 230000 frames, I realized I forgot to tell it to deinterlace since it is 1080i content; I used the framecount from evodemux and it was short about 60000 frames; adding a .srt file to my MKV started having WMP asking for xvidcore.dll; and it seemed the audio was out of sync significantly. As in, I couldn't even tell what scene I was hearing because it was nowhere in the vicinity of the video (even at the beginning).
So I scrapped that movie as a conversion entirely :)
Thanks for continuing to answer my - and others' - questions!
Greif
29th March 2008, 14:09
are chapters supported in the current build of eac3to?
BTW, madshi, thanks for all the hard work! :)
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.