View Full Version : eac3to - audio conversion tool
Pages :
1
2
3
4
[
5]
6
7
8
9
10
11
12
13
14
15
16
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! :)
LessThanJake
29th March 2008, 15:37
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.
No, I donīt want to do any framerate conversations. I just want to feel confident that there are timecode-stamps at 23.976 fps, when using eac3to. After using dsmux there are no timestamps at all. Everything is looking good now. Thank you, nautilus7 / azad.
greets
LTJ
madshi
29th March 2008, 16:46
Now I have a .ts file that gives me some trouble.
Damaged source files are not really supported by eac3to at all. Of course I could spend time on making them work more or less well. But I prefer spending my time on improving support for clean sources. Personally, I'm trashing any damaged source, anyway.
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?
That would be possible, but it would slow down performance. Now the same is true for the TrueHD logic you're mentioning. But for TrueHD eac3to cannot know the bitdepth. So the logic is useful for every single TrueHD track. While with AC3 files the great majority of files doesn't change channel number in the midst of the stream. So slowing down performance just to make one out of a hundred AC3 files work better is not really a good option IMO.
I might make the already existing option "-6" work for AC3 streams sooner or later, if a stereo AC3 file is detected by eac3to to force eac3to to handle the whole file as 5.1. That might do the trick for your situation. But honestly there are more important things I have on my to do list which have a much higher priority for me right now.
are chapters supported in the current build of eac3to?
Not yet.
I just want to feel confident that there are timecode-stamps at 23.976 fps, when using eac3to.
eac3to writes very exact 23.976 timecodes (if the source is 23.976). So no need to rewrite the timestamps with mkvtoolnix.
deathlord
29th March 2008, 17:06
But I prefer spending my time on improving support for clean sources.
I agree. Never mind.
Wunlow
29th March 2008, 19:57
Would it be possible to include DPL-1 or DPL-2 decoding from AC-3 2.0 surround sources? If that would be a huge burden to consider, please disregard. ..I was just thinking it would be nice to have "one stop shopping" for all of my AC-3 needs. ;)
madshi
29th March 2008, 20:07
Would it be possible to include DPL-1 or DPL-2 decoding from AC-3 2.0 surround sources?
I don't know how to do that.
killa_kid
29th March 2008, 21:59
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.
I was wondering if that was the case. Thanks for letting me know. I guess I'll just have to deal with a 2 step process in most cases them :p
deathlord
29th March 2008, 22:19
It appears file extensions matter for delaycut:eek:
Now it worked in eac3to.
Sorry for troubling you.
I don't know how to do that.
You could probably use cyberlink audio decoder, it works in graphedit. But this decoder is very picky in accepting input (worse than eac3to;-)), so it might not be easy.
nautilus7
30th March 2008, 02:47
I get the error message below with this (http://www.sendspace.com/file/3wuy3t) m2ts file.
eac3to v2.35
command line: eac3to 00000.m2ts
------------------------------------------------------------------------------
This track is not clean. Processing aborted.
Please clean the track with delaycut and then retry eac3to.
M2TS, 1 video track
1: h264/AVC, 1080i60 /1.001 (16:9)
Since it's .m2ts, i don't think delaycut can do anything... :p
madshi
30th March 2008, 13:29
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
I've tested this with the sample you uploaded. It works for me!! eac3to does extract the right track. I think that the Sonic decoder doesn't work properly on your PC. It outputs 2.0 only although the DTS track is 5.1. This is the cause of the problem. Please try "eac3to -test". What does that say?
madshi
30th March 2008, 13:32
I get the error message below with this (http://www.sendspace.com/file/3wuy3t) m2ts file.
eac3to v2.35
command line: eac3to 00000.m2ts
------------------------------------------------------------------------------
This track is not clean. Processing aborted.
Please clean the track with delaycut and then retry eac3to.
M2TS, 1 video track
1: h264/AVC, 1080i60 /1.001 (16:9)
Since it's .m2ts, i don't think delaycut can do anything... :p
Maybe I could add support for demuxing damaged streams without doing any other processing on them besides demuxing. But that's not high on priority list. The source file seems to be damaged. And my main concern are clean source files.
Greif
30th March 2008, 14:36
What are the planned features for eac3to? Any bugs that we should be aware of?
This tool is a godsend :thanks:
nautilus7
30th March 2008, 15:36
Maybe I could add support for demuxing damaged streams without doing any other processing on them besides demuxing. But that's not high on priority list. The source file seems to be damaged. And my main concern are clean source files.
Madshi, i wouldn't doubt you otherwise, but this file is from Dolby The Sound of High Definition Blu-ray Disc and i have 2 more files from that BD that show the same behavior with eac3to, while all others are recognized fine. The "not clean" ones are supposed to have DD+ sound, while the others TrueHD.
I also noticed that eac3to throws the "not clean" message in all 3 of them, after it has determine the video stream and is going to (i suppose) determine the audio stream.
I can't really tell whether that files are actually damaged (and re-ripping isn't possible :cool: ), so i wonder if if they contain something different from all other .m2ts files that make eac3to see them as "not clean".
I uploaded the other 2 files here (http://www.sendspace.com/file/i9ipk8). I will send the link to the e-ac3 libav developer also, in case they worth anything.
Beastie Boy
30th March 2008, 15:49
I have come across a problem with the latest version of eac3to, 2.34. I loaded up a pair of EVOs using 'eac3to & more GUI', and when the files were read, the output was something like 'Input file not recognised' (I apologise for being vague but I'm typing this from work and having to do it from memory).
I tried on 2 pairs of source EVOs and got the same result. I then dropped back to an older ver of eac3to, 2.31 which is the only other one I had, and both sets of files were read without problems.
Is anyone else having problems reading EVOs with the latest version or is it something at my end?
Cheers, Beastie.
nautilus7
30th March 2008, 15:51
Latest isn't 2.34, because evo support was broken there. Get 2.35.
Beastie Boy
30th March 2008, 15:54
Latest isn't 2.34, because evo support was broken there. Get 2.35.
Ah, thanks for that. I looked at the first post and assumed 2.34 was the latest. I'll re-download and try again.
Cheers, Beastie.
deathlord
30th March 2008, 16:05
nautilus7, you could try the following:
demux using xport, then run delaycut, it will tell you wether the tracks are indeed "not clean". Afterwards you can process these files with eac3to, it might work, even if there were no errors.
madshi
30th March 2008, 16:40
What are the planned features for eac3to?
- m2ts file joining
- chapter export
- subtitle demuxing
Any bugs that we should be aware of?
No hidden bugs that I would be aware of. There are some things that simply won't work - but with a proper error message.
Madshi, i wouldn't doubt you otherwise, but this file is from Dolby The Sound of High Definition Blu-ray Disc and i have 2 more files from that BD that show the same behavior with eac3to, while all others are recognized fine. The "not clean" ones are supposed to have DD+ sound, while the others TrueHD.
I also noticed that eac3to throws the "not clean" message in all 3 of them, after it has determine the video stream and is going to (i suppose) determine the audio stream.
I can't really tell whether that files are actually damaged (and re-ripping isn't possible :cool: ), so i wonder if if they contain something different from all other .m2ts files that make eac3to see them as "not clean".
I uploaded the other 2 files here (http://www.sendspace.com/file/i9ipk8). I will send the link to the e-ac3 libav developer also, in case they worth anything.
Had another look at them. eac3to stumbles over them because they're the first Blu-Ray DD+ samples I've ever seen. For whatever reason I missed this fact when I checked this out first time!! :eek:
The tracks contain an AC3 core. eac3to doesn't like this. eac3to wants a stream to always be either AC3 or E-AC3, but not a mixture of those two. I'll fix this in a future build, but not this week.
madshi
30th March 2008, 16:48
eac3to v2.36 released
http://madshi.net/eac3to.zip
* TS/M2TS: discontinuity is only checked for tracks which are de- or remuxed
* TS/M2TS: "-demux" creates both a "thd" and an "ac3" file for "thd/ac3" tracks
* TS/M2TS: "eac3to source.m2ts movie.mkv" transcodes "thd/ac3" tracks to FLAC
* M2TS: track language is displayed (if the file "xxxxx.clpi" is available)
* TS: track language is displayed (if the source file contains this info)
* video gaps/overlaps in the last 5 seconds of the movie are ignored now
azad
30th March 2008, 17:04
I've tested this with the sample you uploaded. It works for me!! eac3to does extract the right track. I think that the Sonic decoder doesn't work properly on your PC. It outputs 2.0 only although the DTS track is 5.1. This is the cause of the problem. Please try "eac3to -test". What does that say?
The Sonic decoder works fine, "eac3to -test" says that everything is alright.
After checking the Sonic decoder , I tested eac3to with the m2ts file I uploaded for you. Guess what, it works. ;-)
But it only seem to work because I cut the original Blu-ray m2ts to a 20MB packet and remuxed it with tsmuxer back into the m2ts structure. That seems to solve the problem. With the original m2ts the problem still exist.
How can I cut the original m2ts into a nice 20MB packet without having to remux it with tsremux? Can you help me?
madshi
30th March 2008, 17:07
How can I cut the original m2ts into a nice 20MB packet without having to remux it with tsremux? Can you help me?
Sure. Just copy the whole file. Then open the copy with a hexeditor and cut the file after the first 20MB. It doesn't matter where you cut it, just roughly at 20MB. But this time please test whether you can reproduce the problem with the sample before you upload it! Thanks...
calmike79
30th March 2008, 18:14
Sorry if this has been covered but I'm trying to transcode from E-AC3 to AAC (256k HQ NDAAC via megui or such) on my HD DVD backups.
I've been trying to use eac3to to convert to .WAV and using neroenc / megui to go to aac. Well two problems: 1), the resulting AAC file is clearly at least 5x too small and the sound is unlistenable, and 2) i can't seem to open the WAV file to test it. (indeed I get an error along th elines of "the following pin(s) failed to find a connectible filter: [ACM Wrapper::Output]. Corrupted headers or something w/a >8gb WAV?
I have a lot of movies to back up and would rather save the space by going to 256k AAC instead of 448+ AC3, especially since I'm only using a 2.1 speaker setup. So far I've been forced to encode to 640k AC3 and then to 256k AAC using megui but I'd imagine this is not the best way quality wise to get there!
ffmpeg maybe? (couldn't figure out how to locate the AAC decoder through the command line).
Any plans to integrate support for CT-AAC or Nero AAC into eac3to? =)
nurbs
30th March 2008, 18:25
Any plans to integrate support for CT-AAC or Nero AAC into eac3to? =)
You can use the nero aac encoder with eac3to via command line.
For example:
eac3to video.evo 2:stdout.wav | neroaacenc -ignorelength -br 240000 -if - -of output.mp4
stdout.wav as output name and -if - are necessary. -ignorelength probably too.
Thunderbolt8
30th March 2008, 19:02
thanks for the new version!
azad
30th March 2008, 19:44
Sure. Just copy the whole file. Then open the copy with a hexeditor and cut the file after the first 20MB. It doesn't matter where you cut it, just roughly at 20MB. But this time please test whether you can reproduce the problem with the sample before you upload it! Thanks...
Thanks for the "how to".
But I think we dont't need it anymore, just tried the m2ts with eac3to after reinstalling my system and it worked fine. No wrong tracknumber or anything else. I can't repdroduce the problem and I'm sorry you wasted your time. Anyway thanks for your support again!
nautilus7
30th March 2008, 19:47
Had another look at them. eac3to stumbles over them because they're the first Blu-Ray DD+ samples I've ever seen. For whatever reason I missed this fact when I checked this out first time!! :eek:
The tracks contain an AC3 core. eac3to doesn't like this. eac3to wants a stream to always be either AC3 or E-AC3, but not a mixture of those two. I'll fix this in a future build, but not this week.Oh, really? Nice to hear that! :D
jruggle describes that AC3/EAC3 mixture here (http://forum.doom9.org/showthread.php?p=1119297#post1119297).
Big thanks for new version, once again. :)
bmnot
30th March 2008, 20:54
* TS/M2TS: "eac3to source.m2ts movie.mkv" transcodes "thd/ac3" tracks to FLAC
What's the point of transcoding ac3 tracks, shouldn't they just be demuxed/extracted?
calmike79
30th March 2008, 20:54
You can use the nero aac encoder with eac3to via command line.
For example:
eac3to video.evo 2:stdout.wav | neroaacenc -ignorelength -br 240000 -if - -of output.mp4
stdout.wav as output name and -if - are necessary. -ignorelength probably too.
nurbs, thanks, but something's getting messed up with my WAV files using eac3to as i'd mentioned. does starting neroaacenc in the same command line make it run any smoother than creating the WAV with eac3to first separately and then running nero as a command or using megui?
madshi
30th March 2008, 21:40
What's the point of transcoding ac3 tracks, shouldn't they just be demuxed/extracted?
I'm using the term "thd/ac3" for Blu-Ray TrueHD tracks cause they have a lossy AC3 stream embedded in them. Of course eac3to is not transcoding AC3 to FLAC. Instead eac3to is transcoding the TrueHD part of the combined "thd/ac3" tracks to FLAC.
nurbs, thanks, but something's getting messed up with my WAV files using eac3to as i'd mentioned. does starting neroaacenc in the same command line make it run any smoother than creating the WAV with eac3to first separately and then running nero as a command or using megui?
I think the "-ignorelength" parameter probably takes care of the WAV problem.
scarbrtj
30th March 2008, 22:01
Edward Scissorhands Blu-ray: 3.1 DTS-HD track is its only English language track
"eac3to audio.dtshd audio.ac3"
error: "The AC3 encoder received a non-supported data format"
Problem is the somewhat unusual 3.1 DTS-HD track?
bmnot
30th March 2008, 22:41
^Edward Scissorhands is DTS-HD MA 4.0
madshi
31st March 2008, 07:42
Ouch, 4.0? Don't know if Aften even supports that. Will have to check.
Warrex
31st March 2008, 09:17
- m2ts file joining
- chapter export
- subtitle demuxing
Excellent list! :thanks: in advance!
tebasuna51
31st March 2008, 10:35
Ouch, 4.0? Don't know if Aften even supports that. Will have to check.
Using command line aften I can't do.
This is my bug report in Aften-devel mail list:
Testing NicAudio decoder I found some bugs with channelmapping in Aften:
aften -acmod 4 -lfe 1 211.wav 211.ac3
aften -acmod 6 -lfe 0 220.wav 220.ac3
aften -acmod 6 -lfe 1 221.wav 221.ac3
2/1.1 produce L, R, S, LFE (LFE <-> S)
2/2.0 produce L, R, SR, empty_channel
2/2.1 produce L, R, SR, LFE, SL (instead L, R, LFE, SL, SR)
All other acmod/lfe combinations work fine.
The 4.0 is the 2/2.0 (-acmod 6 -lfe 0)
Using WAVE_FORMAT_EXTENSIBLE headers with correct channelmask the behaviour is different:
aften 211_WFE.wav 211_WFE.ac3
aften 220_WFE.wav 220_WFE.ac3
aften 221_WFE.wav 221_WFE.ac3
2/1.1 produce acmod=5, lfe=0 (3/1.0)
2/2.0 produce acmod=5, lfe=0 (3/1.0)
2/2.1 produce acmod=7, lfe=0 (3/2.0)
madshi
31st March 2008, 10:46
Thanks!
scarbrtj
31st March 2008, 13:37
FWIW, eac3to is reporting "3/1 channels" for the DTS-HD MA track, and "3/1" channels" for the DTS core... the DTS core is extracted well & seemingly properly by eac3to.
madshi
31st March 2008, 13:40
Well, it's "3/1" and not "3.1". That's a difference... ;)
nurbs
31st March 2008, 16:39
nurbs, thanks, but something's getting messed up with my WAV files using eac3to as i'd mentioned.
I could't open my wavs in megui either. I guess the filesize is too big. Or megui doesn't use the -ignorelength switch.
does starting neroaacenc in the same command line make it run any smoother than creating the WAV with eac3to first separately and then running nero as a command or using megui?
I don't think it is faster, but it is more conveniant to enter only one command.
Rectal Prolapse
31st March 2008, 21:14
TS/M2TS: "eac3to source.m2ts movie.mkv" transcodes "thd/ac3" tracks to FLAC
madshi, dumb question for you - does this also transcode DTS HD MA to FLAC within an MKV?
madshi
31st March 2008, 21:18
madshi, dumb question for you - does this also transcode DTS HD MA to FLAC within an MKV?
"within an MKV"? Not sure what you mean with that. eac3to can transcode DTS-HD MA to FLAC - and it does if you do "eac3to some.ts some.mkv" or "eac3to some.evo some.mkv". Does that answer your question?
Rectal Prolapse
31st March 2008, 21:23
madhi, I mean, if it will transcode to flac and output to mkv - which of course you explained, thanks!
Bluestraw
31st March 2008, 21:58
madhi, I mean, if it will transcode to flac and output to mkv - which of course you explained, thanks!To be 100% clear, the FLAC output won't be in an MKV container (AFAIK). The commands suggested above, e.g. "eac3to some.ts output.mkv" will produce a single MKV file with the video and a separate FLAC audio file. You can then use MKVMerge to combine these 2 into an MKV.
Someone asked earlier if madshi planned to include MKV muxing, and it's not on the current planned list. So you need to do the extra part to get the final MKV. MKVMerge is pretty quick though - effectively another file copy operation, limited by HDD speed.
Rectal Prolapse
31st March 2008, 22:40
Ah thanks Bluestraw.
scarbrtj
1st April 2008, 01:36
Edward Scissorhands Blu-ray: 3.1 DTS-HD track is its only English language track
"eac3to audio.dtshd audio.ac3"
error: "The AC3 encoder received a non-supported data format"
Problem is the somewhat unusual 3.1 DTS-HD track?
Also, as you might imagine, "eac3to 00002.m2ts movie.mkv" gives this FLAC error:
M2TS, 1 video track, 5 audio tracks
1: MPEG2, 1080p24 /1.001 (16:9)
2: DTS Master Audio, 3/1 channels, 24 bits, 48khz
3: AC3, 2.0 channels, 224kbit/s, 48khz, dialnorm: -27dB
4: AC3, 2.0 channels, 192kbit/s, 48khz, dialnorm: -27dB
5: AC3, 2.0 channels, 224kbit/s, 48khz, dialnorm: -27dB
6: AC3, 2.0 channels, 224kbit/s, 48khz, dialnorm: -27dB
Extracting primary video track...
Extracting audio track number 2...
Extracting audio track number 3...
Extracting audio track number 4...
Extracting audio track number 5...
Extracting audio track number 6...
Muxing video to Matroska...
Decoding with DirectShow (Sonic Audio Decoder)...
Removing dialog normalization...
Removing dialog normalization...
Removing dialog normalization...
Removing dialog normalization...
DirectShow reports 4 channels, 24 bits, 48khz
Encoding FLAC...
Creating file "movie - 2 - DTS Master Audio, 3/1 channels, 24 bits, 48khz.flac".
..
The destination file "movie - 2 - DTS Master Audio, 3/1 channels, 24 bits, 48khz
.flac" could not be created.
Writing the destination file failed.
One of the FLAC encoder's callbacks returned a fatal error.
Creating file "movie - 3 - AC3, 2.0 channels, 224kbps, 48khz.ac3"...
Creating file "movie - 6 - AC3, 2.0 channels, 224kbps, 48khz.ac3"...
Creating file "movie - 5 - AC3, 2.0 channels, 224kbps, 48khz.ac3"...
Creating file "movie - 4 - AC3, 2.0 channels, 192kbps, 48khz.ac3"...
-------------
scarbrtj
1st April 2008, 02:11
hmmm... "eac3to 00002.m2ts movie.mkv" makes a movie.mkv file during decoding which grows in size, but at the end of decoding the file is deleted, along with all the AC3 tracks... so eac3to is sort of not working all around on this except for DTS core extraction...
Snowknight26
1st April 2008, 02:27
Can't have "/"s in the file name for your first problem.
scarbrtj
1st April 2008, 05:16
Can't have "/"s in the file name for your first problem.
my problem, madshi's problem, or both? 'cause I don't know what switches to apply to the command line "eac3to 00002.m2ts movie.mkv" to get a non-"/" file name...
madshi
1st April 2008, 07:24
My fault. I need to get rid of that "/" in the file name. You can solve the problem manually by specifying the file names yourself:
eac3to 00002.m2ts 1: movie.mkv 2: movie.flac 3: 3.ac3 4: 4.ac3 5: 5.ac3 6: 6.ac3
kmitalian
1st April 2008, 08:40
What kind of commands do i need to transcode a DolbyTrueHD track into LPCM Multichannel so its compliant for Scenarist to accept that file as a multi-channel PCM so I can make a Blu-Ray disc out of it?
madshi
1st April 2008, 09:30
What kind of commands do i need to transcode a DolbyTrueHD track into LPCM Multichannel so its compliant for Scenarist to accept that file as a multi-channel PCM so I can make a Blu-Ray disc out of it?
I don't know what Scenarist accepts or what it not accepts. I'm not a Scenarist expert. Can you tell me what format Scenarist wants to have exactly?
tebasuna51
1st April 2008, 10:16
Also, as you might imagine, "eac3to 00002.m2ts movie.mkv" gives this FLAC error:
M2TS, 1 video track, 5 audio tracks
1: MPEG2, 1080p24 /1.001 (16:9)
2: DTS Master Audio, 3/1 channels, 24 bits, 48khz
...
Decoding with DirectShow (Sonic Audio Decoder)...
Removing dialog normalization...
DirectShow reports 4 channels, 24 bits, 48khz
Encoding FLAC...
Creating file "movie - 2 - DTS Master Audio, 3/1 channels, 24 bits, 48khz.flac".
..
The destination file "movie - 2 - DTS Master Audio, 3/1 channels, 24 bits, 48khz.flac" could not be created.
Writing the destination file failed.
One of the FLAC encoder's callbacks returned a fatal error.
...
Maybe not only the '/' in the name is the problem.
The 3/1.0 channel configuration is not supported by flac encoder, for 4 channels only 2/2.0 is allowed.
You can force flac to encode a wav 3/1.0 using:
--channel-map=none
But when you decode the flac, a 2/2.0 channelmask can be send to the player and listen the center channel in left surround speaker.
EDIT: To use flac with 3/1.0 channels maybe we need split the surround channel in:
BL = 0.707 x S
BR = 0.707 x S
and use a 3/2.0 configuration supported by flac.
madshi
1st April 2008, 10:43
The 3/1.0 channel configuration is not supported by flac encoder, for 4 channels only 2/2.0 is allowed.
You can force flac to encode a wav 3/1.0 using:
--channel-map=none
That's when using the official flac encoder executable file, right? I'm using libFlac. I think libFlac allows me to encode any number of channels between 1..8.
But when you decode the flac, a 2/2.0 channelmask can be send to the player and listen the center channel in left surround speaker.
You seem to be right. The FLAC documentation sais this:
Channel assignment
* 0000-0111 : (number of independent channels)-1. Where defined, the channel order follows SMPTE/ITU-R recommendations. The assignments are as follows:
o 1 channel: mono
o 2 channels: left, right
o 3 channels: left, right, center
o 4 channels: left, right, back left, back right
o 5 channels: left, right, center, back/surround left, back/surround right
o 6 channels: left, right, center, LFE, back/surround left, back/surround right
o 7 channels: not defined
o 8 channels: not defined
* 1000 : left/side stereo: channel 0 is the left channel, channel 1 is the side(difference) channel
* 1001 : right/side stereo: channel 0 is the side(difference) channel, channel 1 is the right channel
* 1010 : mid/side stereo: channel 0 is the mid(average) channel, channel 1 is the side(difference) channel
* 1011-1111 : reserved
So as far as I can see if I encode 4 channels, FLAC will see that as 2/2.0.
However, I've once seen a FLAC file with a Windows WAV style channelmask field in the metadata. Now I don't know whether this is a secretly supported option (having channelmask information in the metadata). Probably not. So I guess FLAC doesn't like 3/1.0.
EDIT: To use flac with 3/1.0 channels maybe we need split the surround channel in:
BL = 0.707 x S
BR = 0.707 x S
and use a 3/2.0 configuration supported by flac.
Yeah, sounds like a good workaround.
tebasuna51
1st April 2008, 13:25
However, I've once seen a FLAC file with a Windows WAV style channelmask field in the metadata. Now I don't know whether this is a secretly supported option (having channelmask information in the metadata). Probably not. So I guess FLAC doesn't like 3/1.0.
Using WAVE_FORMAT_EXTENSIBLE header wav's with the ChannelMask set properly I obtain:
C-0.0.wav: ERROR: WAVEFORMATEXTENSIBLE chunk with unsupported channel mask=0x0004
L-0.0.wav: wrote 116967 bytes, ratio=0,061 (OK mask=0x0001)
1-0.1.wav: ERROR: WAVEFORMATEXTENSIBLE chunk with unsupported channel mask=0x000C
2-0.0.wav: wrote 276354 bytes, ratio=0,072 (OK mask=0x0003)
2-0.1.wav: ERROR: WAVEFORMATEXTENSIBLE chunk with unsupported channel mask=0x000B
2-1.0.wav: ERROR: WAVEFORMATEXTENSIBLE chunk with unsupported channel mask=0x0103
3-0.0.wav: wrote 382988 bytes, ratio=0,066 (OK mask=0x0007)
2-1.1.wav: ERROR: WAVEFORMATEXTENSIBLE chunk with unsupported channel mask=0x010B
2-2.0.wav: wrote 525781 bytes, ratio=0,068 (OK mask=0x0033)
3-0.1.wav: ERROR: WAVEFORMATEXTENSIBLE chunk with unsupported channel mask=0x000F
3-1.0.wav: ERROR: WAVEFORMATEXTENSIBLE chunk with unsupported channel mask=0x0107
2-2.1.wav: ERROR: WAVEFORMATEXTENSIBLE chunk with unsupported channel mask=0x003B
3-1.1.wav: ERROR: WAVEFORMATEXTENSIBLE chunk with unsupported channel mask=0x010F
3-2.0.wav: wrote 632393 bytes, ratio=0,066 (OK mask=0x0037)
3-2.1.wav: wrote 737200 bytes, ratio=0,064 (OK mask=0x003F)
BTW, when flac decode to wav these files make standard pcm wav file headers for mono and stereo.
If channels are >2 use WAVE_FORMAT_EXTENSIBLE header wav's with the ChannelMask set properly for 3 and 4 channels (always 3/0.0 and 2/2.0), but with 5 and 6 channels I obtain:
mask=0x0037 (FL FR FC BL BR) -> flac -> mask=0x0607 (FL FR FC SL SR)
mask=0x003F (FL FR FC LF BL BR) -> flac -> mask=0x060F (FL FR FC LF SL SR)
Seems flac developpers mistake the:
"back/surround left, back/surround right" (BL, BR)
with the
"SideLeft, SideRight" (SL, SR)
madshi
1st April 2008, 13:32
Seems flac developpers mistake the:
"back/surround left, back/surround right" (BL, BR)
with the
"SideLeft, SideRight" (SL, SR)
Yep, seems like that!
kmitalian
2nd April 2008, 13:27
I shall try all different kinds of WAV formats to see which it accepts, i have tried converting it to LPCM and it wouldnt accept that, so strike that!
PHD_1976
3rd April 2008, 10:53
What kind of commands do i need to transcode a DolbyTrueHD track into LPCM Multichannel so its compliant for Scenarist to accept that file as a multi-channel PCM so I can make a Blu-Ray disc out of it?
You should type the following:
eac3to inputfile.thd outputfile.wavs
and then run each .wav file through MUI Generator via multichannel LPCM input (available since 4.3 version)
If TrueHD track is taken from Blu-Ray you can import it to Scenarist as TrueHD stream instead of making PCM from it, but not without the help of madshi's great tool.:)
scarbrtj
3rd April 2008, 23:53
Nero is the default EAC3 decoder for eac3to. Casablanca HD-DVD English track is a 64kbs mono EAC3 track. The Nero decoding via eac3to leaves the resultant AC3 track with "shrieks" and "whistles" and "crackles" but it's rather intermittent. However, invoking "-sonic" makes an AC3 file which is smooth, no noise.
Why would this be?
kmitalian
4th April 2008, 01:02
I have tried importing the DolbyTrueHD signal into the MUI Generator but it wont work, its due that the Dolby TrueHD tracks i have aernt coming up as TrueHD, they are coming up as MLP?
the reason why PCM is better is cause it still decodes it into its Full Form and i do have a Sony BDPS1000 i can test it on!!!
PHD_1976
4th April 2008, 06:44
I have tried importing the DolbyTrueHD signal into the MUI Generator but it wont work, its due that the Dolby TrueHD tracks i have aernt coming up as TrueHD, they are coming up as MLP?
the reason why PCM is better is cause it still decodes it into its Full Form and i do have a Sony BDPS1000 i can test it on!!!
In order to import TrueHD stream from BD to Scenarist HDMV you have to do the following:
- run TrueHD track via eac3to twice:
1. eac3to track.thd audio1.ac3
2. eac3to track.thd audio1.thd
Then rename audio1.thd to .mlp and feed MUI Generator with audio1.ac3 specifying it as Dolby Lossless.
In next window be sure, that the path to your audio1.mlp is correct. Scenarist should be happy with that.
PCM needs lot of extra space, so sometimes movie doesn't fit BD-25 because of it.
madshi
4th April 2008, 07:42
Nero is the default EAC3 decoder for eac3to. Casablanca HD-DVD English track is a 64kbs mono EAC3 track. The Nero decoding via eac3to leaves the resultant AC3 track with "shrieks" and "whistles" and "crackles" but it's rather intermittent. However, invoking "-sonic" makes an AC3 file which is smooth, no noise.
Why would this be?
Can I have a sample, please? You could also try "-libav" to cross check whether it's a problem with the Nero decoder or whether the Sonic decoder does some magic which both libav and Nero don't do.
earl
4th April 2008, 14:44
i will demux 2 .evo files from hdd1 to hdd2
eac3to d:\part1.evo+d:\part2.evo -demux e:\
does not work, eac3to put the demuxed files in d:\ and not to e:\
.. why ? .. what make i wrong ?
madshi
4th April 2008, 14:49
i will demux 2 .evo files from hdd1 to hdd2
eac3to d:\part1.evo+d:\part2.evo -demux e:\
does not work, eac3to put the demuxed files in d:\ and not to e:\
.. why ? .. what make i wrong ?
Change the current directory to "e:\" (by executing "e:\" and then "cd \" in the command prompt), then run again. When using the "-demux" option, eac3to always demuxes to the current directory.
Chumbo
4th April 2008, 15:22
Just wanted to report another "unclean" track but the source this time is an HD DVD. I did demux the track to a .ddp file using EVOdemux, but eac3to 2.36 still wasn't able to convert it.E-AC3, 5.1 channels, 2:06:38, 1536kbit/s, 48khz, dialnorm: -27dB
Removing dialog normalization...
Decoding with DirectShow (Nero Audio Decoder 2)...
Disabling DRC for Nero (E-)AC3 decoding...
This track is not clean. Processing aborted.
Please clean the track with delaycut and then retry eac3to.
DirectShow reports 5.1 channels, 24 bits, 48khz
Writing WAVs...
I tried a few older versions too, but they didn't work either. Just fyi. Thanks.
madshi
4th April 2008, 18:24
Just wanted to report another "unclean" track but the source this time is an HD DVD. I did demux the track to a .ddp file using EVOdemux, but eac3to 2.36 still wasn't able to convert it.E-AC3, 5.1 channels, 2:06:38, 1536kbit/s, 48khz, dialnorm: -27dB
Removing dialog normalization...
Decoding with DirectShow (Nero Audio Decoder 2)...
Disabling DRC for Nero (E-)AC3 decoding...
This track is not clean. Processing aborted.
Please clean the track with delaycut and then retry eac3to.
DirectShow reports 5.1 channels, 24 bits, 48khz
Writing WAVs...
I tried a few older versions too, but they didn't work either. Just fyi. Thanks.
The "unclean" detection for E-AC3 tracks is extremely reliable cause E-AC3 is protected by a CRC. So unless both eac3to and EvoDemux demux the track incorrectly, it is really damaged. Try running it through delaycut 1.3.
moshmothma
4th April 2008, 22:45
Madshi, I see that you have replaced the haali source and splitter with your own. Any chance we could see that in a directshow version? If not any chance you could release the code for someone else to port? Thanks as always for your incredible software!!!
earl
5th April 2008, 02:51
Change the current directory to "e:\" (by executing "e:\" and then "cd \" in the command prompt), then run again. When using the "-demux" option, eac3to always demuxes to the current directory.
thanks, it works so
i use eac3to from gentoo linux with wine
it is a litle bit tricky, but it works .. i run with wine the cmd.exe, and from there i use eac3to.exe - it works
the directly way with wine and eac3to.exe work also
but with the directly way i have ever the demuxed files in the same directory how the .m2ts/.evo file(s) are
is there no other way to specify the directory for the demuxed files ?
..will a linux version from eac3to come ?
:edit
gkrellm shows me...
wine + eac3to.exe -> 70..90mb/s read (eac3to 1.evo+2.evo) (20% cpu load)
wine + eac3to.exe -> 25..35mb/s read and write (eac3to 1.evo+2.evo -demux) (40% cpu load)
wine + cmd.exe + eac3to.exe -> 10..15mb/s (eac3to 1.evo+2.evo -demux) (75% cpu load)
(c2d 1,86ghz 3x seagate .11 series)
:edit2
c:\programme\eac3to\eac3to.exe z:\movie.m2ts -demux -ignoreDiscon
Hooking GetModuleFileNameA failed (Erfolg).
M2TS, 1 video track, 5 audio tracks
1: h264/AVC, 1080p24 /1.001 (16:9)
2: DTS Master Audio, 6.1 channels, 24 bits, 48khz
3: AC3, 5.1 channels, 448kbit/s, 48khz, dialnorm: -27dB
4: AC3, 5.1 channels, 448kbit/s, 48khz, dialnorm: -27dB
5: AC3, 2.0 channels, 224kbit/s, 48khz, dialnorm: -27dB
6: AC3, 2.0 channels, 224kbit/s, 48khz, dialnorm: -27dB
Hooking WriteConsoleA failed (Erfolg).
Extracting primary video track...
Extracting audio track number 2...
Extracting audio track number 3...
Extracting audio track number 4...
Extracting audio track number 5...
Extracting audio track number 6...
Removing dialog normalization...
Removing dialog normalization...
Removing dialog normalization...
Removing dialog normalization...
Creating file "movie - 1 - h264, 1080p24.h264"...
Creating file "movie - 2 - DTS Master Audio, 6.1 channels, 24 bits, 48khz.dtsma"...
Creating file "movie - 4 - AC3, 5.1 channels, 448kbps, 48khz.ac3"...
Creating file "movie - 3 - AC3, 5.1 channels, 448kbps, 48khz.ac3"...
Creating file "movie - 5 - AC3, 2.0 channels, 224kbps, 48khz.ac3"...
Creating file "movie - 6 - AC3, 2.0 channels, 224kbps, 48khz.ac3"...
This TS/M2TS file seems to be damaged (discontinuity).
This TS/M2TS file seems to be damaged (discontinuity).
Audio overlaps for 27 frames at playtime 1:44:05.
This TS/M2TS file seems to be damaged (discontinuity).
This doesn't seem to be a valid PES packet.
what can i do to demux this .m2ts file ?
Chumbo
5th April 2008, 04:48
The "unclean" detection for E-AC3 tracks is extremely reliable cause E-AC3 is protected by a CRC. So unless both eac3to and EvoDemux demux the track incorrectly, it is really damaged. Try running it through delaycut 1.3.
Thanks, will do.
May I make a suggestion please? Any chance you can change the logging to use the source folder and source file name and add .log.txt to the end? I use piping to log the info but then have to clean the piped file.
I know you create a log in the eac3to folder, but it's tedious to get it and sometimes running batch files with separate eac3to commands will only keep the last log entry since the previous commands' output log is overwritten. That means placing extra commands to rename the file and so on.
So...please, please, please...:)
madshi
5th April 2008, 08:12
Madshi, I see that you have replaced the haali source and splitter with your own. Any chance we could see that in a directshow version?
Not really.
If not any chance you could release the code for someone else to port?
Not sure about that. If a programmer asked for it, I'd think about that, depending on the cirumstances and conditions etc...
But honestly, the Haali splitter is not bad at all. It currently has some limitations (e.g. no TrueHD splitting), but apart from that for real time playback I think the Haali splitter works just fine. The latest version has fixed some important issues. So I'm not sure if it would be worthwhile to create a new DirectShow filter...
madshi
5th April 2008, 08:15
is there no other way to specify the directory for the demuxed files ?
I don't really see why it's necessary. Even if you don't use cmd.exe you should be able to call wine in such a way that you can define the "current directory" or "working directory" or however it's called in Linux.
..will a linux version from eac3to come ?
No. You just reported the the Windows version works fine with Wine... ;)
what can i do to demux this .m2ts file ?
You have 2 choices:
(1) Rerip the movie. Probably it's a damaged rip.
(2) If the movie is authored incorrectly (shit happens) you can use xport for demuxing. However, you'll have to live with damaged video/audio data then. No way around that.
madshi
5th April 2008, 08:17
May I make a suggestion please? Any chance you can change the logging to use the source folder and source file name and add .log.txt to the end? I use piping to log the info but then have to clean the piped file.
I know you create a log in the eac3to folder, but it's tedious to get it and sometimes running batch files with separate eac3to commands will only keep the last log entry since the previous commands' output log is overwritten. That means placing extra commands to rename the file and so on.
So...please, please, please...:)
Why in the source path? Wouldn't it make more sense to write the log file to the destination path? I mean the source path might not even be writable while the destination path always has to be writable. Of course if you ask eac3to to just check a file things are getting complicated because then there is no destination path. Well...
earl
5th April 2008, 13:28
You have 2 choices:
(1) Rerip the movie. Probably it's a damaged rip.
(2) If the movie is authored incorrectly (shit happens) you can use xport for demuxing. However, you'll have to live with damaged video/audio data then. No way around that.
you mean this -> http://www.videohelp.com/tools/xport ?
is there no way to demux my .m2ts file with eac3to ?
madshi
5th April 2008, 20:22
you mean this -> http://www.videohelp.com/tools/xport ?
Yes.
is there no way to demux my .m2ts file with eac3to ?
eac3to strictly wants clean rips. It refuses to work on damaged source files. xport is more relaxed and also allows damaged source files. Your source file seems to be damaged. So as I said in my previous comment, you can either rerip the movie to (hopefully) get a clean rip. Or you can use xport for demuxing. But if you do use xport on the damaged rip, obviously the demuxed files you'll get will contain some corruption.
Chumbo
5th April 2008, 23:54
Why in the source path? Wouldn't it make more sense to write the log file to the destination path? I mean the source path might not even be writable while the destination path always has to be writable. Of course if you ask eac3to to just check a file things are getting complicated because then there is no destination path. Well...
Good grief, yes. I meant destination. Ugh. Thanks for catching that. :)
I guess if there's no destination path, you can always fall back on where eac3to is or provide a log file switch where we can enter specifically the path and name of the log file. That would at least save you the headache of having to do too many if-this-or-that checks.
...things are getting complicated...
That cracked me up madshi. Like the stuff you've done isn't complicated enough, to hear you say the log option is complicated was pretty funny. ;) Just incase someone misunderstands my jest here, I hope you understand the spirit in which I'm saying this, i.e., I have a lot of respect for the things mashi's accomplished in this program and all its complexities.
[EDIT] btw, I got my hands on delaycut 1.3 and did run the ddp file through it to fix the CRC errors and eac3to was able to transcode after it was fixed. Also, I was only able to demux it with EVOdemux. Do you think it's worth allowing eac3to to demux tracks even if they're "dirty" since in some cases, like this one, the track can be fixed?
moshmothma
6th April 2008, 00:47
Not sure about that. If a programmer asked for it, I'd think about that, depending on the cirumstances and conditions etc...
But honestly, the Haali splitter is not bad at all. It currently has some limitations (e.g. no TrueHD splitting),
Madshi, I don't know how difficult it would be to do this but there are a couple of reasons....
1. You are far more in tune with HDDVD and Bluray codecs and concerns. You are also better plugged into this community.
2. Haali is not exactly the most responsive agent in the world ;) I don't fault him (and in fact am very grateful for his filters) but it is frustrating communicating with him.
3. It is always good to have an alternative and competition. Different perspectives promote growth.
These are mainly selfish but say a lot about you and your efforts. I hope you will consider this request.
bmnot
6th April 2008, 06:39
Was just testing eac3to's blu-ray detection abilities.
Loaded in Queen Rock Montreal and it said for the DTS track
3: DTS Hi-Res, English, 5.1 channels, 24 bits, 3072kbit/s, 48khz
This is incorrect, the frequency is 96kHz.
madshi
6th April 2008, 07:24
Do you think it's worth allowing eac3to to demux tracks even if they're "dirty" since in some cases, like this one, the track can be fixed?
I already posted some time before that maybe I'll add demuxing support (but probably not transcoding support) for dirty tracks some day.
Madshi, I don't know how difficult it would be to do this but there are a couple of reasons....
1. You are far more in tune with HDDVD and Bluray codecs and concerns. You are also better plugged into this community.
2. Haali is not exactly the most responsive agent in the world ;) I don't fault him (and in fact am very grateful for his filters) but it is frustrating communicating with him.
3. It is always good to have an alternative and competition. Different perspectives promote growth.
These are mainly selfish but say a lot about you and your efforts. I hope you will consider this request.
I'm sorry, but my answer is still no. In the commercial world competition can be a motivator for more development. In the freeware world competition often is a waste of resources IMO. I don't have the ambition to "beat" other programmers. And I will only duplicate other programmers' efforts only if I could really make a noticable improvement - and if I'm interested in that improvement myself. Most of my motivation for developing eac3to is just to satisfy my own needs. But personally I'm (more or less) satisfied with Haali's splitter for real time playback. So that's why I don't plan on my writing my own DirectShow splitter...
Was just testing eac3to's blu-ray detection abilities.
Loaded in Queen Rock Montreal and it said for the DTS track
3: DTS Hi-Res, English, 5.1 channels, 24 bits, 3072kbit/s, 48khz
This is incorrect, the frequency is 96kHz.
As has been said before, there's no documentation whatsoever available on DTS-HD. Because of that eac3to just reads out the parameters of the DTS core. In some cases the core parameters differ from the DTS-HD parameters. But don't worry, if you decode this track with the Sonic Audio Decoder, you'll correctly get 96khz. So it's really just a very minor problem.
Rectal Prolapse
6th April 2008, 08:17
I actually believe with moshmothma's sentiments - Haali, with all the great work he's done, isn't as responsive as we'd like (for many legitimate reasons, for sure!). LPCM playback from m2ts is still broken, and has been broken for nearly a year, is one example.
With that said, I'm hoping that the TS splitter in MPC could be modified for proper m2ts playback - the Haali Splitter I think does "too much" and that makes it much harder to get fixes incorporated and tested.
I'm sure Haali is busy with commercial products as well (isn't he involved with MKV implementations on the various media center hardware out there?).
As a programmer, I would be very interested in knowing how the Nero and Sonic decoders can be manipulated into providing the proper output - no need for you madshi to release source I think. :) Such information would be useful for creating a splitter that can interface with these decoders while preserving quality.
At the moment I'm busy with another project, so the above is just an example of what someone may request without actually getting source from madshi.
madshi
6th April 2008, 09:23
I actually believe with moshmothma's sentiments - Haali, with all the great work he's done, isn't as responsive as we'd like (for many legitimate reasons, for sure!). LPCM playback from m2ts is still broken, and has been broken for nearly a year, is one example.
Broken LPCM playback is really bad, I agree with that. However, Haali has been responsive to me when I reported bugs with exact information what exactly is wrong and how to fix it. His latest version fixes several important bugs I reported to him.
DeepBeepMeep
6th April 2008, 12:08
I think we shouldn't under estimate the work to create a good Direct Show splitter. Such a splitter must be capable to estimate the duration of a video file (even with damaged files), support fast seeking, support various sub formats (e.g for transport streams: ATSC, DVB-T, M2TS, etc...).
It seems the latest Haali filter has fixed most of past reported bugs (beside the LPCM one). I think if madshi has some free time, It would be great if before anything else he could spend it on supporting multiparts m2ts files and muxing directly video and audio tracks into an mkv file.
hero88
6th April 2008, 12:25
I think i have found a bug:
I wanted to convert track 3 TRUEHD to PCM and I accidentally wrote :3uk.pcm instead of 3: uk.pcm
Then eac3to does what it should but creates a file called ":3uk.pcm" which is an invalid filename in windows, so you cannot find it afterwards, it does create the file as the diskspace was reduced by 3 gig afterwards
This is input to / output from eac3to
eac3to.exe 00000.m2ts :3uk.pcm
M2TS, 1 video track, 4 audio tracks
1: VC-1, 1080p24 /1.001 (16:9)
2: AC3, English, 5.1 channels, 640kbit/s, 48khz, dialnorm: 27dB
3: TrueHD/AC3, English, 5.1 channels, 48khz, dialnorm: -27dB
Extracting audio track number 2...
Removing dialog normalization...
Decoding with DirectShow (Nero Audio Decoder 2)...
Disabling DRC for Nero (E-)AC3 decoding...
DirectShow reports 5.1 channels, 24 bits, 48khz
Swapping endian...
Remapping channels...
Creating file ":3uk.pcm"...
eac3to processing took 13 minutes, 24 seconds.
Done.
Suggestion: a small check of filename to ensure it doesn't contain invalid characters like " ? / \ < >
nautilus7
6th April 2008, 12:26
And it would be even better if madshi could make directshow decoders instead of a splitter. Such thing isn't available yet. :cool:
madshi
6th April 2008, 15:00
Then eac3to does what it should but creates a file called ":3uk.pcm" which is an invalid filename in windows, so you cannot find it afterwards, it does create the file as the diskspace was reduced by 3 gig afterwards
Actually it's a valid filename. It creates an NTFS substream for the current folder... ;) See here:
http://www.ntfs.com/ntfs-multiple.htm
hero88
6th April 2008, 16:27
Ahh, you live you learn
Any idea on how to get to it? So I can delete it :)
BLKMGK
6th April 2008, 17:23
It seems like we're hearing lots of folks wanting Madshi to go one direction or another with his code and his time. I for one would like to simply say thank you for the code he has provided and say that I think he's moving in a direction that will continue to keep *me* pretty happy.
My primary motivation for using eac3to has been to convert HD-DVD disks to a format I can compress and then playback on my HTPC using Linux (XBMC). Now that HD-DVD is dead <sob> Madshi has begun to spend some time on the M2TS format and he's made progress. Without his work on the EVO format conversion of my library, which has grown thanks to price cuts, would've been much much much harder. His tool does much of the heavy lifting for me and for that I am very thankful. M2TS still cause me grief but I'm confident that as time passes his tool and others will mature, thankfully I've only got just the one BD disk to deal with right now. Prices being what they are I have plenty of time to hone my technique!
Anyway, I recognize this is a spare time labor of love for Madshi but his work has made my life easier and in the midst of folks asking him to go this way or that I wanted to make sure that he knows that many have greatly appreciated everything he has done so far. Yeah, there are directions I'd like to see him go too but I'm patient and if the need is great enough it'll be filled. Thankfully stuff I need seems to be pretty basic. <shrug> These formats and the ability to rip them are pretty new, I'm thrilled to be able to manipulate them to the extent I can.
madshi
6th April 2008, 17:30
Any idea on how to get to it? So I can delete it :)
Just delete the directory from which you called eac3to. That should also get rid of the NTFS sub stream.
It seems like we're hearing lots of folks wanting Madshi to go one direction or another with his code and his time.
Fortunately I'm stubborn... ;)
M2TS still cause me grief
Is there any grief besides those Blu-Ray titles with multiple parts? That's the only problem I'm aware of.
in the midst of folks asking him to go this way or that I wanted to make sure that he knows that many have greatly appreciated everything he has done so far.
Thanks.
madshi
6th April 2008, 17:33
eac3to v2.37 released
http://madshi.net/eac3to.zip
* added HD DVD chapter support
* added HD DVD subtitle demuxing support
* added pre-freeze detection for Haali Matroska Muxer bug
* invalid characters are removed from file names now
* log file is copied to destination path (of first destination file)
Edit: Fixed file path handling problem in v2.38.
nautilus7
6th April 2008, 19:13
Thanks for update, but i don't know how to use subs and chapters. Are they extracted only with -demux option? I used an evo file, but there wasn't a option in the track list for those.
BLKMGK
6th April 2008, 19:33
Chapter support, excellent I had someone asking me about that the other day and had to admit to being clueless about it, I'll tell them it's there! :p
BD disks, indeed the multiple versions that can be had on a single disk are an issue. It would be nice if the various paths could be presented like the languages are when info is gotten about a set of files. That said, the one BD disk I've got only has like 2 or 3 files so figuring out it's path was quite easy unlike some others I've heard about that are the stuff of nightmares with 20 or more pieces.:eek:
When I do HD-DVD it's simple, I use eac3to to pull vid out and put a vid stream into a MKV. meGUI then compresses the MKV further with x264, I combine the compressed file and AC3 audio with MKVmerge (I use -libav and 640), and then I'm done. No synch issues or other problems it just works.
When I tried to do much the same with M2TS files, admittedly a few weeks ago, things were not so smooth and the path slightly different. The resulting file had it's time displayed incorrectly and long seeks crashed my player - jumping to advance in the video could also crash it. At the end of the file the screen went black before the video was done and I just got audio. I do not know where the problem lies, my player is certainly suspect as it's under heavy development (http://xbmc.org/forum/forumdisplay.php?f=52&order=desc). I seem to recall using some other tools in the mix too unlike what I do with HD-DVd so the issue could have been there too.
Tell you what, I will redo the BD video attempting to use much the same process that I use with HD-DVD today (same AVIsynth script for instance) and the latest eac3to and let you know how it goes. As it happens I REALLY like the video in question (The Patriot) and would love to be able to watch it all the way through! (lol)
Edit: Uh Oh! Madshi, the new version of eac3to will NOT run under 64bit Vista. When I attempt to start it I get a message telling me it's not compatible - never seen this before!
D:\Video\eac3to>eac3to
This version of D:\Video\eac3to\eac3to.exe is not compatible with the version of Windows you're running. Check your computer's system information to see whether you need a x86 (32-bit) or x64 (64-bit) version of the program, and then contact the software publisher.
Henry The Ripper
6th April 2008, 19:44
When I demuxed PCM from m2ts, it says "Remapping channels", then when encoding to DTS it's again "Remapping channels"??
So is the result the incorrect order?
2.37 and 2.38 don't start the encoding procedure with normal command line "eac3to source.pcm destination.dts"
Encoder888
6th April 2008, 20:06
@madshi
Just curious, are you planning on including support for Blu-Ray chapters at some point too? No rush, just wondering :) Thanks.
Denner
6th April 2008, 20:23
I am having problems with TOP GUN (HD-DVD), eac3to reports an audio delay of -84ms, an does its thing when re-encoding the Dolby True HD audio to FLAC.
But when I mux audio and video to MKV, the audio is out of sync (the audio is to early) and stays out of sync for the whole movie.
The HD-DVD plays fine both from the HD-DVD and from my harddrive.
This is the first time I am having audio sync problems with a FLAC file created by eac3to and the muxed in to an MKV file.
Have any of you re-encodet TOP GUN to MKV and if so did you experience any problem doing so?
Denner
6th April 2008, 20:30
SORRY double post :-(
madshi
6th April 2008, 21:10
Thanks for update, but i don't know how to use subs and chapters. Are they extracted only with -demux option? I used an evo file, but there wasn't a option in the track list for those.
Chapters are only available if the VPLST000.XPL file is there. Subtitle tracks don't need that file, but eac3to can only list the subtitle track languages if the VPLST000.XPL is there. Handling chapters and subtitles works the same way as audio and video files. They're listed with a track number, they're demuxed when using the "-demux" option and you can also manually handle them. Example:
EVO, 1 video track, 3 audio tracks, 8 subtitle tracks, 1:35:56
"mainMovie"
1: Joined EVO file
2: Chapters, 12 chapters with names
3: VC-1, 1080p24 /1.001 (16:9)
4: DTS, French, 5.1 channels, 16 bits, 1536kbit/s, 48khz
5: DTS Master Audio, English, 5.1 channels, 16 bits, 48khz
6: DTS, German, 5.1 channels, 16 bits, 1536kbit/s, 48khz
7: Subtitle, French
8: Subtitle, English
9: Subtitle, German
Here you could e.g. do this:
eac3to source.evo 2: chapters.txt 9: German.sup
Edit: Uh Oh! Madshi, the new version of eac3to will NOT run under 64bit Vista. When I attempt to start it I get a message telling me it's not compatible - never seen this before!
Strange. Is that v2.37 or v2.38?
When I demuxed PCM from m2ts, it says "Remapping channels", then when encoding to DTS it's again "Remapping channels"??
So is the result the incorrect order?
Why are you doing this in two steps? You can directly demux + transcode to DTS in one step! Anyway, don't worry about the multitude of "Remapping channels" messages. Usually the end result is just fine. Of course it would make sense to double check, just to be sure.
2.37 and 2.38 don't start the encoding procedure with normal command line "eac3to source.pcm destination.dts"
What do v2.37 and v2.38 do?
Just curious, are you planning on including support for Blu-Ray chapters at some point too? No rush, just wondering :) Thanks.
I'm not sure right now whether Blu-Ray chapters are stored. I'm planning to add Blu-Ray subtitle demuxing. But I'm not sure if it's easily possible to extract chapters.
I am having problems with TOP GUN (HD-DVD), eac3to reports an audio delay of -84ms, an does its thing when re-encoding the Dolby True HD audio to FLAC.
But when I mux audio and video to MKV, the audio is out of sync (the audio is to early) and stays out of sync for the whole movie.
The HD-DVD plays fine both from the HD-DVD and from my harddrive.
This is the first time I am having audio sync problems with a FLAC file created by eac3to and the muxed in to an MKV file.
Have any of you re-encodet TOP GUN to MKV and if so did you experience any problem doing so?
There is a small number of titles where audio is not in sync. Bourne Supremecy is another example. I don't know why this happens. But usually it's easy to enough to correct the audio sync. I'd suggest playing the resulting MKV file with MPC HC. You can then at runtime correct audio sync by using the "+" and "-" keys in the num block. Once you found the correct audio delay, you can use eac3to to apply that delay to the FLAC track (e.g. "eac3to source.flac dest.flac +100ms") and finally mux the corrected FLAC track to the final MKV file.
bmnot
6th April 2008, 21:11
Good update.
What files do I need for chapter support? For a while I was removing all files except for the main .evos for a few titles. I'd like to make mkvs from them now. I can rerip the files needed for chapter support if needed.
bmnot
6th April 2008, 21:19
I'm not sure right now whether Blu-Ray chapters are stored. I'm planning to add Blu-Ray subtitle demuxing. But I'm not sure if it's easily possible to extract chapters.
BDEdit can extract chapters to a text file from the .mpls playlists.
BLKMGK
6th April 2008, 21:20
Madshi the link (http://forum.doom9.org/showthread.php?p=1122525#post1122525) said 1.37 but checking the file on a 32bit XP system is says 1.38. Was something done differently on this binary?
Yraen
6th April 2008, 21:21
madshi,
Are there any plans to make chapters and subtitles list when you list the contents of a folder? Or just when listing the contents of the .evos? I ask this because the gui doesn't "see" the chapters and subtitles until it is too late.
eac3to v2.38
command line: "D:\editing apps\eac3to\2.38\eac3to.exe" "H:\HD\BOURNEIDENTITY\"
------------------------------------------------------------------------------
1) FEATURE_1.EVO+FEATURE_2.EVO, 1:58:09
"Main Movie"
- VC-1, 1080p (16:9)
- VC-1, 480p (4:3)
- E-AC3, English, 5.1, 48khz
- E-AC3, French, 5.1, 48khz
- E-AC3, English, 2.0, 48khz, "Director's Commentary"
eac3to v2.38
command line: "D:\editing apps\eac3to\2.38\eac3to.exe" "H:\HD\BOURNE_ULTIMATUM_NA_V2\" 1) 4: "N:\test\audio.ac3" -640 2: "N:\test\video.mkv"
------------------------------------------------------------------------------
EVO, 2 video tracks, 5 audio tracks, 3 subtitle tracks, 1:55:18
"Main Movie"
1: Joined EVO file
2: Chapters, 20 chapters with names
3: VC-1, 1080p24 /1.001 (16:9)
4: VC-1, 480p30 /1.001 (3:2)
5: TrueHD, English, 5.1 channels, 48khz, dialnorm: -27dB
6: E-AC3, English, 5.1 channels, 384kbit/s, 48khz, dialnorm: -27dB, -17ms
7: E-AC3, French, 5.1 channels, 384kbit/s, 48khz, dialnorm: -27dB, -17ms
8: E-AC3, English, 2.0 channels, 192kbit/s, 48khz, dialnorm: -27dB, -17ms
"Commentary"
9: E-AC3, 2.0 channels, 192kbit/s, 48khz, dialnorm: -27dB, -4ms
10: Subtitle, English, "SDH"
11: Subtitle, French
12: Subtitle, French, "Forced"
This video conversion is not supported.
madshi
6th April 2008, 21:35
What files do I need for chapter support?
VPLST000.XPL
BDEdit can extract chapters to a text file from the .mpls playlists.
Ok, then I should be able to do that, too (sooner or later)...
Madshi the link (http://forum.doom9.org/showthread.php?p=1122525#post1122525) said 1.37 but checking the file on a 32bit XP system is says 1.38. Was something done differently on this binary?
v2.38 is the same as v2.37 with just one more bugfix. The link is always the same and always points to the latest release.
Are there any plans to make chapters and subtitles list when you list the contents of a folder? Or just when listing the contents of the .evos? I ask this because the gui doesn't "see" the chapters and subtitles until it is too late.
I could show both chapters and subtitles in the "folder content" listing. I had decided not to because there are often dozens of subtitle tracks available which would make the "folder content" listing extremely long. Because of that I thought it would make more sense to only list the most important tracks in the "folder content" listing. This listing is not 100% reliable, anyway. eac3to is just listing what the XPL and VTI files say without ever actually reading any EVO file in. If the XPL/VTI files are incorrect, also the "folder content" listing will be incorrect. Futhermore (and very important!) sometimes the order of the tracks listed in the XPL/VTI files do not match the order of the files in the EVO files. So it's kind of dangerous to use the order of the tracks from the XPL/VTI file for demuxing/remuxing. Also often the XPL/VTI do not list sub video and audio tracks which are contained in the EVO files. Because of these reasons the "folder content" listing does not even try to display any track numbers. The listing is only meant to give a quick overview of what titles are available for a HD DVD movie.
nautilus7
6th April 2008, 21:41
Chapters are only available if the VPLST000.XPL file is there. Subtitle tracks don't need that file, but eac3to can only list the subtitle track languages if the VPLST000.XPL is there. Handling chapters and subtitles works the same way as audio and video files. They're listed with a track number, they're demuxed when using the "-demux" option and you can also manually handle them.As expected, but subtitles don't work with the evo file i tried (The Shining). I did test again... 1st.evo from that movie don't list any subs, while 2nd.evo does, as well as 1st.evo+2nd.evo combination. EVOdemux shows exactly the same behavior with the 2 evo files. I 'll upload a sampple.
Also 2 things i noticed...
To get chapters list you need to load 1st+2nd evo files, and of course the xpl to be present (makes sense)
When running eac3to to a hd dvd folder to list all titles among with each streams, the subs aren't listed there. Only when loading evo files. Is this on purpose? EDIT: already answered!
Yraen
6th April 2008, 21:52
VPLST000.XPL
I could show both chapters and subtitles in the "folder content" listing. I had decided not to because there are often dozens of subtitle tracks available which would make the "folder content" listing extremely long. Because of that I thought it would make more sense to only list the most important tracks in the "folder content" listing. This listing is not 100% reliable, anyway. eac3to is just listing what the XPL and VTI files say without ever actually reading any EVO file in. If the XPL/VTI files are incorrect, also the "folder content" listing will be incorrect. Futhermore (and very important!) sometimes the order of the tracks listed in the XPL/VTI files do not match the order of the files in the EVO files. So it's kind of dangerous to use the order of the tracks from the XPL/VTI file for demuxing/remuxing. Also often the XPL/VTI do not list sub video and audio tracks which are contained in the EVO files. Because of these reasons the "folder content" listing does not even try to display any track numbers. The listing is only meant to give a quick overview of what titles are available for a HD DVD movie.
Thanks for the reply. I know how to work around that limitation, I just wanted to be sure that it wasn't going to change right after I changed my code. :)
I wasn't aware that the track listing in the XPL/VTi might be incorrect. It worked on all of my hd-dvds, I set up a massive batch conversion in the gui and let it run until it finished, and according to the logs I got the tracks I wanted. I guess I just got lucky. :)
nautilus7
6th April 2008, 21:56
Same here. All xpl files listed the right tracks, but the order could be wrong. Madshi has a point.
SimonH
6th April 2008, 22:05
Hi,
I'm running the latest version of eac3to, v2.38 with freshly installed Sonic DTS Decoder 4.3.0.169 and Nero Essentials 7 with the Blu-ray/HD DVD Video Plug-in, and i'm just trying to convert a standard 5.1 channel DTS track to AC3 at 640kbps, but for some reason, eac3to just reports the DTS track details, and does nothing after that:
C:\Downloads\Applications\EAC3to>eac3to -test
Nero Audio Decoder (Nero 7 or older) works fine
Sonic Audio Decoder (4.3.0.169) works fine
Haali Media Splitter (2007-12-29) is installed
Surcode DTS Encoder doesn't seem to be installed
MkvToolnix (v2.2.0) is installed
C:\Downloads\Applications\EAC3to>eac3to c:\encode\output.dts c:\encode\output.ac3 -640 -nero
DTS, 5.1 channels, 2:08:32, 24 bits, 1536kbit/s, 48khz
C:\Downloads\Applications\EAC3to>
It does the exact same thing when using switches -nero -libav -sonic and taking the -640 switch off too. It seems to have stopped working since v2.35, I tried to convert a DTS file that worked on the old version, but it's refusing to do anything now on the current build.
I can't think for the life of me why it's doing this. Any ideas? Could you provide a link to v2.35 and i'll try again on that version?
edo1080
6th April 2008, 22:29
I read in the prog description that the -core option is used to extract core from DTS-HD master audio. Can this option be used also on Dolby Digital Plus eac3 files from HD DVD and extract dolby AC3 core of DD+, or the prog simply decodes DD+ and then re-encodes it in AC3 640kb max?
Jaja1
6th April 2008, 22:45
... I think the Haali splitter works just fine. The latest version has fixed some important issues. Unfortunately, the VC1 HD DVD's I've tried so far, still have the same problems as before. Short freezes or speed up from time to time, distorted audio. Remuxing to mkv using eac3to solves this, so I guess Haali's splitter hasn't improved on this point.
It makes me once more happy, that you made eac3to :)
nautilus7
6th April 2008, 23:06
http://www.sendspace.com/file/rxw6b1
Here is the evo file i can't find the subs.
bmnot
6th April 2008, 23:47
I read in the prog description that the -core option is used to extract core from DTS-HD master audio. Can this option be used also on Dolby Digital Plus eac3 files from HD DVD and extract dolby AC3 core of DD+, or the prog simply decodes DD+ and then re-encodes it in AC3 640kb max?
I don't think DD+ have core tracks. HD DVD set top players reeencode DD+ to DD or DTS for spdif, and I assume PowerDVD does the same.
edo1080
7th April 2008, 00:02
I think you are right. DD+ on HD DVD has no core because it's not necessary since every player has to decode it. By contrast BD has a core on DD+ (look at Dolby white paper on DD+) to be back compatible with DD only deocders which might be present on BD players. But since I'm interested to HD DVD tracks no core should be present. Anyway eac3to works woth -core option on a eac3 file and produces an AC3 track. I can't unterstand if it simply doesn't care about the -core option and decodes eac3 into ac3 or -core option does anything, it's not clear.
quantum
7th April 2008, 00:23
I am having problems with TOP GUN (HD-DVD), eac3to reports an audio delay of -84ms, an does its thing when re-encoding the Dolby True HD audio to FLAC.
But when I mux audio and video to MKV, the audio is out of sync (the audio is to early) and stays out of sync for the whole movie.
I had a similar issue with a True HD track. To work around it, I added the delay as reported by eac3to in mkvmerge and remuxed. That solved it.
[EDIT]It turns out eac3to correctly handled the audio delay for this track. I didn't use the framecount parameter in my AVS script, so when two EVO's were joined, the frames were off and this caused audio sync issues at the halfway point of the movie.
Chumbo
7th April 2008, 05:08
eac3to v2.37 released
http://madshi.net/eac3to.zip
* added HD DVD chapter support
* added HD DVD subtitle demuxing support
* added pre-freeze detection for Haali Matroska Muxer bug
* invalid characters are removed from file names now
* log file is copied to destination path (of first destination file)
Edit: Fixed file path handling problem in v2.38.
madshi, will you keep creating version release posts like these or will you just update the 1st post from now on? I only ask because there isn't one for 2.38. I find them useful because the thread is so large now, it's a nice way to keep track of issues post and pre certain releases by using your release posts. :)
Henry The Ripper
7th April 2008, 07:02
Originally Posted by Henry The Ripper
When I demuxed PCM from m2ts, it says "Remapping channels", then when encoding to DTS it's again "Remapping channels"??
So is the result the incorrect order?
Why are you doing this in two steps? You can directly demux + transcode to DTS in one step! Anyway, don't worry about the multitude of "Remapping channels" messages. Usually the end result is just fine. Of course it would make sense to double check, just to be sure.
I do it because I have to demux all the tracks to get main audio and commentary. Or I can directly demux + transcode DTS and then demux all tracks to get the commentary.
But thanks, just worried because I can't test the channel order with my equipment.
Originally Posted by Henry The Ripper
2.37 and 2.38 don't start the encoding procedure with normal command line "eac3to source.pcm destination.dts"
What do v2.37 and v2.38 do?
Well, I think they should tell the plugins etc. to start extracting to wavs and then to encode the file to dts?
madshi
7th April 2008, 07:35
As expected, but subtitles don't work with the evo file i tried (The Shining). I did test again... 1st.evo from that movie don't list any subs, while 2nd.evo does, as well as 1st.evo+2nd.evo combination. EVOdemux shows exactly the same behavior with the 2 evo files.
The reason for this behaviour is simple: There are simply no subtitles whatsoever in this first EVO file you sent me (which is only 95MB big). The first subtitle content often comes only after 150-200MB. That's why both EvoDemux and eac3to always read the first 300MB of an EVO source.
I'm running the latest version of eac3to, v2.38 with freshly installed Sonic DTS Decoder 4.3.0.169 and Nero Essentials 7 with the Blu-ray/HD DVD Video Plug-in, and i'm just trying to convert a standard 5.1 channel DTS track to AC3 at 640kbps, but for some reason, eac3to just reports the DTS track details, and does nothing after that
Sorry, that's a new bug introduced by the subtitle support. Will be fixed by v2.39.
Could you provide a link to v2.35 and i'll try again on that version?
No. I generally do not repost old versions. I rather fix bugs in a new build.
I read in the prog description that the -core option is used to extract core from DTS-HD master audio. Can this option be used also on Dolby Digital Plus eac3 files from HD DVD and extract dolby AC3 core of DD+, or the prog simply decodes DD+ and then re-encodes it in AC3 640kb max?
The "-core" option extracts the 5.1 E-AC3 core from a 7.1 E-AC3 track. But it doesn't magically give you an AC3 core from an HD DVD E-AC3 track because HD DVD E-AC3 tracks don't have an AC3 core. However, if you use the ".ac3" extension for the filename, eac3to will transcode (= fully decode + reencode) the track to AC3 for you.
Unfortunately, the VC1 HD DVD's I've tried so far, still have the same problems as before. Short freezes or speed up from time to time, distorted audio.
Well, that's rather a problem with the EVO splitter and doesn't have much to do with VC-1 support. EVO files do not contain timestamp information for every video frame. As a result Haali's splitter has to "guess" the timestamps for most frames. If the guessing goes wrong, playback can show the problems you mentioned.
Older Haali versions showed major artifacts with some movies (e.g. POTO USA, Unforgiven, Million Dollar Baby, Silver Surfer Europe, several adult titles, ...). These problems are all fixed in the latest version. Also h264 seeking should work a lot better than before.
Remuxing to mkv using eac3to solves this
eac3to has the luxury to do offline remuxing. So eac3to can first try to use straight 23.976 timestamps. And only if that fails it has to try a different solution. Haali's filter as a realtime splitter might get into trouble if he used simple 23.976 timestamps without caring about the timestamps in the EVO file. That's where the difference is coming from, I guess...
madshi, will you keep creating version release posts like these or will you just update the 1st post from now on? I only ask because there isn't one for 2.38. I find them useful because the thread is so large now, it's a nice way to keep track of issues post and pre certain releases by using your release posts. :)
Check out the "changelog.txt" which is contained in every eac3to download.
2.37 and 2.38 don't start the encoding procedure with normal command line "eac3to source.pcm destination.dts"
That's a bug which will be fixed in v2.39.
madshi
7th April 2008, 07:36
eac3to v2.39 released
http://madshi.net/eac3to.zip
* simple audio transcoding was broken
the_provider
7th April 2008, 10:19
Greetings.
Today I encountered the first(...) DVD with dts audio file. I tried to convert it to ac3(5.1 ch.) but it didn't worked. When using EAC3to Conversion Utility I select some options that can be seen beneath:
eac3to.exe "C:\HEART\HEART T01 DELAY 0ms.dts" "C:\HEART\Z_HEART T01 DELAY 0ms.ac3" -448 -sonic -keepDialnorm
and the result was:
DTS-ES, 5.1 channels, 1:38:39, 16 bits, 1536kbit/s, 48khz
This audio conversion is not supported.
I replaced sonic with libav with no positive result.
I must mention that:
eac3to.exe "C:\HEART\HEART T01 DELAY 0ms.dts" "C:\HEART\Z_HEART T01 DELAY 0ms.ac3"
worked fine but due to the size I felt that I need to decrease the bitrate.
As I am new to using this tool my guess is that I missed something. I am willing to learn to use it properly that is the reason why I am kindly requesting a link to a User Manual or some hints to configure the conversion correctly.
Question: 378 and 320 kbit are not in the drop-down box, is it correct to assume that the conversion to this rates is not supported?
Best regards.
Beastie Boy
7th April 2008, 10:33
If
eac3to.exe "C:\HEART\HEART T01 DELAY 0ms.dts" "C:\HEART\Z_HEART T01 DELAY 0ms.ac3"
works OK, then use the command
eac3to.exe "C:\HEART\HEART T01 DELAY 0ms.dts" "C:\HEART\Z_HEART T01 DELAY 0ms.ac3" -448
Replace 448 with whatever bitrate you wish to use.
Cheers, Beastie.
Jaja1
7th April 2008, 15:56
Well, that's rather a problem with the EVO splitter and doesn't have much to do with VC-1 support. I never noticed these specific problems with AVC, so I always understood it to be a VC1 problem
EVO files do not contain timestamp information for every video frame. As a result Haali's splitter has to "guess" the timestamps for most frames. If the guessing goes wrong, playback can show the problems you mentioned.
Okay, thanks for the explanation. I wonder then how standalone players work with EVO's. But that is another discussion.
eac3to has the luxury to do offline remuxing. So eac3to can first try to use straight 23.976 timestamps. And only if that fails it has to try a different solution. Haali's filter as a realtime splitter might get into trouble if he used simple 23.976 timestamps without caring about the timestamps in the EVO file. That's where the difference is coming from, I guess...Are you therefore saying that even in the unlikely event, that you make your splitter available as DS filter, your splitter will have the same problems? However, PDVD is able to split the stream without these problems. So it is possible.
Chumbo
7th April 2008, 15:58
...
Check out the "changelog.txt" which is contained in every eac3to download.
...
Oh I do, I just meant here on the site, the posts between the release posts are more easily followed. :)
Rectal Prolapse
7th April 2008, 16:06
Broken LPCM playback is really bad, I agree with that. However, Haali has been responsive to me when I reported bugs with exact information what exactly is wrong and how to fix it. His latest version fixes several important bugs I reported to him.
Any way I can contact him without subscribing to the matroska mailing list? I PM'd him details here already, but I don't know if he frequents doom9 anymore.
Thanks again!
Chumbo
7th April 2008, 17:31
Any way I can contact him without subscribing to the matroska mailing list? I PM'd him details here already, but I don't know if he frequents doom9 anymore.
Thanks again!
So you're aware, someone on the mailing list just brought this up, so it's in-the-know now. ;)
Chumbo
7th April 2008, 17:33
......* log file is copied to destination path (of first destination file)...
I, for one, really appreciate this. Thanks so much.
Thunderbolt8
7th April 2008, 18:17
thanks for the new version again!
I got a request, could you make eac3to handle at least corrupt TV sources (.ts files)? I understand that it makes sense to improve clean support for disc sources, as a disc can be re-ripped if there should be an error. but in most TV sources theres always at least 1 video or audio error and because of that then eac3to stops the whole process. unfortunately those files cant be recaptured, unless they repeat that movie sometime later on again.
the thing is when I encouter an error then i demux video and audio and try to correct the error (with delaycut for example), but afterwards ill end up with using eac3to again anyway trying to mux audio and video together, since I feel its most reliable. this process can be very time consuming though and it would be nice if eac3to can just handle smaller errors or problem like that progressive/interlace frame change at the beginning of a movie, so im not forced to get out of the remux loop. otherwise I unfortunately wouldnt be able to mux more than half tv sources I encouter with eac3to. thanks!
Rectal Prolapse
7th April 2008, 18:46
chumbo, thanks for the news! Um, but I really hope someone could duplicate the problem - I don't want to be the only one. :)
thunderbolt - I dunno, I think it would be difficult to handle partially-corrupted ts fiiles.
laserfan
7th April 2008, 20:28
I think it would be difficult to handle partially-corrupted ts fiiles.I agree. Thunderbolt8, try VideoReDo+ or TVSuite on your corrupt .ts file (it's free for 2 weeks full-function if you register your email address) i.e. run Quick Stream Fix on it. Other tools to try might be mpeg2repair and possibly HDTV2MPEG.
Thunderbolt8
7th April 2008, 21:35
thunderbolt - I dunno, I think it would be difficult to handle partially-corrupted ts fiiles.
well I cant really judge that, but I only know when you remux those files with haali for example it just accepts like any kind of input and mostly, if the problems are not more than usual corrupted frames, also stays in sync afterwards.
BLKMGK
7th April 2008, 21:57
eac3to v2.39 released
http://madshi.net/eac3to.zip
* simple audio transcoding was broken
Looks to be working again on 64bit Vista, thank you! I'll be trying my BD test again:cool:
Greif
7th April 2008, 22:09
madshi, can you update your first post to provide examples of how to demux chapters and subtitles. It will be easier for people to find.
:thanks:
Greif
7th April 2008, 22:42
I'm getting the following message:
eac3to.exe FEATURE_1.EVO+FEATURE_2.EVO 2: chapters.txt 3: video.mkv 4: audio.ac3 9: subtitles.sup -448 -libav
EVO, 1 video track, 5 audio tracks, 3 subtitle tracks, 1:47:43
"Main Movie"
1: Joined EVO file
2: Chapters, 20 chapters with names
3: VC-1, 1080p24 /1.001 (16:9)
4: E-AC3, English, 5.1 channels, 1536kbit/s, 48khz, dialnorm: -27dB
5: E-AC3, Spanish, 5.1 channels, 768kbit/s, 48khz, dialnorm: -27dB
6: E-AC3, French, 5.1 channels, 768kbit/s, 48khz, dialnorm: -27dB
7: E-AC3, English, 2.0 channels, 192kbit/s, 48khz, dialnorm: -27dB
8: E-AC3, English, 2.0 channels, 192kbit/s, 48khz, dialnorm: -27dB
9: Subtitle, English
10: Subtitle, Spanish
11: Subtitle, French
Creating file "chapters.txt"...
Extracting primary video track...
Muxing video to Matroska...
Extracting audio track number 4...
Removing dialog normalization...
Decoding with DirectShow (Nero Audio Decoder 2)...
Getting "Nero Audio Decoder 2" instance failed.
I am specifying the libav parameter so why would it want to try to decode with Nero? Possible bug?
Update: It works if I do the audio on its own.
BLKMGK
8th April 2008, 00:01
Madshi, doing the BD now - so far the video looks good! One thing I noticed that is different with M2TS files vs EVO is that when done eac3to isn't reporting a framecount. With EVO files I have used this in an AVIsynth file with the impression it was necessary to maintain audio synch. Am I mistaken? At this point not yet sure what I will put in my AVIsynth file to feed meGUI but I'm working on it :)
Chumbo
8th April 2008, 01:02
I'm getting the following message:
eac3to.exe FEATURE_1.EVO+FEATURE_2.EVO 2: chapters.txt 3: video.mkv 4: audio.ac3 9: subtitles.sup -448 -libav
EVO, 1 video track, 5 audio tracks, 3 subtitle tracks, 1:47:43
"Main Movie"
1: Joined EVO file
2: Chapters, 20 chapters with names
3: VC-1, 1080p24 /1.001 (16:9)
4: E-AC3, English, 5.1 channels, 1536kbit/s, 48khz, dialnorm: -27dB
5: E-AC3, Spanish, 5.1 channels, 768kbit/s, 48khz, dialnorm: -27dB
6: E-AC3, French, 5.1 channels, 768kbit/s, 48khz, dialnorm: -27dB
7: E-AC3, English, 2.0 channels, 192kbit/s, 48khz, dialnorm: -27dB
8: E-AC3, English, 2.0 channels, 192kbit/s, 48khz, dialnorm: -27dB
9: Subtitle, English
10: Subtitle, Spanish
11: Subtitle, French
Creating file "chapters.txt"...
Extracting primary video track...
Muxing video to Matroska...
Extracting audio track number 4...
Removing dialog normalization...
Decoding with DirectShow (Nero Audio Decoder 2)...
Getting "Nero Audio Decoder 2" instance failed.
I am specifying the libav parameter so why would it want to try to decode with Nero? Possible bug?
Update: It works if I do the audio on its own.
I believe you need to add the parameters in the right place. Your -448 and -libav are for the audio transcoding which is #4. So you need to put those for #4, e.g.,
eac3to.exe FEATURE_1.EVO+FEATURE_2.EVO 2: chapters.txt 3: video.mkv 4: audio.ac3 -448 -libav 9: subtitles.sup
Chumbo
8th April 2008, 01:04
Madshi, doing the BD now - so far the video looks good! One thing I noticed that is different with M2TS files vs EVO is that when done eac3to isn't reporting a framecount. With EVO files I have used this in an AVIsynth file with the impression it was necessary to maintain audio synch. Am I mistaken? At this point not yet sure what I will put in my AVIsynth file to feed meGUI but I'm working on it :)
I believe the frame count is only returned if your source is VC-1. You shouldn't have any sync issues with other sources like mpeg2 and AVC/h264.
BLKMGK
8th April 2008, 01:37
Hrm, I'm pretty sure I've seen it in some H.264 HD-DVD. I'll double check later with Transformers maybe, right now I'm proceeding without it and am not using a Graph file either. Thanks!
pbjr
8th April 2008, 01:41
Madshi,
I just want to start off by saying thank you so much for eac3to!! Great work! Just like everyone else, I really appreciate all your work.
Now that I got that out of the way... :)
I converted Constantine's TrueHD to Flac, but the channel mapping is wrong when I playback through mplayer.
What is the default channel order for TrueHD? I tried searching the web but didn't find much. Is it L,R,C,LFE,Ls,Rs?
As a goof I tried converting to WAVs, just to see this output.
Creating file "audio.24bit.L.wav"...
Creating file "audio.24bit.C.wav"...
Creating file "audio.24bit.LFE.wav"...
Creating file "audio.24bit.R.wav"...
Creating file "audio.24bit.SR.wav"...
Creating file "audio.24bit.SL.wav"...
Is that the sequence order eac3to is seeing it? I'm going to try another TrueHD (300) in the mean time.
Thanks,
- PBjr
Chumbo
8th April 2008, 04:29
Hrm, I'm pretty sure I've seen it in some H.264 HD-DVD. I'll double check later with Transformers maybe, right now I'm proceeding without it and am not using a Graph file either. Thanks!
Maybe you saw the frame count in EVOdemux since it's an HD DVD? ;) Yeah, you can use DGAVCDec for h264 instead of a graph.
woah!
8th April 2008, 05:26
Maybe you saw the frame count in EVOdemux since it's an HD DVD? ;) Yeah, you can use DGAVCDec for h264 instead of a graph.
EVO, 2 video tracks, 4 audio tracks, 2 subtitle tracks, 0:50:34
"Where No Man Has Gone Before"
1: Chapters, 6 chapters without names
2: h264/AVC, 1080p24 /1.001 (16:9)
3: h264/AVC, 480p24 /1.001 (15:11), -17ms
4: TrueHD, English, 5.1 channels, 48khz, dialnorm: -27dB, -84ms
5: AC3, English, 2.0 channels, 192kbit/s, 48khz, -84ms
6: AC3, Spanish, 2.0 channels, 192kbit/s, 48khz, dialnorm: -30dB, -84ms
7: E-AC3, 2.0 channels, 192kbit/s, 48khz, dialnorm: -27dB, -84ms
8: Subtitle, English
9: Subtitle, Spanish
Creating file "Y:\movie.txt"...
Extracting primary video track...
Extracting audio track number 4...
Removing dialog normalization...
Muxing video to Matroska...
Applying RAW/PCM delay...
Encoding AC3...
Extracting subtitle track number 8...
Creating file "Y:\movie.ac3"...
Creating file "Y:\movie.sup"...
Added fps value to MKV header.
Video track 2 contains 72733 frames.
Video track 3 contains 90871 frames.
eac3to processing took 7 minutes, 58 seconds.
Done.
came from the log so it does seem to do h264 no???
umaximus
8th April 2008, 10:50
@madshi
Is it safe to join seamless branching titles by 'copy b method.. Will the future version of eac3to be able to mux the audio without gaps/overlaps on already joined files? Or should we wait with any kind of joining. How come there is no sync issues with ''copy /b'' & tsRemux on seamless branching discs (i have made several titles like ratt, deja vu, cars, etc, with no playback problems)?
edo1080
8th April 2008, 14:00
I tested to extract the AC3 core from a .eac3 DD+ stream demuxed from an HD DVD (Blades of Glory) unsing the -core switch and it works. Could this mean the DD+ has a DD AC3 core on HD DVD too?
E-AC3, 5.1 channels, 1:33:09, 768kbit/s, 48khz, dialnorm: -27dB
Removing dialog normalization...
Decoding with DirectShow (Nero Audio Decoder 2)...
Disabling DRC for Nero (E-)AC3 decoding...
DirectShow reports 5.1 channels, 24 bits, 48khz
Encoding AC3...
Creating file "C:\The Bourne Blu Ray\Audio.ac3"...
eac3to processing took 11 minutes, 12 seconds.
Done.
This is what the log reports, anyway it seems decoding first with nreo decoder and then encoding; but how can eac3to encode if it has no built-in encoder?
nautilus7
8th April 2008, 14:21
@madshi
Is it safe to join seamless branching titles by 'copy b method.. Will the future version of eac3to be able to mux the audio without gaps/overlaps on already joined files? Or should we wait with any kind of joining. How come there is no sync issues with ''copy /b'' & tsRemux on seamless branching discs (i have made several titles like ratt, deja vu, cars, etc, with no playback problems)?When joining multiple .m2ts files there's a chance a small audio piece (usually a frame) to exist in both previous and next .m2ts files. Suppose we have AC3 audio (which has the longest frame of all audio types - 32 ms), this can result in max 16ms (half frame) de-sync in each join point. Multiply by the .m2ts files and here it is the problem. For example if a movie consists of 10 files (9 joints) and AC3 audio , if all parts overlap by a frame, you can have a max of 9x16ms= 144ms de-sync. In other audio types frame duration is a lot sorter (~5ms) which means the problem is tiny and can't be noticed. Of course there's a chance that audio frames don't overlap, so no problem at all.
Hope i made it clear enough to understand it. :)
nautilus7
8th April 2008, 14:24
I tested to extract the AC3 core from a .eac3 DD+ stream demuxed from an HD DVD (Blades of Glory) unsing the -core switch and it works. Could this mean the DD+ has a DD AC3 core on HD DVD too?
This is what the log reports, anyway it seems decoding first with nreo decoder and then encoding; but how can eac3to encode if it has no built-in encoder?
No, no core inside. eac3to uses aften ac3 encoder that comes with the package. The -core switch you type is just ignored.
edo1080
8th April 2008, 14:38
Thanks nautilus for this explaination. It's what I needed.
the_provider
8th April 2008, 15:05
If ...
works OK, then use the command
eac3to.exe "C:\HEART\HEART T01 DELAY 0ms.dts" "C:\HEART\Z_HEART T01 DELAY 0ms.ac3" -448
Replace 448 with whatever bitrate you wish to use.
Thank you for your swift reply but when desired bitrate is mentioned it doesn't work.
I also tried to mention explicitly the filter and I got the same result in all 3 attempts (default, sonic, libav).
In fact the ONLY combination that works is:
C:\HEART>"C:\Program Files\eac3to\eac3to.exe" "C:\HEART\HEART T01 DELAY 0ms.dts" "C
:\HEART\HEART T01 DELAY 0ms.ac3" -libav
Any attempt to set bitrate or other filter returns a
"This audio conversion is not supported." message.
I have installed ffdshow filter package.
Any other ideas?
Thank you in advance.
Best regards.
nautilus7
8th April 2008, 15:42
Do you use the keymakers gui? It has a bug and it doesn't put a space between the output filename and the -448. Switch to the alternate gui (eac3to and more gui - see separate thread in the audio section) or use the cmd version.
Best decoder for dts is sonic. If you have it let it decode instead of selecting any other. Don't use the -keepdialnorm option. There's no point.
crazydane
8th April 2008, 16:21
So I ripped this title using AnyDVD and kept the following 2 files:
00000.m2ts 15,964,734 KB
00006.m2ts 17,032,122 KB
I then joined them with the copy /b command, and proceeded to demux the video & audio with eac3to (soundtrack converted to flac).
All went well and I then used mkvmerge as usual to create my final .mkv container.
The movie plays back flawlessly in mpc and wmp11 and there are no sync issues. BUT, I ended up with the alternate ending version as opposed to the theatrical one. I have watched both versions via my stand-alone BD player and I don't really mind ending up with the alternate ending version for my backup.
My question is, for titles with alternate endings (I think it is only the last couple of chapters on this title), how the heck can one pick one over the other?
As I recall, I think there was a 00003.m2ts file at around 2GB or so, which probably contained the theatrical ending and somehow when playing this version on a standalone player, the 00003.m2ts file gets swapped in near the end?
Sorry for the slightly off topic question, but I'd love for eac3to be able to deal with alternate ending movies like this someday!
And Madshi, that you for this wonderfull tool! I have been ripping my BD titles using only AnyDVD, eac3to and mkvmerge with no issues with any of the 30 or so titles I have done so far!
SoToS
8th April 2008, 16:28
please also GUI renew!
nautilus7
8th April 2008, 16:55
So I ripped this title using AnyDVD and kept the following 2 files:
00000.m2ts 15,964,734 KB
00006.m2ts 17,032,122 KB
I then joined them with the copy /b command, and proceeded to demux the video & audio with eac3to (soundtrack converted to flac).
All went well and I then used mkvmerge as usual to create my final .mkv container.
The movie plays back flawlessly in mpc and wmp11 and there are no sync issues. BUT, I ended up with the alternate ending version as opposed to the theatrical one. I have watched both versions via my stand-alone BD player and I don't really mind ending up with the alternate ending version for my backup.
My question is, for titles with alternate endings (I think it is only the last couple of chapters on this title), how the heck can one pick one over the other?
As I recall, I think there was a 00003.m2ts file at around 2GB or so, which probably contained the theatrical ending and somehow when playing this version on a standalone player, the 00003.m2ts file gets swapped in near the end?
Sorry for the slightly off topic question, but I'd love for eac3to be able to deal with alternate ending movies like this someday!
And Madshi, that you for this wonderfull tool! I have been ripping my BD titles using only AnyDVD, eac3to and mkvmerge with no issues with any of the 30 or so titles I have done so far!No no no no...
I am Legend Blu-ray is authored by retards. EACH one of the 2 files you mention (00000.m2ts & 00006.m2ts) contain the WHOLE movie, but with different endings (2 scenes are also different btw). The disc doesn't make any use of seamless branching as it should. It's ridiculously authored. I don't know exactly how you can make one file with the 2 versions of the movie (that doesn't contain common parts twice, obviously).
crazydane
8th April 2008, 17:07
You're right nautilus. My "I Am Legend.mkv" is 26,154,776 KB and when I checked it out before I just watched part of the beginning and then dragged the slider towards the end and watched it. I bet if I move the slider to the middle, I'll see the ending credits of the theatrical version, followed by the beginning of the alternate version.
You're right though, I can't believe they put 2 full version of the movie on there. What a waste!
Chumbo
8th April 2008, 17:09
EVO, 2 video tracks, 4 audio tracks, 2 subtitle tracks, 0:50:34
"Where No Man Has Gone Before"
1: Chapters, 6 chapters without names
2: h264/AVC, 1080p24 /1.001 (16:9)
3: h264/AVC, 480p24 /1.001 (15:11), -17ms
4: TrueHD, English, 5.1 channels, 48khz, dialnorm: -27dB, -84ms
5: AC3, English, 2.0 channels, 192kbit/s, 48khz, -84ms
6: AC3, Spanish, 2.0 channels, 192kbit/s, 48khz, dialnorm: -30dB, -84ms
7: E-AC3, 2.0 channels, 192kbit/s, 48khz, dialnorm: -27dB, -84ms
8: Subtitle, English
9: Subtitle, Spanish
Creating file "Y:\movie.txt"...
Extracting primary video track...
Extracting audio track number 4...
Removing dialog normalization...
Muxing video to Matroska...
Applying RAW/PCM delay...
Encoding AC3...
Extracting subtitle track number 8...
Creating file "Y:\movie.ac3"...
Creating file "Y:\movie.sup"...
Added fps value to MKV header.
Video track 2 contains 72733 frames.
Video track 3 contains 90871 frames.
eac3to processing took 7 minutes, 58 seconds.
Done.
came from the log so it does seem to do h264 no???
That's great. The last couple avc titles I put into mkv containers did not show the frames in the log. I think I was using versions 2.36 and older of eac3to at the time. I wish I had the log, but I no longer have it. I remember because I specifically looked for the frame count. The last one was Hitchhiker's Guide.
umaximus
8th April 2008, 19:42
When joining multiple .m2ts files there's a chance a small audio piece (usually a frame) to exist in both previous and next .m2ts files. Suppose we have AC3 audio (which has the longest frame of all audio types - 32 ms), this can result in max 16ms (half frame) de-sync in each join point. Multiply by the .m2ts files and here it is the problem. For example if a movie consists of 10 files (9 joints) and AC3 audio , if all parts overlap by a frame, you can have a max of 9x16ms= 144ms de-sync. In other audio types frame duration is a lot sorter (~5ms) which means the problem is tiny and can't be noticed. Of course there's a chance that audio frames don't overlap, so no problem at all.
Hope i made it clear enough to understand it. :)
ay yes, i kinda know that but thanks for detailed info.. my concern is if the eac3to could detect this gaps/overlaps, made by joining via copy/b, and fix them.. also, why TSremux doesnt have this problems, or better, how TSremux deals with this de-sync joint points?
nautilus7
8th April 2008, 19:52
I don't really know if eac3to can correct them. I don't think it can. I don't think also that tsremux detects those problems. It's just that the de-sync (if any - remember, it's possible that no de-sync at all to exist) is very small and can't be noticed.
wildchild22
8th April 2008, 20:38
Not sure if this is the right place to post this. I am thinking of buying a popcorn hour and as far as I can tell it supports lpcm but not any new hd-dvd or blu-ray hd audio formats. Is it possible to convert dolby digital + to lpcm ?
I am thinking about ripping my hd-dvds and turning all the audio into lpcm so I dont loose quality.
( I have used eac3to to convert dolby digital + to ac3-640 before and its great just not sure if it can do all the conversions to lpcm)
nautilus7
8th April 2008, 21:00
Of course that's possible, but space consuming. Does it support AC3 and DTS? The quality loss isn't that significant. It's your choice.
wildchild22
8th April 2008, 21:50
it does support ac3 and dts. Is this command line correct for lpcm
eac3to whateverfile.dd+ whateverfile.pcm
nautilus7
8th April 2008, 22:02
Yes it is.
BLKMGK
8th April 2008, 22:11
You're right nautilus. My "I Am Legend.mkv" is 26,154,776 KB and when I checked it out before I just watched part of the beginning and then dragged the slider towards the end and watched it. I bet if I move the slider to the middle, I'll see the ending credits of the theatrical version, followed by the beginning of the alternate version.
You're right though, I can't believe they put 2 full version of the movie on there. What a waste!
I wouldn't be surprised if they had originally intended to only release on HD-DVD and then just did BD. <shrug> I've got the HD-DVD version on order and it ought to be here any day now so we'll see what that looks like. Maybe they were just lazy? That is pretty funny though, I'll bet we see lots of weird things as time goes on. BD's seamless stuff is kewl but it sure can be a pain when it comes to moving the media. I keep hoping that a DVDShrink type app will come along and preserve the menus etc. in a format that can be played back by something reasonable. One can dream right?:rolleyes:
DoomBot
9th April 2008, 04:31
Why does my encoded lpcm to dts file have a buzzing noise i hardly hear the audio?
bmnot
9th April 2008, 08:09
It is possible to extract the 2 channel mix from eac3 or TrueHD streams? I know you can downmix, but wouldn't the internal 2.0 mix be superior? Not sure of the technical details, but I noticed that when I play TrueHD tracks in PowerDVD with the 2 speaker settings, the track is played at 2.0. Setting PowerDVD to 6 speakers, then it goes to 5.1.
nautilus7
9th April 2008, 10:31
Why does my encoded lpcm to dts file have a buzzing noise i hardly hear the audio?
Use xport to demux the pcm audio. Then try again. If the problem persists post your log and maybe a sample. Maybe eac3to doesn't
detect the pcm parameters correctly.
nautilus7
9th April 2008, 10:35
It is possible to extract the 2 channel mix from eac3 or TrueHD streams? I know you can downmix, but wouldn't the internal 2.0 mix be superior? Not sure of the technical details, but I noticed that when I play TrueHD tracks in PowerDVD with the 2 speaker settings, the track is played at 2.0. Setting PowerDVD to 6 speakers, then it goes to 5.1.There isn't a 2.0 mix. PowerDVD does it's own mix. All i 've seen are instructions on how the player to mix the 5.1 to 2.0, but that's in dvd-audio mlp tracks. Don't know if the same thing applies to hd audio.
bmnot
9th April 2008, 11:31
OK, I got the idea that there is a 2.0 mix from the TrueHD whitepaper: http://www.dolby.com/assets/pdf/tech_library/DPlus_TrueHD_whitepaper.pdf
Says 5.1 tracks are 2.0 mix + 3.1 extension
and 7.1 are 2.0 + 3.1 + 2.0
nautilus7
9th April 2008, 11:54
Well, i don't know where that mentioned in the pdf refers to... but if there was something like a 2.0 core in truehd tracks, madshi would have known. He deals with such stream for 1 year now. :p
I know for sure (madshi told that here) that ALL 7.1 E-AC3 tracks have a 5.1 core inside. That core is extracted/decoded with nero decoder and current libav version. Future libav version will decode full 7.1 E-AC3 streams.
Here's what madshi said:
"Normal" E-AC3 tracks have one E-AC3 frame per audio frame. 7.1 E-AC3 tracks have two E-AC3 frames per audio frame. The first E-AC3 frame is a conventional 5.1 E-AC3 core. The 2nd E-AC3 frame is an E-AC3 frame with 4 channels in it. Two of those channels replace the surround channels of the 5.1 core. The other two channels are the back surround channels. The surround channels of the 5.1 core are totally dropped when a decoder decodes the 7.1 extension. The surround channels of the core contain a downmix of the surround and back surround channels.
shambles
9th April 2008, 12:09
truehd does work in layers apparently.. here's a post (http://www.avsforum.com/avs-vb/showthread.php?p=12046471#post12046471) on avsforum by amirm. don't know about eac3 tho.
nautilus7
9th April 2008, 12:16
I wasn't aware of that. :o I am quite sure that this hasn't mentioned here, though. I have been following this thread since July 2007. :eek:
the_provider
9th April 2008, 14:01
Do you use the keymakers gui? It has a bug and it doesn't put a space between the output filename and the -448. Switch to the alternate gui (eac3to and more gui - see separate thread in the audio section) or use the cmd version.
Best decoder for dts is sonic. If you have it let it decode instead of selecting any other. Don't use the -keepdialnorm option. There's no point.
Greetings and thank you for reply.
As advised I dumped Keymakers GUI although the script have 2 spaces between the output filename and bitrate and the same between the bitrate and filter(...). Tried eac3to and more gui but something must have gone wrong because it run for more than 2 hours until I stopped it and, you guessed, I dumped it too.
SO I gave a try to the CMD version. SO I tried the following and you can see the result, too:
C:\Program Files\eac3to\eac3to "C:\HEART\HEART T01 DELAY 0ms.dts" "C:\HEART\HEART T01 DELAY 0ms.ac3" -378 -sonic
Access is denied.
with a pop-up stating that:
C:\Program Files\eac3to>eac3to.exe is not a Win32 valid application.
Because
C:\Program Files\eac3to>eac3to.exe returns the same warning I guess that something else is wrong...because the parsing of the script stopes at the very first instruction, eac3to.exe...So?
Any idea?
Thank you for the sonic tip.
Best regards.
nautilus7
9th April 2008, 14:19
One space is the right thing, obviously. I've read that keymaker's gui doesn't put any space, not 2. Sonic switch isn't necessary for dts, cause it's the default decoder for dts(-hd).
Where is the eac3to.exe located? Is it in C:\Program Files\eac3to ???
I don't know what's wrong. You can't even run just eac3to without any input. :eek:
the_provider
9th April 2008, 15:15
One space is the right thing. I've read that keymaker's gui doesn't put any space, not 2. Sonic switch isn't necessary for dts, cause it's the default decoder for dts(-hd).
Where is the eac3to.exe located? Is it in C:\Program Files\eac3to ???
I don't know what's wrong. You can't even run just eac3to without any input. :eek:
Greetings and thank you again.
There are several problems:
1. few minutes ago, taking a closer look at the subdirectory I noticed that eac3to.exe has the size equal to 0B!!!
For sure I didn't erased it but yesterday It must have happened at least once more: after the first no-parameters conversion I noticed that the next attempts returns the same errors as today. I imagined that some file must have been screwed up and I simply unzip again the package in the same location/directory without bothering to search what went wrong.
So today I simply unzip the package once more and voilla(as in "It works!")!
2. Sonic is not working anymore probably because I installed ffdshow codec package yesterday. My mistake...
3. A good news: libav works and probably I will not know the difference...
4. The space expected at the end of the destination file is really missing...
In conclusion: CMD version rules! (Anyway I had everything solved from the point of view of conversion with dts2ac3/bepipe/aften from yesterday...)
All the best and thank you once more for patience and time taken to reply, I think we can call the case closed.
wildchild22
9th April 2008, 19:19
Okay I am having problems with beowulf hd-dvd. I have the video and audio demuxed. I am having touble converting the dolby digital plus stream to lpcm.
I have converted it to flac dts ac3 and pcm and lpcm
eac3to beowulf.eac3 beowulf.( using this after the .
flac ac3 -640 dts pcm and lpcm)
the lpcm and pcm files are not recognized by any muxing tool.
I have tried converting the flac file using .pcm amd .lpcm and same results.
How do I make a compatible lpcm file btw the pcm and lpcm files are around 5 gigs in size and the original eac3 file is 1.5 gigs.
the pcm files when played back sounds like it is encoded like dts played back on a cd player.
Do I need to use any other program to do this conversion.
nautilus7
9th April 2008, 19:33
I think you 're a bit confused.
PCM and LinearPCM is the same thing. Or at lest the same for eac3to. It's uncompressed audio while AC3 is compressed. That explains the size difference.
To decode E-AC3 to PCM you jus have to type:
eac3to input.eac3 output.pcm
If this returns any kind of message in eac3to, post the log.
What programs did you try to mux the pcm file and in what container? What is your ultimate goal?
wildchild22
9th April 2008, 20:45
Yeah their are no errors in the file made by eac3to it makes the file fine. tsremuxer and manzanita do not recognize the
stream (pcm file made by eac3to) it does recognize the dts file and ac3 file so I know the demuxed file is fine.
My ultimate goal is to make a file that is lossless in both audio and video from an hd-dvd and playable by everything not just a pc. that is why I dont want to keep it in flac.
What should I use to mux in the pcm file and avc h2.64 file into a blu-ray stream. Tsremuxer doesnt work with the pcm file.
nautilus7
9th April 2008, 20:54
It's has to do with the channel order i think. Blu-ray pcm has different channel order the the usual one.
You can remap channels by typing:
eac3to your.initial.pcm your.final.pcm -0,1,2,3,4,5
Where you have to put these numbers in the right order (which i don't know what is the right one for blu-ray). Sorry!
wildchild22
9th April 2008, 21:01
Okay last thing. Why cant I play back the pcm file?
I can play back the ac3 and dts and flac but the pcm file will not playback using nero showtime, windows media player 11, or vlc. It sounds like a digitaly encoded file.
I am using the newest version of eac3to.
Also should eac3to swap channels and change endian when converting the dolby digital plus file into lpcm
nautilus7
9th April 2008, 21:12
(i changed my previous post, make sure you read it)
Okay last thing. Why cant I play back the pcm file?You can't playback it, i think, because it needs to be put into a container, like wav, m2ts, ts etc.
Also should eac3to swap channels and change endian when converting the dolby digital plus file into lpcmIf it says it does, then it should...:p
Jong
9th April 2008, 23:06
@Madshi,
Hi. I have written a guide for HD-DVD -> mkv on the Slysoft forum that leans heavily on your great tool!
http://forum.slysoft.com/showthread.php?t=15543
The guide works, I believe(!), typos excepted, but:
1) I am not happy with how I get the full stream list from the parsed EVO. Basically I suggest people start a demux of the main movie to get the stream list then break it with ctrl-c, just so they can see all the stream numbers. Then they need to delete the files that had started being created and type a new command line extracting just the streams they want. It is hardly elegant!
I know I could say to type the whole file path to the evo for each title they wish to extract, but that also seems messy. Is there already a way to type something like "eac3to f:\ 1)" or "eac3to f:\ 1) -list" and have that just list the streams in that title with ID#s without doing any demuxing? If not, could there be?!
2) I am not clear how you find subtitle streams. Somewhere in this mammoth thread you talk about parsing the first 300MB for subtitles. My concern is that "Forced" subtitles, such as those that handle conversations in a language other than that of the main soundtrack may only have a few lines in them and these may not be until WELL into the film. In an extreme example there may be just one conversation 5 minutes before the end. EVO Demux is fine with this as it uses the xpl info to list the streams. Is Eac3to also fine, if there is an XPL file? Or will it fail to find the stream if it does not start near the beginning? If the latter, I think this may be a serious problem with subtitle handling.
3) One further question, if I may, that probably should be in the MadFLAC thread, but since it is all about the same guide I thought I'd post here. I currently suggest installing ffdshow for FLAC decoding. I know that MadFLAC can now also decode FLAC in a Matroska container. Is this just so MadFLAC is able to offer a full solution to FLAC decoding or do you feel you have a superior FLAC decoder for use in mkv playback? I know you may find this question amusing - "of course mine is better!" - but I did read in the MadFLAC thread that you doubted you would be able to offer anything over and above what ffdshow offers. Of course if you wish me to repost this in the MadFLAC thread, just say and I will do so!
Thanks for your help.
Jon
boykster
9th April 2008, 23:31
Hi Jong,
You CAN get the track listing for the title set by omitting the output file
eac3to z:\ n)
z = HD-DVD drive or path to files
n = titlenum you want
without having to specify an output file and using CTRL+C to break the process.
Jong
9th April 2008, 23:35
Thanks! I knew I should have actually tried that. In fact I thought I had, but there you go! Doh!
nautilus7
9th April 2008, 23:39
For your 1st question...
If you run eac3to and give it a hd dvd folder (either main or hvdvd_ts) it would list all titles found in the xpl file. It is very easy to get an idea of what's into the hd dvd. After that you can "add" a title # in the command and get more detail description of the contents. E.g:
eac3to "G:\Galapagos HD DVD 1080p VC-1 DD 2.0"
------------------------------------------------------------------------------
1) EPISODE1.EVO+EPISODE2_1.EVO+EPISODE2_2.EVO+EPISODE3.EVO, 2:26:44
"PlayAll"
- VC-1, 1080i (16:9)
- E-AC3, 2.0, 48khz
2) EPISODE1.EVO, 0:49:02
"Episode1"
- VC-1, 1080i (16:9)
- E-AC3, 2.0, 48khz
3) EPISODE2_1.EVO+EPISODE2_2.EVO, 0:48:55
"Episode2"
- VC-1, 1080i (16:9)
- E-AC3, 2.0, 48khz
4) EPISODE3.EVO, 0:48:47
"Episode3"
- VC-1, 1080i (16:9)
- E-AC3, 2.0, 48khz
5) PLANETEARTHTRL.EVO, 0:01:02
"Planet Earth Trailer"
- VC-1, 1080p (16:9)
- E-AC3, 2.0, 48khz
and then
eac3to "G:\Galapagos HD DVD 1080p VC-1 DD 2.0" 3)
------------------------------------------------------------------------------
EVO, 1 video track, 1 audio track, 1 subtitle track, 0:48:58
"Episode2"
1: Joined EVO file
2: Chapters, 6 chapters with names
3: VC-1, 1080i60 /1.001 (16:9)
4: AC3, 2.0 channels, 448kbit/s, 48khz, dialnorm: -27dB
5: Subtitle, English
Note that stream listing from xpl reading (1st case) isn't 100% reliable. To be sure you have to read the actual evo files (2nd case).
EDIT1: I was more detailed, therefore 2nd... :D
EDIT2: Since i started, i can't stop... :D
eac3to "G:\Galapagos HD DVD 1080p VC-1 DD 2.0" 3) 2: galapagos.ep2.chapters.txt 3: galapagos.ep2.mkv 4: galapagos.ep2.ac3 5: galapagos.ep2.sup
------------------------------------------------------------------------------
EVO, 1 video track, 1 audio track, 1 subtitle track, 0:48:58
"Episode2"
1: Joined EVO file
2: Chapters, 6 chapters with names
3: VC-1, 1080i60 /1.001 (16:9)
4: AC3, 2.0 channels, 448kbit/s, 48khz, dialnorm: -27dB
5: Subtitle, English
Creating file "galapagos.ep2.chapters.txt"...
Extracting primary video track...
Muxing video to Matroska...
Extracting audio track number 4...
Removing dialog normalization...
Extracting subtitle track number 5...
Creating file "galapagos.ep2.ac3"...
...
...
...
EDIT3: Put some colors to make it more beautiful and eye catching.
eac3to is great!!! No need to type any input files anymore. All being done automatically. And it's a command line program.
madshi you are my hero!!! :eek:
Jong
9th April 2008, 23:42
Tried it and it works, thanks. Is there any way to specify a path for the log file, rather than it going in the eac3to program directory? Small thing I know.
boykster
9th April 2008, 23:43
Your explanation was better, it had illustrations :)
Jong
10th April 2008, 00:00
Thanks to both of you. I was aware of the xpl generated listing and of the ability to extract without refering to the evo files, just not the ability to list the streams using "eac3to z:\ n)". I really did think I had tried that but clearly not! I have amended the guide.
I'd appreciate any comments/thoughts on points 2) and 3) above.
Cheers.
nautilus7
10th April 2008, 00:00
Your explanation was better, it had illustrations :)
Look again, i added more... :D
btw, galapagos hd dvd is weird. When i mux it to mkv the framerate is set (correct) to 29,97fps but both wmr9 & haali renderers try to playback it at 59,97fps, which results in too fast playback and dropped frames. Evr on the other hand deals correctly with it. Wtf?
In adition, ffdshow can't decode the video, but that's because it's interlaced and it's a limitation of the libav codec.
boykster
10th April 2008, 00:06
Look again, i added more... :D
btw, galapagos hd dvd is weird. When i mux it to mkv the framerate is set (correct) to 29,97fps but both wmr9 & haali renderers try to playback it at 59,97fps, which results in too fast playback and dropped frames. Evr on the other hand deals correctly with it. Wtf?
In adition, ffdshow can't decode the video, but that's because it's interlaced and it's a limitation of the libav codec.
Its interesting you posted that particular disc; I recently got the BluRay version of that disc and am having the devil of a time playing it back without stuttering or dropped frames, etc. It is also 1080i / 29.97 fps.
It plays back just fine as a BD disc using PowerDVD Ultra, but any other form, I just can't get smooth playback. I've muxed it into an mkv, m2ts, ts, etc.
This probably isn't the best thread to discuss that though :)
bmnot
10th April 2008, 02:44
You'll never get Galapagos running perfectly smooth:
If you want to see 60i done wrong, get the us release of Galapagos. 25p source has been converted with frame-blending to 60i. Just like the nasty pal-to-ntsc days (I tought we're rid of those days ). The sad thing is, they could have made it a perfect 50i instead. 50i is part of the Blu-Ray spec so there's noooo reason to make 25 frames into 30. I hope the uk release is 50i
Blue_MiSfit
10th April 2008, 02:50
Yeah. 1080i has to be deinterlaced for playback, and the "best" way to do that is to bob-deinterlace it - in other words separate the interlaced fields, interpolate them to full height, and output double frame rate (since 29.97i has 59.94 images per second due to the interlacing).
Doing this in real-time can be challenging for a decoder! You may get dropped frames / stuttering etc... Technically, the renderer handles all this stuff. EVR likely offloads it to your graphics card, since it can do a nice job. Haali Renderer _should_ also do this, but who knows. PowerDVD has its own system, which talks to EVR / VMR9. I assume, anyway :)
It's also important that the audio doesn't get played at 59.94!
Also,
ffdshow can't decode the video, but that's because it's interlaced and it's a limitation of the libav codec.
Yep. Hopefully the libav guys will gift that one on us eventually!
~MiSfit
boykster
10th April 2008, 03:06
Thanks for the input on Galap guys, I know it's OT, but it's been really bugging me the past week or so.
:thanks:
bullet_ballet
10th April 2008, 08:14
Is there a way to demux an audio stream without demuxing video and subtitles as well? Perhaps if I simply output in the same format the audio stream is encoded in, ie, by outputing ac3 track as output.ac3?
Jong
10th April 2008, 08:28
Yes, just use something like.
eac3to f:\ n) m: "d:\Moviepath\audiostream.ac3" {–libav} where "f:\" is the path to your drive/virtual drive
n) is the title and m: is the stream in that title you wish to convert and "Moviepath" is the working directory you wish to use. Add the -libav switch (without the curly brackets) if you do not have the Nero 7 decoder.
Maybe take a look at my new guide to HD-DVD conversion:
http://forum.slysoft.com/showthread.php?t=15543
bullet_ballet
10th April 2008, 09:13
Thank you very much, Jong. That is very helpful!
madshi
10th April 2008, 09:25
Okay, thanks for the explanation. I wonder then how standalone players work with EVO's. But that is another discussion.
Maybe they just guess better. Or maybe they make use of those MAP files. Not sure...
Are you therefore saying that even in the unlikely event, that you make your splitter available as DS filter, your splitter will have the same problems?
If I wrote a DS EVO splitter I'd add an option to ignore the video timestamps and play the stream back with straight 24/1.001 timestamps. That should solve any stuttering issues. However, there might be audio sync problems with some titles (should be extremely rare, though).
I got a request, could you make eac3to handle at least corrupt TV sources (.ts files)? I understand that it makes sense to improve clean support for disc sources, as a disc can be re-ripped if there should be an error. but in most TV sources theres always at least 1 video or audio error
I might do that sooner or later. But it's difficult. So it's rather down my priority list. BTW, my own TV recordings are totally clean in 99% of the cases. Don't know why you have so many damaged captures? But maybe that differs between different broadcasters/countries...
madshi, can you update your first post to provide examples of how to demux chapters and subtitles.
Changed one of the examples to include chapters and subtitles.
One thing I noticed that is different with M2TS files vs EVO is that when done eac3to isn't reporting a framecount.
Will be fixed in the next build.
I believe the frame count is only returned if your source is VC-1.
No. The framecount should be reported for every primary and secondary video track, regardless of the codec.
I converted Constantine's TrueHD to Flac, but the channel mapping is wrong when I playback through mplayer.
Hmmmmm... Are you sure that this is not a bug in mplayer? What happens if you convert the TrueHD track to another format, e.g. to AC3? Is the channel mapping then wrong, too?
Is it safe to join seamless branching titles by 'copy b method.. Will the future version of eac3to be able to mux the audio without gaps/overlaps on already joined files? Or should we wait with any kind of joining.
I'm not sure yet but I think eac3to will work better if you don't join the files manually with copy /b.
How come there is no sync issues with ''copy /b'' & tsRemux on seamless branching discs (i have made several titles like ratt, deja vu, cars, etc, with no playback problems)?
There are 2 possible reasons:
(1) Either the audio sync issues are so small that they are there but not really noticable.
(2) Or the problem doesn't occur because when joining the m2ts parts the timestamps are still in the container which tell the splitter how to keep audio and video in sync.
If it's (2) then I expect that you might see some (small) video stuttering at the join points. Maybe just a video frame shown twice or video speeding up a little for a few frames or something like that.
What happens if you demux audio and video and then join the demuxed files and mux them to MKV? Are there audio sync problems then? If so, it's (2) from above. If not, it's (1) from above.
madshi
10th April 2008, 09:45
Why does my encoded lpcm to dts file have a buzzing noise i hardly hear the audio?
Where did you get the LPCM file from? With which tool did you demux it? And how did you encode it to DTS? Did you use eac3to for the DTS encoding? If so, please post the eac3to log.
It is possible to extract the 2 channel mix from eac3 or TrueHD streams? I know you can downmix, but wouldn't the internal 2.0 mix be superior?
I don't think that the TrueHD stream format allows extracting of the 2 channel mix into a new TrueHD stream. At least I wouldn't know how. The decoder can decide to only decode 2 channels from the multi channel TrueHD stream and that will give you a good 2 channel downmix. This is currently not supported by eac3to, though.
Yeah their are no errors in the file made by eac3to it makes the file fine. tsremuxer and manzanita do not recognize the stream (pcm file made by eac3to) it does recognize the dts file and ac3 file so I know the demuxed file is fine.
I don't know what format TsRemuxer and Manzanita expect. You need to ask the TsRemuxer and Manzanita programmers which format they accept LPCM data in. Then I can tell how to create that format with eac3to.
Okay last thing. Why cant I play back the pcm file?
Because it's just the raw audio data without *any* information about the format of the data. So the media player doesn't know how to handle the file. The media player doesn't know how many channels are in the LPCM data or what bitdepth the data has. Information about this is stored outside of the LPCM data in the m2ts container.
2) I am not clear how you find subtitle streams. Somewhere in this mammoth thread you talk about parsing the first 300MB for subtitles. My concern is that "Forced" subtitles, such as those that handle conversations in a language other than that of the main soundtrack may only have a few lines in them and these may not be until WELL into the film. In an extreme example there may be just one conversation 5 minutes before the end. EVO Demux is fine with this as it uses the xpl info to list the streams. Is Eac3to also fine, if there is an XPL file? Or will it fail to find the stream if it does not start near the beginning?
In such a situation eac3to will fail to find the subtitle stream. Do you have a list of movies where this can happen? I need a way to reproduce such a problem on my PC, then I can fix it.
3) One further question, if I may, that probably should be in the MadFLAC thread, but since it is all about the same guide I thought I'd post here. I currently suggest installing ffdshow for FLAC decoding. I know that MadFLAC can now also decode FLAC in a Matroska container. Is this just so MadFLAC is able to offer a full solution to FLAC decoding or do you feel you have a superior FLAC decoder for use in mkv playback? I know you may find this question amusing - "of course mine is better!" - but I did read in the MadFLAC thread that you doubted you would be able to offer anything over and above what ffdshow offers.
That was when I wrote madFlac. Later I was told that madFlac works better than ffdshow in some cases. E.g. I got reports that ffdshow sometimes had audio drops or things like that while madFlac worked well.
Also I just checked: ffdshow seems to only output 16bit. This is a limitation of the libav decoder. libav audio processing is generally limited to 16bit (unless it is hacked to support higher bitdepths). madFlac always outputs the native bitdepth of the FLAC file.
EDIT3: Put some colors to make it more beautiful and eye catching.
Nice... :)
eac3to is great!!! No need to type any input files anymore. All being done automatically. And it's a command line program.
madshi you are my hero!!! :eek:
Thanks... :D
Tried it and it works, thanks. Is there any way to specify a path for the log file, rather than it going in the eac3to program directory? Small thing I know.
The latest eac3to version always copies the log file to the destination folder.
Roscoe62
10th April 2008, 10:43
In such a situation eac3to will fail to find the subtitle stream. Do you have a list of movies where this can happen? I need a way to reproduce such a problem on my PC, then I can fix it.
Madshi,
A good example of this happening is in Ocean's Thirteen. One of the gang are in a Mexican town and are speaking Spanish. I only cottoned on because someone I was watching it with had seen the DVD and said "err, I think there are supposed to be subtitles here".
I think the subtitles for this movie won't start until around the 37 minute mark.
Hope this helps! :)
nautilus7
10th April 2008, 11:15
Maybe the same happens to The Shining hd dvd. That's why the sort sample i uploaded in the previous page doesn't include any subs. I'll look into it.
EDIT: Yep... Subs on this evo start after 300MB. Much after 300MB. As i wrote initially, 1st.evo from that movie don't list any subs, while 2nd.evo does, as well as 1st.evo+2nd.evo combination. EVOdemux shows exactly the same behavior with the 2 evo files.
wildchild22
10th April 2008, 13:19
Okay I am making some headway on the lpcm from hd-dvd. Okay now how do the channel mapping work. I have made a .wav file and when I open it sonic scenerist detects it as a lpcm file but complains the channel mapping is wrong. I assume When I make the beowulf.eac3 file I need to add the -0,1,2,3,4,5 at the end.
Sonic expects it to be l c r ls rs lfe
so if anyone can help with the channel mapping
I think where is used the -blu-ray switch on it before it switched the order to l, r, c, sl, sr, lfe
0 1 2 3 4 5
so if my thinking is correct I need to change the order to
-0 2 1 3 4 5
DoomBot
10th April 2008, 14:22
Where did you get the LPCM file from? With which tool did you demux it? And how did you encode it to DTS? Did you use eac3to for the DTS encoding? If so, please post the eac3to log.
.
Its from Ghost Rider blu-ray and i demuxed it with tsremuxer and tried tsmuxer. I have surcode 1.0.23 for the DTS encoding and used eac3to to do this all. I even tried just getting the mono wav files with eac3to and they sound the same having the buzzing noise.
eac3to v2.39
command line: "C:\Documents and Settings\er\Desktop\HD Tools\eac3to239\eac3to.exe" "C:\Documents and Settings\er\Desktop\test\test.pcm" ".wavs"
------------------------------------------------------------------------------
This might be a RAW/PCM file. Trying to figure out the details.
This will probably take a while. Please be patient...
The RAW/PCM file seems to be big endian.
The RAW/PCM file seems to have a bitdepth of 16 bits.
The RAW/PCM file seems to have 6 channels.
RAW/PCM, 5.1 channels, 0:01:19, 16 bits, 48khz
This is probably a Blu-ray PCM track. Will remap channels accordingly.
Reading RAW/PCM...
Swapping endian...
Remapping channels...
Writing WAVs...
Creating file ".R.wav"...
Creating file ".L.wav"...
Creating file ".C.wav"...
Creating file ".SL.wav"...
Creating file ".LFE.wav"...
Creating file ".SR.wav"...
eac3to processing took 1 second.
Done.
nautilus7
10th April 2008, 14:37
1sec??? Try giving a name to the output files (output.wavs, not just .wavs).
Anyway, demux the pcm and convert it to dts in 1 step using eac3to:
eac3to input.m2ts
to list the stream numbers and then:
eac3to input.m2ts 2: output.dts
where you 'll replace 2: with the appropriate one.
DoomBot
10th April 2008, 14:48
I have done this as well converting it to dts in 1 step and get the same results. It took 1 sec because its a small test file i use from ghost rider and as far as the .wav with no name that doesnt really matter at this piont its a test and no more.
Jong
10th April 2008, 15:16
Madshi,
A good example of this happening is in Ocean's Thirteen. One of the gang are in a Mexican town and are speaking Spanish. I only cottoned on because someone I was watching it with had seen the DVD and said "err, I think there are supposed to be subtitles here".
I think the subtitles for this movie won't start until around the 37 minute mark.
Hope this helps! :)Actually although there is no foreign dialogue until well into the film, that one is fine, because they also use the subtitle stream for captions. the first one is right at the start - "Valencia, ca. 2:43am"
One good one though is Mission Impossible iii, where the first is @00:44:02.
The Simpson's movie is great - it has just has two subtitles (forced), for some tweating birds - "We're going to need more birds." and for "Santa's Little Helper" - , "I did things no dog should do". The first is @00:47:18 . That is Blu-ray so doesn't really count, but you can see that it is inevitable this will (and does) happen. We need a way of trapping it.
For DVDs I check with PgcEdit to see if there is a forced stream and if so make sure I rip it, and force it. It should be possible to interrogate HD-DVD in the same way. Isn't it?!
Jong
10th April 2008, 15:24
@Madshi, Thanks very much for your replies.
In such a situation eac3to will fail to find the subtitle stream. Do you have a list of movies where this can happen? I need a way to reproduce such a problem on my PC, then I can fix it.See above for some discs that show the problem. I see you have another from nautilus7. I must admit I just assumed EVO Demux would get it right, but it seems I was wrong about that. Still, it does really need a solution. I hope you can fix it.
That was when I wrote madFlac. Later I was told that madFlac works better than ffdshow in some cases. E.g. I got reports that ffdshow sometimes had audio drops or things like that while madFlac worked well.
Also I just checked: ffdshow seems to only output 16bit. This is a limitation of the libav decoder. libav audio processing is generally limited to 16bit (unless it is hacked to support higher bitdepths). madFlac always outputs the native bitdepth of the FLAC file.Thanks! I will add madFLAC to my guide.
The latest eac3to version always copies the log file to the destination folder.Yep, but my problem is that if I use "eac3to f:\ 1)" to simply get a stream listing I am not specifying a destination directory! Could we add it like "eac3to f:\ 1) c:\destination\log.txt" or even just "eac3to f:\ 1) c:\destination"
Rectal Prolapse
10th April 2008, 17:33
How come there is no sync issues with ''copy /b'' & tsRemux on seamless branching discs (i have made several titles like ratt, deja vu, cars, etc, with no playback problems)?
As was mentioned before, it depends on which soundtrack you are listening to.
If you chose the LPCM track, then the most overlap you will get between segments is 5 ms. So, in the case of rat, there are 8 or so (I can't remember exactly), which means you will get, at most, 40 milliseconds of audio desynchronization. And most people will not notice that.
But if you listen to the AC3 track (up to 32 ms overlap is possible), I bet you will get a desync of 100-200 ms by the end of the movie, and you WILL notice that. :)
DoomBot
10th April 2008, 19:46
So then what is the best way to encode a pcm to dts with out having problems?
nautilus7
10th April 2008, 20:09
You can also try xport to demux the pcm audio and then eac3to to encode to dts. Xport worked for many people before.
You didn't tell (or at least i can't find) what happened with the pcm to wav convertion. Does the wav sound ok?
DoomBot
10th April 2008, 20:15
You can also try xport to demux the pcm audio and then eac3to to encode to dts. Xport worked for many people before.
You didn't tell (or at least i can't find) what happened with the pcm to wav convertion. Does the wav sound ok?
No even the demuxed mono wav files sound bad and i tried xport like you said but it didnt work, it was saying error or bad frame something like that all the way through it. I really want to be able to do this i have many movies with pcm and this is the only one i have tried to convert a pcm track, i did the truehd from this movie with no problems at all sounds great but have many movies that have just pcm and would like to convert them.
Although no i did not try to demux the pcm from the movie file it self with xport maybe ill try that instead. I demuxed the pcm with tsremux i thought that was the same.
madshi
10th April 2008, 20:28
I have made a .wav file and when I open it sonic scenerist detects it as a lpcm file but complains the channel mapping is wrong. I assume When I make the beowulf.eac3 file I need to add the -0,1,2,3,4,5 at the end.
Using the eac3to channel remapping parameter won't make any difference on Scenarist accepting the file! I think Scenarist probably doesn't like the way eac3to writes the WAV file. Try rewriting the WAV file with WaveWizard.
Yep, but my problem is that if I use "eac3to f:\ 1)" to simply get a stream listing I am not specifying a destination directory! Could we add it like "eac3to f:\ 1) c:\destination\log.txt" or even just "eac3to f:\ 1) c:\destination"
Why do you need this?
So then what is the best way to encode a pcm to dts with out having problems?
The best way is to not use TsRemuxer for PCM demuxing because TsRemux is known to make problems with PCM tracks. Use xport or eac3to for demuxing. If you use eac3to, you can even demux and save to WAVs in one step.
Jong
10th April 2008, 20:41
Why do you need this?I would not describe it as urgent by any means at all, but have a look at my guide. I want to get a stream list before doing any demuxing. It is simply inelegant to have to dig this one log file out of the eac3to program folder when all other working files are somewhere else.
Logically it would make sense to be able to type "eac3to f:\ 1) c:\destination\log.txt" and have it stick the list where the others are. By the way, it might also be good if it included the title number in the name automatically e.g. "log(1).txt" so working on a second ot third title does not overwrite the stream list.
But, I do agree this is all third or fourth order stuff!
DoomBot
10th April 2008, 20:59
The best way is to not use TsRemuxer for PCM demuxing because TsRemux is known to make problems with PCM tracks. Use xport or eac3to for demuxing. If you use eac3to, you can even demux and save to WAVs in one step.
Thanks, ill give this a shot and report back.
drmpeg
10th April 2008, 23:43
Just FYI, you can use Goldwave to play raw LPCM files if there are only two channels. In xport, there's an option to output only two channels for this.
xport -h2 00052.m2ts 1 1 1
Then in Goldwave, when you open bits0001.mpa, chose file type: raw, attributes: PCM signed 16 or 24 bit, big endian, stereo and rate: 48000 in the File Format dialog box.
Ron
DoomBot
11th April 2008, 02:03
Well i finally got it, you were right madshi it was tsremux that was giving me the problem pcm file. I have successfully taken a pcm file and encoded it to a dts track and it sounds awesome!!
Thanks for help!
deathlord
11th April 2008, 11:20
Concerning lpcm:
I have had problems demuxing that with both tsremux and tsmuxer, the results were not accepted by eac3to. Now that eac3to allows demuxing of m(2)ts, this might no longer be a problem. If, for some reason, eac3to should fail demuxing, you can try the following:
Remux your files to m2ts using tsmuxer or tsremux and then use xport to demux audio or video.
The resulting files should be accepted by eac3to.
This has saved my day quite a few times for several audio and video formats.
DoomBot
11th April 2008, 14:31
I never have any luck with xport i must be doing something wrong, what is it that you have to select in that software to make it run properly?
DoomBot
11th April 2008, 16:27
How do you select what audio track you want to encode if there are more than one in the movie file?
using eac3to
Jong
11th April 2008, 20:21
Have a look at my guide here:
http://forum.slysoft.com/showthread.php?t=15543
Thunderbolt8
11th April 2008, 22:08
another little request, would it be possible to demux the truehd track (or both tracks) from an already demuxed blu-ray truehd/ac3 track, which has been created with xport? so basically a function which seperates both tracks in order to get rid of the interconnected .ac3. or can this demuxing only be done from the .evo or .m2ts source?
edit: while -demux doesnt work, i see that just specifying the truehd track as input and output seem to do this job already, am I right or would that output be somehow different if demuxing would be done from the source?
drmpeg
11th April 2008, 23:23
I never have any luck with xport i must be doing something wrong, what is it that you have to select in that software to make it run properly?
For Blu-ray files:
xport -h filename.m2ts 1 1 1
The -h is critical for .m2ts files. Otherwise, you get a zillion errors.
A couple of tricks:
1) Put xport.exe in c:\windows. That will make it work in any directory.
2) If you're not getting the audio track that you want, you can abort xport (or any command line program) with Ctrl-c. You don't have to wait for it to finish.
Ron
pbjr
12th April 2008, 05:15
Hmmmmm... Are you sure that this is not a bug in mplayer? What happens if you convert the TrueHD track to another format, e.g. to AC3? Is the channel mapping then wrong, too?
madshi,
Thank you for the reply.
I converted TrueHD -> AC-3 like you suggested. The channel mapping was correct through mplayer (ubuntu - primary os).
I then moved on and booted into Vista and tried another movie (300) with TrueHD converted to FLAC. This time using MPC HC with the madFLAC filter. The channel mapping was correct! :)
Tried the same file in VLC (windows) and the channel mapping was wrong just like the ubuntu mplayer. I believe mplayer and VLC use the same ffmpeg for decoding. Is this the problem? Are there different flac decoding filters out there?
I figured out that mplayer has the channels correct when I use eac3to with "-0,1,4,5,2,3". I had to do this with both 300 and Constantine.
Something is not right here... What do you recommend I do next?
Thanks,
PBjr.
UPDATE:
I think I figured it out. It's with mplayer. Found this in the documentation.
3.6.2.1. General information
Unfortunately, there is no standard for how channels are ordered. The orders listed below are those of AC-3 and are fairly typical; try them and see if your source matches. Channels are numbered starting with 0.
surround 5.1
0. left front
1. right front
2. left rear
3. right rear
4. center front
5. subwoofer
The_Savior
12th April 2008, 06:14
First post here. I'm a bit confused (or possibly running into issues) trying to take TrueHD and convert it to DTS. The process runs fine in eac3to and then I use mkvmerge to take and patch video and audio files together again.
Problem is when I go to run the mka file in MPC it doesn't work. I can run .evo's fine, but anything converted just hangs.
Any ideas to why this is? I'm new to all of this and most of the information is very helpful.
Thanks!
Joniii
12th April 2008, 07:31
Does Blu-ray DTS-HD tracks have this channel mapping L,R,C,BL,BR,LFE?
I extracted core from "From Hell" Blu-ray DTS-HD and muxed it into .m2ts and it seems to have correct channel mapping by default. If I use -blu-ray switch then channels seem to be wrong. Or is it so that DTS-HD core always has correct channel mapping?
tebasuna51
12th April 2008, 10:45
Does Blu-ray DTS-HD tracks have this channel mapping L,R,C,BL,BR,LFE?
Isn't the question.
Each audio format have a internal channel mapping and must be transparent to the user.
The question is: this decoder convert correctly the channel mapping from the input format to the output format?
If I use -blu-ray switch then channels seem to be wrong.
You can trust in eac3to and let defaults, this switch is only for LPCM format (raw format without header to info), madshi try detect the channel mapping but not always is easy, then you have a method to correct the problem.
Or is it so that DTS-HD core always has correct channel mapping?
Of course we need trust in this, each audio stream must have their internal channel mapping correct.
nautilus7
12th April 2008, 10:47
First post here. I'm a bit confused (or possibly running into issues) trying to take TrueHD and convert it to DTS. The process runs fine in eac3to and then I use mkvmerge to take and patch video and audio files together again.
Problem is when I go to run the mka file in MPC it doesn't work. I can run .evo's fine, but anything converted just hangs.
Any ideas to why this is? I'm new to all of this and most of the information is very helpful.
Thanks!mka? Do you mean mkv? mka is an audio only container.
Do you have haali media splitter? What decoders do you use in mpc?
Since eac3to runs without errors, it seems it's not eac3to related problem.
itsancho
12th April 2008, 13:46
hi all, again!
eac3to v2.39
command line: eac3to FEATURE_1.evo+FEATURE_2.evo 2: "I:\el.video.mkv" 3: "D:\z\el.audio.thd" 4: "D:\z\el.audio.eac3"
------------------------------------------------------------------------------
EVO, 1 video track, 4 audio tracks, 3 subtitle tracks, 1:54:51
1: Joined EVO file
2: VC-1, 1080p24 /1.001 (16:9)
3: TrueHD, 5.1 channels, 48khz, dialnorm: -27dB, -1ms
4: E-AC3, 5.1 channels, 384kbit/s, 48khz, dialnorm: -27dB, -8ms
5: E-AC3, 5.1 channels, 384kbit/s, 48khz, dialnorm: -27dB, -8ms
6: E-AC3, 2.0 channels, 192kbit/s, 48khz, dialnorm: -27dB, -8ms
7: Subtitle
8: Subtitle
9: Subtitle
Extracting primary video track...
Muxing video to Matroska...
Extracting audio track number 3...
Extracting audio track number 4...
Removing dialog normalization...
Applying (E-)AC3 delay...
Removing dialog normalization...
Creating file "D:\z\el.audio.thd"...
Creating file "D:\z\el.audio.eac3"...
Added fps value to MKV header.
Video track 2 contains 165207 frames.
eac3to processing took 12 minutes, 54 seconds.
Done. Everything is OK, but file "D:\z\el.audio.thd" is named "D:\z\el.audio DELAY 98ms.thd"?!
The_Savior
12th April 2008, 14:16
mka? Do you mean mkv? mka is an audio only container.
Do you have haali media splitter? What decoders do you use in mpc?
Since eac3to runs without errors, it seems it's not eac3to related problem.
I meant to say .mkv.
I'm using the following decoders in MPC
- Haali Media Splietter (AR)
- ffdshow Audio Decoder
- CyberLink H.264/AVC Decoder PDVD7.x
- Sonic Cinemaster Audio Decoder 4.3.0
- ffdshow Video Decoder
- Sonic Cinemaster Video Decoder 4.3.0
As mentioned when I play the standard .evo files sound and playback are fantastic (35% cpu). When I use the eac3to the file completes fine (see below). When combined to the .mkv extension I drag it into MPC and it just sits there. I can play the video.mkv that is created blow (without sound) and it works. I just seems when I mesh the .mkv and .dts track together that it hangs.
C:\eac3to>eac3to.exe y:\3001.evo+y:\3002.evo 2: d:\video.mkv 5: d:\audio.dts -li
bav -24
EVO, 2 video tracks, 5 audio tracks, 4 subtitle tracks, 1:56:33
1: Joined EVO file
2: VC-1, 1080p24 /1.001 (16:9)
3: VC-1, 480p30 /1.001 (3:2)
4: E-AC3, 5.1 channels, 640kbit/s, 48khz, dialnorm: -27dB
5: TrueHD, 5.1 channels, 48khz, dialnorm: -27dB
6: E-AC3, 5.1 channels, 640kbit/s, 48khz, dialnorm: -27dB
7: E-AC3, 5.1 channels, 640kbit/s, 48khz, dialnorm: -27dB
8: E-AC3, 2.0 channels, 192kbit/s, 48khz, dialnorm: -27dB
9: Subtitle
10: Subtitle
11: Subtitle
12: Subtitle
Extracting primary video track...
Muxing video to Matroska...
Extracting audio track number 5...
Removing dialog normalization...
Writing WAVs...
Creating file "d:\audio.L.wav"...
Creating file "d:\audio.SL.wav"...
Creating file "d:\audio.C.wav"...
Creating file "d:\audio.R.wav"...
Creating file "d:\audio.SR.wav"...
Creating file "d:\audio.LFE.wav"...
[libav] End of stream indicated
Found Surcode DTS Encoder version 1.0.21.0.
Surcode encoding successfully started. Please wait...
Closing Surcode...
Added fps value to MKV header.
Video track 2 contains 167654 frames.
Video track 3 contains 209566 frames.
eac3to processing took 44 minutes, 8 seconds.
Surcode encoding took 16 minutes, 19 seconds.
Done.
Do I need Nero 7 for any of this if I'm just encoding to .dts?
Thanks again!
nautilus7
12th April 2008, 15:07
Does the dts playback alone? Which audio decoder have you set up as primary in mpc (which decoder is trying to decode)?
If it's sonic, change to ffdshow.
You don't need nero, for truehd to dts.
The_Savior
12th April 2008, 15:16
Answer: No, it does not play it alone. From the help of DoomBot I tried tsmuxer and it told me that "Can't detect stream type" from the .dts file.
That's telling me something didn't go right with the conversion process.
ffdshow audio merit is set to: 007000000
Sonic is set to: 00805000
Not sure which order they work in, but ffdshow is set before Sonic in the external filters property.
deathlord
12th April 2008, 16:29
The_Savior,
have look at this (http://www.avsforum.com/avs-vb/showthread.php?t=892527).
I'm sure it's going to help you and it is certainly also a better place to discuss MPC.
The_Savior
12th April 2008, 16:43
Thanks Death, but I have .evo's working in MPC.
It's the conversion of the TrueHD to DTS that is causing my pain. I think it may be something wrong that I'm doing with with the actual conversion process (possibly wrong settings).
MPC is working great with everything else.
NEW UPDATE:
I was able to export the .wavs and test them within Windows Media Player successfully, but they will not play independently within MPC so it appears it could be a codec issue? I can play the mkv file within VLC so it must be a codec issue with MPC.
Chumbo
12th April 2008, 20:13
@madshi,
Regarding the logging. I ran into a problem today as I was working on multiple files. One was a long running transcode, the other finished, but the log that was created in the destination was for the first process that was still running.
It would really be great if you can provide a switch for logging so we can specifically request the log file location. If the switch isn't used, then fall back to the eac3to generic log. The switch would allows us to specify a log even when we don't have a destination. Thanks so much for considering it.
Beastie Boy
13th April 2008, 07:44
hi all, again!
Everything is OK, but file "D:\z\el.audio.thd" is named "D:\z\el.audio DELAY 98ms.thd"?!
eac3to cannot correct the delay of THD files, but writes the required delay into the file name. If you then want to process or mux the file later, you know what delay to apply.
Cheers, Beastie.
nautilus7
13th April 2008, 08:33
You misunderstood his post... eac3to reportd -1ms delay for that track, not 98ms.
Denner
13th April 2008, 09:59
Hi, I am starting on re encoding an muxing my Blu-Ray discs to MKV with FLAC audio, have done this with a lot of HD-DVD, but now I have a question regarding LPCM audio:
When encoding a LPCM track to FLAC, I end up with a wery small file size, about 1gb, the LPCM file is about 4gb, why is that ?
I know FLAC does lossless compression, but not that much, right ?
When I encode a Dolby TrueHD (same audio track) file to FLAC, the file size is a lot bigger, and that confuses me a lot :confused:
Please help me understand what I am doing wrong :thanks:
Bluestraw
13th April 2008, 14:01
Ok, been tearing my hair out all morning on this one... Help would be MUCH appreciated!
I'm trying to remux the Celine Dion BD. I've successfully run this process countless times for movies, but this is the first time I don't have a 23.976 fps source, so I guess that's somehow causing the issue...
My process is:
1. Use 'eac3to 00000.m2ts video.mkv' to produce video mkv and flac
2. Use MKVMerge to combine the video.mkv with the flac I want.
The playback of the output is like slow motion and full of stutter. Disabling the video output gives perfect FLAC playback - somehow I think something is up with the video framerate. I set my display to 59.94, but the way the audio stutters it's more than a display issue I think.
eac3to reports the video spec as :
1: VC-1, 1080i60 /1.001 (16:9)
Any ideas what I can try?!
EDIT - Playing back the video-only MKV file output from eac3to, seems to be running about half speed. Maybe something with the timestamps?
nautilus7
13th April 2008, 15:18
Hi, I am starting on re encoding an muxing my Blu-Ray discs to MKV with FLAC audio, have done this with a lot of HD-DVD, but now I have a question regarding LPCM audio:
When encoding a LPCM track to FLAC, I end up with a wery small file size, about 1gb, the LPCM file is about 4gb, why is that ?
I know FLAC does lossless compression, but not that much, right ?
When I encode a Dolby TrueHD (same audio track) file to FLAC, the file size is a lot bigger, and that confuses me a lot :confused:
Please help me understand what I am doing wrong :thanks:
Which movie is this? What is the duration? What is the bitdepth of the pcm track?
Generally it IS possible to get flac tracks at ~1GB. Don't forget that pcm is uncompressed audio.
I have get a lot of truehd to flac tracks around 1GB. If the track sounds ok, don't worry.
rack04
13th April 2008, 17:05
What is the command line to convert the only the first audio (eac3) to ac3 and then mux with the first video (h264) into a mkv?
madshi
13th April 2008, 17:44
another little request, would it be possible to demux the truehd track (or both tracks) from an already demuxed blu-ray truehd/ac3 track, which has been created with xport? so basically a function which seperates both tracks in order to get rid of the interconnected .ac3. or can this demuxing only be done from the .evo or .m2ts source?
Sure: "eac3to source.thd dest.thd dest.ac3". This will split the combined TrueHD/AC3 source into two separate files, one containing only the TrueHD data blocks, the other only containing the AC3 frames.
I converted TrueHD -> AC-3 like you suggested. The channel mapping was correct through mplayer (ubuntu - primary os).
So that means that the channel order in the original TrueHD file is correct and also eac3to decodes it correctly. The only problem seems to be either the FLAC encoding or the FLAC decoding. Now FLAC uses the standard (WAV) channel ordering, which is also the channel ordering which eac3to uses internally. So I don't really see where I could be doing something wrong with the channel order during encoding. I rather think that mplayer has a bug with FLAC decoding.
Tried the same file in VLC (windows) and the channel mapping was wrong just like the ubuntu mplayer. I believe mplayer and VLC use the same ffmpeg for decoding. Is this the problem? Are there different flac decoding filters out there?
I think VLC and mplayer are at fault. Maybe you could ask on the VLC / mplayer forums?
surround 5.1
0. left front
1. right front
2. left rear
3. right rear
4. center front
5. subwoofer
This is not the correct FLAC channel ordering!
First post here. I'm a bit confused (or possibly running into issues) trying to take TrueHD and convert it to DTS. The process runs fine in eac3to and then I use mkvmerge to take and patch video and audio files together again.
Problem is when I go to run the mka file in MPC it doesn't work. I can run .evo's fine, but anything converted just hangs.
Maybe the DTS file has still padding in it? Try running the DTS file another time through eac3to by doing "eac3to source.dts anothertry.dts". Does that fix the problem?
hi all, again!
Everything is OK, but file "D:\z\el.audio.thd" is named "D:\z\el.audio DELAY 98ms.thd"?!
Sometimes eac3to initially detects the TrueHD delay wrong. You can trust in that the file name is correct and not the initial listing. This may be fixed by v2.39 (not sure).
When encoding a LPCM track to FLAC, I end up with a wery small file size, about 1gb, the LPCM file is about 4gb, why is that ?
4GB LPCM sounds like a typical 16bit LPCM track. 16bit LPCM compresses extremely well with FLAC. The end result is typically somewhere between 900MB and 1.5GB. 6GB LPCM would be a typical size of a 24bit LPCM track (of course the real size depends on the runtime of the movie!). 24bit LPCM tracks don't compress as well with either FLAC or TrueHD.
I know FLAC does lossless compression, but not that much, right ?
Yes - that much!! But only for 16bit LPCM tracks...
When I encode a Dolby TrueHD (same audio track) file to FLAC, the file size is a lot bigger, and that confuses me a lot :confused:
Probably the TrueHD track has more than 16bit in it. And TrueHD is already losslessly compressed. So if you transcode TrueHD to FLAC the size will not change much.
It's usual for a TrueHD track to have more bitdepth compared to an LPCM track on the same disc. E.g. Sony likes to do that.
I'm trying to remux the Celine Dion BD. I've successfully run this process countless times for movies, but this is the first time I don't have a 23.976 fps source, so I guess that's somehow causing the issue...
My process is:
1. Use 'eac3to 00000.m2ts video.mkv' to produce video mkv and flac
2. Use MKVMerge to combine the video.mkv with the flac I want.
The playback of the output is like slow motion and full of stutter. Disabling the video output gives perfect FLAC playback - somehow I think something is up with the video framerate. I set my display to 59.94, but the way the audio stutters it's more than a display issue I think.
eac3to reports the video spec as :
1: VC-1, 1080i60 /1.001 (16:9)
Which VC-1 decoder are you using? I'm generally having major performance issues with the MS VC-1 decoder on interlaced content. Does the original m2ts file play fluidly for you in the same media player and with the same decoder with which the MKV stutters?
What is the command line to convert the only the first audio (eac3) to ac3 and then mux with the first video (h264) into a mkv?
Depends on what contents your EVO file has. You should first list the tracks by using "eac3to whatever.evo". Then go from there by doing "eac3to whatever.evo videotracknumber: video.mkv audiotracknumber: audio.ac3".
rack04
13th April 2008, 17:54
Depends on what contents your EVO file has. You should first list the tracks by using "eac3to whatever.evo". Then go from there by doing "eac3to whatever.evo videotracknumber: video.mkv audiotracknumber: audio.ac3".
EVO, 2 video tracks, 3 audio tracks, 6 subtitle tracks, 0:57:21
1: h264/AVC, 1080p24 /1.001 (16:9)
2: h264/AVC, 480p24 /1.001 (15:11), 1618ms
3: E-AC3, English, 5.1 channels, 1536kbit/s, 48khz, dialnorm: -27dB, -92ms
4: E-AC3, French, 5.1 channels, 768kbit/s, 48khz, dialnorm: -27dB, -92ms
5: E-AC3, Spanish, 5.1 channels, 768kbit/s, 48khz, dialnorm: -27dB, -92ms
6: Subtitle, English
7: Subtitle, English
8: Subtitle, French
9: Subtitle, Spanish
10: Subtitle, French
11: Subtitle, Spanish
So I want track 1 video and track 3 audio. So how would I convert track 3 to ac3 using -libav since I don't have nero and mux with track 1 in mkv? Thanks.
madshi
13th April 2008, 17:58
So I want track 1 video and track 3 audio. So how would I convert track 3 to ac3 using -libav since I don't have nero and mux with track 1 in mkv? Thanks.
eac3to source.evo 1: video.mkv 3: audio.ac3 -libav
This will give you an MKV file with the video track in it and a separate AC3 file with the first audio track in it - transcoded from E-AC3 to AC3. You will need to use the freeware mkvtoolnix to combined video and audio into one MKV file. eac3to currently doesn't do that for you.
madshi
13th April 2008, 18:00
eac3to v2.40 released
http://madshi.net/eac3to.zip
* added: video framecount is now also shown for TS/M2TS demuxing/remuxing
* added: "-check" option added to check container for corruption
* fixed: TS/M2TS: discontinuity check sometimes fired false alarms
* fixed: HD DVD subtitle language/description was not always correct
* changed: title listing is only shown if there are at least 2 titles
* changed: if there is only one title, the title is automatically selected
* fixed: TS/M2TS audio delay detection was broken
* changed: improved audio delay detection for broadcasts and badly mastered discs
* fixed: TS/M2TS video demuxing could eventually add some invalid data
* added: new option "log=c:\whatever\log.txt" specifies the log file path/name
Only some bugfixes and minor improvements this week.
Chumbo
13th April 2008, 18:05
eac3to v2.40 released
http://madshi.net/eac3to.zip
...
* added: new option "log=c:\whatever\log.txt" specifies the log file path/name
Only some bugfixes and minor improvements this week.
A big, BIG thank you for the log option. :)
Bluestraw
13th April 2008, 18:11
Which VC-1 decoder are you using? I'm generally having major performance issues with the MS VC-1 decoder on interlaced content. Does the original m2ts file play fluidly for you in the same media player and with the same decoder with which the MKV stutters? The original m2ts file does play fluidly. I tried demuxing with xport but then found that mkvmerge doesn't accept VC1 files, and gdsmux seems to 'stick' at 0%. It's been bugging me all day - tried various things, specifying timecode files in mkvmerge etc, still no luck. Also tried FFDShow's decoder, same result. Tried latest Haali, same result.
madshi
13th April 2008, 18:15
The original m2ts file does play fluidly.
With which decoder and in which media player?
rack04
13th April 2008, 18:19
eac3to source.evo 1: video.mkv 3: audio.ac3 -libav
This will give you an MKV file with the video track in it and a separate AC3 file with the first audio track in it - transcoded from E-AC3 to AC3. You will need to use the freeware mkvtoolnix to combined video and audio into one MKV file. eac3to currently doesn't do that for you.
Thanks what I thought. How is the delay handled because I'm have issues with the audio being out of sync?
Bluestraw
13th April 2008, 18:23
With which decoder and in which media player?WM Decoder, MPC, Haali (version before latest - though I tried latest as well with same result. Latest version no good for me due to the LPCM 'noise' issue). Also the BD itself plays flawlessly in PDVD and Arcsoft. Though I get no audio playback on the orignal m2ts in MPC - it's TrueHD. Not relevant probably, but just to complete the information.
madshi
13th April 2008, 19:29
Thanks what I thought. How is the delay handled because I'm have issues with the audio being out of sync?
audio delay should automatically be taken care of. For whatever reason this fails to work correctly on a few titles. But for most titles it works just fine.
WM Decoder, MPC, Haali
Hmmmmm... Then it probably is an eac3to problem. It will be difficult to fix for me, though, because my PC doesn't seem to like interlaced VC-1 HD content at all. With MPC, Haali and MS VC-1 decoder every 1080i60 VC-1 content stutters a lot for me.
Also the BD itself plays flawlessly in PDVD and Arcsoft.
That has no meaning because they use different splitters and decoders.
Bluestraw
13th April 2008, 19:38
Hmmmmm... Then it probably is an eac3to problem. It will be difficult to fix for me, though, because my PC doesn't seem to like interlaced VC-1 HD content at all. With MPC, Haali and MS VC-1 decoder every 1080i60 VC-1 content stutters a lot for me.Do you have any suggestions of other things I could try as workarounds, or maybe to help pinpoint where the error lies? I'm happy to do various testing if that helps you out?
EDIT - Seems I was wrong, the original m2ts playback IS also wrong. It runs smoothly, but seems to run half-speed. Since there was no audio playing, I didn't spot it since it looked smooth.
Same result in FFDshow. Don't suppose there is another VC1 decoder that works with interlaced content? I realise it's not an eac3to question, so I promise I won't ask it again if I'm ignored ;)
Thunderbolt8
13th April 2008, 19:46
eac3to v2.40 released
thanks once again!
TripleH
13th April 2008, 20:17
Hi,
What is the best way to mux blu-ray movies with seamless branching / multiple parts into mkv with the audio being converted to FLAC ?
Does eac3to able to work with multiple parts blu-ray movies just like it does with HD-DVD or should I use the copy /b method ?
In case I should use the copy b option, should I also run it through TsRemux after ?
Thanks.
Thunderbolt8
13th April 2008, 20:36
not yet, but it should be comming soon. best would be to wait with seamless branching until then
Thunderbolt8
13th April 2008, 21:36
i noticed that some blu-rays and tv sources have an ac3 delay of +/- 10 to 20 ms, which is not a full ac3 frame. what is done is such cases when I demux the audio, its rounded up or down to whereever it comes closest to 32? how can such a delay be in a (m2)ts file then and play completely in sync if it cant when muxing to .mkv? would there be a difference if I didnt demux, but just remux it all into .mkv without "dropping" it, will the delay then be the same as in the source? if not, is there actually a way not to have eac3to apply a delay at all at demuxing, for example when prefering to add this delay manually with mpc (i know its most likely not noticeable, but still)
btw. I noticed that when decoding a dtshd ma track to flac which has a delay then eac3to reports 'applying dts delay', although dts frames arent as well able to be delayed to 1ms specificly. wouldnt it make more sense then just to keep in mind the delay value and apply it to the flac afterwards, since it can be done there up to 1ms correctly?
rica
13th April 2008, 21:56
Hi guys,
i need your help.
I can't re-encode eac3 (of HD DVDs) to ac3 with eac3to (ver. 2.4.0.0)
Nero version 7.10.1.2
AnyDVD HD trial version 6.4.1.2
First i demuxed EVO with TSMuxer 1.7.2.b and gave it a go:
I got this:
http://img504.imageshack.us/img504/7186/eac3to01wo4.th.jpg (http://img504.imageshack.us/my.php?image=eac3to01wo4.jpg)
Log:
http://img504.imageshack.us/img504/6977/eac3to0102tq6.th.jpg (http://img504.imageshack.us/my.php?image=eac3to0102tq6.jpg)
OK, i tried DelayCut to fix:
http://img390.imageshack.us/img390/7311/eac3to02tn5.th.jpg (http://img390.imageshack.us/my.php?image=eac3to02tn5.jpg)
Encoding fixed file gave me:
http://img504.imageshack.us/img504/8479/eac3to03zs1.th.jpg (http://img504.imageshack.us/my.php?image=eac3to03zs1.jpg)
And this is the bug report:
http://img504.imageshack.us/img504/2925/eac3to04jv1.th.jpg (http://img504.imageshack.us/my.php?image=eac3to04jv1.jpg)
Second, i tried demuxing with TSRemux V.0.0.20.0
That time it didn't want DelayCut and i started eac3to.
Again crash and this is the bug report:
http://img504.imageshack.us/img504/4203/eac3tonewym4.th.jpg (http://img504.imageshack.us/my.php?image=eac3tonewym4.jpg)
Thanks in advance.
NB: The trial HD DVD was Terminator 3.
BLKMGK
13th April 2008, 22:20
Why are you demuxing with something other than eac3to? My process is to put HD-DVd in drive with AnyDVD running, point top it with eac3to, get the track listing, then pull the desired video out to a MKV and grab the desired audio to an AC3. Compress with meGUI using x264, merge with MKVmerge, done. 20+ movies and I've had zero issues with the output. Only weird one was the first Harry Potter, still not figured that one out. http://forum.doom9.org/showthread.php?t=135361
rica
13th April 2008, 22:33
Thanks, i'll try with your method.
rack04
13th April 2008, 22:48
Why are you demuxing with something other than eac3to? My process is to put HD-DVd in drive with AnyDVD running, point top it with eac3to, get the track listing, then pull the desired video out to a MKV and grab the desired audio to an AC3. Compress with meGUI using x264, merge with MKVmerge, done. 20+ movies and I've had zero issues with the output. Only weird one was the first Harry Potter, still not figured that one out. http://forum.doom9.org/showthread.php?t=135361
For AVC do you extract the h264 from the MKV and use DGAVCIndex or just create a script for the MKV file?
rica
13th April 2008, 23:08
BLKMGK,
This time i demuxed to ac3 directly from EVO created by AnyDVD via Eac3to.
Here is the log; problem is still going on:
http://img504.imageshack.us/img504/6006/blkmgcyo2.jpg
The_Savior
14th April 2008, 01:28
Thanks for all the replies. After a few more issues / hours I tried a few different items and it appears I've resolved the problem. Audio and video play now.
Small problem with Top Gun yet. Audio is out of sync by a second or less. I'm going try and run through it again to see if will resolve the issue.
scarbrtj
14th April 2008, 04:03
Do you have any suggestions of other things I could try as workarounds, or maybe to help pinpoint where the error lies? I'm happy to do various testing if that helps you out?
EDIT - Seems I was wrong, the original m2ts playback IS also wrong. It runs smoothly, but seems to run half-speed. Since there was no audio playing, I didn't spot it since it looked smooth.
Same result in FFDshow. Don't suppose there is another VC1 decoder that works with interlaced content? I realise it's not an eac3to question, so I promise I won't ask it again if I'm ignored ;)
This may work; it's worked for me in the past.
Use GraphEdit. Use the Haali media splitter on the m2ts file (insert directshow filter, etc.). Then, insert the Haali Matroska muxer and link up the video and audio.
See if the resulting .mkv file works for you.
I don't know if vc1conv would work on your elementary VC-1 file but that might be worth a shot too.
Denner
14th April 2008, 06:56
4GB LPCM sounds like a typical 16bit LPCM track. 16bit LPCM compresses extremely well with FLAC. The end result is typically somewhere between 900MB and 1.5GB. 6GB LPCM would be a typical size of a 24bit LPCM track (of course the real size depends on the runtime of the movie!). 24bit LPCM tracks don't compress as well with either FLAC or TrueHD.
Yes - that much!! But only for 16bit LPCM tracks...
Wow and thanks for the quick awnsers, I get uncompressed 16bit audio at only 1gb for a whole movie, a shame that FLAC is not an official codec on Blu-Ray, think of all the space they could save on audio and use on the video :eek:
Denner
14th April 2008, 07:06
Thanks for all the replies. After a few more issues / hours I tried a few different items and it appears I've resolved the problem. Audio and video play now.
Small problem with Top Gun yet. Audio is out of sync by a second or less. I'm going try and run through it again to see if will resolve the issue.
I solved it by demuxing the audio with EVOdemux, and not applying any audio delay, and then encoding the audio with eac3to, and my version of Top Gun is now in perfect sync :)
G_M_C
14th April 2008, 07:56
[...]
think of all the space they could save on audio and use on the video :eek:
There's plenty of space in a 2-layer BR. So much even, that they dont really need the extra space saved ;)
And authoring-wise/production-wise it's not even really expensive splitting a movie into 2 disks. That proves to be much less hassel and much cheaper than implementing/planning for/use of another codec in the BR-specs.
madshi
14th April 2008, 07:58
EDIT - Seems I was wrong, the original m2ts playback IS also wrong. It runs smoothly, but seems to run half-speed.
Heh... ;)
Same result in FFDshow. Don't suppose there is another VC1 decoder that works with interlaced content?
The Cyberlink VC-1 decoder does. Unfortunately it's difficult to make it work outside of PowerDVD.
i noticed that some blu-rays and tv sources have an ac3 delay of +/- 10 to 20 ms, which is not a full ac3 frame. what is done is such cases when I demux the audio, its rounded up or down to whereever it comes closest to 32?
Yes.
how can such a delay be in a (m2)ts file then and play completely in sync if it cant when muxing to .mkv?
Because no normal consumer would ever be able to spot an audio sync mismatch of 16ms. Actually I'm not sure if even all HD DVD and Blu-Ray movies were authored with a perfect audio sync! Also audio sync is affected by which splitters you're using. E.g. if I play external audio tracks together with an MKV video track, audio sync is -80ms on my PC compared to muxing everything to an MKV and playing that. Don't know why...
if not, is there actually a way not to have eac3to apply a delay at all at demuxing
Sure. Just check the delay noted in the eac3to track listing, then use the opposite value as delay correction. E.g. if eac3to lists "-84ms" for an audio track, do "eac3to source.evo 3: audio.eac3 +84ms". This will make eac3to not apply any audio delay.
btw. I noticed that when decoding a dtshd ma track to flac which has a delay then eac3to reports 'applying dts delay', although dts frames arent as well able to be delayed to 1ms specificly. wouldnt it make more sense then just to keep in mind the delay value and apply it to the flac afterwards, since it can be done there up to 1ms correctly?
DTS frames are often only 10ms long. So the max that you can go wrong is 5ms. There are so many things affecting audio sync I really think that 5ms is totally neglectable.
Look, delaycut has been used for ages by the home cinema crowd. I cannot remember anyone worrying about delaycut being "unexact". But still delaycut had the very same problem of only being able to sync up to audio frames.
I can't re-encode eac3 (of HD DVDs) to ac3 with eac3to (ver. 2.4.0.0)
Are you sure that the rip is really clean? I'd suggest reripping by using the AnyDVD ripping tool. Then please try again.
And this is the bug report
Thanks. But I'd really need to full bug report. You can email that to me.
This time i demuxed to ac3 directly from EVO created by AnyDVD via Eac3to.
Here is the log; problem is still going on:
That is actually quite strange. eac3to seems to abort processing without saying why. Never saw such an effect yet! :eek:
Wow and thanks for the quick awnsers, I get uncompressed 16bit audio at only 1gb for a whole movie, a shame that FLAC is not an official codec on Blu-Ray, think of all the space they could save on audio and use on the video :eek:
Well, TrueHD is not much worse, either. 16bit TrueHD tracks are also very small. Anyway, Amir (Microsoft, retired) was once asked why FLAC wasn't used for HD DVD / Blu-Ray. He said something like that those consumer device companies generally don't like open source solutions so much cause if there is any trouble whom can they contact for help/clarification? With e.g. TrueHD they get very exact specifications from Dolby together with reference code and help implementing everything. They also get hardware decoding chips from Sigma Designs/Broadcom and if everything goes wrong, they get full support from all participating companies.
I solved it by demuxing the audio with EVOdemux, and not applying any audio delay, and then encoding the audio with eac3to, and my version of Top Gun is now in perfect sync :)
Strange. What audio delay did eac3to show in its track listing?
Denner
14th April 2008, 08:37
Can't really remember, but i think it was -87ms or -84ms or something like that, but I can rip it again and check, if you want me to ?
madshi
14th April 2008, 09:16
Can't really remember, but i think it was -87ms or -84ms or something like that, but I can rip it again and check, if you want me to ?
On my Top Gun HD DVD it seems to be -84ms. So it seems that our discs are identical. I'll have to check this one. Haven't remuxed Top Gun yet. What you say sounds quite a bit strange. I mean if eac3to shows -84ms but the final audio track is a full second off sync. And if demuxing the audio track with EvoDemux results in correct audio sync then there's something funny going on. The difference between eac3to and EvoDemux should only be -84ms. But from what you're saying, the difference seems to be a full second!
rica
14th April 2008, 11:52
Hi madshi, thanks for the response.
I tried ripping twice.(with AnyDVD HD )
Rip is clean.
I gonna send you the log by email this evening.
Bluestraw
14th April 2008, 12:19
Heh... ;)
The Cyberlink VC-1 decoder does. Unfortunately it's difficult to make it work outside of PowerDVD.Yeah, I did some more digging on this and found some potentially helpful link on another site, though I can't make it work. Anyone managed to get the filter working outside PDVD? Also seems the latest ffmpeg filter in MPC doesn't like interlaced VC1, but maybe they'll fix that soon.
This may work; it's worked for me in the past.
Use GraphEdit. Use the Haali media splitter on the m2ts file (insert directshow filter, etc.). Then, insert the Haali Matroska muxer and link up the video and audio.
See if the resulting .mkv file works for you.
I don't know if vc1conv would work on your elementary VC-1 file but that might be worth a shot too.Unfortunately both those things didn't work :(
Zelos
14th April 2008, 15:48
@ Bluestraw
did you try with tsmuxer ?
Jong
14th April 2008, 16:13
A big, BIG thank you for the log option. :)Yes. A big thank you from me also. :)
Jong
14th April 2008, 16:15
eac3to v2.40 released
http://madshi.net/eac3to.zip
* added: video framecount is now also shown for TS/M2TS demuxing/remuxing
* added: "-check" option added to check container for corruption
* fixed: TS/M2TS: discontinuity check sometimes fired false alarms
* fixed: HD DVD subtitle language/description was not always correct
* changed: title listing is only shown if there are at least 2 titles
* changed: if there is only one title, the title is automatically selected
* fixed: TS/M2TS audio delay detection was broken
* changed: improved audio delay detection for broadcasts and badly mastered discs
* fixed: TS/M2TS video demuxing could eventually add some invalid data
* added: new option "log=c:\whatever\log.txt" specifies the log file path/name
Only some bugfixes and minor improvements this week.Hi Madshi,
Thanks for this release. Can you say if the subtitle issue (not starting within 300MB) is something you plan on fixing in a future release?
Bluestraw
14th April 2008, 16:45
@ Bluestraw
did you try with tsmuxer ?I did play around with tsmuxer, but to no avail. I think it's rather the interlaced VC1 playback that's broker for the WMDecoder - or is there something I can do with tsmuxer that may help?
Denner
14th April 2008, 17:52
On my Top Gun HD DVD it seems to be -84ms. So it seems that our discs are identical. I'll have to check this one. Haven't remuxed Top Gun yet. What you say sounds quite a bit strange. I mean if eac3to shows -84ms but the final audio track is a full second off sync. And if demuxing the audio track with EvoDemux results in correct audio sync then there's something funny going on. The difference between eac3to and EvoDemux should only be -84ms. But from what you're saying, the difference seems to be a full second!
Yup it sounds right, my disc is the EU release, it is 100% sync now after I used EvoDemux and encoded it with eac3to, but it is very strange indeed :rolleyes:
DoomBot
14th April 2008, 18:25
For a Truehd track if you dont force decoder to libav and you dont have nero plug-in will eac3to auto decode Truehd using libav, and not just take the 640 core and encode that to 1536 dts bit rate?
nautilus7
14th April 2008, 18:37
Default TrueHD decoder IS libav. So, not setting any decoder equals to libav when dealing with TrueHD.
Only Blu-ray TrueHD tracks have a AC3 core. HD DVD TrueHD tracks are plain TrueHD.
Despite that, what you said about eac3to talking only the core to encode to dts, makes no sense. AC3 core, even if it existed, it would need to be decoded somehow, so...
DoomBot
14th April 2008, 18:45
Default TrueHD decoder IS libav. So, not setting any decoder equals to libav when dealing with TrueHD.
Only Blu-ray TrueHD tracks have a AC3 core. HD DVD TrueHD tracks are plain TrueHD.
Despite that, what you said about eac3to talking only the core to encode to dts, makes no sense. AC3 core, even if it existed, it would need to be decoded somehow, so...
Cool thats all i wanted to know. :thanks:
madshi
14th April 2008, 19:22
Can you say if the subtitle issue (not starting within 300MB) is something you plan on fixing in a future release?
Sooner or later, yes.
Warrex
14th April 2008, 20:43
Yeah, that 300MB thing is also important for me.
Jong
14th April 2008, 22:31
Sooner or later, yes.:thanks:
rack04
15th April 2008, 17:15
Can anyone tell me what the default decoders are?
In the first post it states:
For best AC3, E-AC3 and TrueHD decoding you need:
(1) Nero 7 (Nero 8 won't work!)
(2) Nero HD-DVD / Blu-Ray plugin
For best DTS decoding you need:
(1) "Sonic Cinemaster Audio Decoder 4.3" DirectShow filter
For DTS encoding you need:
(1) SurCode DVD DTS - version 1.0.21 or newer
But in the same post it states that the default decoders used by eac3to are:
(E-)AC3: Nero
TrueHD: libav/ffmpeg
DTS(-HD): Sonic
nautilus7
15th April 2008, 18:32
Default decoders are those mentioned in the 1st post. The 2nd quotation you posted.
Regarding BEST TrueHD decoding, 1st post is wrong (outdated). Best is the libav decoder, that's why it's the default one.
To summarize:
TrueHD: Libav
AC3, E-AC3: Nero
DTS, DTS-HD: Sonic
Those are defaults AND best. Libav is somewhat worse (quality wise) for AC3, E-AC3, DTS than the defaults, but it's free. Sonic is the ONLY one that can decode DTS-HD tracks (not just the core).
himan2001
15th April 2008, 22:55
Madschi...
can you please update the aften lib/dll to the latest version, including the optimizeings for Dual/Quadcore (SSE2 and above) ?
Actual Version runs very slow in AC-encoding and is not using
all CPU-Cores :(
Thx.
nautilus7
15th April 2008, 23:45
You can download aften R723 and replace the one included in eac3to package with the cpu optimized one. Don't use R762, won't work.
http://sourceforge.net/project/showfiles.php?group_id=183195
There's no point eac3to to come with any optimized build as not everybody have the same cpu.
mikeathome
16th April 2008, 13:55
I apologize if the question has been ask before, I simply failed to read through 217 pages, sorry...
I tried to re-mux a 'home-bread' 1280x720@60/1001fps (pulldown from 24/1001) into a MKV container with eac3to v2.40.
- Video is: VC-1, 1280x720, 60/1001fps, created with Sonic CineVision 2.0.2 from a VC-1, 1920x1080, 24/1001
- Audio is: DD AC3, 5.1, 448kbps
- HD-DVD (EVOB) was created using Sonic ACA 4.12
Findings on command eac3to file.evo 1: file.mkv
On the first run eac3to reports gaps (a lot) and writes a gaps.log. The resulting MKV is playable but at twice the speed. On the second run eac3to inserts 'filler' which creates a stuttering video.
Q: Is there a way to respect the pulldown flags on VC-1 based video streams as well? I know it works on h.264 video as I have done this before. Almost same work flow with one exemption the video compressor.
Thanks for this wonderful program!
mike
P.S.
ne1 knows why mkvmerge does not accept VC-1 ES streams? The only reason why I go this way is, because I didn't had any success.
nautilus7
16th April 2008, 17:49
What is the framerate the video is been played at? 59,94? Which decoder and renderer do you use for playback? Try different ones. In my case, with Galapagos which is 29,97 interlaced, the video was played at 59,94 with WMR9 and Haali renderers, but at 29,97 with EVR.
Chumbo
16th April 2008, 19:04
@madshi,
The log option doesn't seem to be working. I've tried the following and none created the log file:
eac3to bdmv\stream\00001.m2ts log="K:\HD MOVIES\info.txt"
eac3to bdmv\stream\00001.m2ts /log="K:\HD MOVIES\info.txt"
eac3to bdmv\stream\00001.m2ts -log="K:\HD MOVIES\info.txt"
This one worked, but created a file named .txt (no filename) in the folder where I ran the eac3to command. So location is right, filename is not.
eac3to bdmv\stream\00028.m2ts /log=info.txt
This one worked, but created a file named o.txt. I think I see a pattern here. ;)
eac3to bdmv\stream\00028.m2ts /log="info.txt"
[EDIT] Okay, verified my theory and this did work:
eac3to bdmv\stream\00001.m2ts /log="K:\\HD MOVIES\\info.txt"
saint-francis
16th April 2008, 23:13
I just used eac3to to remux Stardust to .mkv and when I loaded it into MeGUI's avisynth script creator it told me that the frame rate was 29.97000002997. When I list the tracks in eac3to it tells me that it's 1080p 24/1.001. Up until now MeGUI has been faultless in this respect. So where is the problem? Was the timestamp written improperly by eac3to?
mikeathome
17th April 2008, 13:47
What is the framerate the video is been played at? 59,94? Which decoder and renderer do you use for playback? Try different ones. In my case, with Galapagos which is 29,97 interlaced, the video was played at 59,94 with WMR9 and Haali renderers, but at 29,97 with EVR.
The video is ALWAYS played at 60/1001 no matter what decoder or renderer you use (Windows DMO, Cineplayer) + VMR &| VMR9.
The material is 24/1001 WITH pulldown flags for compliancy with HD-Spec made by CineVision and import in BOTH Sonic HD Authoring proggys at correct FR and duration. After mux into MKV (with eac3to) the duration is wrong (~half) and the playback speed doubled.
Using the gaps.log won't help, the second eac3to run produces garbage.
THIS IS FOR VC-1 MATERIAL ONLY! I love this program, don't get me wrong I just tell you something's wrong with VC-1 streams including PD.
mike
nautilus7
17th April 2008, 14:50
Which framerate does eac3to report for video? Maybe you can upload a sample.
mikeathome
17th April 2008, 18:23
Which framerate does eac3to report for video? Maybe you can upload a sample.
Hello,
ok here's the report.
First run:Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
D:\HD DVD\test>"c:\Program Files\HDDVD\eac3to.exe" f:\HVDVD_TS\EVOB001.EVO
EVO, 1 video track, 1 audio track, 0:02:02
"Title001"
1: Chapters, 4 chapters with names
2: VC-1, 1280x720 60p /1.001 (16:9)
3: AC3, English, 5.1 channels, 448kbit/s, 48khz
D:\HD DVD\test>
D:\HD DVD\test>"c:\Program Files\HDDVD\eac3to.exe" f:\HVDVD_TS\EVOB001.EVO 2: intro.mkv
EVO, 1 video track, 1 audio track, 0:02:02
"Title001"
1: Chapters, 4 chapters with names
2: VC-1, 1280x720 60p /1.001 (16:9)
3: AC3, English, 5.1 channels, 448kbit/s, 48khz
Extracting primary video track...
Muxing video to Matroska...
Video has a gap of 18 frames at playtime 0:00:00.
Video has a gap of 18 frames at playtime 0:00:01.
Video has a gap of 18 frames at playtime 0:00:01.
Video has a gap of 6 frames at playtime 0:00:01.
Video has a gap of 18 frames at playtime 0:00:01.
Video has a gap of 18 frames at playtime 0:00:01.
Video has a gap of 18 frames at playtime 0:00:01.
Video has a gap of 18 frames at playtime 0:00:02.
Video has a gap of 18 frames at playtime 0:00:02.
Video has a gap of 18 frames at playtime 0:00:02.
Video has a gap of 18 frames at playtime 0:00:02.
Video has a gap of 18 frames at playtime 0:00:02.
Video has a gap of 18 frames at playtime 0:00:03.
Video has a gap of 18 frames at playtime 0:00:03.
Video has a gap of 18 frames at playtime 0:00:03.
Video has a gap of 18 frames at playtime 0:00:03.
Video has a gap of 18 frames at playtime 0:00:03.
Video has a gap of 18 frames at playtime 0:00:04.
Video has a gap of 15 frames at playtime 0:00:04.
Video has a gap of 3 frames at playtime 0:00:04.
Video has a gap of 3 frames at playtime 0:00:04.
Video has a gap of 3 frames at playtime 0:00:04.
Video has a gap of 18 frames at playtime 0:00:04.
Video has a gap of 18 frames at playtime 0:00:04.
Video has a gap of 18 frames at playtime 0:00:05.
Video has a gap of 18 frames at playtime 0:00:05.
Video has a gap of 18 frames at playtime 0:00:05.
Video has a gap of 3 frames at playtime 0:00:05.
Video has a gap of 18 frames at playtime 0:00:05.
Video has a gap of 18 frames at playtime 0:00:05.
Video has a gap of 18 frames at playtime 0:00:06.
Video has a gap of 18 frames at playtime 0:00:06.
Video has a gap of 18 frames at playtime 0:00:06.
Video has a gap of 6 frames at playtime 0:00:06.
(...)
Video has a gap of 12 frames at playtime 0:00:48.
Video has a gap of 3 frames at playtime 0:00:48.
Video has a gap of 3 frames at playtime 0:00:48.
Video has a gap of 3 frames at playtime 0:00:48.
Video has a gap of 18 frames at playtime 0:00:48.
Video has a gap of 18 frames at playtime 0:00:48.
Video has a gap of 18 frames at playtime 0:00:49.
The MKV file was created without making use of the gap/overlap information.
Please check whether audio is in sync. If it is in sync everything is fine.
Otherwise you can ask eac3to to repeat the muxing. It will then automatically
make use of the detailed gap/overlap information.
Added fps value to MKV header.
Video track 2 contains 2927 frames.
eac3to processing took 5 seconds.
Done.
D:\HD DVD\test>Noticed the gap reporting video length? Wrong, clip is 02:02mins. Result plays to fast.
Second run:D:\HD DVD\test>"c:\Program Files\HDDVD\eac3to.exe" f:\HVDVD_TS\EVOB001.EVO 2: intro.mkv
EVO, 1 video track, 1 audio track, 0:02:02
"Title001"
1: Chapters, 4 chapters with names
2: VC-1, 1280x720 60p /1.001 (16:9)
3: AC3, English, 5.1 channels, 448kbit/s, 48khz
Video gap description file detected, will be used for muxing...
Extracting primary video track...
Muxing video to Matroska...
Added fps value to MKV header.
Video track 2 contains 2927 frames.
eac3to processing took 2 seconds.
Done.
D:\HD DVD\test>Length ok now, but the result is a stuttering video, looks like frame repeating at 60/1001 does not work. If it would just use it at 24/1001 everything would be ok. Possible solution would be an entry of fps=24/1001 in the header and use clip from first run without corrected 'gaps'. I don't know how this would run. BUT you don't want me to draw conclusions based on my un-educated try&error method, do you?
Please notice, everything was taken from an authored HD-DVD which actually plays on my Toshiba!
mike
P.S. You have a place to upload the clip? It's around 95MB, no copyright issue.
inmetzi
18th April 2008, 17:10
Hi folks, Iīm a newbie in this forum, but reading all posts the last weeks. Now I have a problem with the last version (2.40). 2.39 is ok. Because the bugreport canīt be sent emails from the other machine, I will copy it in there:
date/time : 2008-04-18, 16:44:05, 812ms
computer name :
user name :
registered owner :
operating system : Windows XP Service Pack 3, v.3311 build 2600
system language : German
system up time : 1 hour 30 minutes
program up time : 20 minutes 33 seconds
processors : 2x Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
physical memory : 1568/2046 MB (free/total)
free disk space : (C:) 66,79 GB
display mode : 1280x1024, 32 bit
process id : $470
allocated memory : 10,34 MB
command line : eac3to movie.vc1 movie_vc1.mkv
executable : eac3to.exe
exec. date/time : 2008-04-13 18:53
version : 2.40.0.0
compiled with : Delphi 7
madExcept version : 3.0h
contact name :
contact email :
callstack crc : $1fffa03e, $5e6c65ce, $5e6c65ce
count : 2
exception number : 1
exception class : EAccessViolation
exception message : Zugriffsverletzung bei Adresse 0050E460 in Modul 'eac3to.exe'. Lesen von Adresse 00000000.
main thread ($80):
0050e460 +1098 eac3to.exe eac3to 2820 +189 Process
005140f0 +4768 eac3to.exe eac3to 3594 +617 initialization
modules:
00330000 libFlac.dll C:\hddvd\MADMAXH5\HVDVD_TS
00400000 eac3to.exe 2.40.0.0 C:\hddvd\MADMAXH5\HVDVD_TS
02000000 ctagent.dll 1.0.0.12 C:\WINDOWS\system32
026b0000 splitter.ax 1.7.401.3 C:\Programme\Combined Community Codec Pack\Filters\Haali
02750000 mkzlib.dll C:\Programme\Combined Community Codec Pack\Filters\Haali
02770000 mkunicode.dll C:\Programme\Combined Community Codec Pack\Filters\Haali
0fc60000 rsaenh.dll 5.1.2600.3297 C:\WINDOWS\system32
10000000 libAften.dll C:\hddvd\MADMAXH5\HVDVD_TS
5b0f0000 uxtheme.dll 6.0.2900.3311 C:\WINDOWS\system32
5d450000 comctl32.dll 5.82.2900.3311 C:\WINDOWS\system32
68700000 avcodec.dll C:\hddvd\MADMAXH5\HVDVD_TS
6b780000 avutil-49.dll C:\hddvd\MADMAXH5\HVDVD_TS
71a00000 WS2HELP.dll 5.1.2600.3311 C:\WINDOWS\system32
71a10000 WS2_32.dll 5.1.2600.3311 C:\WINDOWS\system32
71a30000 wsock32.dll 5.1.2600.3311 C:\WINDOWS\system32
746a0000 MSCTF.dll 5.1.2600.3311 C:\WINDOWS\system32
74790000 quartz.dll 6.5.2600.3311 C:\WINDOWS\system32
76350000 comdlg32.dll 6.0.2900.3311 C:\WINDOWS\system32
76af0000 winmm.dll 5.1.2600.3311 C:\WINDOWS\system32
76f90000 CLBCATQ.DLL 2001.12.4414.700 C:\WINDOWS\system32
77010000 COMRes.dll 2001.12.4414.700 C:\WINDOWS\system32
770f0000 oleaut32.dll 5.1.2600.3311 C:\WINDOWS\system32
773a0000 comctl32.dll 6.0.2900.3311 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.3311_x-ww_d7cb0e02
774b0000 ole32.dll 5.1.2600.3311 C:\WINDOWS\system32
77bd0000 version.dll 5.1.2600.3311 C:\WINDOWS\system32
77be0000 msvcrt.dll 7.0.2600.3311 C:\WINDOWS\system32
77da0000 advapi32.dll 5.1.2600.3311 C:\WINDOWS\system32
77e50000 RPCRT4.dll 5.1.2600.3311 C:\WINDOWS\system32
77ef0000 GDI32.dll 5.1.2600.3311 C:\WINDOWS\system32
77f40000 SHLWAPI.dll 6.0.2900.3311 C:\WINDOWS\system32
77fc0000 Secur32.dll 5.1.2600.3311 C:\WINDOWS\system32
7c800000 kernel32.dll 5.1.2600.3311 C:\WINDOWS\system32
7c910000 ntdll.dll 5.1.2600.3311 C:\WINDOWS\system32
7e360000 user32.dll 5.1.2600.3311 C:\WINDOWS\system32
7e670000 shell32.dll 6.0.2900.3311 C:\WINDOWS\system32
processes:
000 Idle
004 System normal
29c smss.exe normal C:\WINDOWS\system32
2d8 csrss.exe normal C:\WINDOWS\system32
2f0 winlogon.exe high C:\WINDOWS\system32
324 services.exe normal C:\WINDOWS\system32
330 lsass.exe normal C:\WINDOWS\system32
3dc svchost.exe normal C:\WINDOWS\system32
420 svchost.exe normal C:\WINDOWS\system32
478 svchost.exe normal C:\WINDOWS\System32
4e8 svchost.exe normal C:\WINDOWS\system32
50c svchost.exe normal C:\WINDOWS\system32
598 spoolsv.exe normal C:\WINDOWS\system32
d38 msmsgs.exe normal C:\Programme\Messenger
d48 NMIndexingService.exe normal C:\Programme\Gemeinsame Dateien\Ahead\Lib
dc0 NMIndexStoreSvr.exe normal C:\Programme\Gemeinsame Dateien\Ahead\Lib
0d0 svchost.exe normal C:\WINDOWS\System32
244 cmd.exe normal C:\WINDOWS\system32
470 eac3to.exe normal C:\hddvd\MADMAXH5\HVDVD_TS
hardware:
+ Audio-, Video- und Gamecontroller
- Audiocodecs
- Creative SB X-Fi (driver 5.12.8.1201)
- Legacy-Audiotreiber
- Legacy-Videoaufnahmegerät
- Mediensteuerungsgerät
- SigmaTel High Definition Audio CODEC (driver 5.10.0.4991)
- Videocodecs
+ Computer
- ACPI-Multiprocessor-PC
+ DVD/CD-ROM-Laufwerke
- HL-DT-ST DVD+-RW GSA-H31N
- TOSHIBA DVD/HD X807616 USB Device
+ Eingabegeräte (Human Interface Devices)
- USB-HID (Human Interface Device)
- USB-HID (Human Interface Device)
+ Grafikkarte
- NVIDIA GeForce 7900 GS (driver 6.14.11.6921)
+ IDE ATA/ATAPI-Controller
- Primärer IDE-Kanal
- Primärer IDE-Kanal
- Sekundärer IDE-Kanal
- Sekundärer IDE-Kanal
- Standard-Zweikanal-PCI-IDE-Controller
- Standard-Zweikanal-PCI-IDE-Controller
+ Laufwerke
- Generic External USB Device
- TEAC USB HS-CF Card USB Device
- TEAC USB HS-MS Card USB Device
- TEAC USB HS-SD Card USB Device
- TEAC USB HS-xD/SM USB Device
- WDC WD2500JS-75NCB3
+ Monitore
- Plug und Play-Monitor
+ Mäuse und andere Zeigegeräte
- HID-konforme Maus
+ Netzwerkadapter
- 3Com EtherLink XL 10/100 PCI-TX-NIC (3C905B-TX)
- Intel(R) 82566DC Gigabit Network Connection (driver 9.4.17.0)
+ Prozessoren
- Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
- Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
+ Systemgeräte
- ACPI-Einschaltknopf
- ACPI-Schalter
- DMA-Controller
- Hauptplatinenressourcen
- Hochpräzisions-Ereigniszeitgeber
- Intel(R) 82801 PCI-Brücke - 244E
- ISAPnP-Datenleseport
- Microcode-Updategerät
- Microsoft ACPI-konformes System
- Microsoft UAA Bus Driver for High Definition Audio
- Microsoft-Systemverwaltungs-BIOS-Treiber
- Numerischer Coprozessor
- PCI Standard-Host-CPU-Brücke
- PCI Standard-ISA-Brücke
- PCI Standard-PCI-zu-PCI-Brücke
- PCI Standard-PCI-zu-PCI-Brücke
- PCI Standard-PCI-zu-PCI-Brücke
- PCI-Bus
- PnP-Softwaregeräte-Enumerator
- Programmierbarer Interruptcontroller
- System CMOS/Echtzeituhr
- Systemlautsprecher
- Systemplatine
- Systemplatine
- Systemzeitgeber
- Terminalserver-Geräteumleitung
- Terminalserver-Maustreiber
- Terminalserver-Tastaturtreiber
- Verwaltung logischer Datenträger
- Volume-Manager
+ Tastaturen
- HID-Tastatur
+ USB-Controller
- Standard erweiterter PCI-zu-USB universeller Hostcontroller
- Standard erweiterter PCI-zu-USB universeller Hostcontroller
- Standard PCI-zu-USB universeller Hostcontroller
- Standard PCI-zu-USB universeller Hostcontroller
- Standard PCI-zu-USB universeller Hostcontroller
- Standard PCI-zu-USB universeller Hostcontroller
- Standard PCI-zu-USB universeller Hostcontroller
- Standard-USB-Hub
- USB-Massenspeichergerät
- USB-Massenspeichergerät
- USB-Massenspeichergerät
- USB-Root-Hub
- USB-Root-Hub
- USB-Root-Hub
- USB-Root-Hub
- USB-Root-Hub
- USB-Root-Hub
- USB-Root-Hub
- USB-Verbundgerät
- Xbox 360 HD DVD Interface 0
- Xbox 360 HD DVD Interface 1
+ VSO devices
- pcouffin device for 32 bits systems (driver 1.37.0.0)
cpu registers:
eax = 00000000
ebx = 00000000
ecx = 00000000
edx = 0012f948
esi = 00000000
edi = 00000000
eip = 0050e460
esp = 0012f910
ebp = 0012fa80
stack dump:
0012f910 98 fa 12 00 e8 3f 40 00 - 80 fa 12 00 14 00 00 00 .....?@.........
0012f920 00 00 00 00 01 00 00 00 - 00 00 00 00 00 00 00 00 ................
0012f930 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
0012f940 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
0012f950 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
0012f960 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
0012f970 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
0012f980 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
0012f990 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
0012f9a0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
0012f9b0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
0012f9c0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
0012f9d0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
0012f9e0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
0012f9f0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
0012fa00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
0012fa10 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
0012fa20 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
0012fa30 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
0012fa40 01 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
disassembling:
[...]
0050e452 inc eax
0050e453 mov [ebp-$40], eax
0050e456 xor ebx, ebx
0050e458 2820 lea edx, [ebp-$138]
0050e45e mov eax, esi
0050e460 > mov ecx, [eax]
0050e462 call dword ptr [ecx+$10]
0050e465 mov eax, [ebp-$138]
0050e46b mov edx, $50e9f0
0050e470 call -$10991d ($404b58) ; System.@LStrCmp
0050e475 jz loc_50e496
[...]
error details:
HDDVD MadMax Muxing video to mkv
The error occurs at end of generating mkv, but the file is complete and without any error.
thanks to madshi
Thunderbolt8
18th April 2008, 18:05
when I try to de or remux a mpeg2 .ts cap then I get different values for the audio delay from xport and eac3to, in this case here (-661 ticks = ~-7ms from xport and -581ms from eac3to). which one is correct here? since ac3 delay can only be applied in 32ms frames, I like to note the rest (~-18ms) for myself so that I can apply it manually in mpc then. but since those values are different, how can I be sure if the value displayed by eac3to is correct (I know even if its wrong eac3to will still handle it correctly as you wrote somewhere, but the 'overhead' to a full frame, which I calculate from that displayed value and would like to note could be wrong then)?
p.s. any chance to see that eac3to works on streams which switch from interlaced / progressive? I can virtually not use eac3to for any single mpeg2 1080i cap because of that :/
Chouonsoku
18th April 2008, 19:58
Are there any plans for support for converting the lossless audio files on HD discs to AC3 448 kbps? I've tried with 5.1 wav, FLAC, TrueHD, etc. and eac3to doesn't seem to support any of those conversions.
nautilus7
18th April 2008, 23:00
You must me doing something wrong... eac3to supports these conversions from the very beginning. Post you log file please.
BLKMGK
18th April 2008, 23:57
You guys might want to look into using Pastebin.com for the log files rather than putting them here...
drmpeg
19th April 2008, 00:02
when I try to de or remux a mpeg2 .ts cap then I get different values for the audio delay from xport and eac3to, in this case here (-661 ticks = ~-7ms from xport and -581ms from eac3to). which one is correct here? since ac3 delay can only be applied in 32ms frames, I like to note the rest (~-18ms) for myself so that I can apply it manually in mpc then. but since those values are different, how can I be sure if the value displayed by eac3to is correct (I know even if its wrong eac3to will still handle it correctly as you wrote somewhere, but the 'overhead' to a full frame, which I calculate from that displayed value and would like to note could be wrong then)?
p.s. any chance to see that eac3to works on streams which switch from interlaced / progressive? I can virtually not use eac3to for any single mpeg2 1080i cap because of that :/
They could both be correct. Note that xport discards audio frames before the first valid video frame. If you compare the demuxed audio files between xport and eac3to, you'll see that the xport generated audio file is shorter.
Ron
bsw11
19th April 2008, 02:07
Hi,
Here is what I am trying to do:
extract DTS soundtrack from a DTS-DVD (i did this with VOBorator)
Change the extracted DTS.wav file from 48k to 44k DTS wav file.
Can you tell me what steps and software are needed to do this?
Please give me as much detail as you can if any of the steps require command line params.
Thanks!
inmetzi
19th April 2008, 06:16
You guys might want to look into using Pastebin.com for the log files rather than putting them here...
Sorry but what are this forum for? How should madshi really make a good work without response about errors. With your comments you canīt really help madshi and other users. Give constructive help and no silly sayings. Iīm using eac3to really many months.:thanks:
nautilus7
19th April 2008, 08:41
Hi,
Here is what I am trying to do:
extract DTS soundtrack from a DTS-DVD (i did this with VOBorator)
Change the extracted DTS.wav file from 48k to 44k DTS wav file.
Can you tell me what steps and software are needed to do this?
Please give me as much detail as you can if any of the steps require command line params.
Thanks!
What format do you want the final file to be? Why do you need to convert it to 44,1 KHz?
B4tm4n
19th April 2008, 08:56
What format do you want the final file to be? Why do you need to convert it to 44,1 KHz?
DTS Audio disc ?
nautilus7
19th April 2008, 09:24
Oh, i see... it must be 44,1 KHz. eac3to can't output dts in wav container, just read, but Surcode can do it. So he needs mono wavs to feed Surcode manually afterwards:
eac3to input_dts.wav output.wavs -resampleTo44100
Perhaps the -libav or -nero switch is needed also, if the sonic decoder isn't installed.
Thunderbolt8
19th April 2008, 12:13
They could both be correct. Note that xport discards audio frames before the first valid video frame. If you compare the demuxed audio files between xport and eac3to, you'll see that the xport generated audio file is shorter.
Ron
is the number of discarded frames the 'x frames before the first I-frame' number? I already tried to multiply X with 32 and then add the rest ms to that and compare the result with the value eac3to displays, but it wasnt the same. did I do something wrong or how else can I get the same result?
Threedcoder
19th April 2008, 13:58
I have a movie (the second one in less than a week now) that has the audio lagging behind the video. Prior to this movie, I had only seen this twice before -- on one Bluray and on one HD-DVD.
When the audio lags behind the video, it can be corrected one of two ways:
1. Either padding the video by put blank frames at the start or...
2. Chop some frames off the start of the audio track
In the HD-DVD case, EVODemux actually got it right and was able to display the correct audio advance that would be required in milliseconds to correct the situation.
In both Bluray cases, neither eac3to or tsMuxeR have gotten it right. In fact neither even indicate any kind of delay or advance.
Out of curiosity, how can you get eac3to to display the delay/advance for audio tracks found in a .m2ts file? Is there a command line flag that I'm missing?
Any help on querying for an audio track's delay or advance would be greatly appreciated at this point. At least that way I can manually feed that delay or advance to eac3to when converting the track to a .wav in preparation for splitting it out to 6 mono wavs.
drmpeg
19th April 2008, 14:31
is the number of discarded frames the 'x frames before the first I-frame' number? I already tried to multiply X with 32 and then add the rest ms to that and compare the result with the value eac3to displays, but it wasnt the same. did I do something wrong or how else can I get the same result?
No, that's the number of video frames discarded before the first sequence header. xport doesn't report how much audio is being discarded.
You can use the -a option to figure it out manually. For example:
C:\xfer>xport -a "04-13_15-19-09_PREMIERE HD (eng)_Firewall.ts" 129 1 3
xport Transport Stream Demuxer 1.01a
program = 129, video channel = 1, audio channel = 3
Program Number = 0 (0x0000), Program Map PID = 16 (0x0010)
Program Number = 129 (0x0081), Program Map PID = 98 (0x0062)
Program Number = 130 (0x0082), Program Map PID = 99 (0x0063)
Program Number = 131 (0x0083), Program Map PID = 100 (0x0064)
Program Number = 132 (0x0084), Program Map PID = 101 (0x0065)
program descriptor = 0x09, 0x04, 0x18, 0x01, 0xf6, 0xba
program descriptor = 0x09, 0x04, 0x18, 0x31, 0xfa, 0xba
program descriptor = 0x09, 0x04, 0x18, 0x30, 0xf9, 0xba
ES descriptor for stream type 0x06 = 0x52, 0x01, 0x0a
ES descriptor for stream type 0x06 = 0x56, 0x05, 0x64, 0x65, 0x75, 0x09, 0x00
Video PID = 767 <0x02ff>, type = 0x1b
ES descriptor for stream type 0x1b = 0x52, 0x01, 0x09
ES descriptor for stream type 0x06 = 0x6a, 0x05, 0xf0, 0x0a, 0x08, 0x00, 0x00
ES descriptor for stream type 0x06 = 0x52, 0x01, 0x07
ES descriptor for stream type 0x06 = 0x0a, 0x04, 0x64, 0x65, 0x75, 0x01
Audio PID = 772 <0x0304>, type = 0x06
ES descriptor for stream type 0x06 = 0x0a, 0x04, 0x65, 0x6e, 0x67, 0x01
ES descriptor for stream type 0x06 = 0x6a, 0x05, 0xf0, 0x0a, 0x08, 0x00, 0x00
ES descriptor for stream type 0x06 = 0x52, 0x01, 0x08
Audio PTS = -324288430, -324288430 <----------- first audio frame
Audio PTS = -324285550, 2880
Audio Bitrate = 448000, Audio Sampling Rate = 48000
Audio Mode = 2/0, bsid = 8, bsmod = 0
Audio PTS = -324282670, 2880
Audio PTS = -324279790, 2880
Audio PTS = -324276910, 2880
Audio PTS = -324274030, 2880
Audio PTS = -324271150, 2880
Audio PTS = -324268270, 2880
Audio PTS = -324265390, 2880
Audio PTS = -324262510, 2880
Audio PTS = -324259630, 2880
Audio PTS = -324256750, 2880
Audio PTS = -324253870, 2880
Audio PTS = -324250990, 2880
Audio PTS = -324248110, 2880
Audio PTS = -324245230, 2880
Audio PTS = -324242350, 2880
Audio PTS = -324239470, 2880
Audio PTS = -324236590, 2880
Audio PTS = -324233710, 2880
Audio PTS = -324230830, 2880
Audio PTS = -324227950, 2880
Audio PTS = -324225070, 2880
Audio PTS = -324222190, 2880
Audio PTS = -324219310, 2880
Audio PTS = -324216430, 2880
Audio PTS = -324213550, 2880
Audio PTS = -324210670, 2880
Audio PTS = -324207790, 2880
Audio PTS = -324204910, 2880
Audio PTS = -324202030, 2880
Audio PTS = -324199150, 2880
Audio PTS = -324196270, 2880
Audio PTS = -324193390, 2880
Audio PTS = -324190510, 2880
Audio PTS = -324187630, 2880
Audio PTS = -324184750, 2880
Audio PTS = -324181870, 2880
Audio PTS = -324178990, 2880
Audio PTS = -324176110, 2880
Audio PTS = -324173230, 2880
Audio PTS = -324170350, 2880
Audio PTS = -324167470, 2880
Audio PTS = -324164590, 2880
Audio PTS = -324161710, 2880
Audio PTS = -324158830, 2880
Audio PTS = -324155950, 2880
Audio PTS = -324153070, 2880
Audio PTS = -324150190, 2880
Audio PTS = -324147310, 2880
Audio PTS = -324144430, 2880
Audio PTS = -324141550, 2880
Audio PTS = -324138670, 2880
Audio PTS = -324135790, 2880
38 frames before first I-frame
Main Profile
Level = 4.0
Audio PTS = -324132910, 2880
Audio PTS = -324130030, 2880
Audio PTS = -324127150, 2880
First Video PTS = 0xecaf3582
Audio PTS = -324124270, 2880
Audio PTS = -324121390, 2880
Audio PTS = -324118510, 2880
Audio PTS = -324115630, 2880
Audio PTS = -324112750, 2880
Audio PTS = -324109870, 2880
Audio PTS = -324106990, 2880
Audio PTS = -324104110, 2880
Audio PTS = -324101230, 2880
Audio PTS = -324098350, 2880
Audio PTS = -324095470, 2880
Audio PTS = -324092590, 2880
Audio PTS = -324089710, 2880
Audio PTS = -324086830, 2880
Audio PTS = -324083950, 2880
Audio PTS = -324081070, 2880
Audio PTS = -324078190, 2880
Audio PTS = -324075310, 2880
Audio PTS = -324072430, 2880
Audio PTS = -324069550, 2880
Audio PTS = -324066670, 2880
Audio PTS = -324063790, 2880 <------- (-324063790) = 0xecaf2dd2
Audio PTS = -324060910, 2880
First Audio PTS = 0xecaf2dd2, -1968
Audio PTS = -324058030, 2880
Audio PTS = -324055150, 2880
Audio PTS = -324052270, 2880
Audio PTS = -324049390, 2880
It chopped off 78 AC3 frames. (-324063790) - (-324288430) = 224680
224680 / 2880 = 78
Ron
BLKMGK
20th April 2008, 15:43
Sorry but what are this forum for? How should madshi really make a good work without response about errors. With your comments you canīt really help madshi and other users. Give constructive help and no silly sayings. Iīm using eac3to really many months.:thanks:
So what you are telling me is that you didn't even BOTHER to look and see what the pastebin.com (http://pastebin.com/) is? Pastebin is a site DESIGNED to allow the pasting of long log files. The interface is designed to allow for easy review and they can be expired after a period of time instead of taking up space here FOREVER. From the top of the page you didn't read "pastebin - collaborative debugging tool":logfile:
Kurtnoise
20th April 2008, 16:21
@madshi : a small request...could you add the eac3to version # in your matroska writing app string ?
:thanks:
azad
20th April 2008, 17:36
Would it be possible to add a new switch for optional activating/deactivating of the audio delay handling of eac3to?
Since version 2.40 eac3to seems to find an audio delay for nearly every bd where the versions before 2.40 didn't find an audio delay.
I know that madshi fixed some problem with the audio delay detection for ts/m2ts files, but also xport reports that there are no audioframes before the first video pts, so I don't want eac3to to cut or add some audioframes if not necessary.
madshi
20th April 2008, 20:36
The log option doesn't seem to be working.
Oooops. Will be fixed in v2.41.
I just used eac3to to remux Stardust to .mkv and when I loaded it into MeGUI's avisynth script creator it told me that the frame rate was 29.97000002997. When I list the tracks in eac3to it tells me that it's 1080p 24/1.001. Up until now MeGUI has been faultless in this respect. So where is the problem? Was the timestamp written improperly by eac3to?
Stardust is h264 while most other HD DVDs are VC-1. Maybe that's the difference? eac3to should do everything correctly. You can double check by using "mkvinfo movie.mkv".
Noticed the gap reporting video length? Wrong, clip is 02:02mins. Result plays to fast.
Can I have a sample, please?
Hi folks, Iīm a newbie in this forum, but reading all posts the last weeks. Now I have a problem with the last version (2.40). 2.39 is ok. Because the bugreport canīt be sent emails from the other machine, I will copy it in there
This bug should be fixed in v2.41.
No biggie, but next time when you post a bug report to the forum, could you please put it in between "[ code ]" and "[ /code ]" (without the spaces)? That will make it better readable and it will also consume much less space. Thanks!
@madshi : a small request...could you add the eac3to version # in your matroska writing app string ?
The Haali Matroska Muxer DirectShow filter puts the string there, I've no direct control over it.
I have a movie (the second one in less than a week now) that has the audio lagging behind the video. Prior to this movie, I had only seen this twice before -- on one Bluray and on one HD-DVD.
When the audio lags behind the video, it can be corrected one of two ways:
1. Either padding the video by put blank frames at the start or...
2. Chop some frames off the start of the audio track
In the HD-DVD case, EVODemux actually got it right and was able to display the correct audio advance that would be required in milliseconds to correct the situation.
In both Bluray cases, neither eac3to or tsMuxeR have gotten it right. In fact neither even indicate any kind of delay or advance.
Can I have a sample, please? The first 50MB should be enough. Thanks!
Out of curiosity, how can you get eac3to to display the delay/advance for audio tracks found in a .m2ts file? Is there a command line flag that I'm missing?
Just type "eac3to whatever.m2ts" or "eac3to whatever.evo" and you'll see the audio delays listed for all audio tracks (if no delay is needed, it is not shown).
Any help on querying for an audio track's delay or advance would be greatly appreciated at this point. At least that way I can manually feed that delay or advance to eac3to when converting the track to a .wav in preparation for splitting it out to 6 mono wavs.
Which tool are you using to demux the audio tracks? If you use eac3to, the needed audio delays should be applied automatically.
Would it be possible to add a new switch for optional activating/deactivating of the audio delay handling of eac3to?
It's already there. E.g. if eac3to shows "+100ms" you can disable audio delay handling by adding "-100ms" to the command line.
when I try to de or remux a mpeg2 .ts cap then I get different values for the audio delay from xport and eac3to, in this case here (-661 ticks = ~-7ms from xport and -581ms from eac3to). which one is correct here?
As drmpeg already hinted, eac3to and xport may use slightly different ways to print out the delay. eac3to cumulates every bit of audio data it chops off into the displayed audio delay. IIRC xport shows the timestamp differences as the audio delay, but chops off some additional frames sometimes. What you should probably do is let both xport and eac3to demux that audio track and check whether the resulting files have a different delay. You can check that either in a hexeditor. Or you could also decode both tracks to WAV and compare them in a WAV editor. Finally, if you find that they are really different, it would be interesting to find out which is better... ;) Probably they will be identical, though, or at least very near. eac3to uses totally different code to calculate the delay, so maybe there really is a difference somewhere. I did double check eac3to's delay logic with some test streams which had very big delays in them and the final result was spot on. So I think eac3to calculates the delay correctly.
madshi
20th April 2008, 21:03
eac3to v2.41 released
http://madshi.net/eac3to.zip
* added full MP2 (MPEG2 audio) support including decoding + bitstream delay
* added TS/M2TS runtime detection
* improved VOB/EVO runtime detection
* added TrueHD gap/overlap detection
* audio gap/overlap detection logic rewritten (not complete yet)
* fixed: log file option didn't work correctly
* fixed: some DTS tracks in PAL TS broadcasts weren't detected correctly
* fixed: some E-AC3 tracks in PAL TS broadcasts weren't detected correctly
nautilus7
20th April 2008, 21:21
Thanks madshi.
MP2 decoding is done through libav?
madshi
20th April 2008, 21:36
MP2 decoding is done through libav?
See 1st post. Yes, default decoder is libav. But Sonic and Nero both also work.
Thunderbolt8
20th April 2008, 22:02
I did double check eac3to's delay logic with some test streams which had very big delays in them and the final result was spot on. So I think eac3to calculates the delay correctly.
yes, I believe that it definately calculates and treats it correctly, but I was hinting at what is displayed, since you once said in a post that this displayed information could be sometimes a bit different from the real value which is applied.
thanks for the new version btw. of course
rickardk
20th April 2008, 22:09
Thanks for latest development!
rica
20th April 2008, 22:13
Congrats to you madshi :)
This time i directly demux my problematic Terminator3 rip;
it worked; thanks again.
eac3to v2.41
command line: "C:\Users\rica\Desktop\Eac3to\eac3to.exe" "E:\TERMINATOR_3_HDDVD\HVDVD_TS\PEVOB_1.EVO" "E:\TERMINATOR_3_HDDVD\HVDVD_TS\PEVOB_1.ac3"
------------------------------------------------------------------------------
EVO, 2 video tracks, 7 audio tracks, 4 subtitle tracks, 0:54:56
1: VC-1, 1080p24 /1.001 (16:9)
2: VC-1, 480p30 /1.001 (3:2)
3: E-AC3, English, 5.1 channels, 640kbit/s, 48khz, dialnorm: -27dB
4: E-AC3, French, 5.1 channels, 640kbit/s, 48khz, dialnorm: -27dB
5: E-AC3, Spanish, 5.1 channels, 640kbit/s, 48khz, dialnorm: -27dB
6: E-AC3, English, 2.0 channels, 192kbit/s, 48khz, dialnorm: -27dB
"Director Commentary"
7: E-AC3, English, 2.0 channels, 192kbit/s, 48khz, dialnorm: -27dB
"Crew Commentary"
8: E-AC3, English, 2.0 channels, 192kbit/s, 48khz, dialnorm: -27dB
"Cast and Crew Commentary"
9: E-AC3, 2.0 channels, 192kbit/s, 48khz, dialnorm: -27dB
10: Subtitle, English
11: Subtitle, English, "SDH"
12: Subtitle, French
13: Subtitle, Spanish
Track 3 is used for destination file "PEVOB_1.ac3".
Extracting audio track number 3...
Removing dialog normalization...
Decoding with DirectShow (Nero Audio Decoder 2)...
Disabling DRC for Nero (E-)AC3 decoding...
DirectShow reports 5.1 channels, 24 bits, 48khz
Encoding AC3...
Creating file "E:\TERMINATOR_3_HDDVD\HVDVD_TS\PEVOB_1.ac3"...
eac3to processing took 3 minutes, 35 seconds.
Done.
Thunderbolt8
20th April 2008, 22:29
got a h264 .ts cap (with 3 audio glitches according to mpeg2repair), for which eac3to 2.41 now says that its not a valid (e)ac3 stream and therefore the audio stream is not displayed and selectable at all for muxing. is this supposed to be correct?
eac3to v2.41
command line: eac3to G:\breakfast.ts G:\breakfast.mkv
------------------------------------------------------------------------------
This doesn't seem to be a valid (E-)AC3 stream.
TS, 1 video track, 1:50:03
1: h264/AVC, 1080i50 (16:9)
Extracting primary video track...
Muxing video to Matroska...
This TS/M2TS file seems to be damaged (discontinuity).
Aborted at file position 3599433728.
Denner
21st April 2008, 10:14
Hey...
Thanks for anoter great update :)
Any news on when joining m2ts files will be incorporated in to eac3to ?
madshi
21st April 2008, 10:31
p.s. any chance to see that eac3to works on streams which switch from interlaced / progressive? I can virtually not use eac3to for any single mpeg2 1080i cap because of that :/
That is high on my priority list - but still after completion of the Blu-Ray support.
got a h264 .ts cap (with 3 audio glitches according to mpeg2repair), for which eac3to 2.41 now says that its not a valid (e)ac3 stream and therefore the audio stream is not displayed and selectable at all for muxing. is this supposed to be correct?
This doesn't seem to be a valid (E-)AC3 stream.
This TS/M2TS file seems to be damaged (discontinuity).
Aborted at file position 3599433728.
Where are the glitches according to mpeg2repair? Right in the beginning of the movie? If so, that would explain why eac3to doesn't like/list the audio track. That may not be nice (and will someday be improved), but currently this is "expected behaviour".
BTW, that file also seems to have a discontinuity at about 3.5GB. You can skip over it by using the "-ignorediscon" switch. But you'll probably get image corruption at that place.
Any news on when joining m2ts files will be incorporated in to eac3to ?
Shouldn't be too far away now. Much of the preparation work required for that feature is already mostly done (e.g. the rewritten audio gap/overlap logic in v2.41). I expect that seamless branching titles with multiple parts will probably need 2 passes. The 2nd pass would then remove overlapping audio frames (and fill up audio gaps, if necessary) to make sure that audio stays in sync throughout the whole movie.
azad
21st April 2008, 12:13
It's already there. E.g. if eac3to shows "+100ms" you can disable audio delay handling by adding "-100ms" to the command line.
Thanks!
@madshi
Just for my understanding I've another question regarding the audio delays in m2ts files - How is it possible that eac3to reports a negative audio delay when xport reports no audioframes before the first video pts? Isn't at least one audioframe required to calculate a possible negative audio delay?
Thanks in advance!
madshi
21st April 2008, 12:57
How is it possible that eac3to reports a negative audio delay when xport reports no audioframes before the first video pts?
There's a difference between the first video pts and the first "i" frame pts. I'm not sure if that is where the difference is coming from. I don't have the xport source code in my head right now.
umaximus
21st April 2008, 13:16
Shouldn't be too far away now. Much of the preparation work required for that feature is already mostly done (e.g. the rewritten audio gap/overlap logic in v2.41). I expect that seamless branching titles with multiple parts will probably need 2 passes. The 2nd pass would then remove overlapping audio frames (and fill up audio gaps, if necessary) to make sure that audio stays in sync throughout the whole movie.
cant wait! it sounds that will handle already joined m2ts too, as long as eac3to pass the mux (on most of joined titles eac3to reports not valid PES packets)?
azad
21st April 2008, 13:27
There's a difference between the first video pts and the first "i" frame pts. I'm not sure if that is where the difference is coming from. I don't have the xport source code in my head right now.
I guess thats it, somewhere in this forum I read that xport uses the first "I" frame for chopping the audioframes before.
:thanks:
madshi
21st April 2008, 13:34
cant wait! it sounds that will handle already joined m2ts too, as long as eac3to pass the mux (on most of joined titles eac3to reports not valid PES packets)?
I think already joined files will not work too well because eac3to will not know where exactly the join points are. So eac3to will not be able to do special processing on the timestamps on the join points. The best result will definitely be achieved by feeding the separate m2ts parts to eac3to and letting eac3to do all the work.
Basically I'm planning to handle the joining in such a way that the video at the join points is seen as a constant stream of frames without any gaps/overlaps (if necessary I'll change the timecodes accordingly). The audio timestamps will then decide about where eac3to will add/remove audio frames. If the parts were already joined before eac3to gets active, eac3to cannot do anything about the video timecodes. That means there may be a tiny amount of motion judder at the join points - depending on how well TsRemux is working...
drmpeg
21st April 2008, 13:47
I guess thats it, somewhere in this forum I read that xport uses the first "I" frame for chopping the audio frames before.
:thanks:
Actually, it checks the first two frames in the first GOP with a Sequence header (or SPS). The frame with the earliest PTS is then selected for the audio cut point. Usually, this will be the first B-frame if the GOP is IBBP or IBP. If the GOP is IPPP, then the I-frame will be selected.
If the GOP is not closed, and you discard the ugly looking B-frames before re-encoding, then you should compensate the audio delay for the discarded frames.
Ron
madshi
21st April 2008, 14:37
Actually, it checks the first two frames in the first GOP with a Sequence header (or SPS). The frame with the earliest PTS is then selected for the audio cut point. Usually, this will be the first B-frame if the GOP is IBBP or IBP. If the GOP is IPPP, then the I-frame will be selected.
If the GOP is not closed, and you discard the ugly looking B-frames before re-encoding, then you should compensate the audio delay for the discarded frames.
Hmmmmm... I'm using a quite different method: I'm calculating the PTS difference between the first video and audio packet. Additionally I'm counting the number of video frames before the first sequence header (which are dropped for demuxing). The delay used for audio demuxing is then PtsDifference+DroppedFrameCount*FrameDuration.
Two very different algorithms. But I guess the end result will be roughly identical?
umaximus
21st April 2008, 14:48
I think already joined files will not work too well because eac3to will not know where exactly the join points are. So eac3to will not be able to do special processing on the timestamps on the join points. The best result will definitely be achieved by feeding the separate m2ts parts to eac3to and letting eac3to do all the work.
Basically I'm planning to handle the joining in such a way that the video at the join points is seen as a constant stream of frames without any gaps/overlaps (if necessary I'll change the timecodes accordingly). The audio timestamps will then decide about where eac3to will add/remove audio frames. If the parts were already joined before eac3to gets active, eac3to cannot do anything about the video timecodes. That means there may be a tiny amount of motion judder at the join points - depending on how well TsRemux is working...
wow, sounds promising indeed.. thanks for explaining things.. i got all my seamless branching sources ready to be re-riped then.. thanks alot for all ur work, my remuxed hddvds are grateful that they are in such a cool form & shape now :cool: :)
shambles
21st April 2008, 15:47
for the seamless branching titles with 20+ m2ts segments, blu-ray playlist file support would also be neat :)
Thunderbolt8
21st April 2008, 15:52
i guess that blu-ray playlist support could be hard to establish, since there can be various longer playlists, which do not necessarily have to be the main movie. might be hard to let a prog find out then which the correct playlist for the main movie is.
madshi
21st April 2008, 16:20
i guess that blu-ray playlist support could be hard to establish, since there can be various longer playlists, which do not necessarily have to be the main movie. might be hard to let a prog find out then which the correct playlist for the main movie is.
How do you find that out manually?
ron spencer
21st April 2008, 16:40
use bdedit
inmetzi
21st April 2008, 17:07
So what you are telling me is that you didn't even BOTHER to look and see what the pastebin.com (http://pastebin.com/) is? Pastebin is a site DESIGNED to allow the pasting of long log files. The interface is designed to allow for easy review and they can be expired after a period of time instead of taking up space here FOREVER. From the top of the page you didn't read "pastebin - collaborative debugging tool":logfile:
Hi BLKMGK, sorry but I looked at pastebin and i thought it was really a joke of you to paste there. I didnīt understand how I can use and connect the pastebin with the forum. Iīm trying it next time. newbee ;-)
Kurtnoise
21st April 2008, 20:00
The Haali Matroska Muxer DirectShow filter puts the string there, I've no direct control over it.
so, why I get your tool as "writing app" when I parse a matroska file created with eac3to ? I didn't mention the "muxing app" in my last sentence.
http://img59.imageshack.us/img59/3479/mkvparsing2104200820541fy1.png
btw, many thanks for the last update...
Thunderbolt8
21st April 2008, 20:01
How do you find that out manually?
basically trial and error :P
open the pls files and have a look at the filenames displayed there. in case of only 1 and 2 big files its quite easily mostly. but take close encounters with its 3 different versions, i wouldnt know how a program should be able to differentiate which of those 3 versions the user actually means
madshi
21st April 2008, 20:33
so, why I get your tool as "writing app" when I parse a matroska file created with eac3to ?
Because the Haali Matroska Muxer DirectShow filter is running inside of the eac3to process. Evidently the filter writes the process it's running in into the MKV. If you use the Haali Muxer in GraphEdit, you'll see "GraphEdit" in the MKV header.
If you want the eac3to version in the MKV header, you can simply rename "eac3to.exe" to "eac3to v2.41.exe". The Haali Matroska Muxer will then most probably write the version number into the MKV file for you... :) Please note that renaming eac3to.exe results in that Nero's Audio Decoders stops working, though...
basically trial and error :P
open the pls files and have a look at the filenames displayed there. in case of only 1 and 2 big files its quite easily mostly. but take close encounters with its 3 different versions, i wouldnt know how a program should be able to differentiate which of those 3 versions the user actually means
Ah well. I wish there was a way to get names for the playlists, as we can with HD DVDs.
Chumbo
22nd April 2008, 00:04
Thanks madshi. 2.41 logging is working. :)
BLKMGK
22nd April 2008, 02:20
There has to be a way for hardware players to know what combination of files leads to which showing of the film. It might even be possible to play around with an authoring tool that supports the seamless stuff to figure out what file controls this. Perhaps someone can help with this, it's a shame the format seems so poorly documented. :(
Yraen
22nd April 2008, 03:12
eac3to v2.40 released
* added: "-check" option added to check container for corruption
madshi,
When I use the -check option it appears to start demuxing all the tracks. Is this supposed to happen? I'm not sure where the files want to go as they don't appear in the eac3to folder nor the source folder. Are they just temp files or is it only read into memory and discarded as it checks out okay? Here's a log from a -check.
eac3to v2.41
command line: eac3to "H:\HD\33895594_PREDATOR\BDMV\STREAM\00028.m2ts" -check
------------------------------------------------------------------------------
M2TS, 1 video track, 4 audio tracks, 1:46:35
1: MPEG2, 1080p24 /1.001 (16:9)
2: DTS Master Audio, English, 5.1 channels, 24 bits, 48khz
3: AC3, English, 3/1 channels, 448kbit/s, 48khz, dialnorm: -27dB
4: AC3, Spanish, 2.0 channels, 224kbit/s, 48khz, dialnorm: -27dB
5: AC3, French, 2.0 channels, 224kbit/s, 48khz, dialnorm: -27dB
Extracting primary video track...
Extracting audio track number 2...
Extracting audio track number 3...
Extracting audio track number 4...
Extracting audio track number 5...
eac3to processing took 7 minutes, 23 seconds.
Done.
ezryel
22nd April 2008, 03:45
Hi Everyone,
I'm using eac3to for converting eac3 to ac3. I now have the Nero 7 installed with the Multichannel Plug in. I start converting the e-ac3 file with eac3to; I immediatley see the below in command prompt/DOS with "-" populating accross the DOS screen underneath "Disabling DRC..."; this lasts for about 60 seconds, then stops and no output file.
What am I missing?
eac3to v2.39
command line: "D:\Downloads\HD RIP utinlities\EAC3toGUI\eac3to.exe" "G:\HDDVD\HD DVD\moviename_D1_NA\Demuxed\FEATURE_1_MERGED.DDp.stream.00.ddp" "G:\HDDVD\HD DVD\moviename_D1_NA\Demuxed\FEATURE_1_MERGED.DDp.stream.00.ac3"-640 -nero
E-AC3, 5.1 channels, 2:23:27, 1536kbit/s, 48khz, dialnorm: -27dB
Removing dialog normalization...
Decoding with DirectShow (Nero Audio Decoder 2)...
Disabling DRC for Nero (E-)AC3 decoding...
Snowknight26
22nd April 2008, 03:59
Add a space between the " and -640?
azad
22nd April 2008, 07:14
@madshi
Would it be possible to implement a function that changes the pitch after applying a pal speedup to avoid those chipmunk-effects?
madshi
22nd April 2008, 07:15
When I use the -check option it appears to start demuxing all the tracks. Is this supposed to happen?
Yes. eac3to extracts all video and audio streams and handles them as if they would be written to harddisk - but they are not. Everything is done in RAM. The result is that e.g. AC3 tracks are checked for valid CRCs etc... This whole checking is still not as good as mpeg2repair, though, cause mpeg2repair has very detailed tests for the MPEG2 video stream. eac3to only does some very limited video checks.
I'm using eac3to for converting eac3 to ac3. I now have the Nero 7 installed with the Multichannel Plug in.
You need the HD DVD/Blu-Ray plugin and not the Multichannel plugin. Please try "eac3to -test" to see whether the Nero decoder is working correctly. Of course you can always use "-libav" to force E-AC3 decoding with the libav decoder.
madshi
22nd April 2008, 07:18
Would it be possible to implement a function that changes the pitch after applying a pal speedup to avoid those chipmunk-effects?
The pitch is changed by the "-speedup" function. So the chipmunk effect gets removed. However, if the original PAL track was created by using pitch correction, using "-speedup" will actually make the pitch too low. In that case you need to use a software which can slowdown audio while doing pitch correction. TimeFactory would be a good choice for that. But at least here in Germany 99.9% of all movies have the chipmunk effect. So eac3to's "-speedup" option is the right choice for those. The situation may be different in other countries, though.
azad
22nd April 2008, 07:48
... But at least here in Germany 99.9% of all movies have the chipmunk effect. So eac3to's "-speedup" option is the right choice for those. The situation may be different in other countries, though.
Since I'm living in Germany too, you mean that I can use eac3to on a 25FPS Pal-DVD AC3 audiotrack with the "-speedup" option to get a nice 25FPS AC3 audiotrack but with the "original" pitch like on 24p BD or HD DVD? That would be great! :)
madshi
22nd April 2008, 12:21
Since I'm living in Germany too, you mean that I can use eac3to on a 25FPS Pal-DVD AC3 audiotrack with the "-speedup" option to get a nice 25FPS AC3 audiotrack but with the "original" pitch like on 24p BD or HD DVD? That would be great! :)
Nope. First of all I got it wrong, I meant "-slowdown" and not "-speedup". Furthermore the "-slowdown" option changes the audio runtime from 25fps to 23.976fps. So basically you can use "-slowdown" to make a PAL-DVD AC3 track sync to a HD DVD/BD.
azad
22nd April 2008, 13:26
Nope. First of all I got it wrong, I meant "-slowdown" and not "-speedup". Furthermore the "-slowdown" option changes the audio runtime from 25fps to 23.976fps. So basically you can use "-slowdown" to make a PAL-DVD AC3 track sync to a HD DVD/BD.
"-slowdown" is not the right option in my case, because I don't want to change the framerate since I speed up all my BD's and HD DVD's to 25 frames to match the 50Hz of my Plasma TV. I just would like to change the pitch of some ac3 or dts tracks to match the original pitch with 24fps/23.976fps.
Any ideas?
madshi
22nd April 2008, 14:03
Sure, use TimeFactory for best quality.
azad
22nd April 2008, 14:26
Sure, use TimeFactory for best quality.
Ok, using TimeFactory seems to be a lot more work compared to a wonderful :) "one click tool" like eac3to, although I'm actually using the command line only.
Would it be much work to implement a function like that to eac3to, or would the resulting audiofiles be just of poor quality?
madshi
22nd April 2008, 17:28
Doing pitch correction is a very complicated thing. TimeFactory has noticably superior quality over all open source solutions, as far as I've been told. So I don't see any sense in adding something to eac3to which is not up to the task.
tebasuna51
22nd April 2008, 18:25
Ok, using TimeFactory seems to be a lot more work compared to a wonderful :) "one click tool" like eac3to, although I'm actually using the command line only.
Would it be much work to implement a function like that to eac3to, or would the resulting audiofiles be just of poor quality?
You can try BeHappy ("one click tool") to do this pitch correction and see if is enough quality for you.
Support the ac3 -> ac3 conversion (decoder like -libav, encoder Aften like eac3to) and use the soundtouch libraries with the AviSynth function TimeStretch (you need select 25 -> 23.976, pitch changed preserving tempo).
In my test also TimeFactory have distortion problems by clips.
azad
22nd April 2008, 18:52
@tebasuna51
Thanks for the tip! Will try that.
bsw11
22nd April 2008, 20:24
Oh, i see... it must be 44,1 KHz. eac3to can't output dts in wav container, just read, but Surcode can do it. So he needs mono wavs to feed Surcode manually afterwards:
eac3to input_dts.wav output.wavs -resampleTo44100
Perhaps the -libav or -nero switch is needed also, if the sonic decoder isn't installed.
I tired this and it decided that the input file has only 2 channels and therefore only outputs 2 wav files L&R.
The file I am inputting from was the output of VOBARATOR - this file plays just fine in zplayer (to SPDIF out to my DTS preamp which play 48k ok) -all 6 DTS channels.
I do not have SONIC, but I do have NERO 7 installed and I tried it with -nero and without and got the same results.
What do I do now? Is there a way of going from the .VOB file to 6 .wavs that can play as normal mono wav files.
The other reason I am trying to do this is because I have collected a lot of DTS content, and have found a large difference in the levels between different tracks. I am hoping to take the .wav files into an audio editor and normalize them before using surcode to put them back to DTS wav files.
Which leads to another question - is there an audio editor that has the ability to just read the dts file and split it up on input?
I appreciate your help on this.
nautilus7
22nd April 2008, 22:22
If eac3to outputs 2 channels, but you are certain there are 6 channels, then there is a bug somewhere.
Your original track is a vob file? From dvd? Or dts wav cd? I 'm confused... Anyway can you upload a sample of the original track (dts/vob/wav/whatever) that eac3to decodes as 2 channel?
I don't think there is any audio editor that can edit dts tracks without decoding first.
madshi
23rd April 2008, 07:53
I tired this and it decided that the input file has only 2 channels and therefore only outputs 2 wav files L&R.
The file I am inputting from was the output of VOBARATOR - this file plays just fine in zplayer (to SPDIF out to my DTS preamp which play 48k ok) -all 6 DTS channels.
Try using another decoder. Maybe the Sonic decoder isn't working/installed correctly on your PC. Try "-libav".
Kurtnoise
23rd April 2008, 10:39
is there an audio editor that has the ability to just read the dts file and split it up on input?
delaycut, DTStrim (http://home.zonnet.nl/koelooptiemanna/DTSTrim.zip)...:)
nautilus7
23rd April 2008, 11:53
delaycut, DTStrim (http://home.zonnet.nl/koelooptiemanna/DTSTrim.zip)...:)
I believe he ment to split the channels.
BLKMGK
23rd April 2008, 14:32
Madshi, just converted an M2TS last night, no joined files just a single file. At the end of it I saw no number of frames listed. I know that this gets listed for EVO files and I think I pointed this out earlier and that it got fixed - did it drop back out again? Pretty sure the version is the latest - 2.41. It's not a big deal but the number can be useful. Thanks!
madshi
23rd April 2008, 14:36
Madshi, just converted an M2TS last night, no joined files just a single file. At the end of it I saw no number of frames listed. I know that this gets listed for EVO files and I think I pointed this out earlier and that it got fixed - did it drop back out again? Pretty sure the version is the latest - 2.41. It's not a big deal but the number can be useful. Thanks!
Works for me. Please double check the eac3to version you're using. If it's the latest and the problem is really there, I'd be happy about a small sample.
saint-francis
23rd April 2008, 16:11
Can someone please explain what is happening here?
eac3to v2.41
command line: "E:\the hive\software\eac3to\eac3to.exe" "D:\BLADERUNNER_FINAL\BDMV\STREAM\00047.m2ts" "D:\BLADERUNNER_FINAL\br.mkv"
------------------------------------------------------------------------------
M2TS, 1 video track, 6 audio tracks, 1:57:36
1: VC-1, 1080p24 /1.001 (16:9)
2: AC3, English, 5.1 channels, 640kbit/s, 48khz, dialnorm: -27dB
3: TrueHD/AC3, English, 5.1 channels, 48khz, dialnorm: -27dB
4: AC3, French, 5.1 channels, 640kbit/s, 48khz, dialnorm: -27dB
5: AC3, English, 2.0 channels, 192kbit/s, 48khz, dialnorm: -27dB
6: AC3, English, 2.0 channels, 192kbit/s, 48khz, dialnorm: -27dB
7: AC3, English, 2.0 channels, 192kbit/s, 48khz, dialnorm: -27dB
Extracting primary video track...
Extracting audio track number 2...
Extracting audio track number 3...
Extracting audio track number 4...
Extracting audio track number 5...
Extracting audio track number 6...
Extracting audio track number 7...
Extracting TrueHD stream...
[libav] Stream parameters not seen; skipping frame
The libav decoder output an unexpected bitdepth (1).
Aborted at file position 32768.
madshi
23rd April 2008, 17:15
Can someone please explain what is happening here?
eac3to v2.41
command line: "E:\the hive\software\eac3to\eac3to.exe"
I guess that a virus got on the loose in the hive and damaged your rip. I'd suggest flying Milla in quickly. Maybe she can also give you a hand with reripping the movie... :eek:
saint-francis
23rd April 2008, 17:27
:confused:
Who's Milla? I don't think I need to rerip it since -demux works.
Oh ok I get it. Milla, yes I see.
Still do you think it's a bad rip even though I can successfully demux it?
Chouonsoku
23rd April 2008, 17:43
I just got Resident Evil: Extinction and I'm getting all kinds of odd errors with eac3to 2.41. First I demuxed the main movie with BD Demuxer Pro and tried to convert the PiP audio from DD+ to AC3.
F:\Video\Movies\RESIDENT_EVIL_3\demux>"E:\Tools\HD\eac3to\eac3to.exe" "F:\Video\Movies\RESIDENT_EVIL_3\demux\00011_2_01.eac3" "F:\Video\Movies\RESIDENT_EVIL_3\demux\00011_2_01.ac3"
E-AC3, 1.0 channels, 1:34:06, 96kbit/s, 48khz
Decoding with DirectShow (Nero Audio Decoder 2)...
Disabling DRC for Nero (E-)AC3 decoding...
Aborted at file position 67747968.
Then I thought maybe BD Demuxer Pro just messed up the demux, so I decided to remux the m2ts file directly with eac3to and got a similar error.
E:\Tools\HD\eac3to>eac3to.exe "F:\Video\Movies\RESIDENT_EVIL_3\BDMV\STREAM\00011.m2ts" "F:\Video\Movies\RESIDENT_EVIL_3\demux\re3.mkv"
M2TS, 2 video tracks, 6 audio tracks, 1:34:06
1: h264/AVC, 1080p24 /1.001 (16:9)
2: h264/AVC, 480p24 /1.001 (20:11)
3: TrueHD/AC3, English, 5.1 channels, 48khz
4: TrueHD/AC3, French, 5.1 channels, 48khz
5: AC3, Spanish, 5.1 channels, 640kbit/s, 48khz
6: AC3, Portuguese, 5.1 channels, 640kbit/s, 48khz, dialnorm: -30dB
7: AC3, English, 2.0 channels, 192kbit/s, 48khz, dialnorm: -29dB
8: E-AC3, English, 1.0 channels, 96kbit/s, 48khz
Extracting audio track number 3...
Extracting audio track number 4...
Extracting primary video track...
Extracting audio track number 5...
Extracting audio track number 6...
Extracting audio track number 7...
Extracting audio track number 8...
Extracting TrueHD stream...
Extracting TrueHD stream...
[libav] Stream parameters not seen; skipping frame
The libav decoder output an unexpected bitdepth (1).
[libav] Stream parameters not seen; skipping frame
The libav decoder output an unexpected bitdepth (1).
Aborted at file position 16384.
I've uploaded the DD+ stream as it's only 38.3 MB rared. - http://www.mediafire.com/?whzbcyyxjgn
madshi
23rd April 2008, 18:27
Still do you think it's a bad rip even though I can successfully demux it?
It seems that eac3to is happy with the TrueHD track, but the libav decoder is not. I've never seen that "[libav] Stream parameters not seen; skipping frame" complaint before yet. Funnily now both you and Chouonsoku seem to have this problem within a few minutes of each other - with different movies! Strange...
Hmmmmm... Did you download eac3to from my homepage? Did you replace some dlls? If not, I can only guess that it's a bad rip. Or that the TrueHD decoder suddenly stopped working. Or maybe there's a new bug in v2.41?
I just got Resident Evil: Extinction and I'm getting all kinds of odd errors with eac3to 2.41. First I demuxed the main movie with BD Demuxer Pro and tried to convert the PiP audio from DD+ to AC3.
Try "eac3to -test" to check whether the Nero decoder works correctly on your PC. You can also try using the "-libav" switch to force eac3to to use the libav decoder instead of the Nero decoder for the DD+ decoding.
Then I thought maybe BD Demuxer Pro just messed up the demux, so I decided to remux the m2ts file directly with eac3to and got a similar error.
I've uploaded the DD+ stream as it's only 38.3 MB rared. - http://www.mediafire.com/?whzbcyyxjgn
This "directly with eac3to" problem is not caused by the DD+ stream, but by the TrueHD stream. So the DD+ sample doesn't help me.
Chouonsoku
23rd April 2008, 19:13
It seems that eac3to is happy with the TrueHD track, but the libav decoder is not. I've never seen that "[libav] Stream parameters not seen; skipping frame" complaint before yet. Funnily now both you and Chouonsoku seem to have this problem within a few minutes of each other - with different movies! Strange...
Hmmmmm... Did you download eac3to from my homepage? Did you replace some dlls? If not, I can only guess that it's a bad rip. Or that the TrueHD decoder suddenly stopped working. Or maybe there's a new bug in v2.41?
Well, I decoded TrueHD tracks from the other RE movies just days earlier when I was using 2.40. I just updated today to 2.41 because of the EAC3 error. Nothing else has changed in my setup.
Try "eac3to -test" to check whether the Nero decoder works correctly on your PC. You can also try using the "-libav" switch to force eac3to to use the libav decoder instead of the Nero decoder for the DD+ decoding.
I ran the test and it turns out that Nero Audio Decoder isn't working properly, which is odd. I'll uninstall and reinstall Nero 7 and see if that helps.
This "directly with eac3to" problem is not caused by the DD+ stream, but by the TrueHD stream. So the DD+ sample doesn't help me.
That stream was included in case it turned out that it was a problem with the EAC3 decoding, not the remuxing. :P But it seems it wasn't a problem either way.
nautilus7
23rd April 2008, 19:41
It seems that eac3to is happy with the TrueHD track, but the libav decoder is not. I've never seen that "[libav] Stream parameters not seen; skipping frame" complaint before yet. Funnily now both you and Chouonsoku seem to have this problem within a few minutes of each other - with different movies! Strange...
I am quite sure i came across this error a few days ago with a truehd stream, but can't remember. Nero on the other hand dealed with the track fine. :confused:
saint-francis
23rd April 2008, 19:47
Hmmmmm... Did you download eac3to from my homepage? Did you replace some dlls? If not, I can only guess that it's a bad rip. Or that the TrueHD decoder suddenly stopped working. Or maybe there's a new bug in v2.41?
I have done nothing unusual to the contents of the eac3to folder. I'm reriping it now for some more clarity.
madshi
23rd April 2008, 19:48
If anyone can provide a little sample which produces that "[libav] Stream parameters not seen; skipping frame" complaint, that would be helpful. I'd then forward it to the libav TrueHD decoder programmer. (If it proves to be a bad rip, this is not necessary, though.)
Chouonsoku
23rd April 2008, 20:20
I've uninstalled and reinstalled Nero and I'm still getting an error with the eac3to test for Nero Audio Decoder. I'm not sure why it wouldn't be working as I know I've decoded EAC3 tracks with Nero before. =/
saint-francis
23rd April 2008, 20:42
It failed on rerip too. Works fine with nero though. How does one make a sample? Could someone point me to a simple guide?
Also is there a way I can demux only that track? The -demux switch demuxes everything and I don't need to do that again.
nautilus7
23rd April 2008, 20:45
If anyone can provide a little sample which produces that "[libav] Stream parameters not seen; skipping frame" complaint, that would be helpful. I'd then forward it to the libav TrueHD decoder programmer. (If it proves to be a bad rip, this is not necessary, though.)
I can't send a sample, because i deleted the ripped movie and i don't have any time to re-rip it... but i remember which movie was it. The Fifth element Remastered Blu-ray.
madshi
23rd April 2008, 20:49
I've uninstalled and reinstalled Nero and I'm still getting an error with the eac3to test for Nero Audio Decoder. I'm not sure why it wouldn't be working as I know I've decoded EAC3 tracks with Nero before. =/
Can't help you there. You've registered the HD DVD/Blu-Ray plugin, right?
It failed on rerip too. Works fine with nero though. How does one make a sample? Could someone point me to a simple guide?
Easiest way would be to use a hexeditor. E.g. this free one:
http://www.mh-nexus.de/
Just remove everything except the first 50MB.
Thunderbolt8
23rd April 2008, 21:18
I can't send a sample, because i deleted the ripped movie and i don't have any time to re-rip it... but i remember which movie was it. The Fifth element Remastered Blu-ray.
converted this one to flac already (with a pre-2.41 version though) and had no problems with it, using the standard decoder. did that approx. 1-1,5 months ago. that track is said to be 20-bit btw.
saint-francis
23rd April 2008, 21:22
Just remove everything except the first 50MB.
How does one do this exactly? All I see is a screen full of many characters. Some I understand as conventional numbers and letters and some I don't.
nautilus7
23rd April 2008, 21:57
converted this one to flac already (with a pre-2.41 version though) and had no problems with it, using the standard decoder. did that approx. 1-1,5 months ago. that track is said to be 20-bit btw.I did it with 2.40 i think. I also some tests... It happens only with Blu-ray TrueHD streams. I got this error with Blade Runner just now, but not with a HD DVD i tried.
Madshi, if you don't have any Blu-ray Disc with TrueHD, i 'll send you a sample.
Saint-francis, you just select the first 50 MB and copy-paste them to a new file. It's not necessary to upload the sample, i believe. I can do it, since i found one. :)
saint-francis
23rd April 2008, 22:14
IIt happens only with Blu-ray TrueHD streams. I got this error with Blade Runner just now, but not with a HD DVD i tried.
Yes HD DVD TruHD files still work for me. This is the first BD TruHD file I've encountered though.
Saint-francis, you just select the first 50 MB and copy-paste them to a new file. It's not necessary to upload the sample, i believe. I can do it, since i find one. :)
Good, because I can't make heads nor tails out of what this hex editor is telling me. :P
bsw11
23rd April 2008, 22:15
If eac3to outputs 2 channels, but you are certain there are 6 channels, then there is a bug somewhere.
Your original track is a vob file? From dvd? Or dts wav cd? I 'm confused... Anyway can you upload a sample of the original track (dts/vob/wav/whatever) that eac3to decodes as 2 channel?
I don't think there is any audio editor that can edit dts tracks without decoding first.
Yes I am 100% certain its a 6 ch DTS wav file.
And as I stated it came from a vob file that was a DTS Audio DVD. - where the audio tracks are on the VIDEO_TS folder and I used VOBORATOR to extract them.
http://alphabase.com/downloads/testDTS.wav is the smallest test file I had.
Thanks for you help on this.
nautilus7
23rd April 2008, 22:53
Are you sure the file is ok? eac3to detects it as wav, not dts wav and i can't play it correctly.
Furthermore, eac3to can deal with vob files directly, so vobrator isn't needed. Try eac3to with the vob files.
bsw11
23rd April 2008, 23:40
Are you sure the file is ok? eac3to detects it as wav, not dts wav and i can't play it correctly.
Furthermore, eac3to can deal with vob files directly, so vobrator isn't needed. Try eac3to with the vob files.
I am 100% sure that file plays as a 6 ch dts using zplayer.exe (once its setup correctly).
I did try the VOB and it looks like its going to work - but I don't have the sonic decoder. I do have nero 7 on this PC, but I still get an error:
Decoding with DirectShow (Nero Audio Decoder 2)...
The DirectShow audio decoder didn't accept the input stream.
Aborted at file position 147456.
Can you provide me with a link to a usable decoder?
I am using ac3dts in zplayer - can eac3to use this?
nautilus7
23rd April 2008, 23:49
Do you have nero HD DVD / blu-ray plug-in bought and registered? If not, you can use the libav decoder that ships with eac3to (-libav option).
The command should be like:
eac3to input.vob to get the id number of the audio dts stream, and then:
eac3to input.vob id_number: output.wavs -libav -resampleto44100
Chouonsoku
24th April 2008, 00:01
Can't help you there. You've registered the HD DVD/Blu-Ray plugin, right?
I formatted recently and forgot to do that when I installed Nero. Problem solved. :)
Still getting the TrueHD error though after decrypting and demuxing RE 3 again. Do you happen to still have 2.40 somewhere so I can see if there error exists with that version?
bsw11
24th April 2008, 00:51
Do you have nero HD DVD / blu-ray plug-in bought and registered? If not, you can use the libav decoder that ships with eac3to (-libav option).
The command should be like:
eac3to input.vob to get the id number of the audio dts stream, and then:
eac3to input.vob id_number: output.wavs -libav -resampleto44100
OK - that worked great! - I did not even have to get the id first - your program just figured it out and did the deal.
However your decoder definitely has a bug in that it is not figuring out .wav files that are dts encoded. I have tired a few other files - ones that are already 44k and they have exactly the same problem - they are calling it a 2 ch file - which by the way it is written as a 2ch file to fake out cd players into streaming the 2 channels to a decoder which then decodes the 6 channels. So my guess is that you need more code to figure out that there is really 6 channels there. Hopefully this can get fixed as I have a lot more files already .wav files that I won't be able to split up.
Thanks for you help!
Chouonsoku
24th April 2008, 00:55
Well, whatever problem I had, it's fixed now. I demuxed the m2ts file through eac3to and then opened the TrueHD track without the AC3 track embedded and it's encoding to FLAC now.
Edit: I forgot that I updated to the latest ffdshow nightly build from XXL today. That may or may not have fixed the libav error.
nautilus7
24th April 2008, 01:00
OK - that worked great! - I did not even have to get the id first - your program just figured it out and did the deal.
However your decoder definitely has a bug in that it is not figuring out .wav files that are dts encoded. I have tired a few other files - ones that are already 44k and they have exactly the same problem - they are calling it a 2 ch file - which by the way it is written as a 2ch file to fake out cd players into streaming the 2 channels to a decoder which then decodes the 6 channels. So my guess is that you need more code to figure out that there is really 6 channels there. Hopefully this can get fixed as I have a lot more files already .wav files that I won't be able to split up.
Thanks for you help!
:D eac3to it's not my program! :D It's madshi's! He should get all the credit (and the blame :p ).
Though, what you mention about dts-wav support not being complete might be true. Perhaps madshi can have a look at the sample you uploaded in your previous post...
nautilus7
24th April 2008, 01:04
Well, whatever problem I had, it's fixed now. I demuxed the m2ts file through eac3to and then opened the TrueHD track without the AC3 track embedded and it's encoding to FLAC now.
Edit: I forgot that I updated to the latest ffdshow nightly build from XXL today. That may or may not have fixed the libav error.ffdshow has nothing to do with the libav decoder that eac3to is using.
This truehd decoding bug, i think, isn't libav related, since it works for hd dvd tracks, but an eac3to bug. Furthermore, it was introduced in the recent versions of eac3to, where no libav update was done.
tebasuna51
24th April 2008, 01:05
I am 100% sure that file plays as a 6 ch dts using zplayer.exe (once its setup correctly).
Can you provide me with a link to a usable decoder?
I am using ac3dts in zplayer - can eac3to use this?
You are right, your testDTS.wav is a correct 5.1 channel 48 KHz, seems a bug in eac3to, don't detect is a dtswav and split the file like the wav header info (2 ch, 16 bit).
If you rename the file to testDTS.dts you can decode, resample and split in monowavs with BeHappy.
You can also convert the dtswav to dts with:
BeSplit -core( -input testDTS.wav -prefix xxx_ -type dtswav -fix )
The xxx_01.dstwav obtained work now with eac3to.
bsw11
24th April 2008, 01:07
Has anyone done a front end for eac3to? It would sure be useful.
Thanks for the Link!
nautilus7
24th April 2008, 01:09
eac3to and More GUI (http://forum.doom9.org/showthread.php?t=135095)
BLKMGK
24th April 2008, 01:43
Works for me. Please double check the eac3to version you're using. If it's the latest and the problem is really there, I'd be happy about a small sample.
Madshi, I am indeed on 2.41. Tonight I ripped an HD-DVD movie and ALSO got no frame count ->
D:\Video\eac3to>eac3to y:\HVDVD_TS\feature_district_13.evo 2: f:\b13\b13-vid.mkv 3: f:\b13\b13-aud.ac3 -640 -libav
EVO, 1 video track, 3 audio tracks, 2 subtitle tracks, 1:24:32
"feature"
1: Chapters, 16 chapters without names
2: VC-1, 1080p24 /1.001 (16:9)
3: E-AC3, English, 5.1 channels, 640kbit/s, 48khz, dialnorm: -27dB, -9ms
4: TrueHD, English, 5.1 channels, 48khz, dialnorm: -27dB, 12ms
5: E-AC3, French, 5.1 channels, 640kbit/s, 48khz, dialnorm: -27dB, -9ms
6: Subtitle, English, "SDH"
7: Subtitle, Spanish
Extracting primary video track...
Muxing video to Matroska...
Extracting audio track number 3...
Removing dialog normalization...
Applying (E-)AC3 delay...
Remapping channels...
Loading white noise (needed for dithering)...
Encoding AC3...
Creating file "f:\b13\b13-aud.ac3"...
Added fps value to MKV header.
eac3to processing took 25 minutes, 40 seconds.
Done.
D:\Video\eac3to>eac3to y:\HVDVD_TS\feature_district_13.evo
EVO, 1 video track, 3 audio tracks, 2 subtitle tracks, 1:24:32
"feature"
1: Chapters, 16 chapters without names
2: VC-1, 1080p24 /1.001 (16:9)
3: E-AC3, English, 5.1 channels, 640kbit/s, 48khz, dialnorm: -27dB, -9ms
4: TrueHD, English, 5.1 channels, 48khz, dialnorm: -27dB, 12ms
5: E-AC3, French, 5.1 channels, 640kbit/s, 48khz, dialnorm: -27dB, -9ms
6: Subtitle, English, "SDH"
7: Subtitle, Spanish
So it does not just appear to be M2TS :(
D:\Video\eac3to>eac3to x:\BDMV\STREAM\00002.m2ts 1: f:\wonder\wonder-vid.mkv 2: f:\wonder\wonder-aud.ac3 -640 -libav
M2TS, 1 video track, 3 audio tracks, 1:34:17
1: h264/AVC, 1080p24 /1.001 (16:9)
2: DTS Master Audio, English, 5.1 channels, 24 bits, 48khz, -6ms
3: AC3, English, 5.1 channels, 448kbit/s, 48khz, dialnorm: -27dB, -27ms
4: AC3, French, 5.1 channels, 448kbit/s, 48khz, dialnorm: -27dB, -27ms
The libav DTS decoder doesn't decode the full DTS-HD information.
Extracting primary video track...
Extracting audio track number 2...
Extracting DTS core...
Applying DTS delay...
Muxing video to Matroska...
Remapping channels...
Loading white noise (needed for dithering)...
Encoding AC3...
Creating file "f:\wonder\wonder-aud.ac3"...
Added fps value to MKV header.
eac3to processing took 42 minutes, 6 seconds.
Done.
D:\Video\eac3to>eac3to
eac3to v2.41, freeware by madshi.net
Hope that helps track it down! I do not think this is the video doing it...
P.S. On the M2TS the video was a bit hashed during the credits. The rest of the movie appears fine but I need to umm watch it all the way through to be sure. Do not think this is from eac3to but thought I'd mention it, only noticed it when checking the X264 compressed version, not yet checked original. The BD went from 29Gig to 7.5Gig and I thought surely there was a problem since I transcode at VERY high quality. Odd.... <shrug>
nautilus7
24th April 2008, 02:18
I am sorry to confirm the frame count problem: :eek:
eac3to v2.41
command line: eac3to "H:\Testosteron HD DVD 1080p VC-1 DD+ 5.1" 1) 1: c:\tes\tes.txt 2: c:\tes\tes.mkv 3: c:\tes\tes.ac3 4: c:\tes\tes.dtshd 5: c:\tes\tes.sup
------------------------------------------------------------------------------
EVO, 1 video track, 2 audio tracks, 1 subtitle track, 1:56:31
"MainMovie"
1: Chapters, 18 chapters with names
2: VC-1, 1080p30 /1.001 (16:9)
3: E-AC3, English, 5.1 channels, 768kbit/s, 48khz, dialnorm: -27dB
4: DTS Hi-Res, English, 5.1 channels, 16 bits, 2082kbit/s, 48khz, dialnorm: -4dB
5: Subtitle, English
Creating file "c:\tes\tes.txt"...
Extracting primary video track...
Extracting audio track number 4...
Muxing video to Matroska...
Extracting audio track number 3...
Removing dialog normalization...
Removing dialog normalization...
Patching bitdepth to 24 bits...
Decoding with DirectShow (Nero Audio Decoder 2)...
Disabling DRC for Nero (E-)AC3 decoding...
DirectShow reports 5.1 channels, 24 bits, 48khz
Encoding AC3...
Extracting subtitle track number 5...
Creating file "c:\tes\tes.dtshd"...
Creating file "c:\tes\tes.ac3"...
Creating file "c:\tes\tes.sup"...
Added fps value to MKV header.
eac3to processing took 14 minutes, 48 seconds.
Done.
xkodi
24th April 2008, 05:16
If anyone can provide a little sample which produces that "[libav] Stream parameters not seen; skipping frame" complaint, that would be helpful. I'd then forward it to the libav TrueHD decoder programmer. (If it proves to be a bad rip, this is not necessary, though.)
madshi, something is wrong with eac3to 2.41 or the following is expected behavior:
when tried to decode the TrueHD track from Resident Evil Extinction Blu-ray that is demuxed with xport 1.01, eac3to 2.41 says:
C:\eac3to241>eac3to G:\bits0001.mpa G:\evil.wavs
The format of the source file could not be detected.
but everything is OK and exactly the same file decodes fine using eac3to 2.29:
C:\eac3to229>eac3to G:\bits0001.mpa G:\evil.wavs
TrueHD/AC3, 5.1 channels, 48khz
Extracting TrueHD stream...
Writing WAVs...
This audio track contains more than 16 bit of information.
and when with eac3to 2.41 tried:
C:\eac3to241>eac3to G:\00011.m2ts G:\evil.mkv
the error you are talking about is generated:
M2TS, 2 video tracks, 6 audio tracks, 1:34:06
1: h264/AVC, 1080p24 /1.001 (16:9)
2: h264/AVC, 480p24 /1.001 (20:11)
3: TrueHD/AC3, English, 5.1 channels, 48khz
4: TrueHD/AC3, French, 5.1 channels, 48khz
5: AC3, Spanish, 5.1 channels, 640kbit/s, 48khz
6: AC3, Portuguese, 5.1 channels, 640kbit/s, 48khz, dialnorm: -30dB
7: AC3, English, 2.0 channels, 192kbit/s, 48khz, dialnorm: -29dB
8: E-AC3, English, 1.0 channels, 96kbit/s, 48khz
Extracting primary video track...
Extracting audio track number 3...
Extracting audio track number 4...
Extracting audio track number 5...
Extracting audio track number 6...
Extracting audio track number 7...
Extracting audio track number 8...
Extracting TrueHD stream...
Extracting TrueHD stream...
[libav] Stream parameters not seen; skipping frame
The libav decoder output an unexpected bitdepth (1).
[libav] Stream parameters not seen; skipping frame
The libav decoder output an unexpected bitdepth (1).
Aborted at file position 16384.
when tried C:\eac3to241>eac3to G:\00011.m2ts G:\evil.wavs
i got the same error:
M2TS, 2 video tracks, 6 audio tracks, 1:34:06
1: h264/AVC, 1080p24 /1.001 (16:9)
2: h264/AVC, 480p24 /1.001 (20:11)
3: TrueHD/AC3, English, 5.1 channels, 48khz
4: TrueHD/AC3, French, 5.1 channels, 48khz
5: AC3, Spanish, 5.1 channels, 640kbit/s, 48khz
6: AC3, Portuguese, 5.1 channels, 640kbit/s, 48khz, dialnorm: -30dB
7: AC3, English, 2.0 channels, 192kbit/s, 48khz, dialnorm: -29dB
8: E-AC3, English, 1.0 channels, 96kbit/s, 48khz
Track 3 is used for destination file "kodio.wavs".
Extracting audio track number 3...
Extracting TrueHD stream...
[libav] Stream parameters not seen; skipping frame
The libav decoder output an unexpected bitdepth (1).
Aborted at file position 16384.
but when tried: C:\eac3to241>eac3to G:\00011.m2ts G:\evil.wavs -nero
then it is OK:
M2TS, 2 video tracks, 6 audio tracks, 1:34:06
1: h264/AVC, 1080p24 /1.001 (16:9)
2: h264/AVC, 480p24 /1.001 (20:11)
3: TrueHD/AC3, English, 5.1 channels, 48khz
4: TrueHD/AC3, French, 5.1 channels, 48khz
5: AC3, Spanish, 5.1 channels, 640kbit/s, 48khz
6: AC3, Portuguese, 5.1 channels, 640kbit/s, 48khz, dialnorm: -30dB
7: AC3, English, 2.0 channels, 192kbit/s, 48khz, dialnorm: -29dB
8: E-AC3, English, 1.0 channels, 96kbit/s, 48khz
Track 3 is used for destination file "kodio.wavs".
Extracting audio track number 3...
Extracting TrueHD stream...
Decoding with DirectShow (Nero Audio Decoder 2)...
DirectShow reports 5.1 channels, 24 bits, 48khz
Writing WAVs...
This audio track contains more than 16 bit of information.
please, let me know if you still need a sample.
madshi
24th April 2008, 07:59
eac3to v2.42 released
http://madshi.net/eac3to.zip
* added support for 16bit DTSWAV files
* fixed: Blu-Ray TrueHD support was broken
No samples required for the "[libav] Stream parameters not seen; skipping frame" problem. Should be fixed now.
madshi
24th April 2008, 08:01
You are right, your testDTS.wav is a correct 5.1 channel 48 KHz, seems a bug in eac3to, don't detect is a dtswav and split the file like the wav header info (2 ch, 16 bit).
The only WAVDTS sample I had was 14bit, so eac3to's WAVDTS support was limited to 14bit files. The new sample is 16bit. Added support for that in v2.42 now.
nautilus7
24th April 2008, 08:29
Madshi = Superman!!! Thanks.
Thunderbolt8
24th April 2008, 15:19
I am sorry to confirm the frame count problem: :eek:
is this actually only a display bug or also a possible video/sync problem?
nautilus7
24th April 2008, 15:35
I don't know... the mkvs play fine, if that's what you mean.
Thunderbolt8
24th April 2008, 15:50
got a problem with a 1280x1024 mpeg2 29.97 fps .ts file regarding audio sync. the video is being mistaken by eac3to as 24p and there are as well audio gaps (basically for half of all seconds of the movie/sample duration). the problem is that even when using the gaps file at the 2nd run and even when forcing -60i the audio is still a little out of sync.
made a little sample (unfortunately you most likely wont be able to test sync with that as theres not much dialogue in the movie):
http://www.sendspace.com/file/azbq4w
rack04
24th April 2008, 16:27
How do you specify an output folder for -demux?
Roscoe62
25th April 2008, 00:45
I've just found the weirdest thing I've ever come across. I ripped my copy of the HD-DVD Ocean's Thirteen a while back. Everything was fine and then I discovered there are supposed to be forced subtitles so, recently I ripped it again as eac3to can now grab the subtitles and chapters. I went through the process of converting the audio to flac, muxing the flac, chapters and subtitles to a new mkv file and playing it back. After a little messing around I was able to get the subs working just fine.....and then I noticed that I couldn't really hear any dialogue!
I checked my center speaker and it was definitely working. When there's music playing the center channel seems to be working OK, but any time there's dialogue you can hardly hear it. I tried other movies and they are working fine. It's like the center channel has been seriously attenuated, or perhaps it's something to do with dialnorm not being removed? I don't really know - I'm just throwing ideas around. The graph I create in graphedit is the same as every other movie with VC1 video & flac audio. The only difference is the inclusion of the VS filter for the subs. However, I tried the graph without the VS filter and it made no difference to the center channel problem.
I did the recent rip using eac3to v2.40. I've just upgraded to v2.42 so I'm going to go through the whole rip & remux process again to see if it makes a difference, but if anyone has any ideas in the meantime, or has experienced something similar, I'd be glad to hear from you.
bmnot
25th April 2008, 01:56
I loaded one of those Japanese HDTV captures into eac3to and it says:
This TS/M2TS file is encrypted.
The format of the source file could not be detected.
lol?
Roscoe62
25th April 2008, 05:55
OK, re-ripped and tested several scenarios using eac3to v2.42 and now audio, video & subs are working normally. Don't really know what the problem was, but it's sorted out now.
mikeathome
25th April 2008, 17:40
I loaded one of those Japanese HDTV captures into eac3to and it says:
Quote:
This TS/M2TS file is encrypted.
The format of the source file could not be detected.
lol?
Hi,
run them through TSRemux first. I got a successful method figured out which works reliable (for me).
http://forum.doom9.org/showthread.php?t=137113
mike
DoomBot
25th April 2008, 22:32
Im having a problem with a truehd file its from Spider-man 2 it comes up with libav Lossless check failed- expected 5a, calculated 2f and it goes on from there with other check failed.
So what might be the problem here? I have tried this with a buddys copy of Spider-man 2 and get the same results.
Plus this is the only movie i have ever had a problem with.
------------------------------------------------------------------------------
M2TS, 1 video track, 2 audio tracks
1: h264/AVC, 1080p24 /1.001 (16:9)
2: TrueHD/AC3, English, 5.1 channels, 48khz
3: TrueHD/AC3, English, 5.1 channels, 48khz
Track 2 is used for destination file ".dts".
Extracting audio track number 2...
Extracting TrueHD stream...
Writing WAVs...
Creating file ".L.wav"...
Creating file ".R.wav"...
Creating file ".SL.wav"...
Creating file ".SR.wav"...
Creating file ".C.wav"...
Creating file ".LFE.wav"...
[libav] Lossless check failed - expected 5a, calculated 2f
[libav] Lossless check failed - expected 4b, calculated c4
[libav] Lossless check failed - expected cf, calculated c5
[libav] Lossless check failed - expected 5d, calculated da
[libav] Lossless check failed - expected d, calculated 47
[libav] Lossless check failed - expected 25, calculated c9
[libav] Lossless check failed - expected fc, calculated c5
[libav] Lossless check failed - expected 12, calculated dd
[libav] Lossless check failed - expected 27, calculated cf
[libav] Lossless check failed - expected 2a, calculated ef
Found Surcode DTS Encoder version 1.0.23.0.
Surcode encoding successfully started. Please wait...
Closing Surcode...
eac3to processing took 29 minutes, 9 seconds.
Surcode encoding took 25 minutes, 34 seconds.
Done.
ntk
26th April 2008, 20:46
Thanks a lot Madshi for the great tool! So far all non-branching BD .m2ts files I've run through have been flawless and totally straightforward. Good work!
I know Madshi said he plans to add a merge feature for branching titles. In the meantime, does anyone have a recommendation for how to do seamless branching titles?
I tried merging the files with tssplitter but that resulted in an .m2ts file with an error in it (the player won't seek past the merge point and eac3to reports a corrupt file). I was wondering whether using eac3to on the separate files, then copy /b the video.mkv files together (same for audio) before merging with mkvmerge, would work? Other approaches?
Thanks!
DoomBot
26th April 2008, 22:22
Thanks a lot Madshi for the great tool! So far all non-branching BD .m2ts files I've run through have been flawless and totally straightforward. Good work!
I know Madshi said he plans to add a merge feature for branching titles. In the meantime, does anyone have a recommendation for how to do seamless branching titles?
I tried merging the files with tssplitter but that resulted in an .m2ts file with an error in it (the player won't seek past the merge point and eac3to reports a corrupt file). I was wondering whether using eac3to on the separate files, then copy /b the video.mkv files together (same for audio) before merging with mkvmerge, would work? Other approaches?
Thanks!
Try using tsmuxer thats what i use great software. You can open Blu-ray playlist (MPLS)
http://forum.doom9.org/showthread.php?t=134104
laserfan
27th April 2008, 00:24
How do you specify an output folder for -demux?No response to this question--is there a way to specify a different output directory (i.e. hard disk drive) when using -demux?
esoteradactyl
27th April 2008, 01:49
just ran into my first problem.. ive done almost 100 rips and this is the first to give me problems. the movie is "before the devil knows your dead". im getting 2.0 when it should be 5.1 :confused:
c:\EAC3TO>eac3to 00000.m2ts 1: video.mkv 2: audio.flac
M2TS, 1 video track, 3 audio tracks, 1:56:43
1: h264/AVC, 1080p24 /1.001 (16:9)
2: DTS Master Audio, 5.1 channels, 16 bits, 48khz
3: AC3, 5.1 channels, 640kbit/s, 48khz
4: AC3, 2.0 channels, 224kbit/s, 48khz
Extracting primary video track...
Extracting audio track number 2...
Muxing video to Matroska...
Decoding with DirectShow (Sonic Audio Decoder)...
Find sync word: 7ffe8001
Find sync extension: 3f
DirectShow reports 2.0 channels, 16 bits, 48khz
Encoding FLAC...
Creating file "audio.flac"...
Added fps value to MKV header.
eac3to processing took 35 minutes, 52 seconds.
Done.
bmnot
27th April 2008, 02:04
Try using tsmuxer thats what i use great software. You can open Blu-ray playlist (MPLS)
http://forum.doom9.org/showthread.php?t=134104
When I use TsMuxer to join a branching title into a ts, when I load the ts into eac3to, it says "This doesn't seem to be a valid h264/AVC stream" I know it's not eac3to fault, but note that you can't use ts's from tsmuxer in eac3to, at least in my experience.
BLKMGK
27th April 2008, 03:05
Just came across my first movie with chapters. Does eac3to write out a file for them automatically or do I need to do something to create it like I do audio and video files? Just import that file into meGUI for chapters when I compress? Not sure what good they will do me but figured if they are there I'd try to use them :p
As for BD, when I have multiple M2TS files I join them just like I do HD-DVD. So far I've had VERY few of these so don't take that as gospel - worth a try though!
deathlord
27th April 2008, 07:49
When I use TsMuxer to join a branching title into a ts, when I load the ts into eac3to, it says "This doesn't seem to be a valid h264/AVC stream" I know it's not eac3to fault, but note that you can't use ts's from tsmuxer in eac3to, at least in my experience.
Try remuxing to m2ts instead! Eac3to should work on that.
BLKMGK
27th April 2008, 12:13
Madshi, 2.42 also shows no frame count when it's done FYI. Doesn't seem to be effecting my encodes not feeding it that info. but this is something that was present previously.
P.S. Oh no chapter info either but I'm not sure I did what was needed to create this. :p Wiki (http://en.wikibooks.org/wiki/Eac3to/How_to_Use) doesn't mention chapters - doh!
Chumbo
27th April 2008, 16:21
No response to this question--is there a way to specify a different output directory (i.e. hard disk drive) when using -demux?
I don't think there is one right now.
@madshi,
Would you kindly add this to the wish list please? I wouldn't mind seeing this feature either. :)
madshi
27th April 2008, 17:44
I loaded one of those Japanese HDTV captures into eac3to and it says:
"This TS/M2TS file is encrypted."
lol?
There's a flag in the TS/M2TS file structure which specifies whether the stream is encrypted or not. Obviously if the stream is really encrypted there's no way to properly play it without decrypting it first (which eac3to cannot do). So I thought it was a good idea to refuse handling of transport streams which have the "I am encrypted" flag set.
Any opinions? Should I remove the check for encryption?
Im having a problem with a truehd file its from Spider-man 2 it comes up with libav Lossless check failed- expected 5a, calculated 2f and it goes on from there with other check failed.
This is most probably a problem with the joined m2ts parts. I wouldn't worry about these warnings. The decoded audio should be just fine. It's just that the "lossless safety check" probably always fails at the join points of multiple m2ts parts...
just ran into my first problem.. ive done almost 100 rips and this is the first to give me problems. the movie is "before the devil knows your dead". im getting 2.0 when it should be 5.1 :confused:
Please try "eac3to -test". Does the Sonic decoder work alright on your PC? You can try the "-libav" switch to force decoding with the libav decoder instead of Sonic. Does that also output 2.0 only?
Just came across my first movie with chapters. Does eac3to write out a file for them automatically or do I need to do something to create it like I do audio and video files?
Depends on how you use eac3to. When doing "eac3to source -demux" or "eac3to source movie.mkv", eac3to will automatically demux all audio tracks, subtitle tracks and also save the chapters into a text file. If you manually choose which audio/subtitle tracks you want to have handled, you also need to tell eac3to to export the chapters. Just do "eac3to source chaptertracknumber: chapters.txt".
Just import that file into meGUI for chapters when I compress?
I don't know meGUI. The chapters are in the format which mkvtoolnix needs.
How do you specify an output folder for -demux?
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".
madshi
27th April 2008, 17:45
got a problem with a 1280x1024 mpeg2 29.97 fps .ts file regarding audio sync. the video is being mistaken by eac3to as 24p and there are as well audio gaps (basically for half of all seconds of the movie/sample duration). the problem is that even when using the gaps file at the 2nd run and even when forcing -60i the audio is still a little out of sync.
made a little sample (unfortunately you most likely wont be able to test sync with that as theres not much dialogue in the movie):
http://www.sendspace.com/file/azbq4w
Thanks for the sample. I'll put this on my to do list. I want to get Blu-Ray seamless branching support done first, though.
laserfan
27th April 2008, 20:32
Regarding demux to another directory, you said:
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".This is excellent! Especially the bit about changing the PATH specification. I will try it! Thanks!
bmnot
27th April 2008, 20:36
There's a flag in the TS/M2TS file structure which specifies whether the stream is encrypted or not. Obviously if the stream is really encrypted there's no way to properly play it without decrypting it first (which eac3to cannot do). So I thought it was a good idea to refuse handling of transport streams which have the "I am encrypted" flag set.
It's not encrypted though. Here's the first 25MBs of it:
http://www.mediafire.com/?kemgxfjxwxw
madshi
27th April 2008, 23:22
It's not encrypted though. Here's the first 25MBs of it:
http://www.mediafire.com/?kemgxfjxwxw
Yes, it's not encrypted. But the stream actually claims it is encrypted. So obviously the "encryption flag" in the stream is set incorrectly.
Again: eac3to asking this flag does have a sense. But still I'm asking for opinions on whether I should remove the encryption check. What do you guys think?
madshi
27th April 2008, 23:29
I have a movie (the second one in less than a week now) that has the audio lagging behind the video. Prior to this movie, I had only seen this twice before -- on one Bluray and on one HD-DVD.
When the audio lags behind the video, it can be corrected one of two ways:
1. Either padding the video by put blank frames at the start or...
2. Chop some frames off the start of the audio track
In the HD-DVD case, EVODemux actually got it right and was able to display the correct audio advance that would be required in milliseconds to correct the situation.
In both Bluray cases, neither eac3to or tsMuxeR have gotten it right. In fact neither even indicate any kind of delay or advance.
I've checked the sample you sent me. As you say, neither eac3to nor TsMuxer show any audio delay. I've also checked xport. Letting xport demux gives me bit for bit the same result as demuxing with eac3to. Looking at the sample it's pretty clear that the stream is structured in such a way that technically no audio delay is needed. If audio sync is incorrect, I'd guess that the movie was not authored correctly.
Bluestraw
27th April 2008, 23:32
Yes, it's not encrypted. But the stream actually claims it is encrypted. So obviously the "encryption flag" in the stream is set incorrectly.
Again: eac3to asking this flag does have a sense. But still I'm asking for opinions on whether I should remove the encryption check. What do you guys think?I'd say the ideal solution would be some option, e.g. -ignoreencrypt which would give the option to 'force' this. You could even add a help text 'stream seems to be encrypted, use -ignoreencrypt to ignore this' for those streams with the flag checked...
...though this would be well down on my 'to do' list ;)
B4tm4n
27th April 2008, 23:33
Again: eac3to asking this flag does have a sense. But still I'm asking for opinions on whether I should remove the encryption check. What do you guys think?
Could there be an option to turn it off if needed, but left on as default ?
madshi
28th April 2008, 00:00
eac3to v2.43 released
http://madshi.net/eac3to.zip
* added automatic Blu-Ray playlist parsing
* added support for multi part (e.g. seamless branching) Blu-Ray titles
* audio gap/overlap detection rewrite completed
* added audio gap/overlap correction functionality
* added Blu-Ray chapter support
* log lines are now prefixed with a track identifier
* RAW/PCM delay is used instead of bitstream delay, if possible
* fixed: video framecount was missing
http://madshi.net/icon_redBalloon.gifhttp://madshi.net/icon_greenBalloon.gif http://madshi.net/icon_blueBalloon.gif full support for seamless branching Blu-Rays added http://madshi.net/icon_redBalloon.gifhttp://madshi.net/icon_greenBalloon.gifhttp://madshi.net/icon_blueBalloon.gif
CAUTION: This new feature is in experimental state.
Basically you can now do the same thing you're used to from HD DVD handling. E.g. calling "eac3to z:\spider-man-2-movie-folder" results in this output:
1) 00049.mpls, 2:15:48
[0+5+6+8+9+16+17+55+56+22+23+24+25+26+27+30+31+32+33+57+103+50].m2ts
- h264/AVC, 1080p24 /1.001 (16:9)
- TrueHD, English, multi-channel, 48khz
- TrueHD, English, multi-channel, 48khz
- AC3, Czech, multi-channel, 48khz
- AC3, Czech, multi-channel, 48khz
- AC3, Polish, multi-channel, 48khz
- AC3, Polish, multi-channel, 48khz
- AC3, English, stereo, 48khz
2) 00048.mpls, 2:07:28
[1+5+7+8+10+16+38+55+54+22+41+24+42+26+43+30+45+32+46+57+58+50].m2ts
- h264/AVC, 1080p24 /1.001 (16:9)
- TrueHD, English, multi-channel, 48khz
- TrueHD, English, multi-channel, 48khz
- AC3, Czech, multi-channel, 48khz
- AC3, Czech, multi-channel, 48khz
- AC3, Polish, multi-channel, 48khz
- AC3, Polish, multi-channel, 48khz
- AC3, English, stereo, 48khz
3) 00051.mpls, 00050.m2ts, 0:25:35
- h264/AVC, 1080p24 /1.001 (16:9)
- TrueHD, English, multi-channel, 48khz
- TrueHD, English, multi-channel, 48khz
- AC3, Czech, multi-channel, 48khz
- AC3, Czech, multi-channel, 48khz
- AC3, Polish, multi-channel, 48khz
- AC3, Polish, multi-channel, 48khz
- AC3, English, stereo, 48khz
4) 00032.mpls, 00032.m2ts, 0:25:06
- h264/AVC, 1080p24 /1.001 (16:9)
- TrueHD, English, multi-channel, 48khz
- TrueHD, English, multi-channel, 48khz
- AC3, Czech, multi-channel, 48khz
- AC3, Czech, multi-channel, 48khz
- AC3, Polish, multi-channel, 48khz
- AC3, Polish, multi-channel, 48khz
- AC3, English, stereo, 48khz
Unfortunately there are no description strings available for the titles in Blu-Ray. So you'll have to guess which is which by looking at the runtime and audio tracks etc. eac3to only lists titles which have a runtime of at least 15 minutes.
As usual you can convert the longest title simply by doing "eac3to z:\spider-man-2-movie-folder c:\remuxes\spider2.mkv".
Please note that with most movies which consist of multiple parts the audio tracks overlap. If you don't correct that, audio sync will gradually get lost, a bit more with every new m2ts part. eac3to can now correct this, but this audio overlap correction is not well tested yet. So I advise you to be careful with it and double check the results.
If would be great if you guys could test a few seamless branching titles and report back how good/bad eac3to's new functionality works. It would be especially interesting to know whether the audio overlap correction works as expected - or not.
madshi
28th April 2008, 00:09
P.S: Audio overlap correction can be done in 2 different ways:
(1) You can simply repeat the whole demuxing/remuxing process. If you do this, eac3to will automatically remove all overlaps.
(2) Or you can manually fix the audio streams you're interested in. Basically for every audio stream which overlaps there is a "gaps" file created. E.g. for "audio.ac3" you'll get "audio.ac3.gaps". You can now do "eac3to audio.ac3 audio2.ac3". Doing this will remove the overlaps. "audio2.ac3" will then usually be shorter than "audio.ac3".
You can decide for yourself which solution you like better.
-------------------------------------
One question to you guys: If there is a *gap* in the audio stream, how shall I fill it? Shall I fill it with silence? Or shall I loop the audio which was directly before the gap? Currently I'm keeping a buffer which always contains the last second worth of audio data. This buffer is then used for filling gaps. It seems to work fairly well (I simulated gaps for testing). But I'm not sure. Maybe filling in silence would be better? What do you think?
woah!
28th April 2008, 01:16
i just tried avpr bluray and if i use cmd: eac3to Z:\AVP2
i get this:
1) 00071.mpls, 1:41:05
[10+50+11+51+12+52+13+53+14+54+15+55+16+56+17+57+18+58+19+59+20+60+21+61+22+6
2+23+63+24+64+25+65+26+66+27+67+28+68+29+69].m2ts
- h264/AVC, 1080p24 /1.001 (16:9)
- DTS Master Audio, English, multi-channel, 48khz
- AC3, Spanish, multi-channel, 48khz
- AC3, French, multi-channel, 48khz
- AC3, English, stereo, 48khz
- AC3, English, stereo, 48khz
- AC3, English, stereo, 48khz
- AC3, English, stereo, 48khz
which is the unrated version that i wanted so great :)
but when i use this cmd to give me a mkv and ac3 file it picks up a chapters list which it doesnt support. that wasnt picked up from the folder view i did first?
M2TS, 1 video track, 7 audio tracks, 1:41:03
1: Chapters, 29 chapters
2: h264/AVC, 1080p24 /1.001 (16:9)
3: DTS Master Audio, English, 5.1 channels, 24 bits, 48khz
4: AC3, Spanish, 5.1 channels, 448kbit/s, 48khz, dialnorm: -27dB
5: AC3, French, 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
8: AC3, English, 2.0 channels, 224kbit/s, 48khz, dialnorm: -27dB
9: AC3, English, 2.0 channels, 224kbit/s, 48khz, dialnorm: -27dB
This chapter conversion is not supported.
i used 1: and 2: for my options as thats what the folder view showed, but when it picks up the chapters as 1: , so i really needed to use 2: and 3: for my mkv/ac3 files. just thought i would report that to you, its no biggie (to me) ... also do you notice the time differences 1:41:05 vs 1:41:03
tebasuna51
28th April 2008, 01:50
One question to you guys: If there is a *gap* in the audio stream, how shall I fill it? Shall I fill it with silence? Or shall I loop the audio which was directly before the gap? Currently I'm keeping a buffer which always contains the last second worth of audio data. This buffer is then used for filling gaps. It seems to work fairly well (I simulated gaps for testing). But I'm not sure. Maybe filling in silence would be better? What do you think?
I make several test with damaged ac3 and seems repeat the precedent frame is better than fill with silence. A silence inserted in a loud sound produce audible clicks.
Encoder888
28th April 2008, 05:03
@ madshi
I am happy to report that I successfully demuxed the video, and the audio stream I wanted, from Enchanted, a seamless branching movie having 22 .m2ts files. After the first demuxing of the audio eac3to successfully detected the gaps, so I ran it again and they were all fixed. Then I remuxed the 2 files with mkvmerge into an .mkv which is in perfect sync. Everything seems to be working fine. GOOD JOB!
I'd been waiting for this for so long, and now it's here and it's working perfectly! :) I must have wasted a week of my life last month trying to get Enchanted into sync with all kinds of BD authoring and audio tools and whatnot, and I finally gave up and decided to wait for this release of eac3to and it was sooo worth it, cause all it took was 10 minutes and voila :) :) Thank you for making my life easier :) I have a few more seamless branching movies I wanna try, like Spider-Man 2, Walk Hard, Talladega Nights, Ratatuille... I'll let you know if I run into any problems, which I'm 99.9% sure I won't. eac3to rules all! :)
:thanks: :thanks: :thanks: :thanks: :thanks:
moshmothma
28th April 2008, 06:20
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
Thunderbolt8
28th April 2008, 07:02
thanks very much for the new version again! :)
madshi
28th April 2008, 07:20
i used 1: and 2: for my options as thats what the folder view showed, but when it picks up the chapters as 1: , so i really needed to use 2: and 3: for my mkv/ac3 files. just thought i would report that to you, its no biggie (to me) ...
This is "expected" behaviour. The folder view should never be used to find out the track numbers because it's just not reliable. Because of that I'm intentionally not listing track numbers in the folder view. You need to do "eac3to Z:\AVP2 1)" to list the track numbers and then go from there. The main sense of the folder view is to let you decide whether you want to process "1)" or "2)" or something else...
also do you notice the time differences 1:41:05 vs 1:41:03
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.
I am happy to report that I successfully demuxed the video, and the audio stream I wanted, from Enchanted, a seamless branching movie having 22 .m2ts files. After the first demuxing of the audio eac3to successfully detected the gaps, so I ran it again and they were all fixed. Then I remuxed the 2 files with mkvmerge into an .mkv which is in perfect sync. Everything seems to be working fine. GOOD JOB!
I'd been waiting for this for so long, and now it's here and it's working perfectly! :) I must have wasted a week of my life last month trying to get Enchanted into sync with all kinds of BD authoring and audio tools and whatnot, and I finally gave up and decided to wait for this release of eac3to and it was sooo worth it, cause all it took was 10 minutes and voila :) :)
Sounds good... :)
I have a few more seamless branching movies I wanna try, like Spider-Man 2, Walk Hard, Talladega Nights, Ratatuille... I'll let you know if I run into any problems
Please also report if you don't run into any problems. For now I'm interested in positive and negative feedback about all the branching titles available. Especially interesting is helpful feedback like you posted above, namely which includes information about audio sync...
Madshi, thanks for the new functionality for seamless branching titles. Used it with Spiderman 2 and it worked great!
Yippih-yey!
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.
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?
madshi
28th April 2008, 07:24
I make several test with damaged ac3 and seems repeat the precedent frame is better than fill with silence. A silence inserted in a loud sound produce audible clicks.
Thank you, that's helpful feedback.
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...
madshi
28th April 2008, 07:26
I'd say the ideal solution would be some option, e.g. -ignoreencrypt which would give the option to 'force' this. You could even add a help text 'stream seems to be encrypted, use -ignoreencrypt to ignore this' for those streams with the flag checked...
Sounds like a good idea to me! That way I wouldn't have to list the option in the help text. I might even do the same with the "-ignoreDiscon" option to make the help text shorter.
Thunderbolt8
28th April 2008, 07:40
One question to you guys: If there is a *gap* in the audio stream, how shall I fill it? Shall I fill it with silence? Or shall I loop the audio which was directly before the gap? Currently I'm keeping a buffer which always contains the last second worth of audio data. This buffer is then used for filling gaps. It seems to work fairly well (I simulated gaps for testing). But I'm not sure. Maybe filling in silence would be better? What do you think?
use whatever stays better in sync. if its the same in both cases then I guess tebasuna51 is the ac3 guru here and probably knows best :p
Jong
28th April 2008, 10:07
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.
tebasuna51
28th April 2008, 11:09
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.
Beastie Boy
28th April 2008, 11:15
First of all, many thnks for the latest version. Full M2TS support is a fantastic feature. :thanks:
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.
nautilus7
28th April 2008, 11:29
Madshi thanks for update again.
I will be able to test Ratatouille, Surf's Up and AvP during the next days and report back.
madshi
28th April 2008, 11:45
use whatever stays better in sync.
Makes no difference for the sync.
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.
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.
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.
Thanks for the feedback, all of you!
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.
Are there really any cases where we could expect gaps of 1 sec or longer.
I've no idea. But I guess anything can happen...
I will be able to test Ratatouille, Surf's Up and AvP during the next days and report back.
Looking forward to your test results!
moshmothma
28th April 2008, 13:32
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?
It happens pretty deep in the conversion - maybe 2/3rds through. Thx
Denner
28th April 2008, 15:50
Will start testing on The Hitchhiker's Guide to the Galaxy, German version (the main movie is split into 2, m2ts files) it has been causing me a lot of sync problems, so Iīm keeping my fingers crossed :)
Bluestraw
28th April 2008, 19:31
P.S: Audio overlap correction can be done in 2 different ways:
(1) You can simply repeat the whole demuxing/remuxing process. If you do this, eac3to will automatically remove all overlaps.
(2) Or you can manually fix the audio streams you're interested in. Basically for every audio stream which overlaps there is a "gaps" file created. E.g. for "audio.ac3" you'll get "audio.ac3.gaps". You can now do "eac3to audio.ac3 audio2.ac3". Doing this will remove the overlaps. "audio2.ac3" will then usually be shorter than "audio.ac3".
You can decide for yourself which solution you like better.I presume (2) is typically a better choice, since in most cases processing a single file would run much more quickly, right?
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.
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.
Thunderbolt8
28th April 2008, 20:30
btw. can I just use the '+' parameter to add multiple .m2ts files together for seamless branching movies (like for .evo files), instead of specifying the blu-ray folder or such?
madshi
28th April 2008, 21:45
I presume (2) is typically a better choice, since in most cases processing a single file would run much more quickly, right?
Depends on the number of audio tracks. E.g. imagine having 3 audio tracks which all have gaps in them. With (2) you can only process one track after the other. With (1) all are processed at once. So it depends on the number of audio tracks which method is faster.
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.
Hmmmm... Strange. Will have to double check that. Do you have another movie you can test this on?
btw. can I just use the '+' parameter to add multiple .m2ts files together for seamless branching movies (like for .evo files), instead of specifying the blu-ray folder or such?
Sure.
moshmothma
28th April 2008, 21:49
It happens pretty deep in the conversion - maybe 2/3rds through. Thx
Madshi, any follow-up for me.
BTW, I successfully converted another seamless branch movie, Walk hard.
Thanks again.
nautilus7
28th April 2008, 23:20
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:
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.
As you can see, there are overlaps detected for all 3 AC3 streams, but none for the PCM and TrueHD ones.
After rerunning the same command, i got:
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.
Here are my notes:
* 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:
http://img516.imageshack.us/img516/7965/beforejointscr2.th.png (http://img516.imageshack.us/my.php?image=beforejointscr2.png) http://img516.imageshack.us/img516/6301/after1stjointuu3.th.png (http://img516.imageshack.us/my.php?image=after1stjointuu3.png) http://img411.imageshack.us/img411/8114/after2ndjointre6.th.png (http://img411.imageshack.us/my.php?image=after2ndjointre6.png)
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...
Bluestraw
29th April 2008, 00:01
Depends on the number of audio tracks. E.g. imagine having 3 audio tracks which all have gaps in them. With (2) you can only process one track after the other. With (1) all are processed at once. So it depends on the number of audio tracks which method is faster.Heh - very good point!
Hmmmm... Strange. Will have to double check that. Do you have another movie you can test this on?I tested Ratatouille tonight, and got the same thing. I put the whole log output this time, in case it helps somehow
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.Then, I tried processing the flac by itself, and ran into this error:
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.
killa_kid
29th April 2008, 00:59
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 :p). 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!
Snowknight26
29th April 2008, 02:11
Change the output file's extension to .h264/.vc1/.mpv(?).
DoomBot
29th April 2008, 02:49
So madshi, do you think you will ever create your own GUI for this software. I know there is the Eac3to and More GUI by Yraen but then you have to wait for that to update when ever you add something new or a fix in your software.
Just was wondering, it would be so much nicer.
killa_kid
29th April 2008, 03:33
Change the output file's extension to .h264/.vc1/.mpv(?).
hmmm i could have sworn i tried that earlier. I know i tried .264 for sure...maybe i hit g264 or j264....i should have tried it on a VC-1 file as well....thanks for proving me to be a moron :p
Yraen
29th April 2008, 03:36
madshi,
While doing some tests on the gui I ran ratatouille and avp2 through it. I got something strange on the first run of each.
eac3to v2.43
command line: "D:\editing apps\eac3to\2.43\eac3to.exe" "H:\HD\AVP2\" 1) 2: "N:\test\video.mkv" -seekToIFrames 1: "N:\test\chapters.txt" 3: "N:\test\audio.ac3" -640 log="N:\test\avp2_log.txt"
------------------------------------------------------------------------------
M2TS, 1 video track, 7 audio tracks, 1:41:03
1: Chapters, 29 chapters
2: h264/AVC, 1080p24 /1.001 (16:9)
3: DTS Master Audio, English, 5.1 channels, 24 bits, 48khz
4: AC3, Spanish, 5.1 channels, 448kbit/s, 48khz, dialnorm: -27dB
5: AC3, French, 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
8: AC3, English, 2.0 channels, 224kbit/s, 48khz, dialnorm: -27dB
9: AC3, English, 2.0 channels, 224kbit/s, 48khz, dialnorm: -27dB
Creating file "N:\test\chapters.txt"...
Creating file "log=N:\test\avp2_log.txt"...
The destination file "log=N:\test\avp2_log.txt" could not be created.
[v02] Extracting video track number 2...
[a03] Extracting audio track number 3...
[v02] Muxing video to Matroska...
Aborted at file position 16384.
eac3to v2.43
command line: "D:\editing apps\eac3to\2.43\eac3to.exe" "H:\HD\RATATOUILLE\" 1) 2: "N:\test\video.mkv" -seekToIFrames 1: "N:\test\chapters.txt" 3: "N:\test\audio.ac3" -640 log="N:\test\eac3to_log.txt"
------------------------------------------------------------------------------
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
Creating file "N:\test\chapters.txt"...
Creating file "log=N:\test\eac3to_log.txt"...
The destination file "log=N:\test\eac3to_log.txt" could not be created.
[v02] Extracting video track number 2...
[a03] Extracting audio track number 3...
[a03] Reading RAW/PCM...
[v02] Muxing video to Matroska...
[a03] Swapping endian...
[a03] Remapping channels...
[a03] Encoding AC3...
Aborted at file position 16384.
I narrowed it down to the log= argument. Did I implement it correctly? Both ran okay once I removed that argument. Both created gap files and avp2 used the gap file to fix the audio. I can post those logs if needed.
Ratatouille is another story though. In the first run through it creates the gaps file.
eac3to v2.43
command line: "D:\editing apps\eac3to\2.43\eac3to.exe" "H:\HD\RATATOUILLE\" 1) 2: "N:\test\video.mkv" -seekToIFrames 1: "N:\test\chapters.txt" 3: "N:\test\audio.ac3" -640
------------------------------------------------------------------------------
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
Creating file "N:\test\chapters.txt"...
[v02] Extracting video track number 2...
[a03] Extracting audio track number 3...
[a03] Reading RAW/PCM...
[v02] Muxing video to Matroska...
[a03] Swapping endian...
[a03] Remapping channels...
[a03] Encoding AC3...
[a03] Creating file "N:\test\audio.ac3"...
[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.
Added fps value to MKV header.
Video track 2 contains 159042 frames.
eac3to processing took 16 minutes, 45 seconds.
Done.
But all runs after that to take advantage of that gap file are met with the same results, eac3to doesn't use the gap file.
eac3to v2.43
command line: "D:\editing apps\eac3to\2.43\eac3to.exe" "H:\HD\RATATOUILLE\" 1) 3: "N:\test\audio.ac3" -640
------------------------------------------------------------------------------
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 AC3...
[a03] Creating file "N:\test\audio.ac3"...
[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 9 minutes, 3 seconds.
Done.
Both movies muxed together fine and jumping around showed they were in sync all the way through. I'll get time later in the week to watch them all the way through and see if there is any glaring audio errors.
So madshi, do you think you will ever create your own GUI for this software. I know there is the Eac3to and More GUI by Yraen but then you have to wait for that to update when ever you add something new or a fix in your software.
Just was wondering, it would be so much nicer.
I know the wait is hard to endure, I've been dying to play with the new features of eac3to in a gui form also. It's done, just doing some more testing now. It'll go up later tonight or tomorrow morning before I leave for work. :)
gregt
29th April 2008, 03:56
Hi All,
I am new here, but have been using the app for a while with a lot of success - especially in combination with WME Assistant for creating WMV files.
My current problem is the following:
".\VIDEO_TS>eac3to VTS_01_1.vob+VTS_01_2.VOB+VTS
_01_3.VOB+VTS_01_4.VOB+VTS_01_5.VOB+VTS_01_6.VOB+VTS_01_7.VOB+VTS_01_8.VOB spr.m
kv
VOB, 1 video track, 2 audio tracks, 1 subtitle track, 2:49:24
1: Joined VOB file
2: MPEG2, 480i60 /1.001 (16:9)
3: AC3, 2.0 channels, 192kbit/s, 48khz, dialnorm: -27dB
4: DTS, 5.1 channels, 24 bits, 768kbit/s, 48khz
5: Subtitle
Extracting primary video track...
Muxing video to Matroska...
Extracting audio track number 4...
Extracting audio track number 3...
Removing dialog normalization...
There's a change from interlaced to progressive in the middle of stream.
Aborted at file position 458752."
Except there is no change from interlaced to progressive. I looked at each VOB file with Gspot and they are all interlaced. I search this thread for an answer ,but did not find one. Has anyone seen this before? Is there an option that I need to set?
This has happened to me on at least 8 different DVDs so it is not a unique case. I was able to use both WME (Windows Media Encoder) and Nero recode on the vobs with no problem.
Any help would be appreciated since eac3to takes about 20 minutes to transcode/demux whereas WME takes 5 hours on the same set of vobs.
Thanks!
DoomBot
29th April 2008, 04:27
I know the wait is hard to endure, I've been dying to play with the new features of eac3to in a gui form also. It's done, just doing some more testing now. It'll go up later tonight or tomorrow morning before I leave for work. :)
Awesome to here that, and it was in no way me disrespecting your GUI, it helps me so much makes things much faster. I do appreciate your work on the GUI so thank you for that.:thanks:
Yraen
29th April 2008, 04:35
Awesome to here that, and it was in no way me disrespecting your GUI, it helps me so much makes things much faster. I do appreciate your work on the GUI so thank you for that.:thanks:
I didn't read it that you were. I was just letting you and everyone know that I hadn't quit working on it, just got delayed longer than I liked. It's up now btw.
I wouldn't mind seeing a gui from madshi either. I'd still like the command line options though so I could queue up mkv muxing easily. :)
killa_kid
29th April 2008, 04:35
Change the output file's extension to .h264/.vc1/.mpv(?).
I just gave it a shot. The MPEG2 extension is (ironically) .mpeg2
shambles
29th April 2008, 05:54
* FLAC track made by the TrueHD track is NOT in sync (no gaps/overlaps reported for that).
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?
it was the same before 2.43, when feeding eac3to 1.thd+2.thd+3.thd...etc. lossless check failed on every junction and progressively out of sync. nero decoder doesn't work any better either.
* 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?
i tried this and eac3to does use the gaps file even if you rerun the command line with only the track(s) with gaps/overlaps
madshi
29th April 2008, 07:54
Madshi, any follow-up for me.
Hmmmm... This is a tough one. Any chance you could create a little sample for me? You can use a hexeditor to cut maybe 30MB around the "aborted at file position xxxxxx" number. The position is in bytes. The real position with the problem is likely a bit before that byte position, though. So if you could go 15MB before the byte position and 15MB after that, that would be perfect. Thanks!
madshi
29th April 2008, 08:18
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. [...] As you can see, there are overlaps detected for all 3 AC3 streams, but none for the PCM and TrueHD ones.
None for the PCM is expected behaviour. Overlaps for PCM tracks are usually very small. There must be a lot of m2ts parts to make the overlap big enough for eac3to to care. If the overall overlap/gap amount of a track is smaller than 40ms, eac3to won't even bother reporting/handling it. (This 40ms threshold is used to make sure that no gap/overlap false alarms are produced.)
Not sure about TrueHD, though.
[B]* FLAC track made by the TrueHD track is NOT in sync (no gaps/overlaps reported for that). [...] 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?
Thanks for the detailed feedback!!
eac3to is supposed to handle gaps just as fine as overlaps. Also TrueHD gap/overlap detection should theoretically work. Don't know what is going on with Surf's Up. I have this Blu-Ray myself, though, so I'll check this out.
* 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?
You can change the command line so that only the audio tracks with gaps/overlaps in them are redone, if you prefer that. It's just easier (but slower) to simply repeat the very same command line.
* Subtitle demuxing support is missing...
One step after the other... ;)
I tested Ratatouille tonight, and got the same thing. I put the whole log output this time, in case it helps somehow
Thanks. I'll recheck that. It seems that the gap files are sometimes used and sometimes not.
Then, I tried processing the flac by itself, and ran into this error:
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.
That is very strange!! That's also with Ratatouille, right? I'll try to reproduce that here...
"D:\editing apps\eac3to\2.43\eac3to.exe" "H:\HD\AVP2\" 1) 2: "N:\test\video.mkv" -seekToIFrames 1: "N:\test\chapters.txt" 3: "N:\test\audio.ac3" -640 log="N:\test\avp2_log.txt"
Every option parameter needs a "-" before it. So you need to use "-log=" instead of "log=".
Ratatouille is another story though. In the first run through it creates the gaps file. [...] But all runs after that to take advantage of that gap file are met with the same results, eac3to doesn't use the gap file.
Thanks, I'll check that.
Both movies muxed together fine and jumping around showed they were in sync all the way through.
Well, the overall overlap amount is rather small (something like 60ms). So the audio may still appear in sync although it's not exactly in sync.
I am new here, but have been using the app for a while with a lot of success - especially in combination with WME Assistant for creating WMV files.
My current problem is the following:
"There's a change from interlaced to progressive in the middle of stream."
This is a known problem with MPEG2 sources. It's quite high on my to do list and so will be fixed soon.
So madshi, do you think you will ever create your own GUI for this software. I know there is the Eac3to and More GUI by Yraen but then you have to wait for that to update when ever you add something new or a fix in your software.
Maybe someday, but probably not anytime soon. Furthermore I think that there's not so much in my pipeline which will need further changes in the GUI. Once the GUIs are fully tweaked to handle the current feature set they will likely not need big further changes in the near future, apart from maybe adding a switch now and then...
nautilus7
29th April 2008, 08:58
nero decoder doesn't work any better either.No, Nero works fine for this TrueHD track. I used it afterwards.
madshi
29th April 2008, 09:03
No, Nero works fine for this TrueHD track. I used it afterwards.
Oh, that's interesting! So with Nero the audio is fully in sync?
nautilus7
29th April 2008, 09:18
No... I meant i don't get any error during decoding (libav lossless check fail). Sync problem remains. :mad:
shambles
29th April 2008, 09:21
yes, i meant sync, obviously nero doesn't fail libav lossless check ;)
Bluestraw
29th April 2008, 13:17
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.
That is very strange!! That's also with Ratatouille, right? I'll try to reproduce that here...Yes, that's Ratatouille.
adrianmak
29th April 2008, 14:25
i'm new with this utility.
How do I demux a 5.1 ac3 track into 6 individual wave files ?
What are the parameters should be supply ?
azad
29th April 2008, 15:13
i'm new with this utility.
How do I demux a 5.1 ac3 track into 6 individual wave files ?
What are the parameters should be supply ?
As I already replied in your thread:
eac3to Sourcefile Destination.wavs
nautilus7
29th April 2008, 18:34
As azad told you..
Just in case you don't have nero 7 & nero hddvd/blu-ray plugin, you 'll have to decode the ac3 file using libav decoder:
eac3to input.ac3 outputs.wavs -libav
azad
29th April 2008, 19:13
@nautilus7
Oh your're right, I forgot to mention that. Thanks! ;)
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. :)
jchappo
2nd May 2008, 00:03
howdy, been using your nice program here for awhile. I recently ran into a problem decoding DTS-HD to WAV using Sonic Decoder 4.3. When remuxing the WAV file back with the video in M2TS container, TsMuxer reports the WAV has no channel info.
When playing the movie back over a popcorn hour A-100, the audio plays fine for about 20-30% of the movie, then it goes all screetchy and is basically garbage. I can't determine what the problem is. How to I test if Sonic is not causing the problem? It's weird because the audio plays fine for a little while, then goes bad for some reason.
itsancho
2nd May 2008, 01:21
hi all
strange problem with Basic Instinct, here is the log:
eac3to v2.44
command line: eac3to244\eac3to "K:\Basic Instinct (1992) BluRay AVC dts-HD Hi-Res" 1) 2: i:\video.mkv
------------------------------------------------------------------------------
M2TS, 1 video track, 4 audio tracks, 2:08:15
1: Chapters, 17 chapters
2: h264/AVC, 1080p24 /1.001 (16:9)
3: DTS Hi-Res, English, 6.1 channels, 24 bits, 3093kbit/s, 48khz, dialnorm: -4dB
4: AC3, English, 5.1 channels, 640kbit/s, 48khz, dialnorm: -27dB
5: AC3, English, 2.0 channels, 192kbit/s, 48khz, dialnorm: -27dB
6: AC3, English, 2.0 channels, 192kbit/s, 48khz, dialnorm: -27dB
[v02] Extracting video track number 2...
[v02] Muxing video to Matroska...
Unfortunately the Haali Muxer cannot handle this source file.
It doesn't contain enough seek/recovery points.
Aborted at file position 142065664. i've tried to remux raw h264 stream (using 3 different programs) and then mux it with mkvtollnix, but... :-( runtime was 2:09:44
big 10x in advance 4 helping with this one!
Yraen, nope, for sorry that is not the problem, with or without any " the result is the same...
Looks like you missed an " here:
i:\video.mkv"
That might be the problem. Try it and if it fails post that log.
Hmmmm... That's quite strange. Could you send me the last 20MB of 00000.m2ts and the first 20MB of 00001.m2ts?
Ok here you go: http://www.mediafire.com/?g499bligrz0
end of first m2ts doesn't play, i hope it did right
BTW the end of the file is at 30684420096, while the error is at 30684829696, BUT the file converts to mkv fine when there is no joining.
Hi,
I seem to have run into another bug as follows:
M:\to convert\SciFi\bluray>eac3to UNDERWORLD
1) 00106.mpls, 2:13:39
[93+94+95+96+97+98+99+100].m2ts
- MPEG2, 480i30 /1.001 (4:3)
- AC3, English, stereo, 48khz
2) 00011.mpls, 00011.m2ts, 2:13:37
- h264/AVC, 1080p24 /1.001 (16:9)
- RAW/PCM, English, multi-channel, 48khz
- AC3, English, multi-channel, 48khz
- AC3, French, multi-channel, 48khz
- RAW/PCM, Italian, multi-channel, 48khz
- AC3, Italian, multi-channel, 48khz
- AC3, English, stereo, 48khz
3) 00095.mpls, 00093.m2ts, 0:47:18
- MPEG2, 480i30 /1.001 (4:3)
- AC3, English, stereo, 48khz
4) 00101.mpls, 00099.m2ts, 0:19:13
- MPEG2, 480i30 /1.001 (4:3)
- AC3, English, stereo, 48khz
M:\to convert\SciFi\bluray>eac3to UNDERWORLD UNDERWORLD.mkv
M2TS, 1 video track, 1 audio track, 2:13:38
1: Chapters, 13 chapters
2: MPEG2, 480i60 /1.001 (4:3)
3: AC3, English, 2.0 channels, 192kbit/s, 48khz, dialnorm: -27dB
Creating file "UNDERWORLD - Chapters.txt"...
[a03] Extracting audio track number 3...
[v02] Extracting video track number 2...
[v02] Muxing video to Matroska...
[a03] Removing dialog normalization...
[a03] Creating file "UNDERWORLD - 3 - AC3, English, 2.0 channels, 192kbps, 48khz
.ac3"...
[v02] Video overlaps for 1 frames at playtime 0:47:18.
[v02] Video overlaps for 1 frames at playtime 1:00:21.
[v02] Video overlaps for 1 frames at playtime 1:10:18.
[v02] Video overlaps for 1 frames at playtime 1:22:48.
[v02] Video overlaps for 1 frames at playtime 1:34:31.
[v02] Video overlaps for 1 frames at playtime 1:45:18.
[v02] Video overlaps for 1 frames at playtime 2:04:31.
[v02] The MKV file was created without making use of the gap/overlap information
.
[v02] Please check whether audio is in sync. If it is in sync everything is fine
.
[v02] Otherwise you can ask eac3to to repeat the muxing. It will then automatica
lly
[v02] make use of the detailed gap/overlap information.
[a03] Audio overlaps for 31ms at playtime 0:47:18.
[a03] Audio overlaps for 42ms at playtime 1:00:21.
[a03] Audio overlaps for 27ms at playtime 1:10:18.
[a03] Audio overlaps for 24ms at playtime 1:22:48.
[a03] Audio overlaps for 46ms at playtime 1:34:31.
[a03] Audio overlaps for 39ms at playtime 1:45:18.
[a03] Audio overlaps for 25ms at playtime 2:04:31.
[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 240318 frames.
eac3to processing took 8 minutes, 15 seconds.
Done.
For some reason the main (listed under 2) movie is not converted by default. The main movie file is 38GB so may be that is the reason. When I went into the stream directory and converted the 00011.m2ts file directly it converted correctly.
madshi
2nd May 2008, 07:28
:) 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!
You didn't offend me at all, don't worry. You are right in that my native language is not English. So it makes sense that you thought I'd prefer having my native language muxed. But it's just not that way. And thanks for the compliment on my English capabilities... :) I guess reading/writing English every day helps!
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?
Not sure if I've understood you correctly. eac3to already checks only those tracks you are demuxing.
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.
That sounds like a good idea in theory. The problem is that I've two different thresholds: (1) For one gap/overlap it's 5ms. (2) For all gaps/overlaps combined it's 40ms. The small threshold for one gap/overlap is not problematic because even if the timestamps are unstable, they are always fluctuating around the right value. And thanks to 2 pass processing eac3to can clear out most short time fluctuations.
I guess I'll try lowering the threshold in the next build. Maybe to 20ms. And maybe I can also offer a switch to lower it even further. But I'll depend on you guys reporting your results with the thresholds, so that we can find the optimal default value (which would be the lowest possible value with which there are no false alarms with 99.9% of the movies).
I recently ran into a problem decoding DTS-HD to WAV using Sonic Decoder 4.3. When remuxing the WAV file back with the video in M2TS container, TsMuxer reports the WAV has no channel info.
There are two different types of WAV headers. Some programs prefer one type, others prefer the other type. eac3to by default writes the simpler type. It can also write the more complicated one, but currently there's no option for that. Will add that in the next build. It seems that TsMuxer wants to have the more complicated type. That most likely doesn't have anything to do with the garbage problems you're having, though...
When playing the movie back over a popcorn hour A-100, the audio plays fine for about 20-30% of the movie, then it goes all screetchy and is basically garbage. I can't determine what the problem is. How to I test if Sonic is not causing the problem?
By playing the WAV file itself (without the video/movie) on your HPTC or on your popcorn hour.
strange problem with Basic Instinct, here is the log:
Unfortunately the Haali Muxer cannot handle this source file.
It doesn't contain enough seek/recovery points.
There's a bug in the Haali Matroska Muxer which results in a total freeze when muxing some h264 movies. eac3to detects this situation and aborts processing directly before the Haali Matroska Muxer freezes. Currently there's no way to properly mux such a movie with eac3to respectively with Haali's Matroska Muxer. You can use the option "-seekToIFrames" to mux the movie in a different way. This should succeed. However, this comes at a cost: Sometimes when seeking such a movie there are very noticable image artifacts for a short time (max a few seconds). Haali knows about this problem but hasn't fixed it yet, sadly.
Ok here you go: http://www.mediafire.com/?g499bligrz0
end of first m2ts doesn't play, i hope it did right
BTW the end of the file is at 30684420096, while the error is at 30684829696, BUT the file converts to mkv fine when there is no joining.
Thanks, will check this out. If it's a bug in eac3to, it will be fixed in the next build.
I seem to have run into another bug as follows: [...] For some reason the main (listed under 2) movie is not converted by default. The main movie file is 38GB so may be that is the reason. When I went into the stream directory and converted the 00011.m2ts file directly it converted correctly.
There's no easy to find information (I know of) in the Blu-Ray disc structure which tells us which is the main movie. Consequently eac3to can only list all playlists sorted by their runtime. The playlist with the longest runtime is listed first cause that's usually the movie. In your case it's not the movie. So you have to do "eac3to UNDERWORLD 2) UNDERWORLD.mkv".
sundansx
2nd May 2008, 08:44
Madshi,
first, thanks for a great program.
I am working on Serenity HDDVD and it fails to use libav when I specify it with other streams as shown below. It tries to use nero, which I dont have installed. When I run a pass with the audio separately followed by a separate pass to pick up the rest it works fine and uses libav. As a note, this same thing also happened on Beowulf. I dont think it is title dependent.
F:\VideoStore\DVD\Serenity>c:\utils\HDCruncher\eac3to.exe d:\HVDVD_TS 1) 2: chap
ters.txt 3: out.mkv 4: out.ac3 8: subtitle.sup -libav -down6 -640 -24
EVO, 1 video track, 4 audio tracks, 3 subtitle tracks, 1:59:01
"MainMovie"
1: Joined EVO file
2: Chapters, 20 chapters with names
3: VC-1, 1080p24 /1.001 (16:9)
4: E-AC3, English, 5.1 channels, 1536kbit/s, 48khz, dialnorm: -27dB
5: E-AC3, Spanish, 5.1 channels, 768kbit/s, 48khz, dialnorm: -27dB
6: E-AC3, French, 5.1 channels, 768kbit/s, 48khz, dialnorm: -27dB
7: AC3, English, 2.0 channels, 192kbit/s, 48khz, dialnorm: -27dB
"Director's Commentary"
8: Subtitle, English, "SDH"
9: Subtitle, Spanish
10: Subtitle, French
Creating file "chapters.txt"...
[a04] The Nero decoder doesn't seem to work, will use libav instead.
[v03] Extracting video track number 3...
[v03] Muxing video to Matroska...
[a04] Extracting audio track number 4...
[a04] Removing dialog normalization...
[a04] Decoding with DirectShow (Nero Audio Decoder 2)...
[a04] Getting "Nero Audio Decoder 2" instance failed.
Aborted at file position 32768.
Beastie Boy
2nd May 2008, 08:56
The -libav switch should be used in the audio 'group of the command line, so your command lines becomes:
F:\VideoStore\DVD\Serenity>c:\utils\HDCruncher\eac3to.exe d:\HVDVD_TS 1) 2: chap
ters.txt 3: out.mkv 4: out.ac3 -libav 8: subtitle.sup
Note that -640 is not required as that is the default.
Cheers, Beastie
monohouse
2nd May 2008, 11:01
hi, I was wondering, is there a way to use the libav/ffmpeg TrueHD decoder in real time ? as in decoding the stream as it being played ? not for reconversion purpose ?
I have demuxed the truehd track using evodemux and now wondering how to replace the FLAC I created with the truehd track that is present, is there a program that is used to do this or evodemux can do this also ? I seemed to notice that eac3to appears to be able to mux it as well, but I was unable to find the manual for eac3to.
I have a few questions: why doesn't eac3to tell the original bit-depth of the stream ? only resolution and channels, and can this stream be directly muxed with a video without additional operations, I understand that the use of FLAC in video is new, so I am not entirely sure if any additional procedures are required, are there any guides that explain how to handle evo+truehd ?
itsancho
2nd May 2008, 11:10
There's a bug in the Haali Matroska Muxer which results in a total freeze when muxing some h264 movies. eac3to detects this situation and aborts processing directly before the Haali Matroska Muxer freezes. Currently there's no way to properly mux such a movie with eac3to respectively with Haali's Matroska Muxer. You can use the option "-seekToIFrames" to mux the movie in a different way. This should succeed. However, this comes at a cost: Sometimes when seeking such a movie there are very noticable image artifacts for a short time (max a few seconds). Haali knows about this problem but hasn't fixed it yet, sadly. BIG, BIG 10x madshi!!! Everything is absolutely OK and btw there is no any "seeking artifacts"!
crazydane
2nd May 2008, 13:44
Madshi, do you know if Sonic plans to fix their DTS decoder so that it can handle DTS-HD MA 7.1 titles properly?
Alternatively, do you know if there is a libav/ffmpeg DTS decoder in the works that can replace the Sonic one that does 7.1?
Granted, there aren't that many 7.1 titles yet, but I do own 6 so far and would love to be able to play them off my media server in their full 7.1 glory. Until then, I'll bitstream them from my Panny BD30 player to my Onkyo 885 pre/pro.
And thanks again for this wonderful program!
moshmothma
2nd May 2008, 14:23
There's a bug in the Haali Matroska Muxer which results in a total freeze when muxing some h264 movies. .... .... Haali knows about this problem but hasn't fixed it yet, sadly.
And others Madshi. This is exactly why we need another dshow splitter from someone who understands the issues and is willing to respond to them. Please reconsider this. No pressure though :)
BTW, have you ever considered writing an editing app? Seems like you have the basis of all you would need at this point. Just wondering.
Bluestraw
2nd May 2008, 14:53
I haven't seen it yet myself, but I heard promising things about this editing app due for release soon...
(sorry for going slightly OT - but the point being that I guess Madshi's skills may be better invested elsewhere!)
EDIT - oops I forgot the URL first time around!:
http://bitstreamtools.com/
wildchild22
2nd May 2008, 23:12
I have a question I have just finished spiderman2 the ac3 track I made and dts track made with eac3to are fine but the lpcm track around 35% way though goes all static and then the volume of what should be heard is very low. ( the funny thing is the ac3 and dts track are made from the wav) I am running the eac3to wav file through delay cut and I am going to re-encode again. I have tested playback on both the ps3 and also the istar mini hd 1.3 same result.
jchappo
3rd May 2008, 05:06
Madashi, I have more info regarding the bad DTS-HD to WAV conversion.
It seems that even DD+ tracks that I convert to WAV suffer from the same problem. Someone on the A-100 forum said it was related to the >2gb WAV header problem? They also said if they split the file up and then convert it, each slice plays perfect.
Any ideas? The popcorn hour A-100 passes the PCM audio directly to my receiver.
Edit: just played the WAV file by itself, it plays fine for the first 10% or so, then it sounds like people are talking in slow mo, and there is no background noise. Does this mean it is a decoder problem? It doesn't seem like eac3to is producing the same LPCM track that ships with some Bluray discs.
saint-francis
3rd May 2008, 06:00
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
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.
Edit: Okay start looks good, I see credits at end, length is correct! Wonder what the 21Gig piece is....
Did you figure out why each is listed twice? I am tinkering with this one right now and I noticed that the first file (00008.m2ts I believe) is the main movie and the second file (00011.m2ts) is commentary with a picture in picture of extras and the like. So that is still only two movies. Why are there four listed? Also no chapters?
madshi
3rd May 2008, 07:29
hi, I was wondering, is there a way to use the libav/ffmpeg TrueHD decoder in real time ?
There are some mplayer builds with the latest libav decoders in them, I think. But I'm not sure.
I have demuxed the truehd track using evodemux and now wondering how to replace the FLAC I created with the truehd track that is present
I don't understand what you mean. Can you explain?
I have a few questions: why doesn't eac3to tell the original bit-depth of the stream ? only resolution and channels
Of which stream? TrueHD? TrueHD streams have no fixed bit-depth. They are all encoded in 24bit, but some of those 24bit may be zeroed out, which would make the track lower than 24bit. eac3to shows the bitdepth of all tracks which have a fixed bitdepth.
and can this stream be directly muxed with a video without additional operations, I understand that the use of FLAC in video is new, so I am not entirely sure if any additional procedures are required, are there any guides that explain how to handle evo+truehd ?
You're confusing me. One time you're talking about FLAC, then you're talking about TrueHD. Then you're talking about muxing and EVO. I've no idea what you really want to do.
Madshi, do you know if Sonic plans to fix their DTS decoder so that it can handle DTS-HD MA 7.1 titles properly?
I've no idea.
Alternatively, do you know if there is a libav/ffmpeg DTS decoder in the works that can replace the Sonic one that does 7.1?
Not that I knew of.
This is exactly why we need another dshow splitter from someone who understands the issues and is willing to respond to them. Please reconsider this.
No. :)
BTW, have you ever considered writing an editing app? Seems like you have the basis of all you would need at this point. Just wondering.
I thought about it, but I don't plan to do this. Now we have Blu-Ray which is practically perfectly cut/edited. So I don't really see the need for an editing app, anymore. It might be useful for broadcasts. But for my personal needs Blu-Ray will more and more replace broadcasts...
I have a question I have just finished spiderman2 the ac3 track I made and dts track made with eac3to are fine but the lpcm track around 35% way though goes all static and then the volume of what should be heard is very low. ( the funny thing is the ac3 and dts track are made from the wav)
If the ac3 and dts tracks are made from the WAV play ok then probably the WAV is fine and the PS3 and Istar are at fault. As you may have heard, WAV "officially" doesn't support files bigger than 4GB. Some applications and media players even have problems with WAV files bigger than 2GB. eac3to supports >4GB WAVs (just like some other applications).
It seems that even DD+ tracks that I convert to WAV suffer from the same problem. Someone on the A-100 forum said it was related to the >2gb WAV header problem? They also said if they split the file up and then convert it, each slice plays perfect.
Any ideas? The popcorn hour A-100 passes the PCM audio directly to my receiver.
Edit: just played the WAV file by itself, it plays fine for the first 10% or so, then it sounds like people are talking in slow mo, and there is no background noise. Does this mean it is a decoder problem? It doesn't seem like eac3to is producing the same LPCM track that ships with some Bluray discs.
Please try to play the WAV file on your PC. Does it play fine there? To be honest, I'm not even sure if the PC WAV source filter supports >4GB (or >2GB) files, though. The best test would be to ask eac3to to convert the WAV file to AC3. If the final AC3 file plays fine from beginning to end then the WAV file is probably alright. The problem is most probably that all the playback software/hardware does not support WAV files this big. There's nothing I can do about it. You need to ask those people who don't support big WAV files to add support for it, if you actually have to use WAV. I'd suggest using FLAC instead, if possible.
Did you figure out why each is listed twice? I am tinkering with this one right now and I noticed that the first file (00008.m2ts I believe) is the main movie and the second file (00011.m2ts) is commentary with a picture in picture of extras and the like. So that is still only two movies. Why are there four listed? Also no chapters?
Most probably those 2 with the Master Audio track in them are the real movie and the other 2 are the encodings with the PIP in them. Don't know why there are 2 of each. But it doesn't matter much. eac3to only takes the m2ts part numbers from the playlist. So it doesn't matter which of the double playlists you're using for conversion. You will only have to decide between the one with the Master Audio track and the one without.
robena
3rd May 2008, 13:17
Thanks for this great program.
I have a problem though. I am trying to demux and speedown an AC3 track from an UK Sky cap.
Here is what I get:
d:\m1\cmd\eac3to\eac3to "test.ts" 2: "test.ac3" -slowdown -384
This doesn't seem to be a valid (E-)AC3 stream.
TS, 1 video track, 0:45:05
1: h264/AVC, 1080i50 (16:9)
The source file doesn't contain a track with the number 2.
The file does have an AC3 track (stream_type = 0x81) associated with pid 0x14.
I am using version 2.44. Nero 7 is installed:
8{prob}% d:\m1\cmd\eac3to\eac3to -test
Sonic Audio Decoder (2.44.0.0) doesn't seem to be installed
Nero Audio Decoder (Nero 7 or older) works fine
Haali Media Splitter doesn't seem to be installed
Surcode DTS Encoder doesn't seem to be installed
MkvToolnix doesn't seem to be installed
Any idea?
Beastie Boy
3rd May 2008, 13:21
First run eac3to without specifying an output, eg:
d:\m1\cmd\eac3to\eac3to "test.ts"
This will list the streams with their ID numbers.
Cheers, Beastie.
robena
3rd May 2008, 13:24
First run eac3to without specifying an output, eg:
d:\m1\cmd\eac3to\eac3to "test.ts"
This will list the streams with their ID numbers.
Cheers, Beastie.
Thanks for the tip. I get the same error:
c8{prob}% d:\m1\cmd\eac3to\eac3to "test.ts"
This doesn't seem to be a valid (E-)AC3 stream.
TS, 1 video track, 0:45:05
1: h264/AVC, 1080i50 (16:9)
I know that there is an AC3 track. TSPE for example shows it and can play it.
Sorry in advance guys if this has been answered already:
I follow this way while demuxing my HD/BD rips:
Demux video with TSMuxer
Demux audio with EAC3to..
The first time i pulldown 23.97 with TS muxer while demuxing.
So it is sure i have to sync the audio this time.
How can i do this?
Thanks.
madshi
3rd May 2008, 13:44
I have a problem though. I am trying to demux and speedown an AC3 track from an UK Sky cap.
Here is what I get:
d:\m1\cmd\eac3to\eac3to "test.ts" 2: "test.ac3" -slowdown -384
This doesn't seem to be a valid (E-)AC3 stream.
The AC3 track seems to be slightly damaged. It might be 99% alright, but if there is one wrong bit anywhere in the beginning of the AC3 stream, eac3to won't accept it. You'll have to demux the AC3 track with another tool (e.g. xport or TsMuxer) and then run the demuxed AC3 track through delaycut. delaycut will probably find something to fix. Afterwards eac3to can do the slowdown for you.
At this point in time eac3to is VERY picky about the source material. The source must be in perfect state. If there's any problem with the source, eac3to will refuse to work properly. I may improve this in a future version, but that's the way it is right now.
Sorry in advance guys if this has been answered already:
I follow this way while demuxing my HD/BD rips:
Demux video with TSMuxer
Demux audio with EAC3to..
The first time i pulldown 23.97 with TS muxer while demuxing.
So it is sure i have to sync the audio this time.
How can i do this?
I'm not sure what your question is. You're describing what you're doing. And then you're asking "how can i do this"?
I'm not sure what your question is. You're describing what you're doing. And then you're asking "how can i do this"?
I mean audio stays matching to 29.97 fps.
The question was how i could syncronize audio to downmixed video?
madshi
3rd May 2008, 14:18
Audio is never 29.97 for a movie. Why do you think it is?
monohouse
3rd May 2008, 14:44
-----
Beastie Boy
3rd May 2008, 14:46
madshi, your reply to robena above seems to quote a different error to the one he posted when I replied. In the post I replied to, eac3to could not detect an audio stream, whereas your quote suggests eac3to found a damaged stream.
Not sure what happened there.
robena, if eac3to cannot detect the audio that is definately there, perhaps a sample would be useful for madshi.
Cheers, Beastie.
Audio is never 29.97 for a movie. Why do you think it is?
OK.
I used a short clip in my trial.
When i demux video and audio as is and after remux to TS,
clip takes 2:25 minutes. Audio and video matches to each other; no syncronization issue.
When i demux video to 23.97 and leave audio as is,
this time clip takes 3:05 minutes; audio and video never overlap and while video keeps playing, audio finishes at 2:25 minutes.
EDIT: Sorry, i found my mistake, i made 23.96 by manually, this created the issue.
I tried with "remove pulldown" option selected in TSMuxer; no any problem left.
Hi,
I am unable to convert Xmen3 at all. It is the first 7 channel movie that I have run across. Here is the output:
eac3to v2.44
command line: eac3to xmen3 XMEN3.mkv -libav -core
------------------------------------------------------------------------------
M2TS, 1 video track, 5 audio tracks, 1:44:05
1: Chapters, 31 chapters
2: h264/AVC, 1080p24 /1.001 (16:9)
3: DTS Master Audio, English, 6.1 channels, 24 bits, 48khz
4: AC3, Spanish, 5.1 channels, 448kbit/s, 48khz, dialnorm: -27dB, -13ms
5: AC3, French, 5.1 channels, 448kbit/s, 48khz, dialnorm: -27dB, -13ms
6: AC3, English, 2.0 channels, 224kbit/s, 48khz, dialnorm: -27dB, -19ms
7: AC3, English, 2.0 channels, 224kbit/s, 48khz, dialnorm: -27dB, -19ms
Creating file "XMEN3 - Chapters.txt"...
[a03] The libav DTS decoder doesn't decode the 7th channel.
[a03] The libav DTS decoder doesn't decode the full DTS-HD information.
[a03] Doubling 7th channel...
[v02] Extracting video track number 2...
[a05] Extracting audio track number 5...
[a04] Extracting audio track number 4...
[a03] Extracting audio track number 3...
[a03] Extracting DTS core...
[a06] Extracting audio track number 6...
[a07] Extracting audio track number 7...
[a03] Remapping channels...
[a03] The channel modder was started with incorrect parameters.
[v02] Muxing video to Matroska...
Aborted at file position 16384.
I tried it without -libav and without -core, but to no avail.
nautilus7
3rd May 2008, 16:47
What do you want to do with audio and which audio is that? Change the command to make use of ID numbers for the tracks. E.g:
eac3to xmen3 1: xmen3.mkv 2: audio.dts -core
Thunderbolt8
3rd May 2008, 21:34
Not sure if I've understood you correctly. eac3to already checks only those tracks you are demuxing.
so would it then be possible to adapt the gap value to those specific tracks? from what I understood its only 40ms, because an ac3 frame is 32ms, but when for example only decoding a truehd track then it should be possible to lower the gap detection to a value, which is only slightly higher than a truehd frame is, shouldnt it?
or did I understood it wrong, about those 40ms?
robena
3rd May 2008, 22:55
The AC3 track seems to be slightly damaged. It might be 99% alright, but if there is one wrong bit anywhere in the beginning of the AC3 stream, eac3to won't accept it. You'll have to demux the AC3 track with another tool (e.g. xport or TsMuxer) and then run the demuxed AC3 track through delaycut. delaycut will probably find something to fix. Afterwards eac3to can do the slowdown for you.
At this point in time eac3to is VERY picky about the source material. The source must be in perfect state. If there's any problem with the source, eac3to will refuse to work properly. I may improve this in a future version, but that's the way it is right now.
Thanks for the explanation and for the workaround.
jchappo
4th May 2008, 03:38
Madashi, yet more info on DTS-HD to WAV problem.
I just converted a TrueHD track to WAV and it plays fine on the popcorn hour. Looks like libav works, but got this error:
C:\DVDRips\HD>eac3to.exe Ripped\legend_audio.truehd Ripped\output.wav
TrueHD/AC3, 5.1 channels, 48khz, dialnorm: -27dB
Extracting TrueHD stream...
Removing dialog normalization...
Writing WAV...
Creating/writing file "Ripped\output.24bit.wav"...
[libav] Lossless check failed - expected 0, calculated d1
Caution: The WAV file is bigger than 4GB.
Some WAV readers might not be able to handle this file correctly.
This audio track contains only 16 bit of information.
The zero bytes were successfully removed.
eac3to processing took 9 minutes, 14 seconds.
Done.
Sonice and Nero both produce garbage audio after about 20%
Encoder888
4th May 2008, 04:21
@madshi
I had trouble extracting the chapters from The Terminator BD (it's MPEG-2). I got this:
CHAPTER01=00:00:00.000
CHAPTER01NAME=
CHAPTER02=00:06:23.925
CHAPTER02NAME=
CHAPTER03=00:13:38.234
CHAPTER03NAME=
CHAPTER04=00:15:04.737
CHAPTER04NAME=
CHAPTER05=00:22:42.528
CHAPTER05NAME=
CHAPTER06=00:29:42.698
CHAPTER06NAME=
CHAPTER07=00:38:40.026
CHAPTER07NAME=
CHAPTER08=00:41:18.101
CHAPTER08NAME=
CHAPTER09=00:47:39.398
CHAPTER09NAME=
CHAPTER10=00:00:00.000
CHAPTER10NAME=
CHAPTER11=00:00:00.000
CHAPTER11NAME=
CHAPTER12=00:00:00.000
CHAPTER12NAME=
CHAPTER13=00:00:00.000
CHAPTER13NAME=
CHAPTER14=00:00:00.000
CHAPTER14NAME=
CHAPTER15=00:00:00.000
CHAPTER15NAME=
CHAPTER16=00:00:00.000
CHAPTER16NAME=
CHAPTER17=00:00:00.000
CHAPTER17NAME=
So, the first 8 are okay, but the last 8 are all 00:00:00.000 for some reason... Any idea what may be causing this?
madshi
4th May 2008, 07:12
I am unable to convert Xmen3 at all. It is the first 7 channel movie that I have run across. Here is the output:
eac3to v2.44
command line: eac3to xmen3 XMEN3.mkv -libav -core
------------------------------------------------------------------------------
M2TS, 1 video track, 5 audio tracks, 1:44:05
1: Chapters, 31 chapters
2: h264/AVC, 1080p24 /1.001 (16:9)
3: DTS Master Audio, English, 6.1 channels, 24 bits, 48khz
4: AC3, Spanish, 5.1 channels, 448kbit/s, 48khz, dialnorm: -27dB, -13ms
5: AC3, French, 5.1 channels, 448kbit/s, 48khz, dialnorm: -27dB, -13ms
6: AC3, English, 2.0 channels, 224kbit/s, 48khz, dialnorm: -27dB, -19ms
7: AC3, English, 2.0 channels, 224kbit/s, 48khz, dialnorm: -27dB, -19ms
Creating file "XMEN3 - Chapters.txt"...
[a03] The libav DTS decoder doesn't decode the 7th channel.
[a03] The libav DTS decoder doesn't decode the full DTS-HD information.
[a03] Doubling 7th channel...
This looks like a bug. Should be fixed in the next build (I hope).
Madashi, yet more info on DTS-HD to WAV problem.
I just converted a TrueHD track to WAV and it plays fine on the popcorn hour. Looks like libav works, but got this error:
C:\DVDRips\HD>eac3to.exe Ripped\legend_audio.truehd Ripped\output.wav
TrueHD/AC3, 5.1 channels, 48khz, dialnorm: -27dB
Extracting TrueHD stream...
Removing dialog normalization...
Writing WAV...
Creating/writing file "Ripped\output.24bit.wav"...
[libav] Lossless check failed - expected 0, calculated d1
Caution: The WAV file is bigger than 4GB.
Some WAV readers might not be able to handle this file correctly.
This audio track contains only 16 bit of information.
The zero bytes were successfully removed.
eac3to processing took 9 minutes, 14 seconds.
Done.
Which error do you mean? The track seems to have been converted successfully?
Sonice and Nero both produce garbage audio after about 20%
With which movie/audio track? Also with the TrueHD track of "I Am Legend"? And the libav conversion of the same track works ok? That sounds extremely strange to me. I almost cannot believe that. How long are the final WAV files produced by libav, Nero and Sonic for this one specific TrueHD track?
I had trouble extracting the chapters from The Terminator BD (it's MPEG-2). [...] the first 8 are okay, but the last 8 are all 00:00:00.000 for some reason... Any idea what may be causing this?
Not right now. Can you please upload the playlist (mpls) file you used?
Encoder888
4th May 2008, 07:27
@madshi
It's not a seamless branching movie, it's just one m2ts... It's the first title that's behaved like this, very weird...
madshi
4th May 2008, 07:59
It's not a seamless branching movie, it's just one m2ts... It's the first title that's behaved like this, very weird...
Can you please upload the playlist (mpls) file you used?
P.S: Do "eac3to BluRayMovieFolder" and then upload the first mpls file that gets listed, if that's the movie playlist.
madshi, did I create the sample correctly? concerning this: http://forum.doom9.org/showpost.php?p=1133416&postcount=4558
madshi
4th May 2008, 09:20
madshi, did I create the sample correctly? concerning this: http://forum.doom9.org/showpost.php?p=1133416&postcount=4558
Yes. The bug is already fixed in my sources.
PHD_1976
4th May 2008, 09:52
madshi, hi.
Is it possible to have a piece of your source code where you handle seamless branching audio?
If not could you please explain the algorithm of fixing multi file audio without reencoding?
I've tried to PM you, but your inbox limit is exceeded.
Thanx in advance for your help -)
madshi
4th May 2008, 10:02
it only shows the information after the process is complete, I cannot force it to create only one file (instead of 2 which it makes automatically) of the bit depth that is relevant, eac3to makes both files and then deletes the wrong one, what I wanted to ask is how is it possible to know the bit-depth of the stream before starting to convert it (and yes I mean "truehd" or should we call it "craphd", what kind of bs is that creating a 24-bit if only 16-bit is used?)
The bitdepth is simply not known before the processing. The information about the bitdepth is not contained anywhere in the TrueHD track. eac3to has no other choice than to fully decode the full track and check the bitdepth of every single audio sample (of which there are usually 48000 for every second of the runtime). If all 24bit audio samples have 8bits zeroed out, eac3to will state that it's a 16bit track only and will remove the 24bit file. There's nothing else I can do.
but I do have one question though: is it possible to demux video+demux audio+convert audio into other format+remux into mkv without saving the files, process them directly into mkv (or maybe something else ?) ?
No.
is there a way to remove dialnorm from ac3 in real time ? without re-converting ? and if reconverting is necessary, is it possible to convert ac3 to ac3 without loosing the quality (demux?) ? because I was wondering, what is dialnorm ? im guessing that dialnorm is a form of processing that is being done on the audio stream to increase the volume of the dialogs if necessary based on current level of the other data, if so it is a form of processing that involves DRC, and according to pro audio rules, any type of processing is a sure degradation of quality, however if it is not a form of processing that is being performed in real-time on a stream and instead data that exists in that form (pre-amplified) then processing it with eac3to and removing the normalization is catastrophic (reencoding+modifying)
Dialnorm is a simple number stored in every AC3 audio frame. Removing dialnorm is a simple process which just sets this number to zero and recalculates the checksum. So basically there's no reencoding done. It's a simple modification of the compressed stream. There's no quality loss whatsoever.
another question: how can you be sure that The Sonic DTS decoder actually gives you 1:1 sample values ? I can appreciate the ability of eac3to when it handles trueHD tracks to give you 1:1 sample values because it's code is in your program, however when it comes to external filters, how do you know that, for example dialog normalization hasn't been applied ? and that's just the lite case, how about bass boost that was added just for fun or DRC that suddenly decided to kick in because the decoder detected what might be clipping so it compressed by say 2 db, who knows what other thresholds there may be out there and what other code that might do some of those "other stuff" you mentioned earlier, not all of these can be detected by recording and monitoring the output of the decoder.
The TrueHD decoder is not in my sources, either. I'm using libav for decoding TrueHD. Anyway, there've tests done on the decoders which include comparing the decoded results in a WAV editor and even in a hexeditor. E.g. some movies come with both PCM and DTS-HD MA tracks. And decoding the DTS-HD MA tracks with the Sonic decoder resulted in identical data compared to the PCM track. So it's fairly safe to say that the Sonic DTS-HD decoder outputs bit perfect results.
it is very hard to determine whether it only reads the "core" or the additional data beyond the core
No, it's not hard at all. I've fed the decoder only the core (test A). And I've fed it the full DTS-HD stream (test B). And the decoder output different data for both tests. So obviously the decoder makes use of the DTS-HD information.
it could even be in reverse, that it only reads the lossless track and not the core
That's technically not possible. The result would be garbage.
if eac3to contains code to properly decode truehd, is there any chance that it might include the code to decode DTS-HDMA just as well ?
eac3to does not contain code to decode TrueHD. If the libav library will ever include DTS-HD MA decoding then eac3to will offer that functionality. But today it doesn't. And I'm not aware of any plans by the libav programmers to add DTS-HD decoding.
when source is ac3 and I asked eac3to to save that source stream also as ac3, does that mean it will demux it without reencoding ?
Yes. Except if you use one of the bitrate switches to change the bitrate. Then the stream is decoded and reencoded. eac3to logs to the command line window exactly what is does. If it decodes/reencodes the AC3 stream, you'll see that in the eac3to text output. Just try it out. You'll easily be able to tell when decoding/reencoding is done and when not.
for that matter, is it true to assume that in any event that input type=output type the operation will be demuxing and not re-encoding ?
Yes. As long as you don't use any additional parameters (like bitrate switches) which force eac3to to reencode the audio stream. Of course some manipulations are done nevertheless, e.g. dialnorm removal. But as explained above that does not harm quality at all.
I noticed that when the output format is different than the input format there is a dithering process taking place, while when input=output it isn't.
Dithering is done when bitdepth is reduced. Usually that's the case when using the libav AC3, E-AC3, MP2 and DTS decoders cause I've hacked these decoders in such a way that they outputs a very high bitdepth. eac3to then internally dithers the bitdepth down to a reasonable value.
madshi
4th May 2008, 10:05
madshi, your reply to robena above seems to quote a different error to the one he posted when I replied. In the post I replied to, eac3to could not detect an audio stream, whereas your quote suggests eac3to found a damaged stream.
Actually eac3to did find an audio track, it's just not listed in the track listing because eac3to found the stream to be damaged. See the line "This doesn't seem to be a valid (E-)AC3 stream" in the original post. This line indicates that an (E-)AC3 stream was found but ignored cause it's damaged.
Is it possible to have a piece of your source code where you handle seamless branching audio?
If not could you please explain the algorithm of fixing multi file audio without reencoding?
What do you need this for?
PHD_1976
4th May 2008, 10:14
What do you need this for?
Currently I'm trying to create a BD demuxer, which makes Scenarist compliant AVC streams while demuxing.
I already know what should be done to make AVC streams compliant, but I thought it would be great to demux all needed audio and subs as well, but I don't know how to handle audio from seamless branching movie without reencoding.
I will certainly share my tool as soon as its ready.
Encoder888
4th May 2008, 10:22
@mashi.
Sorry I totally wasn't paying attention, I thought you needed the actual list, not the file :P Here it is:
http://www.mediafire.com/?dmiyggjnjit
monohouse
4th May 2008, 10:29
-----
tebasuna51
4th May 2008, 12:43
I know that this is not your area but was wondering if there is a chance you might know, if I use vobblanker to blank a cell in the video then it sure does blank the audio of that area as well, does it mean that ac3 stream was modified ? or is it possible to insert data into the ac3 stream without reencoding it ?
Is possible insert silence in the middle of an ac3 stream without reencoding.
I don't know vobBlanker but the author is jsoto (http://jsoto.posunplugged.com/vobblanker.htm). also DelayCut author and the method to delay an ac3 can be used to insert ac3 silence in the middle
monohouse
4th May 2008, 12:55
-----
madshi
4th May 2008, 14:34
Currently I'm trying to create a BD demuxer, which makes Scenarist compliant AVC streams while demuxing.
I already know what should be done to make AVC streams compliant
Maybe (if it's not too much work) it would make sense to add this functionality to eac3to? Or are there more reasons why you want to create your own tool? Not that it would be a problem for me, of course!
I thought it would be great to demux all needed audio and subs as well, but I don't know how to handle audio from seamless branching movie without reencoding.
It's quite complicated. You need this:
(1) A full stream parser for all audio formats you want to support, which can also calculate the exact runtime of each audio frame.
(2) Your tool will need to read out the PTS timestamps of the m2ts container and compare them to the runtime information your audio stream parsers (see (1)) calculated. This will give you information about where in the stream are gaps/overlaps. Unfortunately the PTS values are not always 100% correct, they may vary slightly (a bit too low or a bit too high). So you'll need to find a good way to even out the variances.
(3) You have to take the gap/overlap information from step (2) and perform the necessary changes on the audio streams. For AC3, E-AC3, DTS and MP2 you'll have to insert (or delete) single audio frames to get rid of the gaps (or overlaps). For LPCM you can insert (or delete) single samples. For TrueHD things are difficult cause it's not really possible to do such corrections on the TrueHD bitstream without introducing problems. So for TrueHD you can do the correction only if you decode the audio data first.
The eac3to source code is a complicated class structure. There's not just a few lines of code which do the audio gap/overlap correction. There's code in several classes which works together. So it's nearly impossible to give you just "some code" to duplicate eac3to's audio gap/overlap correction functionality.
jchappo
4th May 2008, 15:36
Madashi,
This is not an error?
[libav] Lossless check failed - expected 0, calculated d1
anyway, is there anything I could provide you to help fix Sonic and Nero decoding to WAV?
madshi
4th May 2008, 16:19
[libav] Lossless check failed - expected 0, calculated d1
That's a bit strange. Can be a bug in the libav decoder. Or it can be a slightly damaged TrueHD stream. Don't know. Since this warning only occurred once in the whole audio track, you probably don't need to bother much. The problem can only affect max 100ms worth of audio data in the whole audio track, I believe.
anyway, is there anything I could provide you to help fix Sonic and Nero decoding to WAV?
I'm not convinced yet that there is any problem with Sonic and Nero decoding to WAV. Can you give me some more details about why you came to the conclusion that there's something wrong with Sonic and Nero decoding to WAV? Which audio track did you decode with Sonic, Nero *and* libav? How big were the WAV files created by the 3 decoders?
It's important to decode the very same track with all 3 decoders. Only if you do that and if you then run into a problem with some decoders while other decoders don't show the same problem, only then it's a hint that some decoders might have a problem. But still even in that case the problem might be elsewhere. E.g. if the TrueHD stream is really damaged (see the "lossless check failed" libav warning you posted) this might throw off Sonic&Nero but might have a less bad effect on libav.
jchappo
4th May 2008, 17:09
I will do more testing, but so far, the only tracks I can play on the popcorn hour are:
LPCM tracks included with the Bluray
TrueHD converted to WAV (PCM) with eac3to -libav
Both DTS-MA and DD+ (Sonic, and Nero) both produce bad WAV files.
madshi
4th May 2008, 18:39
I will do more testing, but so far, the only tracks I can play on the popcorn hour are:
LPCM tracks included with the Bluray
TrueHD converted to WAV (PCM) with eac3to -libav
Both DTS-MA and DD+ (Sonic, and Nero) both produce bad WAV files.
That is not a conclusive test. The bad WAV playback probably only depends on the WAV file size and on nothing else. Most probably the WAV files created from DTS-MA and DD+ are bigger than 4GB while the TrueHD created WAV file is probably smaller than 4GB. Probably that's the difference...
madshi
4th May 2008, 19:31
eac3to v2.45 released
http://madshi.net/eac3to.zip
* Blu-Ray angles are now reported as separate titles
* duplicate playlists are not listed in the "folder view", anymore
* reduced TrueHD and RAW/PCM gap/overlap threshold to 7ms
* reduced (E-)AC3 gap/overlap threshold to 60% of the runtime of one audio frame
* reduced MP2 gap/overlap threshold to 60% of the runtime of one MP2 frame
* reduced DTS threshold to 60% of the runtime of one DTS frame, but at least 7ms
* fixed: Blu-Ray chapter export sometimes wrote incorrect "00:00:00.000" items
* improved handling of MPEG2 streams (changes from interlaced to progressive)
* video information now shows "with pulldown flags", if applicable
* removed "-ignoreDiscon" from help; hint is shown when a discontinuity occurs
* added "-ignoreEncrypt" option; hint is shown when a source is encrypted
* new option "-extensible" creates WAV files with a slightly different header
* fixed some smaller bugs
Notes:
(1) As demanded, I've noticably decreased the audio gap/overlap thresholds. For most audio tracks the threshold is only 7ms now. If you run into any trouble with this (e.g. gaps/overlaps reported in situations where you didn't expect it), please let me know. Also if it works well for you, I'd also like to hear about it and maybe see some success logs. Thanks!
(2) Please note that MPEG2 handling of problematic streams has improved, but I still not to improve it further. As an explanation: Many MPEG2 streams are 60i. Some of them are natively interlaced, others are movies. Movies are often encoded as 24p but with pulldown flags. HD DVD uses this method. Now the problem is this: Sometimes a stream begins as 24p with pulldown flags but then suddenly switches to natively 60i interlaced. Or the other way round. Some streams even switch multiple times. Of course we want eac3to to handle 24p movies with pulldown flags as 24p. But doing this runs into problems when the stream suddenly switches to 60i interlaced content. Currently any stream with changes between 24p (with pulldown flags) and 60i is not handled in the best possible way by eac3to. I still need to improve that. But at least processing is not aborted, anymore, if there's such a change in the stream. The previous eac3to version aborted in such a situation. That means with v2.45 you can at least use eac3to for demuxing video and for handling the audio streams etc...
(3) I've heard that TsMuxer complains about eac3to's WAV files. Something like "channel mapping information missing". You can now use the new "-extensible" switch to make eac3to write slightly different WAV headers. This may satisfy TsMuxer (or not).
jchappo
4th May 2008, 21:12
Actually the TrueHD WAV file was 6GB, DD+ and DTS-HD both produce WAV files around that size as well.
markrb
4th May 2008, 21:21
[a04] Encoding AC3...
[a04] Creating file "D:\audio.ac3"...
[a04] Audio overlaps for 14ms at playtime 0:00:02.
[a04] Audio overlaps for 25ms at playtime 0:05:09.
[a04] Audio overlaps for 12ms at playtime 0:09:18.
[a04] Audio overlaps for 5ms at playtime 0:09:53.
[a04] Audio overlaps for 29ms at playtime 0:12:14.
[a04] Audio overlaps for 23ms at playtime 0:13:32.
[a04] Audio overlaps for 10ms at playtime 0:26:09.
[a04] Audio overlaps for 23ms at playtime 0:28:19.
[a04] Audio overlaps for 32ms at playtime 0:34:52.
[a04] Audio overlaps for 24ms at playtime 1:03:31.
[a04] Audio overlaps for 8ms at playtime 1:04:06.
[a04] Audio overlaps for 11ms at playtime 1:20:23.
[a04] Audio overlaps for 7ms at playtime 1:22:20.
[a04] Audio overlaps for 13ms at playtime 1:24:06.
[a04] Audio overlaps for 14ms at playtime 1:26:21.
[a04] Audio overlaps for 21ms at playtime 1:29:26.
[a04] Audio overlaps for 11ms at playtime 1:29:54.
[a04] Audio overlaps for 21ms at playtime 1:37:21.
[a04] Audio overlaps for 28ms at playtime 1:39:05.
[a04] Audio overlaps for 27ms at playtime 1:39:27.
[a04] The audio file was demuxed without making use of the gap/overlap information.
[a04] Please rerun the same eac3to command line. That will correct the gaps/overlaps.
I don't understand what it's asking me to do.
Am I suppose to just run the program again and it will somehow remember and fix the issue or am I suppose to put in some sort of command to fix it?
Thanks,
Mark
madshi
4th May 2008, 21:25
Actually the TrueHD WAV file was 6GB, DD+ and DTS-HD both produce WAV files around that size as well.
Ok. Then please try decoding the very same audio track with all 3 decoders and compare. I'd be surprised if it depended on the decoder which WAV plays fine for you and which doesn't. But of course anything is possible.
[a04] The audio file was demuxed without making use of the gap/overlap information.
[a04] Please rerun the same eac3to command line. That will correct the gaps/overlaps.
I don't understand what it's asking me to do.
Am I suppose to just run the program again and it will somehow remember and fix the issue or am I suppose to put in some sort of command to fix it?
Thanks,
Mark
Yes, just run the same command line again.
madshi
4th May 2008, 21:31
I don't understand what it's asking me to do.
Am I suppose to just run the program again and it will somehow remember and fix the issue
Yes. You're supposed to simply rerun eac3to with exactly the same parameters as in your first try. The information needed for fixing the issue were stored on harddisk during the first pass (look for a *.gap file). This is then made use of when you run eac3to a 2nd time.
If you want you can save the original "d:\audio.ac3" file and compare it with the final result. You should notice that the current "d:\audio.ac3" file is not in sync with the video. The AC3 file you get from the 2nd pass should be in sync.
Edit: Yraen was faster... :)
"The h264 muxer received invalid h264/AVC data" error problem fixed as expected. Thanks. :)
EDIT: I have a potentially silly question. If I have a 16-bit lossless source I want to convert to DTS, should I encode the DTS at 16-bit, because there is no need for 24, and so the size will be smaller? Or would encoding to DTS at 24-bit help the sound quality?
nautilus7
4th May 2008, 22:36
Surcode will encode at 24 bit. You don't have/need to do anything.
Thunderbolt8
4th May 2008, 23:47
thanks for the new version :)
2 questions:
"reduced DTS threshold to 60% of the runtime of one DTS frame, but at least 7ms" - does this affect dts-hd (MA) as well?
and regarding those mpeg2 sources, which sometimes switch flags or show other problems, should I still continue to make samples of these? or do you have already enough and just need more time for those improvements atm?
Atak_Snajpera
5th May 2008, 00:32
Is it possible to demux only chapters?
Bluestraw
5th May 2008, 00:43
Many thanks for the new version - I tested the angle support, and successfully converted the French version of Cars (which is at least 12 parts) to MKV with FLAC, and the resulting file is perfectly in sync. Only reported a couple of small overlaps, each 4 ms I think.
Is it possible to demux only chapters?
Yes. Most chapters are track 1, but check to be sure.
eac3to H:\moviefolder\ 1) 1: chapters.txt
jchappo
5th May 2008, 01:22
Ok Madashi,
Converted the DTS-HD track to WAV with all decoders, all suffered from same problem, after 20-30% it was all garbage.
Same thing converting from DD+.
Only thing that works is TrueHD.
nautilus7
5th May 2008, 01:39
Ok Madashi,
Converted the DTS-HD track to WAV with all decoders, all suffered from same problem, after 20-30% it was all garbage.
Same thing converting from DD+.
Only thing that works is TrueHD.There must be something wrong with your installation of the sonic decoder. Which version do you have? Which movie did you try?
Thanks for this update (2.45)!
- Fixed the Xmen3 problem which now converts successfully.
- Fixed the DVD interlaced problem and my interlaced (480i60 and 480p24 with pulldown flags) files now process with no problems (so far)! Most of my DVDs the changed occurs in the first 2 seconds.
- the gap change seems to create a lot gap data where there was none before. I ignore it on files that I know it is not needed.
One issue that I am having with DVDs is that the language seems to be missing for audio and subtitles as follows:
eac3to v2.45
command line: eac3to vts_01_1.vob+vts_01_2.vob+vts_01_3.vob+vts_01_4.vob+vts_01_5.vob t.mkv
------------------------------------------------------------------------------
VOB, 1 video track, 2 audio tracks, 3 subtitle tracks, 13:17:28
1: Joined VOB file
2: MPEG2, 480p24 /1.001 (4:3) with pulldown flags
3: AC3, 2.0 channels, 192kbit/s, 48khz, dialnorm: -27dB, -83ms
4: AC3, 2.0 channels, 192kbit/s, 48khz, dialnorm: -27dB, -100ms
5: Subtitle
6: Subtitle
7: Subtitle
But, thanks for the update as that is a huge improvement for me.
nautilus7
5th May 2008, 02:48
To make eac3to list languages you have to load the DVD folder, like you do for HD DVDs and Blu-ray Discs. Reading DVD folders isn't supported (yet), though, so you can't do it currently.
PHD_1976
5th May 2008, 06:27
Maybe (if it's not too much work) it would make sense to add this functionality to eac3to? Or are there more reasons why you want to create your own tool? Not that it would be a problem for me, of course!
Madshi,
There's a lot of work fixing h264 streams for Scenarist.
Maybe we can discuss it outside this thread.
I don't mind sharing my code with you.
Where can I write you a letter with a description of what should be done to fix H264 streams?
madshi
5th May 2008, 07:37
"reduced DTS threshold to 60% of the runtime of one DTS frame, but at least 7ms" - does this affect dts-hd (MA) as well?
Yes.
and regarding those mpeg2 sources, which sometimes switch flags or show other problems, should I still continue to make samples of these? or do you have already enough and just need more time for those improvements atm?
Right now I don't need further samples. Once I'm done with the improvements and there are still problems, I'd be interested in further samples. But for now I think I have enough samples.
Many thanks for the new version - I tested the angle support, and successfully converted the French version of Cars (which is at least 12 parts) to MKV with FLAC, and the resulting file is perfectly in sync. Only reported a couple of small overlaps, each 4 ms I think.
Good to hear, thanks!
Converted the DTS-HD track to WAV with all decoders, all suffered from same problem, after 20-30% it was all garbage.
Same thing converting from DD+.
Only thing that works is TrueHD.
Do you have different movies with DTS-HD, DD+ and TrueHD tracks? If possible, it would be helpful if you could test other movies, too.
I still believe that the size of the WAV file is the only problem here. Let me explain: The WAV header has a "size" field which is only 4 byte long. The max size you can put in 4 bytes is about 2GB or 4GB (depending on whether you interpret that number to be able to hold negative numbers, too). Now if you have a WAV file which is longer than 2GB or 4GB, the "size" field in the WAV header is invalid. It's difficult to explain to a non-programmer what value this field has when it's invalid. But you can think of it as being "random", but the random value depends on the full WAV file size. Now if a media player is stupid enough to rely on the "size" field, it will interpret the random value in the WAV header as being the correct size. Since the value is random, a 5.9GB WAV file could eventually work much better than a 6.1GB WAV file or vice versa.
When you decode the same track with different decoders, they will likely still output the same WAV size. That's why all 3 decoders behave the same for you. I believe the only problem is the random WAV "size" field. You probably just had luck with your TrueHD track that the random size field somehow made it work more or less ok.
Fixed the DVD interlaced problem and my interlaced (480i60 and 480p24 with pulldown flags) files now process with no problems (so far)! Most of my DVDs the changed occurs in the first 2 seconds.
- the gap change seems to create a lot gap data where there was none before.
Yeah, that's still something I'm working on. It happens especially when a movie begins as 480p24 (with pulldown flags) and then changes to 480i60.
One issue that I am having with DVDs is that the language seems to be missing
As nautilus7 already explained, this is a feature which is just not implemented in eac3to. eac3to parses the special HD DVD and Blu-Ray files where the language information is contained. But eac3to doesn't parse the special DVD files where the info is contained.
There's a lot of work fixing h264 streams for Scenarist.
Maybe we can discuss it outside this thread.
I don't mind sharing my code with you.
Where can I write you a letter with a description of what should be done to fix H264 streams?
You can email to dear (at) madshi (dot) net.
PHD_1976
5th May 2008, 13:00
You can email to dear (at) madshi (dot) net.
Just emailed you from genetr (at) mail (dot) ru
The Machinist HD DVD:
3: h264/AVC, 1080p24 /1.001 (16:9) with pulldown flags
This title does not appear to have pulldown flags.
Video is destroyed when removing pulldown with h264info and plays fine at 23.976 fps without.
tebasuna51
5th May 2008, 15:52
Thanks for your new eac3to version.
You includes the -extensible parameter to output wav with the WAVE_FORMAT_EXTENSIBLE header (henceforth WFE).
I like this improvement but I have some comments:
- When use WFE header is mandatory a fix channel order.
- The most useful new data (maybe the unique) is the Channel Mask to specify the channels present in the audiodata.
- When is unknown the channels present in the source is recommended use a default Channel Mask based in the number of channels.
- When we know the source channels the channel mask must be set in accord.
1) ABOUT DEFAULTS
I think the default used in eac3to for 4 channels (0x000F = FL FR FC LF) must be changed for 0x0033 = FL FR BL BR (Quadro) more usual and compatible with Flac/Ogg multichannel.
A WFE wav with maskchannel 0x000F is rejected by flac.
The default used for 8 channel (0x00FF = FL FR FC LF BL BR FLC FRC) is not usual, maybe the default can be 0x063F = FL FR FC LF BL BR SL SR
When I try know the default for 7 channels using a 3/3.1 wav file:
eac3to v2.45
command line: "D:\Test\AudioN\eac3to\eac3to.exe" "E:\Test\7_61.wav" "E:\Test\z331.wav" -extensible
------------------------------------------------------------------------------
WAV, 6.1 channels, 0:00:20, 16 bits, 48khz
Doubling 7th channel...
Reading WAV...
Writing WAV...
Creating file "E:\Test\z331.wav"...
eac3to processing took 1 second.
Done.
For what "Doubling 7th channel..."?
Maybe the default for 7 channel can be: 0x013F = FL FR FC LF BL BR BC
2) ABOUT KNOW SOURCE AC3
At least with ac3 source we can obtain perfect WFE wav output:
acmod.lfe ac3 channels Mask and MS channels ordered Detect-MaskCh eac3to libav remap
------------------------- --------------------------------- --------------------- ------------
1 1/0.0 C 0x0004 FC 1.0 0x0004 ok not needed
1 1/0.1 C LFE 0x000C FC LF 1.1 0x0003 (1)(2) not needed
2 2/0.0 L R 0x0003 FL FR 2.0 0x0003 ok not needed
2 2/0.1 L R LFE 0x000B FL FR LF 2.1 0x0007 (2) not needed
4 2/1.0 L R S 0x0103 FL FR BC 2/1 0x0007 (2) not needed
4 2/1.1 L R S LFE 0x010B FL FR LF BC 2/1.1 0x000F (2)(3) -0,1,3,2,4,5
6 2/2.0 L R SL SR 0x0033 FL FR BL BR 2/2 0x000F (2) not needed
6 2/2.1 L R SL SR LFE 0x003B FL FR LF BL BR 2/2.1 0x0037 (2)(3) -0,1,4,2,3,5
3 3/0.0 L C R 0x0007 FL FR FC 3/0 0x0007 (3) -0,2,1,3,4,5
3 3/0.1 L C R LFE 0x000F FL FR FC LF 3/0.1 0x000F (3) -0,2,1,3,4,5
5 3/1.0 L C R S 0x0107 FL FR FC BC 3/1 0x000F (2)(3) -0,2,1,3,4,5
5 3/1.1 L C R S LFE 0x010F FL FR FC LF BC 3/1.1 0x0037 (2)(3) -0,2,1,4,3,5
7 3/2.0 L C R SL SR 0x0037 FL FR FC BL BR 5.0 0x0037 (3) -0,2,1,3,4,5
7 3/2.1 L C R SL SR LFE 0x003F FL FR FC LF BL BR 5.1 0x003F ok already done
(2) Default mask for channel number, the correct mask can be easyly put based in detection
(3) When decoded with libav need remapping channels.
EDIT: My previous note (1) was:
(1) Wrong detection, must be 1.1 (not important because mono + LFE is really strange).
But is my fault, eac3to detect 1.1 correctly
calinb
5th May 2008, 18:09
At this point in time eac3to is VERY picky about the source material.Indeed! Oftentimes, source that produces the "This track is not clean...Please clean the track with delaycut" error can be processed with eac3to ver. 1.16--after remuxing/joining the .evo(s) with EVOdemux, if necessary.
I seem to have run into a consistent problem with certain DVDs that are 480i60. The following is an example:
eac3to v2.45
command line: eac3to vts_01_1.vob+vts_01_2.vob+vts_01_3.vob+vts_01_4.vob t.mkv
------------------------------------------------------------------------------
VOB, 1 video track, 3 audio tracks, 3 subtitle tracks, 1:53:11
1: Joined VOB file
2: MPEG2, 480i60 /1.001 (16:9)
3: AC3, 2.0 channels, 192kbit/s, 48khz, dialnorm: -26dB
4: AC3, 2.0 channels, 192kbit/s, 48khz, dialnorm: -25dB
5: AC3, 2.0 channels, 192kbit/s, 48khz, dialnorm: -23dB
6: Subtitle
7: Subtitle
8: Subtitle
[v02] Extracting video track number 2...
[a04] Extracting audio track number 4...
[a05] Extracting audio track number 5...
[v02] Muxing video to Matroska...
[a03] Extracting audio track number 3...
[a05] Removing dialog normalization...
[a04] Removing dialog normalization...
[a03] Removing dialog normalization...
[v02] The MPEG2 stream changed from 60000i to 48000i at runtime 0:00:02.
[s07] Extracting subtitle track number 7...
[s08] Extracting subtitle track number 8...
[s06] Extracting subtitle track number 6...
[a03] Creating file "t - 3 - AC3, 2.0 channels, 192kbps, 48khz.ac3"...
[a04] Creating file "t - 4 - AC3, 2.0 channels, 192kbps, 48khz.ac3"...
[a05] Creating file "t - 5 - AC3, 2.0 channels, 192kbps, 48khz.ac3"...
[s08] Creating file "t - 5 - Subtitle.sup"...
[s06] Creating file "t - 3 - Subtitle.sup"...
[s07] Creating file "t - 4 - Subtitle.sup"...
Added fps value to MKV header.
Video track 2 contains 162910 frames.
eac3to processing took 1 minute, 50 seconds.
Done.
The "stream changed from 60000i to 48000i " is the consistancy. The mkv file produced is jerky during playback and this happens to all that I try to convert where this exact stream change occurs. Is there an option on eac3to that will solve this or is this a bug?
jchappo
5th May 2008, 21:08
Madashi,
Next time I get a Bluray in with LCPM audio, and a DTS-HD track, I will do more testing.
But for now, your assumption is incorrect. All the tracks I am converting are from full length feature films. The TrueHD, DTS-HD, and DD+ tracks come out roughly the same size, between 1 and 3gb depending on movie length. Once uncompressed to WAV, all files are > 4gb, even the TrueHD.
My question is, why do the LPCM tracks that ship with the Blurays work perfectly, while ones converted using eac3to don't? What is difference between the LPCM provided by the movie studio, and the one your program is making? Is there some kind of program I can use to analyze the two LPCM files?
Bascially, I wan't to do something similar listed in this thread:
http://forum.doom9.org/showthread.php?p=968533#post968533
But I want to go from DTS-HD/TrueHD/DD+ to LPCM. Would I use the RAW output option on eac3to, and map the channels like it says in that thread?
nautilus7
5th May 2008, 21:24
Madashi,
Next time I get a Bluray in with LCPM audio, and a DTS-HD track, I will do more testing.
But for now, your assumption is incorrect. All the tracks I am converting are from full length feature films. The TrueHD, DTS-HD, and DD+ tracks come out roughly the same size, between 1 and 3gb depending on movie length. Once uncompressed to WAV, all files are > 4gb, even the TrueHD.
My question is, why do the LPCM tracks that ship with the Blurays work perfectly, while ones converted using eac3to don't? What is difference between the LPCM provided by the movie studio, and the one your program is making? Is there some kind of program I can use to analyze the two LPCM files?It seems that you didn't understand what madshi told you. Read again and tell what movie is that you 're converting. Maybe someone else can try it also.
DeepBeepMeep
5th May 2008, 21:44
Madshi,
When converting a TrueHD track to a DTS track with a multiparts seamless branching .m2ts file, are two passes really needed?
In my example I try to extract two tracks: an AC3 track and a TrueHD track (converted to DTS). Overlap is only detected on the AC3 track, is this normal? If so, could you automate the two passes to avoid calling surcode twice ? In fact, if the second pass was handled directly by EAC3TO you could save a lot of time since the demuxing has been already done.
Thanks for your great tool!
tebasuna51
5th May 2008, 21:45
My question is, why do the LPCM tracks that ship with the Blurays work perfectly, while ones converted using eac3to don't? What is difference between the LPCM provided by the movie studio, and the one your program is making? Is there some kind of program I can use to analyze the two LPCM files?
Like madshi say you the difference in only the header, the LPCM is raw data without header and the length is passed by other method.
The wav file >4GB have a field to inform about the length than must be wrong because have only 4 bytes and the max number is 2^32.
There are soft to manage these big wave files, you can encode to ac3 with Aften -readtoeof 1, or to mp4 with Neroaacenc -ignorelength. You can split, change bitdepth, samplerate, ... with WaveWizard. An also can be managed in AviSynth (BeHappy, SoundOut, Wavi) if you open the file with RaWavSource() method.
You can also convert (SoundOut) the header to w64 (Sonic Foundry, now acquired by Sony) format with fields than support until 2^64 filelength, but not all soft can accept this format.
nautilus7
5th May 2008, 22:12
When converting a TrueHD track to a DTS track with a multiparts seamless branching .m2ts file, are two passes really needed?
In my example I try to extract two tracks: an AC3 track and a TrueHD track (converted to DTS). Overlap is only detected on the AC3 track, is this normal?Yes, it is normal. Overlaps for TrueHD are really small and as a result not often met. If no overlaps are detected for a track, the 2nd pass isn't needed (there's no .gaps file created fo that track).
If so, could you automate the two passes to avoid calling surcode twice?Even if you needed 2 passes in your case, to avoid calling surcode twice (it is very slow), i suggest converting truehd (or whatever) to wav, do the 2nd pass (if needed) and then run a simple command to make the wav 2 dts encoding. This is what i always do when i want to encode to dts. Another good reason for feeding surcode direclty with wav files is to avoid the "surcode button didn't seem to work" error when you specify long filenames/paths as inputs. In that case you won't need to decode the source track twice.
DeepBeepMeep
5th May 2008, 22:23
Nautilus7,
Thans for your answer. I think it would be greatly appreciated anyway to automate the two passs processes since there is little reason why one would not go for the second pass when overlaps are discovered.
tebasuna51
5th May 2008, 22:34
Bascially, I wan't to do something similar listed in this thread:
http://forum.doom9.org/showthread.php?p=968533#post968533
But I want to go from DTS-HD/TrueHD/DD+ to LPCM. Would I use the RAW output option on eac3to, and map the channels like it says in that thread?
You don't need xport, sox, wavewizard or mediacoder, eac3to do all the job.
The 5.1 channels are automatically remapped from LPCM/DTS-HD/TrueHD/DD+
The RAW is the same than the wav if you delete the first 44 bytes.
jchappo
5th May 2008, 23:14
Let me fully explain the problem I have so everyone can understand it better.
The Popcorn hour A-100, is a network media player which can play uncompressed Bluray audio/video. It will accept a M2TS stream and passthrough the LPCM audio to my receiver. Some Bluray movies come with an LPCM audio stream already on them, some do not. For the ones that do not, I want to use eac3to to convert the TrueHD/DTS-HD/DD+ to LCPM so the A-100 can play it. But, I have only been successful with TrueHD so far, both DTS-HD and DD+ produce files that are garbage after the first 20-30% of the movie.
This is the problem. My question is, why can't eac3to produce LPCM files like that ones the movie studio includes on some discs? If I could produce those exact files, then that would be awesome and everything would just work. I am trying to figure out why eac3to is not producing these same files, and how to fix it.
jchappo
5th May 2008, 23:17
Would it help if I posted a sample of a movie studio created LPCM file, and one decoded from a DTS-HD track from eac3to which has garbage audio after 30%?
nautilus7
5th May 2008, 23:40
You keep saying your "problem", but you didn't listen to what madshi already said.
Do a simple test: Instead of making multi channel wav files make mono wavs. (eac3to input.thd/dtshd/eac3/etc output.wavs). Then check the center channel of all tracks. I bet every single one would be fine.
wildchild22
6th May 2008, 00:40
I have the same problem with lpcm as the above poster. What we really need is a program that can accept wavs not an interleaved wav file and mux that with video like scenarist. That way the audio track will be under 4 gigs. either that or maybe madshi could add an option to split the demuxed video and audio file every 30 mins. That way we maybe able to use tsmuxer and append the file and the sound may be correct.
jchappo
6th May 2008, 02:20
nautilis7,
I tried what you said and you are correct. If by dump luck, the TrueHD stream decoded into a working WAV, then why can't I edit the value in the WAV header to make it always work?
I'm just trying to get a working solution to producing working LPCM files.
tebasuna51
6th May 2008, 02:25
I have the same problem with lpcm as the above poster. What we really need is a program that can accept wavs not an interleaved wav file and mux that with video like scenarist. That way the audio track will be under 4 gigs. either that or maybe madshi could add an option to split the demuxed video and audio file every 30 mins. That way we maybe able to use tsmuxer and append the file and the sound may be correct.
Then the problem is in tsmuxer, must accept wav > 4GB or multiple monowavs or w64/RF64 wav headers.
EPiPH0NE
6th May 2008, 08:30
I have the same problem with lpcm as the above poster. What we really need is a program that can accept wavs not an interleaved wav file and mux that with video like scenarist. That way the audio track will be under 4 gigs. either that or maybe madshi could add an option to split the demuxed video and audio file every 30 mins. That way we maybe able to use tsmuxer and append the file and the sound may be correct.
I have already asked madshi about this and have been already trying to do this so I'll let you guys take over. Splitting the M2TS up then processing works for DTS-MA -> WAV but they can't be rejoined at this current time. We DO need to know how to make these files just like the studios are doing cause we are obviously missing something here. Maybe we should do:
eac3to.exe source.m2ts destination.wavs
then use another encoder to make the multi channel PCM/WAV? But, what encoder and what settings and how do we ensure proper LPCM channel configuration?
Beastie Boy
6th May 2008, 08:36
Have you tried
eac3to source.m2ts destination.raw
and then changing the file extention if necessary. Maybe this will get around any incompatabilities with the wav header.
Cheers, Beastie.
madshi
6th May 2008, 08:41
One issue that I am having with DVDs is that the language seems to be missing for audio and subtitles
Just as a quick follow up:
The VOB format allows to have language identifiers inside the VOB stream. If there are any, eac3to will read them and display them. I do have some DVDs where language detection works. However, there are many DVDs where the language information is not contained in the VOB itself, but in the other files (*.IFO, I believe). eac3to currently doesn't parse these files, so the language cannot be displayed in such cases.
The Machinist HD DVD:
3: h264/AVC, 1080p24 /1.001 (16:9) with pulldown flags
This title does not appear to have pulldown flags.
Video is destroyed when removing pulldown with h264info and plays fine at 23.976 fps without.
As far as I know, every single HD DVD movie (regardless of codec) does have pulldown flags. I think it's even a requirement of the HD DVD specification! If video is destroyed when using h264info then that probably indicates a bug in h264info. I'd suggest uploading a little sample and letting the h264info programmer know about the problem. He should be able to easily fix it.
Indeed! Oftentimes, source that produces the "This track is not clean...Please clean the track with delaycut" error can be processed with eac3to ver. 1.16--after remuxing/joining the .evo(s) with EVOdemux, if necessary.
v1.16? :eek: That feels like ages ago...
Can you upload a little sample which works with v1.16 but not with v2.45?
I seem to have run into a consistent problem with certain DVDs that are 480i60. [...] The "stream changed from 60000i to 48000i " is the consistancy. The mkv file produced is jerky during playback and this happens to all that I try to convert where this exact stream change occurs. Is there an option on eac3to that will solve this or is this a bug?
This is why I stated in the v2.45 release notes that I still have to further improve eac3to for MPEG2 clips with such mode changes. For now I recommend to either wait with converting such clips. Or to demux video instead of muxing it to MKV. I'm planning to complete the MPEG2 muxing improvements in the next build, which should then handle such mode changes just fine.
When converting a TrueHD track to a DTS track with a multiparts seamless branching .m2ts file, are two passes really needed?
I cannot do it in one pass. The 2 passes are necessary to even out timecode instabilities.
In my example I try to extract two tracks: an AC3 track and a TrueHD track (converted to DTS). Overlap is only detected on the AC3 track, is this normal?
Yes.
If so, could you automate the two passes
I've already thought about this. Maybe I will.
Do a simple test: Instead of making multi channel wav files make mono wavs. (eac3to input.thd/dtshd/eac3/etc output.wavs). Then check the center channel of all tracks.
Good idea... ;)
What we really need is a program that can accept wavs not an interleaved wav file and mux that with video like scenarist. That way the audio track will be under 4 gigs. either that or maybe madshi could add an option to split the demuxed video and audio file every 30 mins. That way we maybe able to use tsmuxer and append the file and the sound may be correct.
If by dump luck, the TrueHD stream decoded into a working WAV, then why can't I edit the value in the WAV header to make it always work?
I'm just trying to get a working solution to producing working LPCM files.
Then the problem is in tsmuxer, must accept wav > 4GB or multiple monowavs or w64/RF64 wav headers.
I agree with tebasuna51. This is clearly a problem with tsMuxer. So why should I spend hours and hours on adding fancy and complicated features to eac3to just to workaround a simple little "bug" in tsMuxer? Instead you guys should really pester the tsMuxer programmer about adding support for big WAV files and/or for multiple mono WAV files. That will solve all your problems at once and it will furthermore make things much easier for you, as well, cause you won't have to deal with manually splitting and rejoining files, anymore.
madshi
6th May 2008, 08:51
You includes the -extensible parameter to output wav with the WAVE_FORMAT_EXTENSIBLE header (henceforth WFE).
I like this improvement but I have some comments:
- When use WFE header is mandatory a fix channel order.
- The most useful new data (maybe the unique) is the Channel Mask to specify the channels present in the audiodata.
- When is unknown the channels present in the source is recommended use a default Channel Mask based in the number of channels.
- When we know the source channels the channel mask must be set in accord.
1) ABOUT DEFAULTS
I think the default used in eac3to for 4 channels (0x000F = FL FR FC LF) must be changed for 0x0033 = FL FR BL BR (Quadro) more usual and compatible with Flac/Ogg multichannel.
A WFE wav with maskchannel 0x000F is rejected by flac.
The default used for 8 channel (0x00FF = FL FR FC LF BL BR FLC FRC) is not usual, maybe the default can be 0x063F = FL FR FC LF BL BR SL SR
When I try know the default for 7 channels using a 3/3.1 wav file:
eac3to v2.45
command line: "D:\Test\AudioN\eac3to\eac3to.exe" "E:\Test\7_61.wav" "E:\Test\z331.wav" -extensible
------------------------------------------------------------------------------
WAV, 6.1 channels, 0:00:20, 16 bits, 48khz
Doubling 7th channel...
Reading WAV...
Writing WAV...
Creating file "E:\Test\z331.wav"...
eac3to processing took 1 second.
Done.
For what "Doubling 7th channel..."?
Maybe the default for 7 channel can be: 0x013F = FL FR FC LF BL BR BC
2) ABOUT KNOW SOURCE AC3
At least with ac3 source we can obtain perfect WFE wav output:
acmod.lfe ac3 channels Mask and MS channels ordered Detect-MaskCh eac3to libav remap
------------------------- --------------------------------- --------------------- ------------
1 1/0.0 C 0x0004 FC 1.0 0x0004 ok not needed
1 1/0.1 C LFE 0x000C FC LF 2.0 0x0003 (1)(2) not needed
2 2/0.0 L R 0x0003 FL FR 2.0 0x0003 ok not needed
2 2/0.1 L R LFE 0x000B FL FR LF 2.1 0x0007 (2) not needed
4 2/1.0 L R S 0x0103 FL FR BC 2/1 0x0007 (2) not needed
4 2/1.1 L R S LFE 0x010B FL FR LF BC 2/1.1 0x000F (2)(3) -0,1,3,2,4,5
6 2/2.0 L R SL SR 0x0033 FL FR BL BR 2/2 0x000F (2) not needed
6 2/2.1 L R SL SR LFE 0x003B FL FR LF BL BR 2/2.1 0x0037 (2)(3) -0,1,4,2,3,5
3 3/0.0 L C R 0x0007 FL FR FC 3/0 0x0007 (3) -0,2,1,3,4,5
3 3/0.1 L C R LFE 0x000F FL FR FC LF 3/0.1 0x000F (3) -0,2,1,3,4,5
5 3/1.0 L C R S 0x0107 FL FR FC BC 3/1 0x000F (2)(3) -0,2,1,3,4,5
5 3/1.1 L C R S LFE 0x010F FL FR FC LF BC 3/1.1 0x0037 (2)(3) -0,2,1,4,3,5
7 3/2.0 L C R SL SR 0x0037 FL FR FC BL BR 5.0 0x0037 (3) -0,2,1,3,4,5
7 3/2.1 L C R SL SR LFE 0x003F FL FR FC LF BL BR 5.1 0x003F ok already done
(1) Wrong detection, must be 1.1 (not important because mono + LFE is really strange)
(2) Default mask for channel number, the correct mask can be easyly put based in detection
(3) When decoded with libav need remapping channels.
:eek:
That's extremely detailed and helpful information - thanks much!! :)
When I try know the default for 7 channels using a 3/3.1 wav file:
For what "Doubling 7th channel..."?
This is complicated. Let me try to explain: When I tried to convert my "The Descent" Blu-Ray to MKV, I found out that the LPCM track (which was credited as 6.1) was in reality 7.1 with both back channels being identical. I'm not fully sure but I guess that multichannel Blu-Ray LPCM tracks must not be 6.1 but can only be either 5.1 or 7.1. So I thought it'd make sense to convert all 6.1 stuff to 7.1 in eac3to to make it Blu-Ray compatible. Not sure if that is/was the right thing to do. Maybe not...
At least with ac3 source we can obtain perfect WFE wav output: [...]
As your charts clearly show, eac3to currently only handles mono, stereo, 5.1 (and 7.1) correctly. For all other formats eac3to's channel mapping behaviour is more or less "random". The reason for that is that I'm not really having any true channel mapping in my whole processing chain right now. Instead I've hard coded extra code everywhere for the supported channel configurations. This is not good, and I definitely need to change it. It's just that there was always something more important to do first... ;) But I think it might be time now (or soon) to implement "proper" channel mapping support.
BTW, do you have any experience with which WAV format is the more compatible one with most applications/media players? Is it the extensible one or the simpler one? I'm wondering which WAV header format I should make default...
madshi
6th May 2008, 08:55
We DO need to know how to make these files just like the studios are doing cause we are obviously missing something here.
The missing thing is simply that TsMuxer needs to be changed to support either big multichannel WAV files or multiple mono WAV files.
Maybe we should do:
eac3to.exe source.m2ts destination.wavs
then use another encoder to make the multi channel PCM/WAV? But, what encoder and what settings and how do we ensure proper LPCM channel configuration?
That doesn't make any sense at all. Guys, please understand that eac3to is doing all it can. You can try 20 other programs to create the multi channel WAV file and you'll always end up with similar problems. The problem is most probably NOT in eac3to's WAV creation. The problem is in TsMuxer. And unless you get TsMuxer fixed, you can forget about making WAV -> TsMuxer working properly. It's as simple as that.
EPiPH0NE
6th May 2008, 14:46
That doesn't make any sense at all. Guys, please understand that eac3to is doing all it can. You can try 20 other programs to create the multi channel WAV file and you'll always end up with similar problems. The problem is most probably NOT in eac3to's WAV creation. The problem is in TsMuxer. And unless you get TsMuxer fixed, you can forget about making WAV -> TsMuxer working properly. It's as simple as that.
Well if that doesn't make sense then I guess I've hit a brick wall and my axe is dull. I'm taking off the hardhat and I'll let someone else figure it out and in the mean time just use segmented files. I could understand these files not working with tsMuxeR, which I and others have reported it but Roman is not as active here as you, but I can't even get Scenarist to take them either because of improper channel config. What is the proper channel config I need to set in eac3to to get these into Scenarist or will your new "-extensible" option fix this?
madshi
6th May 2008, 14:55
Yeah, the "-extensible" option might things work with Scenarist. Not fully sure though if Scenarist handles big WAV files properly!
EPiPH0NE
6th May 2008, 15:33
Yeah, the "-extensible" option might things work with Scenarist. Not fully sure though if Scenarist handles big WAV files properly!
I would hope a $60,000 muxing app would handle big WAV files properly. It does take WAV as LPCM input so as long as I can get around MUI Generator and actually get the files into Scenarist I think I have a 50/50 shot at actually getting DTS-MA/TrueHD -> LPCM ;) I am re-ripping Hitman for the umpteenth time as we speak and then I'll test it.
jchappo
6th May 2008, 15:39
Hmm, is it not possible to examine one of the studio created LPCM tracks and determine what exactly is making those work?
Edit: From my experience TsMuxer handles the LPCM files that the studio created, because I remux the original M2TS and move the LPCM track to audio track 1.
Just as a quick follow up:
This is why I stated in the v2.45 release notes that I still have to further improve eac3to for MPEG2 clips with such mode changes. For now I recommend to either wait with converting such clips. Or to demux video instead of muxing it to MKV. I'm planning to complete the MPEG2 muxing improvements in the next build, which should then handle such mode changes just fine.
Ok. No problem. I was just reporting the data for you to use. I have a lot of DVDs for testing.
Here is a new case:
eac3to v2.45
command line: eac3to vts_10_1.vob+vts_10_2.vob 2: sg1sXe16.mkv 3: sg1sXe16.ac3
------------------------------------------------------------------------------
VOB, 1 video track, 1 audio track, 6 subtitle tracks, 0:43:30
1: Joined VOB file
2: MPEG2, 480p30 /1.001 (16:9)
3: AC3, 5.1 channels, 448kbit/s, 48khz, dialnorm: -27dB
4: Subtitle
5: Subtitle
6: Subtitle
7: Subtitle
8: Subtitle
9: Subtitle
[v02] Extracting video track number 2...
[v02] Muxing video to Matroska...
[a03] Extracting audio track number 3...
[a03] Removing dialog normalization...
[v02] The MPEG2 stream changed from 30000p to 24000p at runtime 0:00:01.
[a03] Creating file "sg1sXe16.ac3"...
Added fps value to MKV header.
Video track 2 contains 62598 frames.
eac3to processing took 43 seconds.
Done.
During playback each frame snaps back to the previous one before going on to the next one. Very strange. For some reason not every episode has the "changed from 30000p to 24000p" and the ones that don't play perfectly.
EPiPH0NE
6th May 2008, 16:25
Hmm, is it not possible to examine one of the studio created LPCM tracks and determine what exactly is making those work?
Edit: From my experience TsMuxer handles the LPCM files that the studio created, because I remux the original M2TS and move the LPCM track to audio track 1.
Yes all BluRay LPCM tracks I use are always track 1 in tsMuxeR followed by a secondary AC3/DTS track which necessary for the my target player. But they always work fine. It's just the ones I'm making myself that don't work right.
EPiPH0NE
6th May 2008, 16:28
Ok I just tried this:
eac3to.exe source.m2ts destination.wav -extensible
And this is what I get:
M2TS, 1 video track, 2 audio tracks, 1:34:15
1: Chapters, 25 chapters
2: h264/AVC, 1080p24 /1.001 (16:9)
3: AC3, Spanish, 5.1 channels, 448kbit/s, 48khz, dialnorm: -27dB
4: DTS Master Audio, English, 5.1 channels, 24 bits, 48khz
This audio conversion is not supported.
madshi
6th May 2008, 16:36
Hmm, is it not possible to examine one of the studio created LPCM tracks and determine what exactly is making those work?
How often do I need to explain this? The studio created LPCM track works because it's stored inside of an m2ts container and not inside of the WAV container. If you put the studio created LPCM track into a WAV container, TsMuxer would fail to work correctly, too.
Ok I just tried this:
eac3to.exe source.m2ts destination.wav -extensible
And this is what I get:
M2TS, 1 video track, 2 audio tracks, 1:34:15
1: Chapters, 25 chapters
2: h264/AVC, 1080p24 /1.001 (16:9)
3: AC3, Spanish, 5.1 channels, 448kbit/s, 48khz, dialnorm: -27dB
4: DTS Master Audio, English, 5.1 channels, 24 bits, 48khz
This audio conversion is not supported.
Hmmmm... That's strange. Try "eac3to source.m2ts 4: dest.wav -extensible". Does that work? Or try without "-extensible", then do another pass "eac3to dest.wav dest2.wav -extensible". Does that work?
deathlord
6th May 2008, 16:38
So I thought it'd make sense to convert all 6.1 stuff to 7.1
I have a 7.1 setup, so I'm happy with that. :)
Though maybe you should lower the volume a bit, because simply doubling the channel would make it too loud?
In any event, should you decide to disable the doubling, please make it an option!
Rectal Prolapse
6th May 2008, 16:44
Keep in mind that Sonic Scenarist 4.2 has a problem handling WAV files > 4 GB. So even commercial apps can be no better than the free stuff. :)
Inventive Software
6th May 2008, 16:45
Keep in mind that Sonic Scenarist 4.2 has a problem handling WAV files > 4 GB. So even commercial apps can be no better than the free stuff. :)
You could of course get around that completely and use FLAC....
Rectal Prolapse
6th May 2008, 17:03
Scenarist handles FLAC? I didn't know that! (I don't have scenarist btw - but I've seen posts about it)
EPiPH0NE
6th May 2008, 17:32
Keep in mind that Sonic Scenarist 4.2 has a problem handling WAV files > 4 GB. So even commercial apps can be no better than the free stuff. :)
Well crap to that then. Do the newer versions 4.3 or 4.5 fix any of this?
EPiPH0NE
6th May 2008, 17:33
You could of course get around that completely and use FLAC....
Multi channel FLAC is not supported on my player.
EPiPH0NE
6th May 2008, 17:50
Hmmmm... That's strange. Try "eac3to source.m2ts 4: dest.wav -extensible". Does that work? Or try without "-extensible", then do another pass "eac3to dest.wav dest2.wav -extensible". Does that work?
Yes my full command included "eac3to source.m2ts 4:' I didn't want to oput the whole CMD line for security reasons. I am trying:
eac3to dest.m2ts dest2.wav
Then will do:
eac3to.exe dest2.wav dest3.wav -extensible
Seeing as my version of Scenarist BDA has probs with >4GB WAV files, I'm guessing this is fixed in newer versions, I will still be at square one unless there is way for me to properly join my other segmented files in Scenarist but I doubt that either.
Chouonsoku
6th May 2008, 19:27
I've got something new going on with a seamless branching disc. Since the latest versions of eac3to support seamless branching I decided to give Nine Inch Nails: Beside You in Time another try.
F:\Video\Movies>eac3to HALO_22
1) 00000.mpls (angle 1), 1:32:30
[0+29+31+28+27].m2ts
- VC-1, 1080i30 /1.001 (16:9)
- TrueHD, English, multi-channel, 48khz
- AC3, English, stereo, 48khz
2) 00000.mpls (angle 2), 1:32:30
[0+30+31+28+27].m2ts
- VC-1, 1080i30 /1.001 (16:9)
- TrueHD, English, multi-channel, 48khz
- AC3, English, stereo, 48khz
3) 00006.mpls, 00010.m2ts, 0:19:05
- VC-1, 1080i30 /1.001 (16:9)
- TrueHD, English, multi-channel, 48khz
- AC3, English, stereo, 48khz
eac3to v2.45
command line: eac3to HALO_22 1) -demux
------------------------------------------------------------------------------
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
M2TS, 1 video track, 2 audio tracks, 1:32:30
1: Chapters, 22 chapters
2: VC-1, 1080i60 /1.001 (16:9)
3: TrueHD/AC3, English, 5.1 channels, 48khz
4: AC3, English, 2.0 channels, 256kbit/s, 48khz
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
The program channel mapping changes in the middle of the stream.
Creating file "00000 - Chapters.txt"...
[v02] Extracting video track number 2...
[a03] Extracting audio track number 3...
[a03] Extracting audio track number 3...
[a04] Extracting audio track number 4...
[a03] Extracting AC3 stream...
[a03] Extracting TrueHD stream...
[a03] Creating file "00000 - 3 - TrueHD+AC3, English, 5.1 channels, 48khz.thd"...
[v02] Creating file "00000 - 2 - VC-1, 1080i60.vc1"...
[a03] Creating file "00000 - 3 - TrueHD+AC3, English, 5.1 channels, 48khz.ac3"...
[a04] Creating file "00000 - 4 - AC3, English, 2.0 channels, 256kbps, 48khz.ac3"...
[a03] The program channel mapping changes in the middle of the stream.
[v02] The program channel mapping changes in the middle of the stream.
[a03] The program channel mapping changes in the middle of the stream.
[a04] The program channel mapping changes in the middle of the stream.
Aborted at file position 16586463232.
This has been a pain in the ass disc since the day I bought it, and every time I try to fool around with it again, something new stops me. >.<
Edit: I've also tried using 2) instead of 1), but I get the same error.
jchappo
6th May 2008, 21:56
How often do I need to explain this? The studio created LPCM track works because it's stored inside of an m2ts container and not inside of the WAV container. If you put the studio created LPCM track into a WAV container, TsMuxer would fail to work correctly, too.
Excuse my ignorance madshi, I'm still learning. I'm not saying there is anything wrong with eac3to, I am just trying to find a solution to this problem. I imagine there will be many more people like myself who have this same problem in the recent future.
EPiPH0NE
6th May 2008, 22:14
Excuse my ignorance madshi, I'm still learning. I'm not saying there is anything wrong with eac3to, I am just trying to find a solution to this problem. I imagine there will be many more people like myself who have this same problem in the recent future.
Yeah it seems you will need to use Scenarist BDA 4.3 or above to be able to do proper DTS-MA/TrueHD -> PCM/WAV conversions as tsMuxeR needs to support multi mono WAV like Scenarist does for this to happen for the open source peeps. Madshi already said this but I'll say it again for good measure.
wildchild22
6th May 2008, 22:55
I have spiderman2 bluray with truehd converted to lpcm. It cannot be done without scenarist as of yet. After scenarist builds the file. You can demux the file into elementry streams and rebuild it and the audio is perfect with lpcm no 20% freezeup . However if you choose to demux and remux you need to use the append button as the audio gets split into two wav files.
Also when you import a wav file from eac3to into tsmuxer. Ts muxer says it s applying default channel information while the wav from scenarist doesnt do this so I am guessing that scenarist must add something different to the header. here is the first few lines of the scenarist file opened using XVI32 ( all you have to do is copy the garbled mess below into notepad then save it as a file then open it with xvi32 I think this may have relevant info )
RIFFüņĸWAVEfmt ( þĸ €ŧ /
? € Š 8›qdataĀņĸ
jchappo
6th May 2008, 23:44
I just demuxed a studio created lpcm track from Underworld. Here is what eac3to said about it:
C:\DVDRips\HD>eac3to.exe Ripped\output.wav
The format of the source file could not be detected.
This means it's not a WAV. But, TsMuxer recognizes the file as LPCM, and I can remux it back with the video, and it still plays fine on the Popcorn Hour.
Can eac3to be made to create the decompressed audio into this format? It could be a new output option like -popcorn?
wildchild22
6th May 2008, 23:52
here is the hex edit from the eac3to wav file
RIFFęĸ~WAVEfmt ŧ /
dataÆĸ~
nautilus7
7th May 2008, 00:01
I just demuxed a studio created lpcm track from Underworld. Here is what eac3to said about it:
C:\DVDRips\HD>eac3to.exe Ripped\output.wav
The format of the source file could not be detected.
This means it's not a WAV. But, TsMuxer recognizes the file as LPCM, and I can remux it back with the video, and it still plays fine on the Popcorn Hour.
Can eac3to be made to create the decompressed audio into this format? It could be a new output option like -popcorn?
How did you demuxed it?
jchappo
7th May 2008, 01:43
using tsremux
tebasuna51
7th May 2008, 03:08
I just demuxed a studio created lpcm track from Underworld. Here is what eac3to said about it:
C:\DVDRips\HD>eac3to.exe Ripped\output.wav
The format of the source file could not be detected.
This means it's not a WAV. But, TsMuxer recognizes the file as LPCM, and I can remux it back with the video, and it still plays fine on the Popcorn Hour.
Please upload first 20MB from this LPCM file recognized by TsMuxer
@wildchild22, here you have two links about wav header:
http://ccrma.stanford.edu/CCRMA/Courses/422/projects/WaveFormat/
http://www.lightlink.com/tjweber/StripWav/Canon.html
The RIFF ChunkSize must be FileLength - 8 and the Data SubChunkSize can be FileLength - 44, both fields have 4 bytes.
How can you hexedit 4 bytes to put a number greater than 2^32 (4 GB)?
jchappo
7th May 2008, 03:43
Here is the first 20mb:
http://hd-r-us.kicks-ass.net/public/output.wav.001
I checked, and this chunk is recognized by TsMuxer.
Also, the solution may not involve the WAV container, because it obviously doesn't support file size > 4gb.
Hi,
I am trying to convert - using eac3to - BR Pirates of the Carribean - Deadman's Chest and the resultant mkv video height is about 30% shorter than the source m2ts file. I then demuxed using eac3to and the resultant h264 file matches the source. I then used mkvmerge to convert the h264 file and the resultant mkv video is again about 30% shorter than the source h264 video.
Is there an option that I need to use or is this a bug in the mkv code?
Hi,
I am trying to convert - using eac3to - BR Pirates of the Carribean - Deadman's Chest and the resultant mkv video height is about 30% shorter than the source m2ts file. I then demuxed using eac3to and the resultant h264 file matches the source. I then used mkvmerge to convert the h264 file and the resultant mkv video is again about 30% shorter than the source h264 video.
Is there an option that I need to use or is this a bug in the mkv code?
ok. I solved my own problem. It is not an mkv issue. The issue is with the h264 decoder in ffdshow. Nero 8 uses it's own internal codecs and plays the mkv video properly. If I disable libavcodec as the default codec for h264 in ffdshow then WMP will use the Nero codec and the mkv then plays back properly. I will have to check to see if there is an update to ffdshow to fix this issue.
Anyway, not sure why it did not affect other mkv videos.
nautilus7
7th May 2008, 10:13
I just demuxed a studio created lpcm track from Underworld. Here is what eac3to said about it:
C:\DVDRips\HD>eac3to.exe Ripped\output.wav
The format of the source file could not be detected.
This means it's not a WAV. But, TsMuxer recognizes the file as LPCM, and I can remux it back with the video, and it still plays fine on the Popcorn Hour.
Can eac3to be made to create the decompressed audio into this format? It could be a new output option like -popcorn?
Here is the first 20mb:
http://hd-r-us.kicks-ass.net/public/output.wav.001
I checked, and this chunk is recognized by TsMuxer.
Also, the solution may not involve the WAV container, because it obviously doesn't support file size > 4gb.
Will you stop filling this thread with nonsense? Will you stop wasting people's time?
1: WAV supports >4GB files and eac3to handles them fine. It's just tsremux that doesn't support them! Post a request THERE!
2: eac3to is just fine and no special switches (like -popcorn) are needed!
3: The link to your sample does not work!
wildchild22
7th May 2008, 13:49
All I did was slit the file into a 100 meg slice then opened the 100 meg slice with the hex editor and posted the bytes before they were all zero till later on. There is a difference in the first 2 lines so maybe eac3to needs to write the differences into the header.
tebasuna51
7th May 2008, 13:50
Will you stop filling this thread with nonsense? Will you stop wasting people's time?
1: WAV supports >4GB files and eac3to handles them fine. It's just tsremux that doesn't support them! Post a request THERE!
2: eac3to is just fine and no special switches (like -popcorn) are needed!
3: The link to your sample does not work!
I agree with nautilus7. Maybe you want continue with this problem, related to the the 4GB WAV limit, in this thread (http://forum.doom9.org/showthread.php?t=137541)
A working link to the lpcm sample please.
tosehee
7th May 2008, 13:54
Hi.
Thanks for a wonderful tool.
I have used this tool to rip my BD and HDDVDs. Two days ago, I tried to rip Chris Botti Live with friends, but for some reason, I can't seem to play this after the conversion. I have tried this on 2.44 and 2.45 version. Both of them produces the gap information. I re-ran the same command to produce the new mkv and flac file, however, after I remux them with mkvmergeGui, it doesn't play. I have tried both with and without gap and the results are same.
The symtom I have is, the mkvtoolnix remux them fine, but when I tried to play in any player (zoomplayer, mpc, kmp, media portal, and etc), none of them works. They just hangs in the beginning, and nothing happens.
I don't see any errors from the eac3to or mkxtoolnix. Oh, here is the command I used.
C:\Users\Public\Videos\Recent>eac3to 00000.m2ts 1: v.mkv 3: a.flac
M2TS, 1 video track, 3 audio tracks, 1:29:02
1: h264/AVC, 1080i60 /1.001 (16:9)
2: AC3, 2.0 channels, 640kbit/s, 48khz
3: RAW/PCM, 5.1 channels, 24 bits, 96khz
4: AC3, 5.1 channels, 640kbit/s, 48khz
[v01] Extracting video track number 1...
[a03] Extracting audio track number 3...
[a03] Reading RAW/PCM...
[a03] Swapping endian...
[a03] Remapping channels...
[a03] Encoding FLAC...
[v01] Muxing video to Matroska...
jchappo
7th May 2008, 13:57
Looks like my own hosting solution didn't work out, try this:
http://www.mediafire.com/?yjjvm0l1zfl
Why is everyone hung up on WAV now? I was only using WAV because I thought that was the only way to make it work.
What I want is to create the exact format of this studio LPCM, which is recognized by TsMuxer AND plays perfectly on my A/V receiver. >4gb WAV files are recognized by TsMuxer BUT do not play perfectly on my A/V receiver.
tosehee
7th May 2008, 14:00
The only thing that I haven't tried is demux the video as .h264. If I do that, what frame rates do I need to assign when remuxing with mkvmerge?
Is it 30 or is it 60? It's 1080i material.. So, it it 30 then? or is 60 still?
jchappo
7th May 2008, 14:01
usually 29.9 30000/1001
tosehee
7th May 2008, 14:07
usually 29.9 30000/1001
Do I type in 29.97 or 29.9 30000/1001 exactly as you typed? Sorry for dumb question. :-(
nautilus7
7th May 2008, 14:07
I believe it's a player/decoder issue. Change the video decoder (ffdshow/coreavc/mpc internal decoder) and report back. Try also the .mkv file that eac3to makes (without audio).
From 1st post:
-24p/30p/60i force the use of the specified framerate for h264 muxing
But, eac3to should detect fps automatically.
jchappo
7th May 2008, 14:11
Ok here is yet more info,
Looks like if I change the extension to RAW, then eac3to has something to say about it:
C:\DVDRips\HD>eac3to.exe Ripped\output.raw
This might be a RAW/PCM file. Trying to figure out the details.
This will probably take a while. Please be patient...
The RAW/PCM file seems to be big endian.
The RAW/PCM file seems to have a bitdepth of 16 bits.
The RAW/PCM file seems to have 6 channels.
RAW/PCM, 5.1 channels, 2:13:48, 16 bits, 48khz
I will try converting a DTS-HD track to RAW, and then test is TsMuxer will accept that.
tosehee
7th May 2008, 14:15
I believe it's a player/decoder issue. Change the video decoder (ffdshow/coreavc/mpc internal decoder) and report back. Try also the .mkv file that eac3to makes (without audio).
From 1st post:
But, eac3to should detect fps automatically.
I have done that, but when it tries to open the file, nothing happens and it hangs forever. I don't see any video or hear any sound. That's with eac3to making the video mkv. I haven't tried demuxing it manually and remux again with mkvmerge. That's what I was at. I tried the latest version of ffdshow tryout (May 04, 2008) and I tried coreavc 1.7 professional, and same result.
Mind you that I have ripped about 30+ movies so far without this type of issue now.
jchappo
7th May 2008, 14:22
Do I type in 29.97 or 29.9 30000/1001 exactly as you typed? Sorry for dumb question. :-(
Well 30000/1001 = 29.97, some programs list it either in 29.9 or 30000/1001. If it asks for just fps use 29.97
tosehee
7th May 2008, 14:27
Well 30000/1001 = 29.97, some programs list it either in 29.9 or 30000/1001. If it asks for just fps use 29.97
Thought so. Thought I confirm with you before wasting another 40 min. :-)
I will report back if I am successful with demuxing the video manually and remux them with mkvmerge.
nautilus7
7th May 2008, 14:37
Ok here is yet more info,
Looks like if I change the extension to RAW, then eac3to has something to say about it:
C:\DVDRips\HD>eac3to.exe Ripped\output.raw
This might be a RAW/PCM file. Trying to figure out the details.
This will probably take a while. Please be patient...
The RAW/PCM file seems to be big endian.
The RAW/PCM file seems to have a bitdepth of 16 bits.
The RAW/PCM file seems to have 6 channels.
RAW/PCM, 5.1 channels, 2:13:48, 16 bits, 48khz
I will try converting a DTS-HD track to RAW, and then test is TsMuxer will accept that.I just got your sample. So, it seems you demuxed a pcm track, set the extension to wav and then post here saying that eac3to can't detect your "wav" file. Wtf? In addition, i opened tsmuxer and loaded the pcm track. Its parameters were detected correctly!!!
SO MY CONCLUSION IS THAT YOU YOU CAN USE EAC3TO TO CONVERT YOUR AUDIO TO .PCM OR .RAW AND LOAD THEM IN TSMUXER. THAT WOULD WORK FINE FOR YOU.
Well 30000/1001 = 29.97, some programs list it either in 29.9 or 30000/1001. If it asks for just fps use 29.97
You can't set what ever you like. There are switches (i posted them above). 24p stand for 24/1001 or 23,976... progressive, 30p stands for 30/1001 or 29,97... progressive and 60i stands for 60/1001 or 59,94... interlaced.
jchappo
7th May 2008, 14:58
Actually nautilus7, I have been posting the whole time that I am converting to WAV(PCM) because I thought that was the only way to make it work. Once I hit the 4gb barrier and things stopped working, I asked around here and found out what was wrong. Now it seems I have determined that RAW is the way to go, not WAV.
Hence, this is the solution many other people were looking for...
1) Convert TrueHD/DTS-HD to RAW
2) Rename file to .wav and mux with video in TsMuxer
Thanks for your time.
Beastie Boy
7th May 2008, 15:04
Hence, this is the solution many other people were looking for...
1) Convert TrueHD/DTS-HD to RAW
2) Rename file to .wav and mux with video in TsMuxer
Thanks for your time.
It's a shame you didn't spot my post (http://forum.doom9.org/showthread.php?p=1134707#post1134707)earlier :)
nautilus7
7th May 2008, 15:05
Actually nautilus7, I have been posting the whole time that I am converting to WAV(PCM) because I thought that was the only way to make it work. Once I hit the 4gb barrier and things stopped working, I asked around here and found out what was wrong. Now it seems I have determined that RAW is the way to go, not WAV.How are we supposed to know what tsmuxer does and does not accept as input????
You posted here saying you found some weird problem regarding TrueHD & DTS-HD decoding based on the fact that the wav files you made with eac3to weren't accepted by tsmuxer. Madshi respond that everything is ok with the decoders and problem is that tsmuxer can't deal with BIG wav files, but you kept posting and posting and posting here, until i told that tsmuxer (which i don't use and i wasn't aware) can accept raw and pcm format.
So, the correct order to do things should have been:
1. Find what tsmuxer needs/accepts
2. Find a way to make what it needs.
3. Post here questions about using eac3to (since you chose it for make your audio).
Hence, this is the solution many other people were looking for...
1) Convert TrueHD/DTS-HD to RAW
2) Rename file to .wav and mux with video in TsMuxer
Thanks for your time.I don't see any...
It's a shame you didn't spot my post (http://forum.doom9.org/showthread.php?p=1134707#post1134707)earlier :)
Yeah beastie, it's really shame.
madshi
7th May 2008, 15:13
Don't have much time right now, but the "WAV" file posted by jchappo is neither WAV nor RAW. It seems to contain blocks of LPCM data with a 4 byte header for each block. It seems to me that either tsMuxer uses its own private data format for storing LPCM data, or there's a bug in tsMuxer's demuxing code, or there's a new "container" format I've never heard about yet.
nautilus7
7th May 2008, 15:21
He demuxed it with tsremux he said, not tsmuxer. Maybe that's the problem. Anyway the conclusion is that tsmuxer accepts .raw/.pcm
jchappo
7th May 2008, 15:38
It's a shame you didn't spot my post (http://forum.doom9.org/showthread.php?p=1134707#post1134707)earlier :)
Doh, I should have seen it, I was just skimming for madshi replys :stupid:
jchappo
7th May 2008, 16:06
How are we supposed to know what tsmuxer does and does not accept as input????
You posted here saying you found some weird problem regarding TrueHD & DTS-HD decoding based on the fact that the wav files you made with eac3to weren't accepted by tsmuxer.
Maybe you should re-read all my posts because I never said such a thing. I merely said the decoded DTS-HD plays garbage audio after 20-30%. I never once indicated a problem with TsMuxer
nautilus7
7th May 2008, 16:50
You still don't get it huh? How did you determine that dts-hd tracks decoded to garbage? Because you couldn't play them in popcornhour once muxed with tsmuxer!!! Who said that you indicated a problem with tsmuxer? Madshi did!
I won't continue this nonsense any further. PM me if you want to.
jchappo
7th May 2008, 17:02
Actually, I was able to copy the WAV file itself onto the popcorn hour and play it without muxing to M2TS. Try again.
tosehee
7th May 2008, 18:02
K.
The issue remains. But, unlike what I originally thought, it's not the video, but the audio. When I play the flac itself, the audio sounds like a tape dac playing at x10 slower. Does that make sense?
Again, this is what eac3to reports...
C:\Users\Public\Videos\Recent>eac3to 00000.m2ts
M2TS, 1 video track, 3 audio tracks, 1:29:02
1: h264/AVC, 1080i60 /1.001 (16:9)
2: AC3, 2.0 channels, 640kbit/s, 48khz
3: RAW/PCM, 5.1 channels, 24 bits, 96khz
4: AC3, 5.1 channels, 640kbit/s, 48khz
and I converts channel 3 to flac using..
eac3to 00000.m2ts 1: v.mkv 3: a.flac
nautilus7
7th May 2008, 18:21
The mkv file created by eac3to plays fine then? You said it didn't.
Regarding audio... Maybe pcm parameters aren't correctly detected. Is the pcm track 5.1 ch 24 bits 96 khz? Or maybe it's a decoder issue (flac decoder i mean). Try a different one, or convert to another format (e.g. pcm --> ac3) to ensure it's not the decoder.
tosehee
7th May 2008, 18:38
The mkv file created by eac3to plays fine then? You said it didn't.
Regarding audio... Maybe pcm parameters aren't correctly detected. Is the pcm track 5.1 ch 24 bits 96 khz? Or maybe it's a decoder issue (flac decoder i mean). Try a different one, or convert to another format (e.g. pcm --> ac3) to ensure it's not the decoder.
What decoder is it using in default? is it libav? and what should I be using to decode PCM 24bit/96khz to flac conversion?
As for video, I didn't know better it was at halt for like 2 minutes before it started to play. When it plays, the videos are fine, but the audio plays like 10x slow mode. Of course, the audio and video is not in sync and it's not watchable.. i mean inaudible as the video plays fine.
nautilus7
7th May 2008, 18:51
What decoder is it using in default? is it libav? and what should I be using to decode PCM 24bit/96khz to flac conversion?Flac decoder in your player (mpc). Do you use madflac or ffdshow or other? ffdshow for instance is known that can't handle 24 bit flac well.
PCM isn't compressed and doesn't need decoding. Since the pcm parameters are really those detected by eac3to, you don't need to change anything in your command line.
Play the flac track (alone) in your media player, trying different decoders. Also, convert the source pcm track to another format (wav or ac3) to narrow down the possibilities of a wrong eac3to pcm detection.
You can also make a ac3 track from the flac you have already made. If that ac3 plays ok, you definitely have a flac decoding problem in your media player.
Hope i didn't confuse you. :D
tosehee
7th May 2008, 18:53
Flac decoder in your player (mpc). Do you use madflac or ffdshow or other? ffdshow for instance is known that can't handle 24 bit flac well.
PCM isn't compressed and doesn't need decoding. Since the pcm parameters are really those detected by eac3to, you don't need to change anything in your command line.
Play the flac track (alone) in your media player, trying different decoders. Also, convert the source pcm track to another format (wav or ac3) to narrow down the possibilities of a wrong eac3to pcm detection.
I am using madFlac. I tried both ffdshow and madflac. They are both exhibiting same issue. I haven't converted to WAV or any other format yet, only flac. But I can give that a try next.
tosehee
7th May 2008, 19:08
4th channel is AC3. When demuxed to flac, it plays fine. It seems that from pcm --> flac for this particular concert is the issue.
In the case of bad ripping, I tried re-rip three times already and they all have exactly same file size and structure. I doubt it's the bad rip, but who knows.. I dont' get any errors in encoding process though.
n0mag!c
7th May 2008, 20:00
@Madshi
I'm needing to use your helpful tool for the first time and the questions (maybe stupid) comes to light. I'm sorry in advance.
I've decoded E-AC3 1536kbps to RAW file with GraphEdit and its Dump filter. By the way, I did it with Nero(8!) Audio Decoder 2, so how it correlates with yours "Nero 8 doesn't allow its DirectShow filters to be used from outside of Nero ShowTime"? E-AC3 track was muxed to .ts file and demuxed back with haali splitter in graph. But eac3to really can't use "Nero Audio Decoder 2". This is my first question.
And my second stupid question is - how can I get from eac3to "WAVs (multiple mono WAV files, PCM only)"? (I gave up playing with eac3to options).
jchappo
8th May 2008, 00:22
Hence, this is the solution many other people were looking for...
1) Convert TrueHD/DTS-HD to RAW
2) Rename file to .wav and mux with video in TsMuxer
Thanks for your time.
1) Convert TrueHD/DTS-HD to PCM, big endian is needed, where RAW is little endian
And my second stupid question is - how can I get from eac3to "WAVs (multiple mono WAV files, PCM only)"? (I gave up playing with eac3to options).
You actually answered your own question there, wavs is the right answer.
eac3to input.file output.wavs
monohouse
8th May 2008, 00:36
-----
jchappo
8th May 2008, 01:18
Don't have much time right now, but the "WAV" file posted by jchappo is neither WAV nor RAW. It seems to contain blocks of LPCM data with a 4 byte header for each block. It seems to me that either tsMuxer uses its own private data format for storing LPCM data, or there's a bug in tsMuxer's demuxing code, or there's a new "container" format I've never heard about yet.
I demuxed with tsremux, and muxed with tsmuxer so I don't think it's related to a specific program?
tsmuxer won't accept the pcm output from eac3to, so that extra header is what it needs. could the header be related to the m2ts container it came from?
jchappo
8th May 2008, 01:23
why swapping endian is necessary for raw/pcm to flac conversion ?
is that process looses data ?
why does it remap channels ? I wasn't awear that remapping channels was required, is the process losses data ? is it possible to avoid both of the processes ?
endian swap is just a re-ordering of the bits different people use different endian, so it's needed to swap between them.
same thing with channel mapping, some people use different order.
monohouse
8th May 2008, 01:25
-----
jchappo
8th May 2008, 01:57
well you have the exact same number of bits, they are just in different order.
Thunderbolt8
8th May 2008, 07:13
the AVC video track of the 'things we lost in the fire' is indicated as a 16:9 track with pulldown flags. is this of any importance for me when I just want to remux the movie? so far I just remuxed it as usual and it also looks normally, but I just want to be sure.
n0mag!c
8th May 2008, 07:13
You actually answered your own question there, wavs is the right answer.
eac3to input.file output.wavs
Wow! Thanks a lot! I would never figure it out by myself! Well it's obvious and not obvious at the same time.
Rectal Prolapse
8th May 2008, 17:33
Well crap to that then. Do the newer versions (of Scenarist) 4.3 or 4.5 fix any of this?
I think it was fixed in 4.3, but I'm not 100% sure.
EPiPH0NE
8th May 2008, 18:30
I think it was fixed in 4.3, but I'm not 100% sure.
I just got 4.3 and I know you can do multi mono WAVs -> LPCM for sure.
Momber
9th May 2008, 12:42
Hey madshi!
Thanks for your continuing work on eac3to. You have developed it into one helluva tool!
This week I've been working on converting the Galactica Season 1 HD DVDs to BluRay, using eac3to for audio and EVOdemux + vc1conv for the video.
The VC-1 video processed like this is recognized by tsMuxeR as 1080p @ 23.976 fps and the remuxed BluRays play back perfectly smooth in PDVD 8 at a refresh rate of 2x 23.976 Hz.
So I thought I'd give eac3to a go on the video front, too, and had it demux and remove the pulldown flags. The resulting vc-1 file is recognized by tsMuxeR as 1080i @ 23.976 fps and what's worse, playback got really jerky about 17 minutes into the episode I tried.
Is it so that eac3to only removes the pulldown=1 flag but leaves the interlaced=1 flag in place? And if that is the case, would you please be so kind as to correct it?
TIA!
S.
dorati
9th May 2008, 14:59
I have a question:
Eac3To reportet this:
1) 00120.mpls (angle 1), 00152.m2ts+00153.m2ts+00154.m2ts, 1:26:15
- h264/AVC, 1080p24 /1.001 (16:9)
- AC3, English, multi-channel, 48khz
- AC3, German, multi-channel, 48khz
- RAW/PCM, German, multi-channel, 48khz
- AC3, English, stereo, 48khz
2) 00120.mpls (angle 2), 00152.m2ts+00155.m2ts+00154.m2ts, 1:26:15
- h264/AVC, 1080p24 /1.001 (16:9)
- AC3, English, multi-channel, 48khz
- AC3, German, multi-channel, 48khz
- RAW/PCM, German, multi-channel, 48khz
- AC3, English, stereo, 48khz
3) 00037.mpls, 00004.m2ts+00005.m2ts, 0:22:50
- MPEG2, 480i30 /1.001 (16:9)
- AC3, English, stereo, 48khz
4) 00004.mpls, 00004.m2ts, 0:15:14
- MPEG2, 480i30 /1.001 (16:9)
- AC3, English, stereo, 48khz
What I must use in the commandline, to use: 2) 00120.mpls (angle 2) ??
nautilus7
9th May 2008, 22:02
Type the command you typed to list the above plus 2) at the end.
See my example here (http://forum.doom9.org/showpost.php?p=1123939&postcount=4226)for details.
Yraen
10th May 2008, 00:14
So I thought I'd give eac3to a go on the video front, too, and had it demux and remove the pulldown flags. The resulting vc-1 file is recognized by tsMuxeR as 1080i @ 23.976 fps and what's worse, playback got really jerky about 17 minutes into the episode I tried.
Here (http://forum.doom9.org/showthread.php?p=1110490#post1110490) you can see where madshi says that vc1conv is better than eac3to for removing pulldown and temporarily disabled -stripPulldown. You could go eac3to > vc1conv > tsMuxer and save a step. This will get you 1080p @ 23.976.
BlackJack1
10th May 2008, 02:59
I can not drag'n'drop eac3to app. and hddvd/bd files to cmd window on Vista system on my laptop. Do you know how to fix it? In desktop machine with WinXP - no problem...
dorati
10th May 2008, 06:41
@nautilus7:
Thx !!
Somebody has succesfully converted the Movie "Open Season"?
The Movie is 00152.m2ts + 00153.m2ts + 00154.m2ts.
or in German 00152.m2ts + 00155.m2ts + 00154.m2ts.
But the change from 00152.m2ts to 00153/00154.m2ts is not clean. My standaloneplayer (popcorn) hangs at the change.
At Windows-PC with Powerdvd is not better. It stops a short Moment and than goes on with playback.
I testet all:
- copy /b 00152.m2ts + 00153.m2ts + 00154.m2ts
- demux and mux with TSMuxer
- demux with eac3to (playlist) and Mux with TSMuxer
- convert to MKV
Somebody can help?
nautilus7
10th May 2008, 09:04
Can you post the eac3to log? Re ripping the disc could make the trick.
Momber
10th May 2008, 10:47
here you can see where madshi says that vc1conv is better than eac3to for removing pulldown and temporarily disabled -stripPulldown.
Thank you. That was an older version and I thought perhaps in the meantime things were improved.
You could go eac3to > vc1conv > tsMuxer and save a step. This will get you 1080p @ 23.976.
Right - that's what I did in the end. It's just that with eac3to -removePulldown we would be able to save another step. When I'm converting episode after episode of TV series I'm grateful for every chance to streamline my workflow.
The batch creation of eac3to_more_gui is heaven-sent in that regard btw.
Ta
S.
Sephiroth0000
10th May 2008, 12:32
Hiya everyone,
I am currently using EAC3TO GUI (Keymakers version) and noticed that one of the options is video quality which spans from quality 0 to quality 4....can anyone tell me the differences as I am trying to make the mkvs smaller but do not want to sacrifice too much quality.
nautilus7
10th May 2008, 13:57
From 1st post:
-quality=4 slowdown/speedup/resampling quality (0 = low; 4 = very high)
So, nothing to do with video. Probably a bug. My advice is to use the new eac3to gui (http://forum.doom9.org/showthread.php?t=135095), since it's up-to-date.
mic64
10th May 2008, 19:55
Hi All
I got a problem with all FLAC Files.
its not the encoding into it or playing them back.
Its something different.
I wanted to extract some flac from my MKVs.
mkvextract gives you this
Extracting track 2 with the CodecID 'A_FLAC' to the file 'z:\xxxxx.flac'. Container format: Ogg (FLAC in Ogg)
Well ok so far I thought. But..
those flac files are not being recognized by eas3to at all, so no way to convert them into something else.
Any idea? or solution?
Snowknight26
10th May 2008, 20:09
mkvextract tracks source.mka --no-ogg 1:dest.flac
EPiPH0NE
10th May 2008, 21:45
@nautilus7:
Thx !!
Somebody has succesfully converted the Movie "Open Season"?
The Movie is 00152.m2ts + 00153.m2ts + 00154.m2ts.
or in German 00152.m2ts + 00155.m2ts + 00154.m2ts.
But the change from 00152.m2ts to 00153/00154.m2ts is not clean. My standaloneplayer (popcorn) hangs at the change.
At Windows-PC with Powerdvd is not better. It stops a short Moment and than goes on with playback.
I testet all:
- copy /b 00152.m2ts + 00153.m2ts + 00154.m2ts
- demux and mux with TSMuxer
- demux with eac3to (playlist) and Mux with TSMuxer
- convert to MKV
Somebody can help?
If you have a PCH why not read the forums? ES streams in MKV is NOT supported, you need to keep it in TS/M2TS. The answer to AVC + seamless branching is right here:
http://www.networkedmediatank.com/viewtopic.php?t=2921
Scroll down to where it says 'Seamless Branching (AVC)'. You can replace TSSplitter with tsMuxeR for doing the first join which I will do when I update the guide.
mic64
10th May 2008, 22:56
mkvextract tracks source.mka --no-ogg 1:dest.flac
forgot to say..the --no-ogg option didn't help to get a pure flac from the mkv.
But I've found a way.
mplayer -dumpaudio -dumpfile works.
madshi
11th May 2008, 07:58
I've got something new going on with a seamless branching disc. Since the latest versions of eac3to support seamless branching I decided to give Nine Inch Nails: Beside You in Time another try.
Could I have a sample, please, with which this problem occurs?
I have used this tool to rip my BD and HDDVDs. Two days ago, I tried to rip Chris Botti Live with friends, but for some reason, I can't seem to play this after the conversion. I have tried this on 2.44 and 2.45 version. Both of them produces the gap information.
For video or audio or for both?
Can I have a sample of the m2ts file, please?
I've decoded E-AC3 1536kbps to RAW file with GraphEdit and its Dump filter. By the way, I did it with Nero(8!) Audio Decoder 2, so how it correlates with yours "Nero 8 doesn't allow its DirectShow filters to be used from outside of Nero ShowTime"?
Huh!? Maybe Nero changed something in the later Nero 8 builds? Can somebody double check this?
I demuxed with tsremux, and muxed with tsmuxer so I don't think it's related to a specific program?
tsmuxer won't accept the pcm output from eac3to, so that extra header is what it needs. could the header be related to the m2ts container it came from?
It seems to me that TsRemux outputs a specific LPCM format which TsMuxer understands and likes. People always complained about that TsRemux' LPCM demuxing produces files with garbage in them. Maybe the headers in the demuxed files are kept there intentional? But I don't think this is any "official" format, at least I've never heard about that yet.
so the flac "multichannel standard" has different positions for every channel than the track in question ? so eac3to can actually tell which channel is what ?
and the endian is also because flac uses a different endian ?
Each codec has its own private channel ordering. E.g. LPCM data stored in m2ts has a different channel ordering than WAV files have. eac3to knows the channel ordering of all supported input formats/codecs and remaps the channels to the WAV channel order in the first step. Furthermore LPCM data is stored in big endian while WAV files are usually stored in little endian. So eac3to changes that, too.
But don't worry, these are all totally lossless modifications.
the AVC video track of the 'things we lost in the fire' is indicated as a 16:9 track with pulldown flags. is this of any importance for me when I just want to remux the movie? so far I just remuxed it as usual and it also looks normally, but I just want to be sure.
All HD DVD movies have pulldown flags, older eac3to versions just didn't show this information. So there's nothing you need to do differently than before.
You have developed it into one helluva tool!
Thanks... :) It gets a bit better every week...
So I thought I'd give eac3to a go on the video front, too, and had it demux and remove the pulldown flags. The resulting vc-1 file is recognized by tsMuxeR as 1080i @ 23.976 fps and what's worse, playback got really jerky about 17 minutes into the episode I tried.
Is it so that eac3to only removes the pulldown=1 flag but leaves the interlaced=1 flag in place? And if that is the case, would you please be so kind as to correct it?
eac3to's current pulldown removal is based on an outdated vc1conv version. At some time I had even removed it (because the latest vc1conv is better), but put it back in on request. I will probably include the latest vc1conv logic in a future eac3to build. But I've only limited programming time for eac3to, so I can only do so much every week. For now if you need to have the pulldown completely removed please use eac3to for demuxing and then vc1conv afterwards.
Somebody has succesfully converted the Movie "Open Season"?
The Movie is 00152.m2ts + 00153.m2ts + 00154.m2ts.
or in German 00152.m2ts + 00155.m2ts + 00154.m2ts.
But the change from 00152.m2ts to 00153/00154.m2ts is not clean. My standaloneplayer (popcorn) hangs at the change.
At Windows-PC with Powerdvd is not better. It stops a short Moment and than goes on with playback.
That's strange! Did eac3to report any *video* gaps? How long is that 00152.m2ts file? It would help if you could send me a the last 20MB of the 00152.m2ts file and the first 20MB of the 00153.m2ts file.
Encoder888
11th May 2008, 09:16
@madshi
eac3to 2.45 successfully extracted the correct chapters from The Terminator, but now I'm having another chapter issue with Terminator 3. eac3to reports and demuxes 97 chapters, almost one every 1-2 minutes, which I'm sure is not the correct chapter structure. Here's a link to the .mpls file:
http://www.mediafire.com/?n2cxkcm9amv
Please, let me know if you were able to fix it, so I know whether to wait for the next eac3to release before I mux my chapter file :) Thanks.
Atak_Snajpera
11th May 2008, 14:48
Madshi
Could you add --demuxaudioonly switch? Or something similar which will extract all audio streams without video.
dorati
11th May 2008, 16:05
@epiphone:
If you have a PCH why not read the forums? ES streams in MKV is NOT supported, you need to keep it in TS/M2TS. The answer to AVC + seamless branching is right here
I read - but this way don't work - Sorry.
1. Joining with TSSplitter or copy /b (i tested both - same result)
2. Demux AVC-Videostream and AC3-Audiostream with TsRemux
3. Mux with tsMuxer
Later the join-point the video ist stuttering and later 20 Sec. hangs. The stuttering you can see in the short clips, I uploaded.
@madshi:
Audiogaps are reported - but no Videogaps
http://rapidshare.de/files/39377863/00152.m2ts.html
http://rapidshare.de/files/39377791/00155.m2ts.html
madshi
11th May 2008, 18:37
@tebasuna51, do you happen to have a sample for acmod 1 with LFE ("1/0.1")? I don't understand why it shows as "2.0" for you. Looking at my source code it should show as "1.1".
EPiPH0NE
11th May 2008, 19:04
@epiphone:
I read - but this way don't work - Sorry.
1. Joining with TSSplitter or copy /b (i tested both - same result)
2. Demux AVC-Videostream and AC3-Audiostream with TsRemux
3. Mux with tsMuxer
Later the join-point the video ist stuttering and later 20 Sec. hangs. The stuttering you can see in the short clips, I uploaded.
@madshi:
Audiogaps are reported - but no Videogaps
http://rapidshare.de/files/39377863/00152.m2ts.html
http://rapidshare.de/files/39377791/00155.m2ts.html
How are you playing these files cause I've personally tested this method several times with flawless playback from internal HDD.
dorati
11th May 2008, 19:37
At PC (PowerDVD) it works - at Standalone not.
I use NMT (http://www.syabas.de/)
madshi
11th May 2008, 21:09
eac3to 2.45 successfully extracted the correct chapters from The Terminator, but now I'm having another chapter issue with Terminator 3. eac3to reports and demuxes 97 chapters, almost one every 1-2 minutes, which I'm sure is not the correct chapter structure.
BDEdit outputs the same chapters. Why are you sure that this is not correct?
The problem is this: There are 2 different types of marks in the playlist files: "entry points" and "link points". Originally I only used "entry points" for the chapter export. This resulted in the problem you experienced with "The Terminator". The first half of the chapters in "The Terminator" were "entry points" and the 2nd half were "link points". Now with Terminator 3 there are about 3 "link points" for every "entry point". If I'd ignore the "link points", the chapter list would be more reasonable for Terminator 3. However, if I ignore the "link points" then The Terminator will only have chapters in the first half of the movie. BDEdit exports both "entry points" and "link points".
madshi
11th May 2008, 21:12
I read - but this way don't work - Sorry.
1. Joining with TSSplitter or copy /b (i tested both - same result)
2. Demux AVC-Videostream and AC3-Audiostream with TsRemux
3. Mux with tsMuxer
Later the join-point the video ist stuttering and later 20 Sec. hangs. The stuttering you can see in the short clips, I uploaded.
Thanks for the upload. Next time if possible please use a different server, though. rapidshare is the worst of all. I had to wait a minute to download the first sample and than over an hour to download the 2nd one. Anyway...
I've checked the samples you uploaded and they work beautifully with eac3to v2.45 for me. I've simply done this:
"eac3to 00152.m2ts+00155.m2ts movie.mkv" and the resulting MKV played perfectly fine with no stuttering at all on my HTPC with Media Player Classic (Haali Media Splitter + Cyberlink h264 decoder). The join point between the two m2ts parts was not visible at all.
Have you tried this command line? Are you using eac3to v2.45?
madshi
11th May 2008, 21:15
Could you add --demuxaudioonly switch? Or something similar which will extract all audio streams without video.
Of course I could. But I don't really like adding and documenting a lot of options because every option makes the help text more complicated. Maybe some day I'll split the help into "main options" and "expert options" or something like that. Then it wouldn't hurt as much if I add some more options. But right now I prefer to keep the option list as short as possible. Of course you can do the same as "-demuxaudioonly" would do by typing each audio track into the command line. So such an option would just save you a few key presses. Because of that I don't consider it very important at this point in time. I'm more worried about making everything work well right now...
jchappo
11th May 2008, 21:38
madshi, any chance of getting a switch -tsmuxer to output PCM with the extra data so I can remux these PCM tracks with tsMuxer?
or, do you know of a program that could create this extra data?
tebasuna51
11th May 2008, 22:43
@tebasuna51, do you happen to have a sample for acmod 1 with LFE ("1/0.1")? I don't understand why it shows as "2.0" for you. Looking at my source code it should show as "1.1".
You are right, is my fault, sorry. :confused:
I edited my post (http://forum.doom9.org/showthread.php?p=1134394#post1134394)
Snowknight26
11th May 2008, 23:08
[a03] This TS/M2TS file seems to be damaged (sync byte missing).
Aborted at file position 11482513408.
Blu-ray.. need a sample?
madshi
11th May 2008, 23:39
madshi, any chance of getting a switch -tsmuxer to output PCM with the extra data so I can remux these PCM tracks with tsMuxer?
I don't know exactly what tsMuxer expects. E.g. does it want to have a different block size for 2.0 tracks compared to 5.1 tracks? I don't feel like experimenting. If there's an official documentation/explanation somewhere which format tsMuxer exactly wants to have then I can add support for that. But actually I think Roman should really add support for big WAV files and/or multi mono WAV files. Because that's a standard format. That "LPCM with headers" format is totally non-standard, as far as I can say...
or, do you know of a program that could create this extra data?
No.
[a03] This TS/M2TS file seems to be damaged (sync byte missing).
Aborted at file position 11482513408.
Blu-ray.. need a sample?
I don't think a sample will help. This looks like a real damage in the source file. A missing sync byte is a very simple check. There's not really a big chance that eac3to has a bug in this situation.
Is this a one part movie? Or does the movie consist of multiple m2ts files? In the latter case check the file size of all m2ts parts. Are they all divisible by 192?
lexor
11th May 2008, 23:46
Hi guys, I have a couple of question on the tool use.
1) How do we use the following command
-seekToIFrames make all h264/AVC "I" frames seekable
It says that audio formats are supported only in demuxed form, so how would it know anything about avc i-frames?
2) What does this line (from the help file) do?
eac3to source.evo 1: chapters.txt 2: video.mkv 3: audio.flac 5: subtitle.sup
madshi
11th May 2008, 23:53
eac3to v2.46 released
http://madshi.net/eac3to.zip
* MPEG2 muxing now fully supports streams with mixed 23.976 and 29.970 content
* mixed video/movie MPEG2 streams are now always muxed with 29.970 timestamps
* if a movie MPEG2 stream goes 29video, processing is automatically restarted
* MPEG2 pulldown is now automatically removed whenever an MPEG2 stream is read
* new option "-keepPulldown" can be used to disable MPEG2 pulldown removal
* corrected default WAV channel masks for 4.0, 6.1 and 7.1
* added proper channel remaps for libav AC3 decoding of "funny" channel formats
* added general channel mask support
* WAV parser reads channel mask from extensible header
* (E-)AC3 parser sets correct channel mask
There are 2 bigger changes in this release:
(1) MPEG2 handling is noticably improved. Especially MPEG2 streams which contain a mixture of movie content (24p or 48i with pulldown flags) and video content (60i) should be handled perfectly now. Also the pulldown is now automatically removed for movie content which has pulldown flags.
(2) The audio processing chain got full support for custom channel masks. This is necessary to handle funny channel combinations like e.g. "5.0" correctly. However, the channel mask support is not complete yet. Especially the DTS, TrueHD, MLP and MP2 parsers do not always properly set the correct channel masks yet. So if you guys have any DTS/TrueHD/MP2 samples with funny channel masks, please upload samples for me. Thanks!
@tebasuna51, I think I implemented all the changes from your detailed AC3 testing post. But I couldn't really test it because I don't have AC3 samples other than 1.0, 2.0 and 5.1. If you have time, maybe you could check whether my fixed work correctly? Thanks!
madshi
11th May 2008, 23:57
1) How do we use the following command
-seekToIFrames make all h264/AVC "I" frames seekable
It says that audio formats are supported only in demuxed form, so how would it know anything about avc i-frames?
I'm confused. First of all AVC is video and not audio. Furthermore neither audio nor video are supported only in demuxed form. EVO/VOB/TS/M2TS containers are fully supported with most video and audio codecs.
P.S: I just noticed that the help text still stated "only in demuxed form" for the audio formats. This is outdated. I just removed it from the first page and from my source code. However, it didn't apply to AVC, cause AVC is video and not audio.
2) What does this line (from the help file) do?
eac3to source.evo 1: chapters.txt 2: video.mkv 3: audio.flac 5: subtitle.sup
It reads the source EVO file and creates all the other files listed in the command line. Of course the track numbers ("1:" etc) vary, depending on the source file. So you first have to do "eac3to sourcefile" to get a proper track listing. Then you can build the correct command line from there by using the correct track numbers.
lexor
12th May 2008, 00:01
P.S: I just noticed that the help text still stated "only in demuxed form" for the audio formats. This is outdated. I just removed it from the first page and from my source code. However, it didn't apply to AVC, cause AVC is video and not audio.
Yeah that's the part that got me, since if audio is in the demuxed form it wouldn't know anything about the video. With the update about container support, it makes sense now, thank you.
Also while there are recommended DTS en/decoder, there is only recommended AC3 decoder, what about encoder? Aften as good as it gets?
Thunderbolt8
12th May 2008, 00:58
thanks for the improvements again! :)
will test my tricky videos with the new version again, but I wont be home before 1 week, so I guess it will take 1-2 weeks until then.
tebasuna51
12th May 2008, 01:38
eac3to v2.46 released
@tebasuna51, I think I implemented all the changes from your detailed AC3 testing post. But I couldn't really test it because I don't have AC3 samples other than 1.0, 2.0 and 5.1. If you have time, maybe you could check whether my fixed work correctly?
Thanks madshi.
All work fine, maskchannels and channel map, with ac3 sources and libav decoder.
Using a 3/3.1 wav still:
eac3to v2.46
command line: "D:\Test\AudioN\eac3to\eac3to.exe" "E:\Test\7_61.wav" "E:\Test\z331.wav" -extensible
------------------------------------------------------------------------------
WAV, 6.1 channels, 0:00:20, 16 bits, 48khz
Doubling 7th channel...
Reading WAV...
Writing WAV...
Creating file "E:\Test\z331.wav"...
eac3to processing took 1 second.
Done.
And the final wav is 8 channels with the default channel mask from 7 channels.
Snowknight26
12th May 2008, 01:55
I don't think a sample will help. This looks like a real damage in the source file. A missing sync byte is a very simple check. There's not really a big chance that eac3to has a bug in this situation.
Is this a one part movie? Or does the movie consist of multiple m2ts files? In the latter case check the file size of all m2ts parts. Are they all divisible by 192?
The whole film is one m2ts. Wouldn't ignoring the missing sync byte help? I know xport can demux it though, so I guess it must be ignoring it.
STaRGaZeR
12th May 2008, 03:32
Ey madshi, thanks for this program :)
I'm having a weird problem I also posted here: http://forum.doom9.org/showpost.php?p=1136225&postcount=1461
The sample in that post has 4 audio tracks: 1-DTS 2-LPCM 3-AC3 4-AC3
tsMuxer only detects 1, 3 and 4, and eac3to only 3 and 4. Can you help me with this? I just want to demux that LPCM track, it plays fine but I have this problem.
MichalHabart
12th May 2008, 06:27
eac3to v2.46 released
http://madshi.net/eac3to.zip
* MPEG2 muxing now fully supports streams with mixed 23.976 and 29.970 content
* mixed video/movie MPEG2 streams are now always muxed with 29.970 timestamps
* if a movie MPEG2 stream goes 29video, processing is automatically restarted
* MPEG2 pulldown is now automatically removed whenever an MPEG2 stream is read
* new option "-keepPulldown" can be used to disable MPEG2 pulldown removal
* corrected default WAV channel masks for 4.0, 6.1 and 7.1
* added proper channel remaps for libav AC3 decoding of "funny" channel formats
* added general channel mask support
* WAV parser reads channel mask from extensible header
* (E-)AC3 parser sets correct channel mask
There are 2 bigger changes in this release:
(1) MPEG2 handling is noticably improved. Especially MPEG2 streams which contain a mixture of movie content (24p or 48i with pulldown flags) and video content (60i) should be handled perfectly now. Also the pulldown is now automatically removed for movie content which has pulldown flags.
(2) The audio processing chain got full support for custom channel masks. This is necessary to handle funny channel combinations like e.g. "5.0" correctly. However, the channel mask support is not complete yet. Especially the DTS, TrueHD, MLP and MP2 parsers do not always properly set the correct channel masks yet. So if you guys have any DTS/TrueHD/MP2 samples with funny channel masks, please upload samples for me. Thanks!
@tebasuna51, I think I implemented all the changes from your detailed AC3 testing post. But I couldn't really test it because I don't have AC3 samples other than 1.0, 2.0 and 5.1. If you have time, maybe you could check whether my fixed work correctly? Thanks!
Thanks Madshi for excellent work. I have just one question. Will extraction of subtitles from bluray be supported in any future release?
Yraen
12th May 2008, 06:37
Thanks Madshi for excellent work. I have just one question. Will extraction of subtitles from bluray be supported in any future release?
It already is. I just did one about an hour ago.
MichalHabart
12th May 2008, 07:32
It already is. I just did one about an hour ago.
And how did you use eac3to to export subtitles from m2ts file? What command did you use?
bmnot
12th May 2008, 08:11
TS, 1 video track, 1:55:47
1: MPEG2, 1080p24 /1.001 (16:9) with pulldown flags
[v01] Extracting video track number 1...
[v01] Removing MPEG2 pulldown...
[v01] Muxing video to Matroska...
[v01] The MPEG2 stream is a mixture of video and movie content.
[v01] This type of MPEG2 stream cannot be muxed with 24p timestamps.
[v01] Will have to abort processing and redo everything.
[v01] Extracting video track number 1...
[v01] Muxing video to Matroska...
[v01] The MPEG2 stream is a mixture of video and movie content.
So it includes the pulldown flags in the 2nd try? Should I hold onto the original ts in case 24p will work on it in future eac3to revisions?
calinb
12th May 2008, 08:21
Can you upload a little sample which works with v1.16 but not with v2.45?Certainly, madshi. Please check your PMs.
dorati
12th May 2008, 08:42
@madshi:
I've checked the samples you uploaded and they work beautifully with eac3to v2.45 for me. I've simply done this:
"eac3to 00152.m2ts+00155.m2ts movie.mkv" and the resulting MKV played perfectly fine with no stuttering at all on my HTPC with Media Player Classic (Haali Media Splitter + Cyberlink h264 decoder). The join point between the two m2ts parts was not visible at all.
Have you tried this command line? Are you using eac3to v2.45?
Yes, I work with the commandline.
Your sample above works fine on Media Player Classik, but don't work on NMT.
The Video is stuttering and no sound.
But now the most important: I found a way - that works !! :)
1. "eac3to 00152.m2ts+00155.m2ts+00154.m2ts movie_temp.mkv"
2. open movie_temp.mkv in tsRemuxer (tsRemuxer found only the h.264-Videotrack in the MKV - and NO Audiotrack)
3. add the needed AC3- Audiotracks to tsRemuxer (Step 1. has build the mkv and extract the Audiotracks)
4. Mux to ts or m2ts.
Now the 2 Points (Seamless Branching) plays perfekt on NMT.
I don't now, witch step ist the important and why (timestamps) !?! - but it plays fine :):):)
All the other steps, i make before:
Demux - recalculate the timestamps mith tsmuxer and mux again and so on don't work....
Beastie Boy
12th May 2008, 08:56
Your sample above works fine on Media Player Classik, but don't work on NMT.
The Video is stuttering and no sound
The NMT does not support ES video streams from BluRay/HD DVD inside an mkv container. It doesn't have the horsepower to decode it. TS/M2TS files are processed in hardware and are the way to go.
Cheers, Beastie.
n0mag!c
12th May 2008, 09:36
By the way, I did it with Nero(8!) Audio Decoder 2, so how it correlates with yours "Nero 8 doesn't allow its DirectShow filters to be used from outside of Nero ShowTime"? E-AC3 track was muxed to .ts file and demuxed back with haali splitter in graph. But eac3to really can't use "Nero Audio Decoder 2".Huh!? Maybe Nero changed something in the later Nero 8 builds? Can somebody double check this?
I'm using Nero 8.3.2.1
Can someone else use "Nero Audio Decoder 2" in GraphEdit?
dorati
12th May 2008, 09:38
@Beastie Boy:
yes - i know.
but for Seamless Branching: "TS -> MKV -> TS" is neccessary to play perfekt on nmt.
"TS -> TS" or "TS -> fix Timestamps -> TS" don't play smothly on nmt!
madshi
12th May 2008, 10:06
All work fine, maskchannels and channel map, with ac3 sources and libav decoder.
Great - thanks for testing!
Do you have samples for all those funny AC3 formats? If so, could you make them available to me? I'd like to check the channel order output of Nero and Sonic decoders. Maybe I need to do some channel remapping for those decoders, too...
Also, do you happen to have some DTS, MLP or MP2 samples with funny channel formats?
Using a 3/3.1 wav still:
And the final wav is 8 channels with the default channel mask from 7 channels.
Oooops. Will put that on my to do list.
The whole film is one m2ts. Wouldn't ignoring the missing sync byte help? I know xport can demux it though, so I guess it must be ignoring it.
Searching for the next sync byte would "help" somewhat, but still it's likely that the final audio and/or video streams would be damaged. So eac3to refuses to do that. eac3to only likes clean sources at this point in time.
The sample in that post has 4 audio tracks: 1-DTS 2-LPCM 3-AC3 4-AC3
tsMuxer only detects 1, 3 and 4, and eac3to only 3 and 4. Can you help me with this? I just want to demux that LPCM track, it plays fine but I have this problem.
Thanks for that sample, it's quite "interesting". The next build of eac3to will be able to detect and demux the DTS and LPCM tracks. But you'll have to wait until the next version is out. Probably next Sunday.
Will extraction of subtitles from bluray be supported in any future release?
Yes.
It already is. I just did one about an hour ago.
:eek: No, it's not supported yet. Maybe you were thinking about HD DVD subtitles?
So it includes the pulldown flags in the 2nd try? Should I hold onto the original ts in case 24p will work on it in future eac3to revisions?
It will not work with future eac3to revisions. There's no proper way to get rid of the pulldown if some parts of the stream contain pulldown flags and some don't. I think eac3to is as good as it gets for MPEG2 handling now (disregarding eventual bugs).
Certainly, madshi. Please check your PMs.
Thanks. Unfortunately (as you could probably guess) that sample is really damaged. I checked back to see why eac3to v1.16 was able to handle this file and the answer is relatively simple: eac3to v1.16 didn't have its own EVO reader yet. Instead it made use of Haali's Media Splitter. Haali's splitter tries to work around damaged files. eac3to's internal reader does not.
Your sample above works fine on Media Player Classik, but don't work on NMT.
The Video is stuttering and no sound.
The video is stuttering because the current NMT hardware does not have enough power to play h264 MKV files smoothly. The sound does not play because eac3to doesn't mux audio tracks into the MKV file. The audio tracks are stored into external files. You'll have to use mkvtoolnix to combine the MKV created by eac3to with the audio tracks. But if you want to play this on your NMT, you cannot use MKV, sadly.
But now the most important: I found a way - that works !! :)
1. "eac3to 00152.m2ts+00155.m2ts+00154.m2ts movie_temp.mkv"
2. open movie_temp.mkv in tsRemuxer (tsRemuxer found only the h.264-Videotrack in the MKV - and NO Audiotrack)
3. add the needed AC3- Audiotracks to tsRemuxer (Step 1. has build the mkv and extract the Audiotracks)
4. Mux to ts or m2ts.
Yes, that would have been my suggestion. Either that, or you could use "eac3to 00152.m2ts+00155.m2ts+00154.m2ts movie_temp.h264". That would also have worked. The key to make this work properly is:
(1) You *HAVE* to use eac3to to join the m2ts parts. This is currently the only way to handle seamless branching movies correctly.
(2) For the NMT you have to remux the stuff you got from eac3to to TS or m2ts by using TsMuxer.
Henry The Ripper
12th May 2008, 11:07
I have a 1080/60i AVC source with gaps according to eac3to.
When I mux the video mkv (without the gaps file used), the sound is out of synch. When using the gaps file I cannot open the resulting file at all.
Is it possible to deinterlace without re-encoding? Or how can I change the framerate to 29,97?
Thanks in advance!
madshi
12th May 2008, 11:12
I have a 1080/60i AVC source with gaps according to eac3to.
When I mux the video mkv (without the gaps file used), the sound is out of synch. When using the gaps file I cannot open the resulting file at all.
Try whether the "-60i" or "-24p" switches help.
Henry The Ripper
12th May 2008, 11:51
Try whether the "-60i" or "-24p" switches help.
Thanks, I'll try those!
tebasuna51
12th May 2008, 12:17
Do you have samples for all those funny AC3 formats? If so, could you make them available to me? I'd like to check the channel order output of Nero and Sonic decoders. Maybe I need to do some channel remapping for those decoders, too...
Ac3_Samples.7z (http://rapidshare.de/files/39384900/Ac3_Samples.7z.html)
Also, do you happen to have some DTS, MLP or MP2 samples with funny channel formats?
Well, MP2 only can support mono/stereo format then no problem.
I will try DTS/MLP.
STaRGaZeR
12th May 2008, 12:31
Thanks for that sample, it's quite "interesting". The next build of eac3to will be able to detect and demux the DTS and LPCM tracks. But you'll have to wait until the next version is out. Probably next Sunday.
:eek: perfect, I was already thinking it was a problem with the file itself that was bad muxed. Looking forward to it :thanks:
madshi
12th May 2008, 12:40
Ac3_Samples.7z (http://rapidshare.de/files/39384900/Ac3_Samples.7z.html)
Well, MP2 only can support mono/stereo format then no problem.
I will try DTS/MLP.
Thank you!
:eek: perfect, I was already thinking it was a problem with the file itself that was bad muxed.
Well, it's kind of a bad mux. The PCM track is Blu-Ray style. This kind of PCM track is not usually expected/supported by the TS container. PCM tracks in TS should be stored differently. So yes, it's kind of a bad mux. But the next eac3to build will support it nevertheless...
STaRGaZeR
12th May 2008, 13:47
Well, it's kind of a bad mux. The PCM track is Blu-Ray style. This kind of PCM track is not usually expected/supported by the TS container. PCM tracks in TS should be stored differently. So yes, it's kind of a bad mux. But the next eac3to build will support it nevertheless...
What's the difference between Blu-ray PCM style and normal PCM 5.1? The track is going to be muxed into Matroska, any conversions needed?
jchappo
12th May 2008, 14:08
The NMT does not support ES video streams from BluRay/HD DVD inside an mkv container. It doesn't have the horsepower to decode it. TS/M2TS files are processed in hardware and are the way to go.
Cheers, Beastie.
Beastie Boy, do you have a working solution for converting HD audio to LPCM for use on the NMT?
Beastie Boy
12th May 2008, 14:18
Hence, this is the solution many other people were looking for...
1) Convert TrueHD/DTS-HD to RAW
2) Rename file to .wav and mux with video in TsMuxer
Does this not work?
Edit: I should point out that I don't actually own a NMT based player. What would be interesting is to see if one of these players will play VC1/h264 video muxed with high bitrate AAC multichannel audio inside a TS container.
This would seem a better solution than wasting space on PCM. AAC would be pretty much transparent, but take up much less space.
Are you able to test this. Note that tsMuxer requires raw AAC streams, and I don't know how to produce these.
madshi
12th May 2008, 14:41
What's the difference between Blu-ray PCM style and normal PCM 5.1? The track is going to be muxed into Matroska, any conversions needed?
The PCM data itself is always the same. However, in the m2ts container a PCM track is stored with the identifier "0x80". And here comes the problem: A track with that identifier "0x80" in the TS container is not defined as PCM but as an MPEG2 video track! So if you convert a m2ts movie with PCM in it to TS without changing the track identifier, the PCM track suddenly looks like an MPEG2 video track to TS splitters. Ouch.
Does this not work?
Please let's not go there *AGAIN*. This has been discussed in about 2000 posts in the last few pages. It really doesn't belong into this thread.
Beastie Boy
12th May 2008, 14:55
Please let's not go there *AGAIN*. This has been discussed in about 2000 posts in the last few pages. It really doesn't belong into this thread.
Sorry about that, I was just surprised to see the question being asked as I thought it had been solved.
jchappo, I think it would be a good idea to start a new thread regarding NMT compatability etc.
dorati
12th May 2008, 15:04
@madshi:
Yes, that would have been my suggestion. Either that, or you could use "eac3to 00152.m2ts+00155.m2ts+00154.m2ts movie_temp.h264". That would also have worked. The key to make this work properly is:
(1) You *HAVE* to use eac3to to join the m2ts parts. This is currently the only way to handle seamless branching movies correctly.
(2) For the NMT you have to remux the stuff you got from eac3to to TS or m2ts by using TsMuxer.
No this don't work !
I tested today again:
Variante 1:
- "eac3to 00152.m2ts+00155.m2ts+00154.m2ts movie_temp.h264
- Mux movie_temp.h264 and AC3-Audio to TS or M2TS with tsRemuxer
Result: Video ist stuttering or hangs at cutpoints.
Variante2:
- "eac3to 00152.m2ts+00155.m2ts+00154.m2ts movie_temp.mkv
- Mux movie_temp.mkv and AC3-Audio to TS or M2TS with tsRemuxer
Result: Video plays fine !!!!!!:)
madshi
12th May 2008, 15:14
No this don't work !
I tested today again:
Variante 1:
- "eac3to 00152.m2ts+00155.m2ts+00154.m2ts movie_temp.h264
- Mux movie_temp.h264 and AC3-Audio to TS or M2TS with tsRemuxer
Result: Video ist stuttering or hangs at cutpoints.
Hmmmmm... This is probably caused by a bug in eac3to. I'm not removing the sequence end codes at the join points when demuxing video. I'm only doing that when muxing the video to MKV. Stupid me. Will be fixed in the next build...
STaRGaZeR
12th May 2008, 15:32
The PCM data itself is always the same. However, in the m2ts container a PCM track is stored with the identifier "0x80". And here comes the problem: A track with that identifier "0x80" in the TS container is not defined as PCM but as an MPEG2 video track! So if you convert a m2ts movie with PCM in it to TS without changing the track identifier, the PCM track suddenly looks like an MPEG2 video track to TS splitters. Ouch.
I see. Then the guy who muxed the TS did it in the wrong way without changing the track identifier to the proper one and that is what's causing the problem. Maybe tsMuxer is also thinking the PCM track is a MPEG2 track.
wildchild22
12th May 2008, 17:34
I have been hex editing ratatouille all day to remove the last 6 byes of every 264 video file. (00 00 00 01 0a 80). So Madshi if I just converted the video to mkv then remuxed it I wouldn't have to do all this?
This is the problem with seamless branching avc the end sequence 00 00 00 01 0a 80 causes the popcornhour to lock up. Also madshi if you demux to wavs and remux with scenarist 4.3 you can get lpcm so there is nothing wrong with eac3to audio. The video is perfect as well except those end of sequence codes being left in .h264 output
itsancho
12th May 2008, 17:45
hi to all again and madshi thank you, thank you, thank you... for everything!
... and here it comes my current problem :-/
don't know why but MKVtoolnix dosn't like 24-bits wav/pcm streams, and without any warrings the job officially is "done", but in a *.mkv file there is only first ~30 minutes of the stream and then loud noise... (by the way, there is no any problem with 16-bits wavs)
and so, i've tried another container - ts/m2ts - with tsMuxer, well, here the mesage was: Warning! Multi channels WAVE file for stream 1 do not contain channels configuration info. Applying default value: L R C LFE BL BR and so, all the great job, that was have been done by eac3to to remaping the blu-ray chanels accordingly, went to... :-(
I'm almost 100% sure that, to play video with 24-bits pcm is not mission impossible and 110% sure that u can help me!
Big, thanks in advance. :-)
wildchild22
12th May 2008, 17:51
If you do not have scenarist 4.3 you can forget about lpcm because there is no other free way to mux without getting loud noise.This maybe fixed in the future but for now it is the only way.
hi to all again and madshi thank you, thank you, thank you... for everything!
... and here it comes my current problem :-/
don't know why but MKVtoolnix dosn't like 24-bits wav/pcm streams, and without any warrings the job officially is "done", but in a *.mkv file there is only first ~30 minutes of the stream and then loud noise... (by the way, there is no any problem with 16-bits wavs)
and so, i've tried another container - ts/m2ts - with tsMuxer, well, here the mesage was: and so, all the great job, that was have been done by eac3to to remaping the blu-ray chanels accordingly, went to... :-(
I'm almost 100% sure that, to play video with 24-bits pcm is not mission impossible and 110% sure that u can help me!
Big, thanks in advance. :-)
jchappo
12th May 2008, 18:23
scenarist 4.3 muxes to M2TS?
itsancho
12th May 2008, 18:33
If you do not have scenarist 4.3 you can forget about lpcm because there is no other free way to mux without getting loud noise.This maybe fixed in the future but for now it is the only way.
well, i never heard of it, but i like to learn new things, will try to find it ;-)
and... u'r not quite absolutely right, 'cause MKVtoolnix is working/muxing perfect with 16-bits pcm/wav files... :-)
and thanks for the info!
___
edit
Well, it looks like, the problem of MKVtoolnix are not the bits, but the size. Just tried to remux Narnia, pcm is 16-bits, but it's above 4GB...
Inventive Software
12th May 2008, 18:36
BTW madshi, are you aware your thread's probably the biggest on Doom9's forum? Good going, since it's only been a year since you started this gem of a tool. :)
I have a question about channel orders with re-encoded FLAC files. Since FLAC by design doesn't specify a mandatory 5.1 or 7.1 channel order, when you recode, say, TrueHD or LPCM to FLAC, would they still retain their original channel ordering?
madshi
12th May 2008, 19:40
I have been hex editing ratatouille all day to remove the last 6 byes of every 264 video file. (00 00 00 01 0a 80). So Madshi if I just converted the video to mkv then remuxed it I wouldn't have to do all this?
Correct.
don't know why but MKVtoolnix dosn't like 24-bits wav/pcm streams, and without any warrings the job officially is "done", but in a *.mkv file there is only first ~30 minutes of the stream and then loud noise... (by the way, there is no any problem with 16-bits wavs)
This sounds like a bug in mkvtoolnix. You should post on the mkvtoolnix thread and ask Mosu for support of big WAV files. Probably he chokes on any WAV files bigger than 2GB or 4GB, just like TsMuxer does. This has nothing to do with 16bit vs. 24bit. The only reason why the 16bit one works for you is most probably that the 16bit WAV file is smaller.
Btw, why don't you use FLAC instead of WAV?
BTW madshi, are you aware your thread's probably the biggest on Doom9's forum? Good going, since it's only been a year since you started this gem of a tool. :)
:)
I have a question about channel orders with re-encoded FLAC files. Since FLAC by design doesn't specify a mandatory 5.1 or 7.1 channel order, when you recode, say, TrueHD or LPCM to FLAC, would they still retain their original channel ordering?
The FLAC channel assignment for 5.1 is identical to WAV and that's what eac3to is using for FLAC encoding. The FLAC channel assignment for 7.1 channels is not officially documented but I'm simply using WAV channel order there, too. Search for "channel assignment" here:
http://flac.sourceforge.net/format.html
tebasuna51
12th May 2008, 20:23
@madshi
Samples_mlp.7z (http://rapidshare.com/files/114433847/Samples_mlp.7z.html)
# MLP Channel Assignments Mask and MS channels order Detect-MaskCh eac3to libav remap Samples
-- ------------------------ -------------------------- -------------------- ----------- ----------
0 M 0x0004 FC 1.0 0x0004 ok not needed 00_100.mlp
1 L R 0x0003 FL FR 2.0 0x0003 ok not needed 01_200.mlp
2 Lf Rf (S) 0x0103 FL FR BC 3.0 0x0007 (1) not needed 02_210.mlp
3 Lf Rf (Ls Rs) 0x0033 FL FR BL BR 4.0 0x0033 ok not needed 03_220.mlp
4 Lf Rf (LFE) 0x000B FL FR LF 2.1 0x0007 (1) not needed 04_201.mlp
5 Lf Rf (LFE S) 0x010B FL FR LF BC 3.1 0x0033 (1) not needed 05_211.mlp
6 Lf Rf (LFE Ls Rs) 0x003B FL FR LF BL BR 4.1 0x0037 (1) not needed 06_221.mlp
7 Lf Rf (C) 0x0007 FL FR FC 3.0 0x0007 ok not needed 07_300.mlp
8 Lf Rf (C S) 0x0107 FL FR FC BC 4.0 0x0033 (1) not needed 08_310.mlp
9 Lf Rf (C Ls Rs) 0x0037 FL FR FC BL BR 5.0 0x0037 ok not needed 09_320.mlp
10 Lf Rf (C LFE) 0x000F FL FR FC LF 3.1 0x0033 (1) not needed 10_301.mlp
11 Lf Rf (C LFE S) 0x010F FL FR FC LF BC 4.1 0x0037 (1) not needed 11_311.mlp
12 Lf Rf (C LFE Ls Rs) 0x003F FL FR FC LF BL BR 5.1 0x003F ok not needed 12_321.mlp
13 Lf Rf C (S) 0x0107 FL FR FC BC Can't detect (3) not needed 13_310.mlp
14 Lf Rf C (Ls Rs) 0x0037 FL FR FC BL BR Can't detect (3) not needed 14_320.mlp
15 Lf Rf C (LFE) 0x000F FL FR FC LF Can't detect (3) not needed 15_301.mlp
16 Lf Rf C (LFE S) 0x010F FL FR FC LF BC Can't detect (3) not needed 16_311.mlp
17 Lf Rf C (LFE Ls Rs) 0x003F FL FR FC LF BL BR 5.1 0x003F ok not needed 17_321.mlp
18 Lf Rf Ls Rs (LFE) 0x003B FL FR LF BL BR 4.1 0x0037 (1) (2) -0,1,4,2,3,5 18_221.mlp
19 Lf Rf Ls Rs (C) 0x0037 FL FR FC BL BR 5.0 0x0037 (2) -0,1,4,2,3,5 19_320.mlp
20 Lf Rf Ls Rs (C LFE) 0x003F FL FR FC LF BL BR 5.1 0x003F ok already done 20_321.mlp
(1) Need more complete detection (2/2.1 type) to assign the correct MaskCh.
(2) When decoded with libav need remapping channels.
(3) Can't decode these samples with eac3to:
"The format of the source file could not be detected."
But yes using:
FFmpeg version r11045, Copyright (c) 2000-2007 Fabrice Bellard, et al. (2007/11/16)
configuration: --prefix=/c/MinGW --enable-pp --enable-swscaler --enable-avisynth --enable-libfaac
--enable-libfaad --enable-libmp3lame --enable-libtheora --enable-libxvid --enable-libx264
--enable-gpl --enable-memalign-hack
libavutil version: 49.5.0
libavcodec version: 51.48.0
libavformat version: 51.19.0
built on Nov 16 2007 08:43:27, gcc: 4.2.1-dw2 (mingw32-2)
Input #0, mlp, from 'E:\Test\mlp\14_320.mlp':
Duration: N/A, bitrate: N/A
Stream #0.0: Audio: mlp, 48000 Hz, 5 channels
Output #0, wav, to 'E:\Test\mlp\w14_320.wav':
Stream #0.0: Audio: pcm_s16le, 48000 Hz, 5 channels, 3840 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop encoding
[mlp @ 00918460]Lossless check failed - expected b, calculated 97
[mlp @ 00918460]End of stream indicated
[mlp @ 00918460]End of stream indicated
size= 9375kB time=20.0 bitrate=3840.0kbits/s
video:0kB audio:9375kB global headers:0kB muxing overhead 0.000458%
itsancho
12th May 2008, 21:26
madshi u r absolutely right! well, i never heard of it, but i like to learn new things, will try to find it ;-)
and... u'r not quite absolutely right, 'cause MKVtoolnix is working/muxing perfect with 16-bits pcm/wav files... :-)
and thanks for the info!
___
edit
Well, it looks like, the problem of MKVtoolnix are not the bits, but the size. Just tried to remux Narnia, pcm is 16-bits, but it's above 4GB... i've edit my previous post and then saw that there is a new page in the treat with ur anser... ;-)
big thanx again!
Yraen
12th May 2008, 21:47
:eek: No, it's not supported yet. Maybe you were thinking about HD DVD subtitles?
Yeah, that was my mistake. I had ripped subs from a title I thought I bought in BD, but when I looked on the shelf it was HD-DVD. Excuse me, I need to go wash the taste of my foot out of my mouth. :o
madshi
12th May 2008, 21:57
# MLP Channel Assignments Mask and MS channels order Detect-MaskCh eac3to libav remap Samples
-- ------------------------ -------------------------- -------------------- ----------- ----------
0 M 0x0004 FC 1.0 0x0004 ok not needed 00_100.mlp
1 L R 0x0003 FL FR 2.0 0x0003 ok not needed 01_200.mlp
2 Lf Rf (S) 0x0103 FL FR BC 3.0 0x0007 (1) not needed 02_210.mlp
3 Lf Rf (Ls Rs) 0x0033 FL FR BL BR 4.0 0x0033 ok not needed 03_220.mlp
4 Lf Rf (LFE) 0x000B FL FR LF 2.1 0x0007 (1) not needed 04_201.mlp
5 Lf Rf (LFE S) 0x010B FL FR LF BC 3.1 0x0033 (1) not needed 05_211.mlp
6 Lf Rf (LFE Ls Rs) 0x003B FL FR LF BL BR 4.1 0x0037 (1) not needed 06_221.mlp
7 Lf Rf (C) 0x0007 FL FR FC 3.0 0x0007 ok not needed 07_300.mlp
8 Lf Rf (C S) 0x0107 FL FR FC BC 4.0 0x0033 (1) not needed 08_310.mlp
9 Lf Rf (C Ls Rs) 0x0037 FL FR FC BL BR 5.0 0x0037 ok not needed 09_320.mlp
10 Lf Rf (C LFE) 0x000F FL FR FC LF 3.1 0x0033 (1) not needed 10_301.mlp
11 Lf Rf (C LFE S) 0x010F FL FR FC LF BC 4.1 0x0037 (1) not needed 11_311.mlp
12 Lf Rf (C LFE Ls Rs) 0x003F FL FR FC LF BL BR 5.1 0x003F ok not needed 12_321.mlp
13 Lf Rf C (S) 0x0107 FL FR FC BC Can't detect (3) not needed 13_310.mlp
14 Lf Rf C (Ls Rs) 0x0037 FL FR FC BL BR Can't detect (3) not needed 14_320.mlp
15 Lf Rf C (LFE) 0x000F FL FR FC LF Can't detect (3) not needed 15_301.mlp
16 Lf Rf C (LFE S) 0x010F FL FR FC LF BC Can't detect (3) not needed 16_311.mlp
17 Lf Rf C (LFE Ls Rs) 0x003F FL FR FC LF BL BR 5.1 0x003F ok not needed 17_321.mlp
18 Lf Rf Ls Rs (LFE) 0x003B FL FR LF BL BR 4.1 0x0037 (1) (2) -0,1,4,2,3,5 18_221.mlp
19 Lf Rf Ls Rs (C) 0x0037 FL FR FC BL BR 5.0 0x0037 (2) -0,1,4,2,3,5 19_320.mlp
20 Lf Rf Ls Rs (C LFE) 0x003F FL FR FC LF BL BR 5.1 0x003F ok already done 20_321.mlp
(1) Need more complete detection (2/2.1 type) to assign the correct MaskCh.
(2) When decoded with libav need remapping channels.
(3) Can't decode these samples with eac3to:
"The format of the source file could not be detected."
Awesome!! Thanks much again for your help! :)
monohouse
12th May 2008, 22:04
-----
madshi
12th May 2008, 22:15
this freezes and stuck for hours while using 100% of cpu time, after checking it appears to happen for the audio only I tested this with the video alone and it works
Most probably there's either a bug in the Sonic DTS-HD decoder or the DTS stream is slightly damaged. DTS streams usually don't have a CRC, so eac3to cannot detect every damage in DTS streams.
You can probably work around the problem by using the "-core" switch. This will discard the additional Master Audio packets and only decode the core. You'll take a slight hit on audio quality, though.
Your best bet is probably to do a clean rerip in the hope that this fixes the problem.
monohouse
12th May 2008, 22:20
-----
madshi
13th May 2008, 06:45
one other thing possibly I didn't mention, any chance it may be related to using version 4.2 of sonic instead of 4.3 which you mentioned ?
Don't know.
sayin do you know when they encrypt those BD's do they also encrypt the audio or only the video ?
Audio is also encrypted.
Yraen
13th May 2008, 07:53
madshi,
Here's (ftp://ftp.shspvr.com/download/moive_clip/hd_pvr_clip/hcw_hd_pvr2_1080i_h264.ts) an interesting clip (80MB) from the thread here (http://www.avsforum.com/avs-vb/showthread.php?t=1015617) about the Hauppauge HD PVR starting to ship now.
I can mux it into a mkv container, generating a gaps file, and it plays fine. When I run the command line again, using the gaps file, it messes up the playback, showing the time as only 2 seconds for the file length in media player, and stopping at different points each time I start it over.
First run:
eac3to v2.46
command line: "D:\editing apps\eac3to\2.46\eac3to.exe" "H:\hcw_hd_pvr2_1080i_h264.ts" 1: "N:\test\video.mkv" -seekToIFrames
------------------------------------------------------------------------------
TS, 1 video track, 0:02:06
1: h264/AVC, 1080i50 (16:9)
[v01] Extracting video track number 1...
[v01] Muxing video to Matroska...
[v01] Video overlaps for 4 frames at playtime 0:00:00.
[v01] Video overlaps for 4 frames at playtime 0:00:00.
[v01] Video overlaps for 4 frames at playtime 0:00:01.
(continues on like this for every second of the file)
(notice the track time above and the end time below)
[v01] Video overlaps for 4 frames at playtime 0:04:06.
[v01] Video overlaps for 4 frames at playtime 0:04:06.
[v01] Video overlaps for 4 frames at playtime 0:04:06.
[v01] Video overlaps for 4 frames at playtime 0:04:07.
[v01] The MKV file was created without making use of the gap/overlap information.
[v01] Please check whether audio is in sync. If it is in sync everything is fine.
[v01] Otherwise you can ask eac3to to repeat the muxing. It will then automatically
[v01] make use of the detailed gap/overlap information.
Added fps value to MKV header.
Video track 1 contains 6290 frames.
eac3to processing took 7 seconds.
Done.
Second Run:
eac3to v2.46
command line: "D:\editing apps\eac3to\2.46\eac3to.exe" "H:\hcw_hd_pvr2_1080i_h264.ts" 1: "N:\test\video.mkv" -seekToIFrames
------------------------------------------------------------------------------
TS, 1 video track, 0:02:06
1: h264/AVC, 1080i50 (16:9)
[v01] Video gap description file detected, will be used for muxing...
[v01] Extracting video track number 1...
[v01] Muxing video to Matroska...
Added fps value to MKV header.
Video track 1 contains 6290 frames.
eac3to processing took 2 seconds.
Done.
Probably nothing you'll need to fix, I just thought it might be of an interest to you.
dorati
13th May 2008, 09:52
@madshi:
Hmmmmm... This is probably caused by a bug in eac3to. I'm not removing the sequence end codes at the join points when demuxing video. I'm only doing that when muxing the video to MKV. Stupid me. Will be fixed in the next build...
Perfekt. Thanks for your very very helpfull program !
Momber
13th May 2008, 10:44
For now if you need to have the pulldown completely removed please use eac3to for demuxing and then vc1conv afterwards.
Thanks for your reply. I'm doing just that. And it works :)
tenkai
13th May 2008, 13:56
Hi guys, is there a simple way to encode dts master audio directly into dts? if i set while demuxing (.dts ending) i get a dts file which doesnīt work properly.. so i need to convert it to flac and after that to dts.. i wonder if there is another way?
thx in advance
saint-francis
13th May 2008, 14:03
Hi guys, is there a simple way to encode dts master audio directly into dts? if i set while demuxing (.dts ending) i get a dts file which doesnīt work properly.. so i need to convert it to flac and after that to dts.. i wonder if there is another way?
There is a switch called -core that will do what you want.
madshi
13th May 2008, 14:04
Here's (ftp://ftp.shspvr.com/download/moive_clip/hd_pvr_clip/hcw_hd_pvr2_1080i_h264.ts) an interesting clip (80MB) from the thread here (http://www.avsforum.com/avs-vb/showthread.php?t=1015617) about the Hauppauge HD PVR starting to ship now.
Thanks, I'll give that a look later this week.
Hi guys, is there a simple way to encode dts master audio directly into dts? if i set while demuxing (.dts ending) i get a dts file which doesnīt work properly.. so i need to convert it to flac and after that to dts.. i wonder if there is another way?
Use the "-core" switch.
Edit: saint-francis was faster... ;)
tenkai
13th May 2008, 14:07
oki thx :)
dorati
13th May 2008, 14:20
I have TRUE-HD Audiotracks in my m2ts-File.
With -demux i get a .ac3 and and a .thd -File.
With convert i get a .flac file.
How I get a full True-Hd.ac3 File for muxing wit tsRemuxer?
Thunderbolt8
13th May 2008, 14:39
I guess that .ac3 file from demuxing is already fine.
madshi
13th May 2008, 14:40
I have TRUE-HD Audiotracks in my m2ts-File.
With -demux i get a .ac3 and and a .thd -File.
With convert i get a .flac file.
How I get a full True-Hd.ac3 File for muxing wit tsRemuxer?
This is currently not supported by eac3to because eac3to is not built for m2ts muxing. I think the m2ts muxer you're using (probably TsMuxer) should offer a way to import separate TrueHD+AC3 files and melt them together for the final m2ts mux.
EPiPH0NE
13th May 2008, 14:58
This is currently not supported by eac3to because eac3to is not built for m2ts muxing. I think the m2ts muxer you're using (probably TsMuxer) should offer a way to import separate TrueHD+AC3 files and melt them together for the final m2ts mux.
You can do this with Scenarist but not tsMuxeR.
I've been sitting on the side line for this new TrueHD audio format until I get myself a TrueHD pre-amp. I used PDVD8 for my BD and HD DVD movies. Now, my pre-amp is here and I like to try this conversion now. Few questions:
1) So with this conversion, is that mean I am able to stream TrueHD audio stream to my pre-amp?
2) HDMI 1,3, right?
Thank for your reply in advance.
Beastie Boy
13th May 2008, 18:33
eac3to is a tool to demux and/or transcode audio from one format to another. It really depends on what you intend to do with the video/audio streams, and what device you will be using to feed your amp.
Cheers, Beastie.
eac3to is a tool to demux and/or transcode audio from one format to another. It really depends on what you intend to do with the video/audio streams, and what device you will be using to feed your amp.
Cheers, Beastie.
Hi Beastie,
Thanks for your reply. So correct me if I am wrong, so with this conversion, we transfer TrueHD audio format to another format such as DTS or DD to our receiver via for example SPDIF? So we are still going to hear all the TrueHD format but in DD or DTS in our receiver, right?
Beastie Boy
13th May 2008, 19:08
Hi Beastie,
Thanks for your reply. So correct me if I am wrong, so with this conversion, we transfer TrueHD audio format to another format such as DTS or DD to our receiver via for example SPDIF? So we are still going to hear all the TrueHD format but in DD or DTS in our receiver, right?
TrueHD is lossless audio, DD and DTS are both lossy. If you wish to retain TrueHD quality, either convert the audio to LPCM, WAV or FLAC with eac3to, or mux the original TrueHD stream to Bluray structure using tsMuxer (http://forum.doom9.org/showthread.php?t=134104).
I suggest you read up on both tools, decide what it is you need to acheive, and then come and ask for assistance using the tools if you still need it. I get the impression that you don't really know what you are trying to do at the moment :)
Cheers, Beastie.
TrueHD is lossless audio, DD and DTS are both lossy. If you wish to retain TrueHD quality, either convert the audio to LPCM, WAV or FLAC with eac3to, or mux the original TrueHD stream to Bluray structure using tsMuxer (http://forum.doom9.org/showthread.php?t=134104).
I suggest you read up on both tools, decide what it is you need to acheive, and then come and ask for assistance using the tools if you still need it. I get the impression that you don't really know what you are trying to do at the moment :)
Cheers, Beastie.
Thanks for the reply Beastie,
My goal is I want to get these TrueHD format BD movies I back up from my HTPC to my pre-amp. I did not finish the threads since most of the posts are talking about how to do it. I just want to see is this the right tool for me before I convert the BD audio stream. So to sum up: This is a tool to convert TrueHD audio format to LPCM, WAV or FLAC and output to our receivers. Right?
If it is the case, I guess this is not for me since I want to get the TrueHD to my pre-amp using HDMI 1.3, right? Yes, I realize as of today there is nothing can output TrueHD to pre-amp from our HTPC yet. From best of my knowledge, in the future x-tension card from Auzentech or Intel G45 MB will be the hardewares we need in order to output the TrueHD format from our HTPC to receiver.
nautilus7
13th May 2008, 19:52
What is your video format? Do you plan to use the BD's as they are or have you convert them to mkv?
HDMI 1.3 is useful if you need to transfer TrueHD, DTS-HD or LPCM (and decoded FLAC) audio. Otherwise you can use spdif for AC3 and DTS or analog for all the previous.
hi guys I'm quite new to this burning blu-ray thing and i seem to be having way to much problems with the audio. I've followed many of the tutorials and am stuck with the audio not being liked by a eac3to. I've started with evodemux and got the audio (ddp) and video (vc1) fine. video works fine ran it with vc1conv and ran muigenerator and works fine with scenarist. the audio on the other hand gives me a problem when i try to run it with eac3to says
"eac3to v2.45
command line: eac3to d:\temp\vc1\audio1.ddp d:\temp\vc1\audio.wavs -sonic
------------------------------------------------------------------------------
AC3, 2.0 channels, 1:49:00, 192kbit/s, 48khz, dialnorm: -27dB
Removing dialog normalization...
The Sonic (E-)AC3 Decoder applies DRC.
Decoding with DirectShow (Sonic Audio Decoder)...
DirectShow reports 5.1 channels, 16 bits, 48khz
Writing WAVs...
Creating file "d:\temp\vc1\audio.R.wav"...
Creating file "d:\temp\vc1\audio.L.wav"...
This track is not clean. Processing aborted.
Please clean the track with delaycut and then retry eac3to.
Aborted at file position 2424832.
"
so i use delaycut and i get this in my logfile
"[Input info]
Bitrate=1087
Actual rate=1087.000000
Sampling Frec=48000
TotalFrames=108247
Bytesperframe=1450.0000
Filesize=156959019
FrameDuration= 10.6716
Framespersecond= 93.7069
Duration=00:19:22.659
Channels mode=2/0: L+R
LFE=LFE: Not present
[Target info]
StartFrame=0
EndFrame=108246
NotFixedDelay= 0.0000
Duration=00:19:15.165
====== PROCESSING LOG ======================
Time 00:00:00.000; Frame#= 1. Crc error SILENCED: read = DDDD; calculated=6DB0
Time 00:00:00.010; Frame#= 2. Unsynchronized frame...REWINDED 682 bytes. Found new synch word
Time 00:00:00.021; Frame#= 3. Crc error SILENCED: read = DDDD; calculated=1BDF
Time 00:00:00.032; Frame#= 4. Unsynchronized frame...REWINDED 682 bytes. Found new synch word
Time 00:00:00.042; Frame#= 5. Crc error SILENCED: read = DDDD; calculated=5FB5
Time 00:00:00.053; Frame#= 6. Unsynchronized frame...REWINDED 682 bytes. Found new synch word
Time 00:00:00.064; Frame#= 7. Some basic parameters changed between Frame #1 and this frame
Time 00:00:00.064; Frame#= 7. Crc error SILENCED: read = 6108; calculated=BC0F
Time 00:00:00.074; Frame#= 8. Unsynchronized frame...REWINDED 2556 bytes. Found new synch word
Time 00:00:00.085; Frame#= 9. Some basic parameters changed between Frame #7 and this frame
Time 00:00:00.085; Frame#= 9. Crc error SILENCED: read = 5369; calculated=F18A
Time 00:00:00.096; Frame#= 10. Unsynchronized frame...REWINDED 2594 bytes. Found new synch word
Time 00:00:00.106; Frame#= 11. Some basic parameters changed between Frame #9 and this frame
Time 00:00:00.106; Frame#= 11. Crc error SILENCED: read = F33F; calculated=2029
Time 00:00:00.117; Frame#= 12. Unsynchronized frame...REWINDED 2368 bytes. Found new synch word
Time 00:00:00.128; Frame#= 13. Some basic parameters changed between Frame #11 and this frame
Time 00:00:00.128; Frame#= 13. Crc error SILENCED: read = 4967; calculated=4827
Time 00:00:00.138; Frame#= 14. Unsynchronized frame...REWINDED 1122 bytes. Found new synch word
Time 00:00:00.149; Frame#= 15. Some basic parameters changed between Frame #13 and this frame
Time 00:00:00.149; Frame#= 15. Crc error SILENCED: read = F9F3; calculated=0748
Time 00:00:00.160; Frame#= 16. Unsynchronized frame...REWINDED 848 bytes. Found new synch word
Time 00:00:00.170; Frame#= 17. Some basic parameters changed between Frame #15 and this frame
Time 00:00:00.170; Frame#= 17. Crc error SILENCED: read = 73ED; calculated=D95D
Time 00:00:00.181; Frame#= 18. Unsynchronized frame...REWINDED 1098 bytes. Found new synch word
Time 00:00:00.192; Frame#= 19. Some basic parameters changed between Frame #17 and this frame
Time 00:00:00.192; Frame#= 19. Crc error SILENCED: read = 956B; calculated=556A
Time 00:00:00.202; Frame#= 20. Unsynchronized frame...REWINDED 2818 bytes. Found new synch word
Time 00:00:00.213; Frame#= 21. Some basic parameters changed between Frame #19 and this frame
Time 00:00:00.213; Frame#= 21. Crc error SILENCED: read = BD43; calculated=1C7C
Time 00:00:00.224; Frame#= 22. Unsynchronized frame...REWINDED 340 bytes. Found new synch word
Time 00:00:00.234; Frame#= 23. Some basic parameters changed between Frame #21 and this frame
Time 00:00:00.234; Frame#= 23. Crc error SILENCED: read = 9136; calculated=5577
Time 00:00:00.245; Frame#= 24. Unsynchronized frame...REWINDED 638 bytes. Found new synch word
Time 00:00:00.256; Frame#= 25. Some basic parameters changed between Frame #23 and this frame
Time 00:00:00.256; Frame#= 25. Crc error SILENCED: read = 1709; calculated=8263
Time 00:00:00.266; Frame#= 26. Unsynchronized frame...REWINDED 2442 bytes. Found new synch word
Time 00:00:00.277; Frame#= 27. Some basic parameters changed between Frame #25 and this frame
Time 00:00:00.277; Frame#= 27. Crc error SILENCED: read = 6734; calculated=7FA9
Time 00:00:00.288; Frame#= 28. Unsynchronized frame...REWINDED 608 bytes. Found new synch word
Time 00:00:00.298; Frame#= 29. Some basic parameters changed between Frame #27 and this frame
Time 00:00:00.298; Frame#= 29. Crc error SILENCED: read = 000A; calculated=9DC4
Time 00:00:00.309; Frame#= 30. Unsynchronized frame...REWINDED 460 bytes. Found new synch word
Time 00:00:00.320; Frame#= 31. Some basic parameters changed between Frame #29 and this frame
Time 00:00:00.320; Frame#= 31. Crc error SILENCED: read = 9F3E; calculated=DBC1
Time 00:00:00.330; Frame#= 32. Unsynchronized frame...REWINDED 1606 bytes. Found new synch word
Time 00:00:00.341; Frame#= 33. Some basic parameters changed between Frame #31 and this frame
Time 00:00:00.341; Frame#= 33. Crc error SILENCED: read = C235; calculated=BDE2
Time 00:00:00.352; Frame#= 34. Unsynchronized frame...REWINDED 742 bytes. Found new synch word
Time 00:00:00.362; Frame#= 35. Some basic parameters changed between Frame #33 and this frame
Time 00:00:00.362; Frame#= 35. Crc error SILENCED: read = ACC2; calculated=A802
Time 00:00:00.373; Frame#= 36. Unsynchronized frame...REWINDED 3028 bytes. Found new synch word
Time 00:00:00.384; Frame#= 37. Some basic parameters changed between Frame #35 and this frame
Time 00:00:00.384; Frame#= 37. Crc error SILENCED: read = E02F; calculated=8C7F
Time 00:00:00.394; Frame#= 38. Unsynchronized frame...REWINDED 428 bytes. Found new synch word
Time 00:00:00.405; Frame#= 39. Some basic parameters changed between Frame #37 and this frame
Time 00:00:00.405; Frame#= 39. Crc error SILENCED: read = 7D0B; calculated=7D78
Time 00:00:00.416; Frame#= 40. Unsynchronized frame...SKIPPED 716 bytes. Found new synch word
Time 00:00:00.426; Frame#= 41. Some basic parameters changed between Frame #39 and this frame
Time 00:00:00.426; Frame#= 41. Crc error SILENCED: read = 9F3E; calculated=5FC6
Time 00:00:00.437; Frame#= 42. Unsynchronized frame...REWINDED 98 bytes. Found new synch word
Time 00:00:00.448; Frame#= 43. Some basic parameters changed between Frame #41 and this frame
Time 00:00:00.448; Frame#= 43. Crc error SILENCED: read = F9F3; calculated=4D21
Time 00:00:00.458; Frame#= 44. Unsynchronized frame...REWINDED 2426 bytes. Found new synch word
Time 00:00:00.469; Frame#= 45. Some basic parameters changed between Frame #43 and this frame
Time 00:00:00.469; Frame#= 45. Crc error SILENCED: read = 256D; calculated=0F85
Time 00:00:00.480; Frame#= 46. Unsynchronized frame...REWINDED 1738 bytes. Found new synch word
Time 00:00:00.490; Frame#= 47. Some basic parameters changed between Frame #45 and this frame
Time 00:00:00.490; Frame#= 47. Crc error SILENCED: read = C1B0; calculated=1DD6
Time 00:00:00.501; Frame#= 48. Unsynchronized frame...REWINDED 2842 bytes. Found new synch word
Time 00:00:00.512; Frame#= 49. Some basic parameters changed between Frame #47 and this frame
Time 00:00:00.512; Frame#= 49. Crc error SILENCED: read = 7CF9; calculated=5FB1
Time 00:00:00.522; Frame#= 50. Unsynchronized frame...SKIPPED 654 bytes. Found new synch word
Time 00:00:00.533; Frame#= 51. Some basic parameters changed between Frame #49 and this frame
Time 00:00:00.533; Frame#= 51. Crc error SILENCED: read = 51DB; calculated=D9A1
Time 00:00:00.544; Frame#= 52. Unsynchronized frame...SKIPPED 154 bytes. Found new synch word
Time 00:00:00.554; Frame#= 53. Some basic parameters changed between Frame #51 and this frame
Time 00:00:00.554; Frame#= 53. Crc error SILENCED: read = 9671; calculated=4954
Time 00:00:00.565; Frame#= 54. Unsynchronized frame...SKIPPED 102 bytes. Found new synch word
Time 00:00:00.576; Frame#= 55. Some basic parameters changed between Frame #53 and this frame
Time 00:00:00.576; Frame#= 55. Crc error SILENCED: read = F099; calculated=6DFE
Time 00:00:00.586; Frame#= 56. Unsynchronized frame...REWINDED 1178 bytes. Found new synch word
Time 00:00:00.597; Frame#= 57. Some basic parameters changed between Frame #55 and this frame
Time 00:00:00.597; Frame#= 57. Crc error SILENCED: read = 4FFB; calculated=1418
Time 00:00:00.608; Frame#= 58. Unsynchronized frame...SKIPPED 90 bytes. Found new synch word
Time 00:00:00.618; Frame#= 59. Some basic parameters changed between Frame #57 and this frame
Time 00:00:00.618; Frame#= 59. Crc error SILENCED: read = 7E92; calculated=759D
Time 00:00:00.629; Frame#= 60. Unsynchronized frame...REWINDED 2686 bytes. Found new synch word
Time 00:00:00.640; Frame#= 61. Some basic parameters changed between Frame #59 and this frame
Time 00:00:00.640; Frame#= 61. Crc error SILENCED: read = 986F; calculated=02B0
Time 00:00:00.650; Frame#= 62. Unsynchronized frame...REWINDED 1060 bytes. Found new synch word
Time 00:00:00.661; Frame#= 63. Some basic parameters changed between Frame #61 and this frame
Time 00:00:00.661; Frame#= 63. Crc error SILENCED: read = 007B; calculated=50A2
Time 00:00:00.672; Frame#= 64. Unsynchronized frame...REWINDED 1932 bytes. Found new synch word
Time 00:00:00.682; Frame#= 65. Some basic parameters changed between Frame #63 and this frame
Time 00:00:00.682; Frame#= 65. Crc error SILENCED: read = E069; calculated=53D2
Time 00:00:00.693; Frame#= 66. Unsynchronized frame...REWINDED 1268 bytes. Found new synch word
Time 00:00:00.704; Frame#= 67. Some basic parameters changed between Frame #65 and this frame
Time 00:00:00.704; Frame#= 67. Crc error SILENCED: read = E7CF; calculated=2E1C
Time 00:00:00.714; Frame#= 68. Unsynchronized frame...REWINDED 1618 bytes. Found new synch word
Time 00:00:00.725; Frame#= 69. Some basic parameters changed between Frame #67 and this frame
Time 00:00:00.725; Frame#= 69. Crc error SILENCED: read = C328; calculated=441F
Too Many Errors. Stop Logging.
Number of written frames = 202844
Number of Errors= 607898
"
then when i run it into eac3to again i get this
"eac3to v2.45
command line: eac3to d:\temp\vc1\audio1_fixed.ddp d:\temp\vc1\audio.wavs -sonic
------------------------------------------------------------------------------
The format of the source file could not be detected.
"
I have searched for days now for answers and I am stumped if anyone can help me out i would really appreciate it.
i also have my main audio file available from rapidshare
http://rapidshare.com/files/114658575/audio1.part1.rar
http://rapidshare.com/files/114652825/audio1.part2.rar
Beastie Boy
13th May 2008, 20:31
I've started with evodemux and got the audio (ddp) and video (vc1) fine
You have more chance of success if you use eac3to for the whole process. Load you m2ts or EVO files into eac3to and take it from there. See the first post for some example command lines, or check out the thread for eac3to_and_more_gui
Cheers, Beastie.
madshi
13th May 2008, 20:48
@OHB, your audio file is AC3 and not E-AC3. You can trust in what eac3to tells you about it. But you named the file "*.ddp". Now ddp stands for Dolby Digital Plus which is another term for E-AC3. That means you've named the file incorrectly. That doesn't matter for eac3to cause eac3to (mostly) ignores the file extension of source files. However, delaycut depends on the file having the correct file extension. So take the original audio file (*not* the one delaycut produced!), rename it to something.ac3 and then run it through delaycut again.
P.S: Furthermore you shouldn't really use Sonic for AC3 and E-AC3 decoding. Sonic is a bad decoder to use for that format (see first post of this thread). Use Nero or libav instead. Or just leave the decision to eac3to instead of forcing a specific decoder.
wildchild22
13th May 2008, 21:02
Is there a way you can leave the last end of sequence code in the file at the very end of the movie? I am asking because I like to let my istar hd 1.3 play a file right through then repeat and now where the end of sequence code is removed when encoding to mkv it just plays a black screen without audio or video after the movie finishes. ( I do this to make sure the movie plays all the way though before I watch anything with my wife. Too many bad movie nights with the 169time mod for directv for her to ever trust any high definition playback)
What is your video format? Do you plan to use the BD's as they are or have you convert them to mkv?
HDMI 1.3 is useful if you need to transfer TrueHD, DTS-HD or LPCM (and decoded FLAC) audio. Otherwise you can use spdif for AC3 and DTS or analog for all the previous.
Hi nautilus,
Thanks for your reply. Yes, I intended just for the BD movies. But I still don't get the idea behind and I believed I must miss something here...
So with this tool, I will able to convert the TrueHD audio to the format I mentioned before via SPDIF out to our receiver, right? So this is probably a solution for interim means before we are fully able to send TrueHD via HDMI 1.3 to receiver or someone just prefer without TrueHD receiver, right? Also, after the conversion completed, do we need to do another conversion to convert it back in order to send the TrueHD out?
Thank you.
nautilus7
13th May 2008, 22:48
Audio conversion is needed for pc playback for 2 reasons:
1. No available directshow decoders for e-ac3, truehd, dts-hd
2. It's impossible to transmit these formats through spdif for decoding by the receiver.
If you want to play your Blu-ray movies (either backed up on your hard disc as they are or directly from the discs) you don't need any conversions. Simply use powerdvd or another player and set audio output to hdmi.
If you want to back up your blu-rays as a different format (matroska .mkv) and play them from your htpc, you need to use eac3to.
If you just want to back up your blu-rays and also strip the extras from them (or unwanted audio streams) use tsmuxer (no audio conversions needed).
If you want to create movie back ups with blu-ray structure from whatever source also use tsmuxer (perhaps you need to do some audio conversions).
Audio conversion is needed for pc playback for 2 reasons:
1. No available directshow decoders for e-ac3, truehd, dts-hd
2. It's impossible to transmit these formats through spdif for decoding by the receiver.
If you want to play your Blu-ray movies (either backed up on your hard disc as they are or directly from the discs) you don't need any conversions. Simply use powerdvd or another player and set audio output to hdmi.
If you want to back up your blu-rays as a different format (matroska .mkv) and play them from your htpc, you need to use eac3to.
If you just want to back up your blu-rays and also strip the extras from them (or unwanted audio streams) use tsmuxer (no audio conversions needed).
If you want to create movie back ups with blu-ray structure from whatever source also use tsmuxer (perhaps you need to do some audio conversions).
Got it. On the other words, in the mean time since software, PDVD8 is down streaming 24/48 and hardware, no HDMI 1.3 audio card available yet, I can use this conversion and make the BD TrueHD audio to different audio format and output it to our pre-amp via SPDIF.
thanks for the help guys i got audio to ac3 using the main evo file. Thanks beastie boy. now im facing another little problem with getting audio to sync up with video in scenarist. im following the steps thoroughly changing the audio to 23.976 for vc1 but the output m2ts file has syncing issue
gregt
14th May 2008, 06:42
Madshi,
I know Nero 8 has been discussed here previously, but I was wondering why eac3to is not able to use it's codecs. I am able to use them in GraphEdit to render most hidef files (like vc1, h264 - some times I have to change the extension to mpeg2). I just use 'File Source (Async)' -> 'Nero Video Decoder HD' -> 'Video Renderer'. The filter is located at 'Nero\DSFilter\NeVideoHD.ax". So why can't eac3to utilize Nero 8 filter's?
Also, this may not be of interest to anyone, but a feature that I would like is an option to convert to wmv utilizing the Windows Media Video 9 Avanced Profile instead of mkv. I can find no use for mkv, whereas, wmv allows me to use Zune or WMP11 to play hi-def movies over my 802.11n wireless network with no degradation from my computer to my Xbox 360s. Right now converting mkv to wmv using Windows Media Encoder takes 12-16 hours for a single hi-def movie. I found another tool that can do it in 3-4 hours, but it costs $40 plus it is an additional step plus they will not allow me to move my license to another computer without paying for it again (:mad:). The WM SDK is free so it is just the time for coding it into eac3to. Any thoughts on this?
Finally, the new changes for vob seem to be working well, but I am having a lot of issues with gaps and the audio being out of sync on various movies and TV shows. I have tried with and without gaps for the following DVD movies to no avail:
Blade Runner, Escape from New York, RoboCop, Terminator and also TV show Stargate SG1 Season 6.
Oddly, I had no problems with Stargate SG1 Season 5,8,9 (DVD structure looks the same as season 6) where gaps were detected and I reran eac3to to add them in. Just as a note Nero Recode was able to read and recode Season 6 with no problem, but it is 15x slower than eac3to.
Thanks for all your work on a great and useful tool!
dorati
14th May 2008, 16:23
By default, eac3to removes dialog normalization.
I convert my Audio-Files to AC3 5.1. The Source Files have dialnorm: -27db.
For what is the remove?
In my created AC3 the Dialog has other Volume? Why not take the default?
thanks for the help guys i got audio to ac3 using the main evo file. Thanks beastie boy. now im facing another little problem with getting audio to sync up with video in scenarist. im following the steps thoroughly changing the audio to 23.976 for vc1 but the output m2ts file has syncing issue
and another thing i just realized is that my video length is 214:43:04 and audio length is 147:48:10 any ideas how to fix this?
Yraen
14th May 2008, 22:26
Madshi,
I know Nero 8 has been discussed here previously, but I was wondering why eac3to is not able to use it's codecs. I am able to use them in GraphEdit to render most hidef files (like vc1, h264 - some times I have to change the extension to mpeg2). I just use 'File Source (Async)' -> 'Nero Video Decoder HD' -> 'Video Renderer'. The filter is located at 'Nero\DSFilter\NeVideoHD.ax". So why can't eac3to utilize Nero 8 filter's?
That's the video filters. Those aren't used by eac3to. Can you use the audio filters in graphedit also?
Also, this may not be of interest to anyone, but a feature that I would like is an option to convert to wmv utilizing the Windows Media Video 9 Avanced Profile instead of mkv. I can find no use for mkv, whereas, wmv allows me to use Zune or WMP11 to play hi-def movies over my 802.11n wireless network with no degradation from my computer to my Xbox 360s. Right now converting mkv to wmv using Windows Media Encoder takes 12-16 hours for a single hi-def movie. I found another tool that can do it in 3-4 hours, but it costs $40 plus it is an additional step plus they will not allow me to move my license to another computer without paying for it again (:mad:). The WM SDK is free so it is just the time for coding it into eac3to. Any thoughts on this?
When you use WMV 9 you're converting the video, using mkv you're just placing the video, in it's original form, inside a container. Eac3to doesn't convert the video, it just demuxes/muxes it.
thanks for the help guys i got audio to ac3 using the main evo file.
Main evo file or files? Usually there are two files you'll need to get the entire video and audio.
and another thing i just realized is that my video length is 214:43:04 and audio length is 147:48:10 any ideas how to fix this?
See above, most likely the problem. Try this route:
eac3to "path to movie folder"
Find the titleset you want to demux from.
eac3to "path to movie folder" #)
Replace # with the number of the titleset you want. Now find the tracks listed you want to demux.
eac3to "path to movie folder" #) #: movie.mkv -options #audio.ac3 -options #: chapters.txt
Replace the new # with the number beside the tracks you want.
Those should get you the tracks you want without having to type out the path and file names for the individual evo files.
Main evo file or files? Usually there are two files you'll need to get the entire video and audio.
See above, most likely the problem. Try this route:
eac3to "path to movie folder"
Find the titleset you want to demux from.
eac3to "path to movie folder" #)
Replace # with the number of the titleset you want. Now find the tracks listed you want to demux.
eac3to "path to movie folder" #) #: movie.mkv -options #audio.ac3 -options #: chapters.txt
Replace the new # with the number beside the tracks you want.
Those should get you the tracks you want without having to type out the path and file names for the individual evo files.
its all one big huge evo file sitting at about 12GB. eac3to demuxes the 2 tracks that are in the file no problem. i then try to run the vc1 file into muigenerator and it gives me an error when i run in scenarist. so i clean the track with vc1conv and then run it through muigenerator and then load it up in scenarist and it takes it fine. I do the same for the ac3 file and that loads up fine. the problem that i'm having is that when i mux everything through scenarist again the m2ts file has audio and video off sync. i've tried even runing eac3togui and getting the same results
Yraen
15th May 2008, 02:21
its all one big huge evo file sitting at about 12GB. eac3to demuxes the 2 tracks that are in the file no problem. i then try to run the vc1 file into muigenerator and it gives me an error when i run in scenarist. so i clean the track with vc1conv and then run it through muigenerator and then load it up in scenarist and it takes it fine. I do the same for the ac3 file and that loads up fine. the problem that i'm having is that when i mux everything through scenarist again the m2ts file has audio and video off sync. i've tried even runing eac3togui and getting the same results
What movie is it? If I've got it I'll take a look at it. Every HD-DVD I've got is split up into 2 files, most close to or over 20GB total.
If you go from eac3to to mkv, is the audio and video in sync? Are the times then reported correctly?
bigdog660
15th May 2008, 02:54
I've ran into a few movies where there is just one EVO file. Not common, but I've seen it in about 5 movies out of 30 or so.
What movie is it? If I've got it I'll take a look at it. Every HD-DVD I've got is split up into 2 files, most close to or over 20GB total.
It's an adult movie
If you go from eac3to to mkv, is the audio and video in sync? Are the times then reported correctly?
haven't tried to go to mkv yet, i will try it now once i figure out the command string
Chouonsoku
15th May 2008, 07:46
I just demuxed Nine Inch Nails: Ghosts I-IV and noticed that eac3to downsampled the audio from 96kHz to 48kHz when it was encoded to FLAC.
eac3to v2.46
command line: eac3to "F:\Video\NINE INCH NAILS _ GHOSTS I_IV" 1) 1: chapters.txt 2: video.h264 3: english.flac
------------------------------------------------------------------------------
M2TS, 1 video track, 1 audio track, 1:50:17
1: Chapters, 36 chapters
2: h264/AVC, 1080p24 /1.001 (16:9)
3: RAW/PCM, English, 2.0 channels, 24 bits, 96khz
Creating file "chapters.txt"...
[v02] Extracting video track number 2...
[a03] Extracting audio track number 3...
[a03] Reading RAW/PCM...
[a03] Swapping endian...
[a03] Encoding FLAC...
[v02] Creating file "video.h264"...
[a03] Creating file "english.flac"...
Video track 2 contains 158662 frames.
eac3to processing took 25 minutes, 40 seconds.
Done.
Is that something that's done automatically? If so, shouldn't that be something that would be done at a users discretion? When I encode my audio track to FLAC, I want to maintain the exact quality of the source audio. Not degrade it to save space.
madshi
15th May 2008, 08:35
Is there a way you can leave the last end of sequence code in the file at the very end of the movie?
That should be possible.
now im facing another little problem with getting audio to sync up with video in scenarist.
and another thing i just realized is that my video length is 214:43:04 and audio length is 147:48:10 any ideas how to fix this?
i then try to run the vc1 file into muigenerator and it gives me an error when i run in scenarist. so i clean the track with vc1conv and then run it through muigenerator and then load it up in scenarist and it takes it fine.
What does all this have to do with eac3to? Please don't ask in this thread about how to use Scenarist or muigenerator. Please post here about strictly eac3to related questions/problems/suggestions, only. I've never used Scenarist or muigenerator myself yet, so I can't help with that. What you might want to test is to let eac3to mux your movie into an MKV. If that works fine then eac3to probably does everything correctly. If you still have problems with Scenarist or other tools then the problem probably lies outside of eac3to.
why can't eac3to utilize Nero 8 filter's?
When I last tried Nero 8, the audio decoder was not accessible outside of Nero ShowTime. Not in eac3to and also not in GraphEdit. If things changed then that is nice! But I'd like to have confirmation from at least 2 different persons about that before I take the time to install Nero 8 again...
Also, this may not be of interest to anyone, but a feature that I would like is an option to convert to wmv utilizing the Windows Media Video 9 Avanced Profile instead of mkv.
You mean reencoding? That's outside of the scope of what eac3to is about. I'm not considering adding such features at this point in time.
Finally, the new changes for vob seem to be working well, but I am having a lot of issues with gaps and the audio being out of sync on various movies and TV shows. I have tried with and without gaps for the following DVD movies to no avail:
Blade Runner, Escape from New York, RoboCop, Terminator and also TV show Stargate SG1 Season 6.
Oddly, I had no problems with Stargate SG1 Season 5,8,9 (DVD structure looks the same as season 6) where gaps were detected and I reran eac3to to add them in.
I don't have any of these DVDs (I only buy Blu-Rays these days). So the list of titles doesn't help me much. If you want me to fix this problem I need more detailed information. The first thing to do would be to compare all the DVDs which show these problems. Do they all behave similar in some way? E.g. do you always get only audio gaps and no video gaps? Or always only video gaps and no audio gaps? Also do the gaps always occur directly on the join points of the VOB files? What happens if you ignore the gaps, is audio sync wrong/correct then? What happens if you let eac3to fix the gaps, is audio sync wrong/correct then? Finally, if you found a pattern in where things go wrong exactly, I'd probably need a little sample...
By default, eac3to removes dialog normalization.
I convert my Audio-Files to AC3 5.1. The Source Files have dialnorm: -27db.
For what is the remove?
In my created AC3 the Dialog has other Volume? Why not take the default?
Some of this is explained in the first post of this thread. For general information about dialog normalization please do a google search. Thanks.
I just demuxed Nine Inch Nails: Ghosts I-IV and noticed that eac3to downsampled the audio from 96kHz to 48kHz when it was encoded to FLAC.
The log you posted does not indicate that downsampling was done. Why do you think that eac3to downsampled the audio? eac3to normally doesn't downsample unless you ask it to. Is the final FLAC file signaled as being 48kHz? If so, that's most probably a bug. And in that case probably the FLAC doesn't play correctly?
BlackJack1
15th May 2008, 13:03
I asked before but no answer... :-(
I can not drag'n'drop eac3to app. and hddvd/bd files to cmd window on Vista system on my laptop. Do you know how to fix it? In desktop machine with WinXP - no problem...
Please help.
Sorry if it's noob question.
bonanza
15th May 2008, 13:31
Hi,
My commandline:
eac3to.exe "C:\Users\x\Desktop\lowen.ac3" "C:\Users\x\Desktop\lowen_x.ac3" -448 -slowdown
Error: "This audio conversion is not supported."
Why ? I just want to slowdown this AC3.
Im using "eac3to v2.46" and "EAC3to Conversion Utility v2.00" (GUI)
thx for your help in advance!
tenkai
15th May 2008, 18:42
madshi, are u planning to import Bluray Sub demuxing? It would be a amazing feature.. i could stick to eac3to only ;)
greets
cghebert
15th May 2008, 19:20
Hi all,
First time poster but I have been following the thread on and off for a while. I recently got one of the new geforce 8200 motherboards that can send multichannel LPCM over HDMI and have been trying to get it setup properly. I am currently running it in XP SP3. I was able to create a 6 channel FLAC file no problem using eac3, and it plays fine in MPC with madflac. However, for some reason my receiver thinks it is getting a 7.1 channel file, instead of a 5.1 channel file, and the surround right and left channels come out of the surround back right and surround back left channels (I have a 7.1 system), while the surround left and right speakers are silent. All the other speakers (including sub), seem to work fine, except for stuttering, which is most certainly a driver issue, since it happens for all audio tracks.
What I'm trying to figure out is whether this is a another driver issue (quite possibly), or an issue related to how eac3 encodes the tracks. Maybe it is encoding the side surrounds as the back surrounds? This seems unlikely and I can't seem to find any reason why eac3 would, but hopefully someone can chime in and shed some light on the situation.
idbirch2
15th May 2008, 20:16
i then try to run the vc1 file into muigenerator and it gives me an error when i run in scenarist. so i clean the track with vc1conv and then run it through muigenerator and then load it up in scenarist and it takes it fine. I do the same for the ac3 file and that loads up fine. the problem that i'm having is that when i mux everything through scenarist again the m2ts file has audio and video off sync. If you process your video with vc1conv, you must change the framerate of your audio in Sceanarist to 23.976. When you first import it into Scenarist, it will be set to 29.97.
Thunderbolt8
15th May 2008, 20:51
btw. is chapter demuxing for blu-rays (and HD DVDs) already supported? cant remember that atm. if not would it be possible to add this function then, should be nice for concerts (otherwise you'd have to write down the time when each title begins and then search for it manually).
in case if not, does anyone know then if another tool can already do that, so that I could demux chapters and use them for .mkv remuxing? thanks!
Yraen
15th May 2008, 21:26
btw. is chapter demuxing for blu-rays (and HD DVDs) already supported?
Yes it is.
Thunderbolt8
15th May 2008, 21:44
also for blu-ray? just tried "eac3to X:\00076.m2ts", main movie file for face-off, but no chapters displayed.
tried it with the complete movie directory then "eac3to X:\face", but nothing there as well, listed were only the .pls and .m2ts file for the main movie and the audio+video specifications.
or do maybe not all discs include chapters at all?
edit: eac3to X:\dir 1) then did it -.-
another question, which files are needed to have chapter demuxing working? the main movie file(s) of course, but which else? I guess its enough just to additionally have the directory structure and then certain info files for each type? which are these exactly?
Yraen
15th May 2008, 22:14
another question, which files are needed to have chapter demuxing working? the main movie file(s) of course, but which else? I guess its enough just to additionally have the directory structure and then certain info files for each type? which are these exactly?
eac3to x:\folder will list the .mpls files and the .m2ts files they correspond to. You need those .mpls files and probably the folder structure.
Thunderbolt8
15th May 2008, 22:21
can I give the chapter files any name and ending I like to? apparently the mkvmerge chapter editor recognizes them as such, no matter which name I choose. do I have to be beware of anything else when muxing chapters? or is it just as easy as adding video+audio+chapters in mkvmerge and then just mux, without having to specify or change anything?
Yraen
15th May 2008, 22:33
Name it what you want. It's going to be written in the same format regardless, one that mkvmerge accepts. In mkvmerge it is as easy as adding it all in and muxing. There are a few titles out there that will list more chapters than they actually have, so you might end up with more chapter points than if you watched the disc in a BD player.
nautilus7
15th May 2008, 23:18
I have a suggestion/proposal regarding chapters.
In HD DVD there's a possibility the chapters to have or not names and in blu-ray not such thing. Anyway, when chapter names aren't available haali media splitter displays them like in the 1st screen. But when names are available, even if they are chapter 1, chapter 2, etc are displayed like in screen 2, which in my opinion is much prettier. So, what i want to ask is eac3to to add names (chapter 1, chapter 2, etc) when they aren't available from the source.
http://img213.imageshack.us/img213/6398/nonamesyp0.th.png (http://img213.imageshack.us/my.php?image=nonamesyp0.png)http://img505.imageshack.us/img505/438/namesex6.th.png (http://img505.imageshack.us/my.php?image=namesex6.png)
Thunderbolt8
15th May 2008, 23:25
Name it what you want. It's going to be written in the same format regardless, one that mkvmerge accepts. In mkvmerge it is as easy as adding it all in and muxing. There are a few titles out there that will list more chapters than they actually have, so you might end up with more chapter points than if you watched the disc in a BD player.
is there any way to check this? i mean checking against a program which lists it correctly (bdedit?)
usually it shouldnt matter that much, but when it comes to concert stuff it should better work lile 1 chapter = 1 music title on the disc.
I have a suggestion/proposal regarding chapters.
In HD DVD there's a possibility the chapters to have or not names and in blu-ray not such thing. Anyway, when chapter names aren't available haali media splitter displays them like in the 1st screen. But when names are available, even if they are chapter 1, chapter 2, etc are displayed like in screen 2, which in my opinion is much prettier. So, what i want to ask is eac3to to add names (chapter 1, chapter 2, etc) when they aren't available from the source.
agree, would be much easier for music stuff again, then one wouldnt always have to count from top or bottom down-/upwards when for example looking title 12 of 20.
Yraen
15th May 2008, 23:33
is there any way to check this? i mean checking against a program which lists it correctly (bdedit?)
usually it shouldnt matter that much, but when it comes to concert stuff it should better work lile 1 chapter = 1 music title on the disc.
Yes. BDedit will show it to you. Go to the playlist tab, select the correct mpls and in the playlist mark section at the bottom is the chapters. entry-mark are chapters and link point are something else, a link of some type to that spot in the movie. Terminator 3 is one that is loaded with link points, 2-3 per entry point, resulting in 97 chapters.
I have a suggestion/proposal regarding chapters.
A good suggestion. If madshi doesn't want to or can't get it, I can get the gui to check and write the chapter names upon creation.
nautilus7
15th May 2008, 23:51
Ok, thanks Yraen.
I have a problem converting chcken little blu-ray to mkv. I get glitches in the 10 first seconds of the video. After that everything is fine. I made a sample (http://www.sendspace.com/file/5421g7). Tried different decoders/renderers during playback, nothing changed.
When i muxed (to mkv) the complete source file, i got an error that haali muxer can't handle the source, and used -seektoIfrmaes switch. This error popped quite deep into the file, so i don't thing it's related. Sample doesn't make haali muxer complain, anyway.
If you process your video with vc1conv, you must change the framerate of your audio in Sceanarist to 23.976. When you first import it into Scenarist, it will be set to 29.97.
did it already still same output. but maybe its not registering. i dont know
Chouonsoku
16th May 2008, 01:43
The log you posted does not indicate that downsampling was done. Why do you think that eac3to downsampled the audio? eac3to normally doesn't downsample unless you ask it to. Is the final FLAC file signaled as being 48kHz? If so, that's most probably a bug. And in that case probably the FLAC doesn't play correctly?
MediaInfo, dbPowerAmp, Winamp and foobar all saw the file as 48kHz. I had to demux the audio track to PCM and then encode to FLAC with eac3to after forcing all the settings.
eac3to v2.46
command line: "E:\Tools\HD\eac3to\eac3to.exe" "F:\Video\NINE INCH NAILS _ GHOSTS I_IV\demux\english.pcm" "F:\Video\NINE INCH NAILS _ GHOSTS I_IV\demux\english.flac" -96000 -override -24 -big -2
------------------------------------------------------------------------------
RAW/PCM, 2.0 channels, 1:50:18, 24 bits, 96khz
Reading RAW/PCM...
Swapping endian...
Encoding FLAC...
Creating file "F:\Video\NINE INCH NAILS _ GHOSTS I_IV\demux\english.flac"...
eac3to processing took 13 minutes, 31 seconds.
Done.
When the PCM file was demuxed, eac3to wasn't reading the file at all, so I had to force the options.
Edit: Another go at demuxing, resulted in a 48 kHz wav file.
eac3to v2.46
command line: eac3to "F:\Video\NINE INCH NAILS _ GHOSTS I_IV\" 1) 1: chapters.txt 2: video.h264 3: audio.wav
------------------------------------------------------------------------------
M2TS, 1 video track, 1 audio track, 1:50:17
1: Chapters, 36 chapters
2: h264/AVC, 1080p24 /1.001 (16:9)
3: RAW/PCM, English, 2.0 channels, 24 bits, 96khz
Creating file "chapters.txt"...
[v02] Extracting video track number 2...
[a03] Extracting audio track number 3...
[a03] Reading RAW/PCM...
[a03] Swapping endian...
[a03] Writing WAV...
[v02] Creating file "video.h264"...
[a03] Creating file "audio.wav"...
[a03] Caution: The WAV file is bigger than 2GB.
[a03] Some WAV readers might not be able to handle this file correctly.
Video track 2 contains 158662 frames.
eac3to processing took 38 minutes, 29 seconds.
Done.
Patsfan123
16th May 2008, 05:04
Quick question, when I am converting a PCM track to FLAC directly from a Blu-ray disc, do I need to use the -blu-ray switch, or will the program recognize that it is a blu-ray from the disc structure?
Chouonsoku
16th May 2008, 05:16
Quick question, when I am converting a PCM track to FLAC directly from a Blu-ray disc, do I need to use the -blu-ray switch, or will the program recognize that it is a blu-ray from the disc structure?
eac3to will see it is a Blu-Ray disc from the file structure and remap channels accordingly.
rkorkie
16th May 2008, 16:26
In a previous post in this thread (#4588), the error I've encountered on the Top Gun HD DVD still exists:
"The libav DTS decoder doesn't decode the 7th channel".
Just a friendly reminder that the bug still exists, in case anyone is interested. I will wait for a bugfix before I process this one.
Here is the log:
Extracting Tracks from "FEATURE_1.EVO"+"FEATURE_2.EVO"
EVO, 1 video track, 5 audio tracks, 6 subtitle tracks, 1:49:38
1: Joined EVO file
2: h264/AVC, 1080p24 /1.001 (16:9) with pulldown flags
3: TrueHD, 5.1 channels, 48khz, dialnorm: -27dB, -84ms
4: DTS-ES, 6.1 channels, 24 bits, 768kbit/s, 48khz, -84ms
5: E-AC3, 5.1 channels, 768kbit/s, 48khz, dialnorm: -27dB, -84ms
6: E-AC3, 5.1 channels, 448kbit/s, 48khz, dialnorm: -27dB, -84ms
7: E-AC3, 5.1 channels, 448kbit/s, 48khz, dialnorm: -27dB, -84ms
8: Subtitle
9: Subtitle
10: Subtitle
11: Subtitle
12: Subtitle
13: Subtitle
[a04] The libav DTS decoder doesn't decode the 7th channel.
eac3to crashed...
madshi
16th May 2008, 17:12
Finally, the new changes for vob seem to be working well, but I am having a lot of issues with gaps and the audio being out of sync on various movies and TV shows.
P.S: Does eac3to detect the problematic DVDs to have pulldown flags? If so, please try using the "-keepPulldown" switch. Maybe that helps getting rid of the issues? I suspect that maybe those DVDs have mixed video/film content which eac3to may fail to properly detect. If that is the case the "-keepPulldown" switch should fully solve the problem.
I asked before but no answer... :-(
I can not drag'n'drop eac3to app. and hddvd/bd files to cmd window on Vista system on my laptop. Do you know how to fix it?
I've no idea. I don't think this is a problem I can fix in eac3to.
My commandline:
eac3to.exe "C:\Users\x\Desktop\lowen.ac3" "C:\Users\x\Desktop\lowen_x.ac3" -448 -slowdown
Error: "This audio conversion is not supported."
Why ? I just want to slowdown this AC3.
Works for me. Can you please post the full log text? Please don't type it. Please copy&paste it. Thanks.
madshi, are u planning to import Bluray Sub demuxing?
Yes.
First time poster but I have been following the thread on and off for a while. I recently got one of the new geforce 8200 motherboards that can send multichannel LPCM over HDMI and have been trying to get it setup properly. I am currently running it in XP SP3. I was able to create a 6 channel FLAC file no problem using eac3, and it plays fine in MPC with madflac. However, for some reason my receiver thinks it is getting a 7.1 channel file, instead of a 5.1 channel file, and the surround right and left channels come out of the surround back right and surround back left channels (I have a 7.1 system), while the surround left and right speakers are silent. All the other speakers (including sub), seem to work fine, except for stuttering, which is most certainly a driver issue, since it happens for all audio tracks.
What I'm trying to figure out is whether this is a another driver issue (quite possibly), or an issue related to how eac3 encodes the tracks. Maybe it is encoding the side surrounds as the back surrounds? This seems unlikely and I can't seem to find any reason why eac3 would, but hopefully someone can chime in and shed some light on the situation.
Hmmmm... This may be a bug in madFlac or in the driver. Don't know for sure. It's definitely not a bug in eac3to. Can you please post a report in the madFlac thread?
I have a suggestion/proposal regarding chapters.
In HD DVD there's a possibility the chapters to have or not names and in blu-ray not such thing. Anyway, when chapter names aren't available haali media splitter displays them like in the 1st screen. But when names are available, even if they are chapter 1, chapter 2, etc are displayed like in screen 2, which in my opinion is much prettier. So, what i want to ask is eac3to to add names (chapter 1, chapter 2, etc) when they aren't available from the source.
I generally don't like the idea of manipulating our precious muxes just to work around how a specific filter behaves. What happens if in 6 months there's a new filter (or a new version of Haali's filter) which works differently? Maybe that new filter shows "chapter xyz" by itself - and in the locale language of the OS? The muxes we create today would then not be able to make use of that. Instead we'd see the hardcoded english text.
Still if the majority of you guys prefer to have eac3to fill in a "dummy" chapter text, I can add that. So let me know your opinion. Also, would you prefer "chapter" to be written as "Chapter" or as "chapter"?
I have a problem converting chcken little blu-ray to mkv. I get glitches in the 10 first seconds of the video. After that everything is fine. I made a sample (http://www.sendspace.com/file/5421g7). Tried different decoders/renderers during playback, nothing changed.
Thanks, will give that a try.
In a previous post in this thread (#4588), the error I've encountered on the Top Gun HD DVD still exists:
"The libav DTS decoder doesn't decode the 7th channel".
Just a friendly reminder that the bug still exists, in case anyone is interested. I will wait for a bugfix before I process this one.
Are you sure that you're using eac3to v2.46? Please check the log file to make sure. I don't understand why you should have this problem. It works for me with an external DTS-ES file at least. Don't have an EVO file ready with a DTS-ES track in it, though.
MediaInfo, dbPowerAmp, Winamp and foobar all saw the file as 48kHz. I had to demux the audio track to PCM and then encode to FLAC with eac3to after forcing all the settings.
When the PCM file was demuxed, eac3to wasn't reading the file at all, so I had to force the options.
Edit: Another go at demuxing, resulted in a 48 kHz wav file.
Hmmmm... I've checked, I don't have a m2ts sample here with 96kHz PCM in it. Would you mind uploading a little sample for me? 20MB should do the trick. Thanks!
nautilus7
16th May 2008, 17:42
I generally don't like the idea of manipulating our precious muxes just to work around how a specific filter behaves. What happens if in 6 months there's a new filter (or a new version of Haali's filter) which works differently? Maybe that new filter shows "chapter xyz" by itself - and in the locale language of the OS? The muxes we create today would then not be able to make use of that. Instead we'd see the hardcoded english text.
Still if the majority of you guys prefer to have eac3to fill in a "dummy" chapter text, I can add that. So let me know your opinion. Also, would you prefer "chapter" to be written as "Chapter" or as "chapter"?
I see your point. It's not a big deal though... We can always add chapter names manually afterwards (or use alternates like Yraen's GUI), so it doesn't really matter. (It's just a came across a movie with ~50 chapters recently and i was bored adding the names :p )
Anyway, if you are for it, i vote for capital C.
rkorkie
16th May 2008, 18:57
Are you sure that you're using eac3to v2.46? Please check the log file to make sure. I don't understand why you should have this problem. It works for me with an external DTS-ES file at least. Don't have an EVO file ready with a DTS-ES track in it, though.!
Yes, I just checked the changelog and I'm using 2.46. Are there any other suggestions or command lines you'd like me to try to see if I can fix this? Is there a way to splice an EVO file and upload it so we can test on a smaller chunk?
madshi
16th May 2008, 21:42
Yes, I just checked the changelog and I'm using 2.46. Are there any other suggestions or command lines you'd like me to try to see if I can fix this? Is there a way to splice an EVO file and upload it so we can test on a smaller chunk?
You could use a hexeditor to create a small sample. Or you could let EvoDemux rebuild the EVO - and then abort the rebuilding process after 20MB are created and then upload those 20MB.
EPiPH0NE
16th May 2008, 21:56
Yes, I just checked the changelog and I'm using 2.46. Are there any other suggestions or command lines you'd like me to try to see if I can fix this? Is there a way to splice an EVO file and upload it so we can test on a smaller chunk?
Or for a cleaner way you can use HDBDsplit.
rkorkie
16th May 2008, 22:06
You could use a hexeditor to create a small sample. Or you could let EvoDemux rebuild the EVO - and then abort the rebuilding process after 20MB are created and then upload those 20MB.
I have a 20MB file ready. Where should I upload? I'd rather not use rapidshare or things like that. Do you have an anonymous FTP or something?
rkorkie
16th May 2008, 22:11
Or for a cleaner way you can use HDBDsplit.
I just tried HDBDSplit and it couldn't process the EVO. Said it couldn't write the files. fyi.
Yraen
16th May 2008, 23:50
madshi,
I've been thinking about the blank chapters. If you don't want to include it in eac3to I can add a user input to allow the user to change "Chapter" to whatever they wish. If you do include it, I vote capital C also. :)
stinman
17th May 2008, 00:02
Hi,I been trying to get eac3to to work for me but for the life of me I can not!:mad: A guy said to use eac3to find the play list along with the mlp audio tracks and then just bring the ones you choose up with TsmuxeR.I have the 2.46 version of eac3to,the command line and the gui.He said to use the command line version to get what I want.I do not want to re encode anything,I just want to cut it down in size,like get rid of extras and all the other lang and stuff.I have eat up all most 1.5 tbs of Hdd space.The command line version is in my program files,thats where I un zipped it to.What would be the exact command to use to get it to read the play list from a Blu-Ray disk from the drive or the folder.I have Dejau on my "L" hard drive,blu-ray ripped with AnydvdHD.I have other iso's also on same drive.I do not know how to write commands.Can you help me?Thanks
Mark
stinman
17th May 2008, 00:31
Dejavu has a bunch of chapters I guess because there is 7 or 8 m2ts files with 4gbs and under.I tried for hours last night to get eac3to give me a reading from the disk when it was in the DVD\HDDVD\BD\ multi drive by LG that I have.I could get a cmd to pop up with info on it but it would not stay.I started thinking that uac was stopping it but I believe I just do not know the proper commands.If I can see a command I can use it and remember it.So madshi what commands make this program work.All I want to do is see the playlist in the cmd window.Can you help me achieve this? I will be at your command,HaHa
Mark
EPiPH0NE
17th May 2008, 00:59
I just tried HDBDSplit and it couldn't process the EVO. Said it couldn't write the files. fyi.
Hmmm..Never had problem with it but then again I haven't used it a while. Oh well, whatever.
madshi
17th May 2008, 08:35
I have a 20MB file ready. Where should I upload? I'd rather not use rapidshare or things like that. Do you have an anonymous FTP or something?
I'd suggest SendSpace. If you don't like that you can also reduce the sample size to < 10MB and email it to dear (at) madshi (dot) net.
madshi
17th May 2008, 08:36
Hi,I been trying to get eac3to to work for me but for the life of me I can not!:mad: A guy said to use eac3to find the play list along with the mlp audio tracks and then just bring the ones you choose up with TsmuxeR.I have the 2.46 version of eac3to,the command line and the gui.He said to use the command line version to get what I want.I do not want to re encode anything,I just want to cut it down in size,like get rid of extras and all the other lang and stuff.I have eat up all most 1.5 tbs of Hdd space.The command line version is in my program files,thats where I un zipped it to.What would be the exact command to use to get it to read the play list from a Blu-Ray disk from the drive or the folder.I have Dejau on my "L" hard drive,blu-ray ripped with AnydvdHD.I have other iso's also on same drive.I do not know how to write commands.Can you help me?
Well, you'll have a hard time using the command line tool if you don't know how to use the command line generally. I'd suggest trying the GUI here:
http://forum.doom9.org/showthread.php?t=135095
BlackJack1
17th May 2008, 13:06
I did two times dts core extraction from BD Kingdom Of Heaven and no success.
First time:
eac3to v2.46
command line: "C:\Program Files\eac3to\eac3to.exe" "K:\HD\Kingdom of Heaven DC Blu-Ray 1080p MPEG2 DTS-HD\BDMV\STREAM\00000.m2ts"+"K:\HD\Kingdom of Heaven DC Blu-Ray 1080p MPEG2 DTS-HD\BDMV\STREAM\00001.m2ts" 1: m:\hd\chapters.txt 3: m:\hd\kingdom.dts -core
------------------------------------------------------------------------------
M2TS, 1 video track, 1 audio track, 3:09:33
1: Chapters, 63 chapters
2: MPEG2, 1080p24 /1.001 (16:9)
3: DTS Master Audio, English, 5.1 channels, 24 bits, 48khz
Creating file "m:\hd\chapters.txt"...
[a03] Extracting audio track number 3...
[a03] Extracting DTS core...
[a03] Creating file "m:\hd\kingdom.dts"...
[a03] This TS/M2TS file seems to be damaged (discontinuity).
[a03] You can use the "-ignoreDiscon" switch to make eac3to ignore discontinuities.
[a03] Doing that might result in artifacts during playback, though.
Aborted at file position 20160348160.
And used -ignoreDiscon worse result:
eac3to v2.46
command line: "C:\Program Files\eac3to\eac3to.exe" "K:\HD\Kingdom of Heaven DC Blu-Ray 1080p MPEG2 DTS-HD\BDMV\STREAM\00000.m2ts"+"K:\HD\Kingdom of Heaven DC Blu-Ray 1080p MPEG2 DTS-HD\BDMV\STREAM\00001.m2ts" 3: m:\hd\kongdom.dts -core -ignoreDiscon
------------------------------------------------------------------------------
M2TS, 1 video track, 1 audio track, 3:09:33
1: Chapters, 63 chapters
2: MPEG2, 1080p24 /1.001 (16:9)
3: DTS Master Audio, English, 5.1 channels, 24 bits, 48khz
[a03] Extracting audio track number 3...
[a03] Extracting DTS core...
[a03] Creating file "m:\hd\kingdom.dts"...
[a03] This TS/M2TS file seems to be damaged (discontinuity).
[a03] This doesn't seem to be a valid PES packet.
Aborted at file position 20160348160.
BD rip is fine according to man did it and plays using PowerDVD smootly...so I do not know what to thing about it :confused:
Used newest eac3to build.
Yraen
17th May 2008, 14:14
[a03] This TS/M2TS file seems to be damaged (discontinuity).
Best bet is to rip it again. Players are generally more forgiving. I've got a couple of discs that won't rip but will play.
BlackJack1
17th May 2008, 15:33
Reriping is not possible - I friend sold it already... :(
nautilus7
17th May 2008, 16:45
Try xport
Snowknight26
17th May 2008, 22:34
I don't think a sample will help. This looks like a real damage in the source file. A missing sync byte is a very simple check. There's not really a big chance that eac3to has a bug in this situation.
Is this a one part movie? Or does the movie consist of multiple m2ts files? In the latter case check the file size of all m2ts parts. Are they all divisible by 192?
Got another one of those sync byte errors (would test with an earlier version of eac3to but I don't have them) one a one part film. Reripped it, still the same thing. Used xport to demux the DTS MA, then ran it through eac3to:
W:\Encoding Tools\eac3to>eac3to.exe disc1.dtshd disc1.flac
DTS Master Audio, 5.1 channels, 24 bits, 48khz, dialnorm: -4dB
Removing dialog normalization...
Decoding with DirectShow (Sonic Audio Decoder)...
DirectShow reports 5.1 channels, 24 bits, 48khz
Encoding FLAC...
Creating file "disc1.flac"...
This track is not clean. Processing aborted.
Please clean the track with delaycut and then retry eac3to.
Aborted at file position 181780480.
So lets see.. since delaycut doesn't handle DTS variants apart from DTS itself, I would say that that line should be removed/altered. Either that or some kind of -skipErrors switch. :p
nautilus7
18th May 2008, 00:15
You can use delaycut to spot the position and how big the problem is. If it's 1-2 frames you can use a hex editor to edit (correct) the dts frame header, so it can be processed by eac3to. PM me here or at HD... if you want any kind of help.
Yraen
18th May 2008, 01:42
Reriping is not possible - I friend sold it already... :(
Just to let you know it is a bad rip.
eac3to v2.46
command line: "D:\editing apps\eac3to\2.46\eac3to.exe" "H:\HD\KINGDOM_OF_HEAVEN\" 1) 3: "N:\test\audio.dts" -core
------------------------------------------------------------------------------
M2TS, 1 video track, 1 audio track, 3:09:33
1: Chapters, 63 chapters
2: MPEG2, 1080p24 /1.001 (16:9)
3: DTS Master Audio, English, 5.1 channels, 24 bits, 48khz
Audio gap description file detected, will be used for processing...
[a03] Extracting audio track number 3...
[a03] Extracting DTS core...
[a03] Realizing DTS gaps...
[a03] Creating file "N:\test\audio.dts"...
Video track 2 contains 272688 frames.
eac3to processing took 15 minutes, 56 seconds.
Done.
I got a gaps file, but no discontinuity errors.
Snowknight26
18th May 2008, 02:55
You can use delaycut to spot the position and how big the problem is. If it's 1-2 frames you can use a hex editor to edit (correct) the dts frame header, so it can be processed by eac3to. PM me here or at HD... if you want any kind of help.
What I'm saying is, delaycut doesn't handle DTS-HD MA, so eac3to's suggestion to use delaycut on that track is pointless.
nautilus7
18th May 2008, 10:56
What I'm saying is, delaycut doesn't handle DTS-HD MA, so eac3to's suggestion to use delaycut on that track is pointless.
Yeah, sorry... I read your post too quickly! :D
Thunderbolt8
18th May 2008, 20:36
madshi could it be possible that there are different kind of chapters (for HD DVDs)? there seem to be no chapters displayed for the eagles live HD DVD, although some internet page said that disc is supposed to have 29 ones.
nautilus7
18th May 2008, 20:45
can you post/upload the.xpl file?
Thunderbolt8
18th May 2008, 21:37
nvm, now it works doh -.-
do you happen to know if those chapter files have a special file structure which is recognized by mkvmerge, or would it be the same if I just create a new random file and copy & paste the info into it?
Yraen
18th May 2008, 21:44
Just use eac3to and extract only the chapters file. Copy and paste won't work, not from the .xpl file.
Beastie Boy
19th May 2008, 09:59
I wanted to create a 640kb/s AC3 file from a TrueHD track on Bluray. Here is my log file:
eac3to v2.46
command line: "C:\Program Files\eAC3to\eac3to.exe" "H:\BDMV\STREAM\00011.m2ts" 4: "D:\HD_Working\REE.ac3"
------------------------------------------------------------------------------
M2TS, 2 video tracks, 8 audio tracks, 1:34:06
1: Chapters, 16 chapters
2: h264/AVC, 1080p24 /1.001 (16:9)
3: h264/AVC, 480p24 /1.001 (20:11)
4: TrueHD/AC3, English, 5.1 channels, 48khz
5: AC3, Czech, 5.1 channels, 448kbit/s, 48khz, dialnorm: -30dB
6: AC3, Hungarian, 5.1 channels, 448kbit/s, 48khz, dialnorm: -29dB
7: AC3, Hindi, 5.1 channels, 448kbit/s, 48khz, dialnorm: -28dB
8: AC3, Polish, 5.1 channels, 448kbit/s, 48khz, dialnorm: -27dB
9: AC3, English, 5.1 channels, 448kbit/s, 48khz, dialnorm: -28dB
10: AC3, English, 2.0 channels, 192kbit/s, 48khz, dialnorm: -29dB
11: E-AC3, English, 1.0 channels, 96kbit/s, 48khz
[a04] Extracting audio track number 4...
[a04] Extracting AC3 stream...
[a04] Creating file "D:\HD_Working\REE.ac3"...
Video track 2 contains 135360 frames.
Video track 3 contains 135360 frames.
eac3to processing took 34 minutes, 29 seconds.
It seems eac3to has extracted the core 448kbit track instead of encoding a new one from the lossless data, and I can confirm the the output is 448kbit..
Is there anyway to go straight from Bluray TrueHD to 640kbit AC3? Perhaps the -core switch could be used to specify that the core AC3 track is required.
Cheers, Beastie.
nautilus7
19th May 2008, 11:52
It must be the 1st blu-ray with TrueHD/AC3 stream that the AC3 part isn't 640 kbps! :D Which movie is it?
Since you need a 640 kbps one, try:
eac3to "H:\BDMV\STREAM\00011.m2ts" 4: "D:\HD_Working\REE.ac3" -640
and if that doesn't work, do it in 2 steps:
eac3to "H:\BDMV\STREAM\00011.m2ts" 4: "D:\HD_Working\REE.thd"
eac3to ree.thd ree.ac3
Beastie Boy
19th May 2008, 12:23
It must be the 1st blu-ray with TrueHD/AC3 stream that the AC3 part isn't 640 kbps! :D Which movie is it?
Resident Evil Extinction. I'm currently creating a 16bit wav file usind -down16, which I will then transcode to AC3. One thing I notice is that the output file is called REE.24bit.wav despite the output being forced to 16bit. Not a big deal I know, but I thought I would mention it.
Cheers, Beastie.
Edit: On completion, the file is simply called REE.wav anyway.
Thunderbolt8
19th May 2008, 20:19
have now encountered a DTS-ES track for the first time, what do I have to enter as file ending when I want to keep the track 100% original? just .dts as the same for normal .dts tracks? or should I just use the -demux command? I dont want to decode it accidently to something of lower quality
nautilus7
19th May 2008, 22:24
Resident Evil Extinction. I'm currently creating a 16bit wav file using -down16, which I will then transcode to AC3. One thing I notice is that the output file is called REE.24bit.wav despite the output being forced to 16bit. Not a big deal I know, but I thought I would mention it.
Cheers, Beastie.
Edit: On completion, the file is simply called REE.wav anyway.
Why did you decode to wav and why did you reduce the bit depth? The command lines i suggested you will produce a better (since you 'll use the full 24 bit info from the TrueHD) and faster since you do Truehd decoding and encoding AC3 in 1 step.
nautilus7
19th May 2008, 22:28
have now encountered a DTS-ES track for the first time, what do I have to enter as file ending when I want to keep the track 100% original? just .dts as the same for normal .dts tracks? or should I just use the -demux command? I dont want to decode it accidentally to something of lower quality
.dts is fine. :)
banker_rishad
20th May 2008, 05:58
Madshi doesnot know anything
Beastie Boy
20th May 2008, 07:53
Why did you decode to wav and why did you reduce the bit depth? The command lines i suggested you will produce a better (since you 'll use the full 24 bit info from the TrueHD) and faster since you do Truehd decoding and encoding AC3 in 1 step.
I was toying with the idea of just keeping the wav and muxing that into my TS file. I decoded to wav to see what the resultant file size would be. I don't think the AC3 encoding process would retain 24bit (or even 20bit) information anyway, so I figured there would be no quality difference.
Cheers, Beastie.
Geleodor
20th May 2008, 08:51
Snowknight26 it looks like there is a 3-frames gap for audio in Kingdom of Heaven, between first and second part...at leest audio seems to be in sync in second part when -125ms delay put
nautilus7
20th May 2008, 11:25
Madshi doesnot know anything
What? :eek:
Bluestraw
20th May 2008, 14:53
Madshi doesnot know anythingYou're probably right - he seems to know EVERYTHING :D
BLKMGK
20th May 2008, 22:17
Weird error on National Treasure 2 ->
D:\Video\eac3to>eac3to x:\BDMV\STREAm\00429.m2ts 1: f:\nat\chap.txt 2: f:\naT\nat-vid.mkv 4: f:\nat\nat-aud.ac3 -640 -libav
This doesn't seem to be a valid DTS file.
M2TS, 2 video tracks, 7 audio tracks, 2:04:32
1: Chapters, 19 chapters
2: h264/AVC, 1080p24 /1.001 (16:9)
3: h264/AVC, 480p24 /1.001 (20:11)
4: TrueHD/AC3, English, 5.1 channels, 48khz
5: AC3, English, 2.0 channels, 192kbit/s, 48khz
6: AC3, French, 5.1 channels, 640kbit/s, 48khz
7: AC3, Spanish, 5.1 channels, 640kbit/s, 48khz
8: AC3, Portuguese, 5.1 channels, 640kbit/s, 48khz
9: AC3, Thai, 5.1 channels, 640kbit/s, 48khz
10: AC3, English, 2.0 channels, 192kbit/s, 48khz, dialnorm: -27dB
Creating file "f:\nat\chap.txt"...
[v02] Extracting video track number 2...
[a04] Extracting audio track number 4...
[a04] Extracting TrueHD stream...
[a04] Encoding AC3...
[v02] Muxing video to Matroska...
[a04] Creating file "f:\nat\nat-aud.ac3"...
------------------
Appears to be decoding correctly right now, will report back if I see anything else odd. Is a 2hour movie so it will take me awhile to compress but thought I'd warn folks. <shrug>
P.S Don't feed the Trolls:thanks:
boykster
21st May 2008, 00:04
BLKMGK: are you referring to the
This doesn't seem to be a valid DTS file.
as the wierd error? I saw something similar when I processed Untraceable
C:\__movies>eac3to h: 1)
This doesn't seem to be a valid DTS file.
M2TS, 2 video tracks, 5 audio tracks, 1:41:00
1: Chapters, 16 chapters
2: h264/AVC, 1080p24 /1.001 (16:9)
3: h264/AVC, 480p24 /1.001 (20:11)
4: TrueHD/AC3, English, 5.1 channels, 48khz
5: TrueHD/AC3, French, 5.1 channels, 48khz
6: AC3, Spanish, 5.1 channels, 448kbit/s, 48khz, dialnorm: -29dB
7: AC3, Portuguese, 5.1 channels, 448kbit/s, 48khz, dialnorm: -30dB
8: AC3, English, 2.0 channels, 192kbit/s, 48khz, dialnorm: -30dB
It converted and played fine, so :confused:
Snowknight26
21st May 2008, 01:23
If it says the DTS track is invalid, it won't show up in the stream list, even if it is present.
It might be playing fine because you are converting the other audio tracks instead of the DTS track.
BLKMGK
21st May 2008, 01:26
Yup exactly, it's encoding now so no worries. When I tried to do the second video on the disk I got a TON of overlap errors and the result, after the second pass, wouldn't play. <shrug> It's just the director's extras stuff and consisted of like 10 different files of wildly differing sizes. First I've had like that - it was a mess! Was all of 40mins long too (lol)
Yraen
21st May 2008, 03:58
Weird error on National Treasure 2 ->
This doesn't seem to be a valid DTS file.
Appears to be decoding correctly right now, will report back if I see anything else odd. Is a 2hour movie so it will take me awhile to compress but thought I'd warn folks. <shrug>
Funny thing is, here (http://bluray.highdefdigest.com/1355/nationaltreasurebookofsecrets.html#Section4) it doesn't show a DTS track for that movie. Does the box say anything about a DTS track?
boykster
21st May 2008, 05:54
Funny thing is, here (http://bluray.highdefdigest.com/1355/nationaltreasurebookofsecrets.html#Section4) it doesn't show a DTS track for that movie. Does the box say anything about a DTS track?
Same with Untraceable (http://bluray.highdefdigest.com/1136/untraceable.html#Section4) - no DTS track listed on the box, or in any review I could find.
<shrug>
madshi
21st May 2008, 08:57
I have a problem converting chcken little blu-ray to mkv. I get glitches in the 10 first seconds of the video. After that everything is fine.
Can you reproduce the glitches with the sample? I'm asking because I can't. The sample you provided converts to MKV for me just fine - and plays perfectly with both CoreAVC and Cyberlink (Haali Media Splitter).
You're probably right - he seems to know EVERYTHING :D
I wish that was true!! :)
Weird error on National Treasure 2 ->
This doesn't seem to be a valid DTS file.
I saw something similar when I processed Untraceable
This doesn't seem to be a valid DTS file.
Could I have a short sample (20MB should be plenty) of either National Treasure 2 or Untraceable (or both)? Thanks!
nautilus7
21st May 2008, 11:09
Can you reproduce the glitches with the sample? I'm asking because I can't. The sample you provided converts to MKV for me just fine - and plays perfectly with both CoreAVC and Cyberlink (Haali Media Splitter).
Yes, i can reproduced the problem with the sample, but it plays fine with Cyberlink decoder (which i didn't test :( ). So, it's a decoder issue. I'll post to ffdshow thread, but i think they can't do anything (since mpc's internal decoder behaves the same, which means it's an ffmpeg problem).
Anyway, thanks for your time man!
madshi
21st May 2008, 13:09
Yes, i can reproduced the problem with the sample, but it plays fine with Cyberlink decoder (which i didn't test :( ). So, it's a decoder issue. I'll post to ffdshow thread, but i think they can't do anything (since mpc's internal decoder behaves the same, which means it's an ffmpeg problem).
Two questions:
(1) Have you tested CoreAVC? Testing with Cyberlink is not a proof yet, since there have been cases where Cyberlink gracefully played bad MKV muxes (created by mkvtoolnix) while CoreAVC showed artifacts. So a good test is always to try both Cyberlink and CoreAVC. If both show a perfect artifact free image, usually the mux should be fine.
(2) Does the problem also occur with the original m2ts file? If yes, that would be the proof that the decoder is at fault and not the MKV remux.
nautilus7
21st May 2008, 14:05
1. CoreAVC decoded the sample fine.
2. Can't play the m2ts file in mpc (i can't play any .m2ts file in mpc - don't know why, they just load but nothing happens), but it plays fine in powerdvd and nero showtime.
richard99uk
21st May 2008, 16:47
Sorry if this is a basic question. I'm not new to transcoding, but I've never tried to transcode TrueHD before.
I'm having some trouble converting an HD DVD file so I can play it back on my PS3.
eac3to v2.46
command line: "C:\Users\me\Desktop\New Folder\eac3to.exe" "C:\appleseed\L0_Main_MERGED.rebuilt.EVO" "C:\appleseed\L0_Main_MERGED.rebuilt.ac3"
------------------------------------------------------------------------------
EVO, 2 video tracks, 3 audio tracks, 2 subtitle tracks, 0:35:14
1: h264/AVC, 1080p24 /1.001 (16:9) with pulldown flags
2: h264/AVC, 480i60 /1.001 (15:11), -17ms
3: TrueHD, 5.1 channels, 48khz, dialnorm: -27dB, -83ms
4: E-AC3, 5.1 channels, 1023kbit/s, 48khz, dialnorm: -27dB, -83ms
5: E-AC3, 2.0 channels, 384kbit/s, 48khz, dialnorm: -28dB, -83ms
6: Subtitle
7: Subtitle
Track 3 is used for destination file "L0_Main_MERGED.rebuilt.ac3".
[a03] Extracting audio track number 3...
[a03] Removing dialog normalization...
[a03] Applying RAW/PCM delay...
[a03] Encoding AC3...
[a03] Creating file "C:\appleseed\L0_Main_MERGED.rebuilt.ac3"...
[libav] No restart header present in substream 0.
[a03] The libav decoder reported an error while decoding.
Aborted at file position 12588384256.
I'm trying to decode track 3 -- the others are alternate language and director's commentary. I've tried ripping just track 3 to an .evo file, but the error is the same.
I've read that I can decode TrueHD audio if I have Nero 7 and the HD/ Blu Ray plugin, but as far as I know, Nero 7 isn't sold any more.
I also have the movie on regular DVD, which has the normal ac3 track, but the problem is that the HD video and the DVD-ripped audio don't play in sync together.
I'm not sure of what I can do to get these files to play together in sync, so I would be really grateful for any help on how I can get around this problem (regardless of if it's TrueHD, ac3 or not).
Thanks. Any help is really appreciated! :)
Yraen
23rd May 2008, 03:25
Sorry if this is a basic question. I'm not new to transcoding, but I've never tried to transcode TrueHD before.
I'm having some trouble converting an HD DVD file so I can play it back on my PS3.
eac3to v2.46
command line: "C:\Users\me\Desktop\New Folder\eac3to.exe" "C:\appleseed\L0_Main_MERGED.rebuilt.EVO" "C:\appleseed\L0_Main_MERGED.rebuilt.ac3"
------------------------------------------------------------------------------
Have you tried using eac3to on the source .evos instead of a rebuilt one? You might try that and then report any error you get (if any).
Could I have a short sample (20MB should be plenty) of either National Treasure 2 or Untraceable (or both)? Thanks!
National Treasure 2 sample (http://www.sendspace.com/file/btu93t)
BLKMGK
23rd May 2008, 04:12
Yraen, did you also see the error? Thank you for doing the sample, I only just now saw that it was requested!
Yraen
23rd May 2008, 09:55
The error is there, even in that small of a sample.
madshi
23rd May 2008, 10:32
Thanks for the National Treasure 2 sample. I can confirm that there is a DTS track in the movie - it's the audio track of the PiP content. And that DTS track is really strange. It doesn't contain any conventional DTS elements. I mean there's no core. There are only DTS-HD packets in the stream. eac3to doesn't know what to do with that kind of track, that's why you see the complaint in the log. You don't need to worry, this is really only the PiP audio.
Have you guys noticed that this is one of the first Blu-Rays with a *TRUE* PiP video/audio stream in it? As you can see in the eac3to log, a secondary h264 video stream is detected. That's the first Blu-Ray I've seen with a 2ndary video track!
Geleodor
23rd May 2008, 10:41
as far as I know DTS-Express is used in PiP, not DTS-HD...
saint-francis
23rd May 2008, 12:38
Have you guys noticed that this is one of the first Blu-Rays with a *TRUE* PiP video/audio stream in it? As you can see in the eac3to log, a secondary h264 video stream is detected. That's the first Blu-Ray I've seen with a 2ndary video track!
What do you mean by "true"? The Golden Compass has a second video track which is PiP. Is it the same thing?
madshi
23rd May 2008, 13:08
as far as I know DTS-Express is used in PiP, not DTS-HD...
Never heard of "DTS-Express" yet. What I can say is that the data packages in the PiP audio stream have the same "signature" (first for bytes) for each audio block as the additional DTS-HD audio packages in a DTS-HD stream have. Is there a DTS-Express specification available somewhere?
What do you mean by "true"? The Golden Compass has a second video track which is PiP. Is it the same thing?
Yeah, that should be the same. It seems that PiP is beginning to be spread for Blu-Ray now.
richard99uk
23rd May 2008, 14:24
Have you tried using eac3to on the source .evos instead of a rebuilt one? You might try that and then report any error you get (if any).
Thanks Yraen. By 'the source .evos', do you mean the streams ripped off the HD DVD (by AnyDVD) or do you mean I should copy the contents of the disc on to the hard disk?
Also, the original is actually two files -- that's why I rebuilt it instead of using eac3to directly on the file. Are there any extra commands I need to tell eac3 to move on to the second file automatically?
Thanks again for your help!:)
Beastie Boy
23rd May 2008, 15:18
Are there any extra commands I need to tell eac3 to move on to the second file automatically?
See the first post of this thread for examples, or check out Yraen's GUI in the eac3to_and_more_gui thread. It's easier than you think :)
EPiPH0NE
23rd May 2008, 17:01
Is there .mpls support planned or I am doing something wrong?
Beastie Boy
23rd May 2008, 17:21
Is there .mpls support planned or I am doing something wrong?
mpls support is there is is tranparrent. Point eac3to to the folder containing all the BluRay files and it will list all the titles, with info showing which m2ts files are joined, and the streams they contain.
Using eac3to_and_more_gui makes it easy using the 'Add Folder' button.
Cheers, Beastie.
EPiPH0NE
23rd May 2008, 18:25
mpls support is there is is tranparrent. Point eac3to to the folder containing all the BluRay files and it will list all the titles, with info showing which m2ts files are joined, and the streams they contain.
Using eac3to_and_more_gui makes it easy using the 'Add Folder' button.
Cheers, Beastie.
I usually use Eac3to_and_More_GUI, I was just trying to add the MPLS file by itself. I'll give your way a try...thanks :)
Sephiroth0000
23rd May 2008, 19:30
To the countless geniuses on here I have a question,
I currently use EAC3TO for pretty much everything (even converting the EVO to MKV). However I would like to know what video codec is used within the MKV container and if it is possible to use H264 as the video codec within the MKV.....anyone got any advice?
Beastie Boy
23rd May 2008, 19:38
To the countless geniuses on here I have a question,
I currently use EAC3TO for pretty much everything (even converting the EVO to MKV). However I would like to know what video codec is used within the MKV container and if it is possible to use H264 as the video codec within the MKV.....anyone got any advice?
eac3to muxes the existing video into a mkv container, there is no transcoding. If h264 goes in, h264 comes out. Same for VC1 and MPEG2.
Cheers, Beastie.
Sephiroth0000
23rd May 2008, 19:43
eac3to muxes the existing video into a mkv container, there is no transcoding. If h264 goes in, h264 comes out. Same for VC1 and MPEG2.
Cheers, Beastie.
Anyway to force out H264?
Cheers Beastie really appreciate this.
Beastie Boy
23rd May 2008, 19:47
Anyway to force out H264?
If the source isn't h264 (as can be seen in eac3to stream listing) then load the mkv into meGUI avisynth script creator, or RipBot264. Then convert the video to h264 and mux with your audio into the container of your choice.
Sorry, but re-encoding is the only way to change video codec, and it can be very slow. It usually takes my machine 20-24 hours for 1080p video.
Cheers, Beastie.
Sephiroth0000
23rd May 2008, 19:50
If the source isn't h264 (as can be seen in eac3to stream listing) then load the mkv into meGUI avisynth script creator, or RipBot264. Then convert the video to h264 and mux with your audio into the container of your choice.
Sorry, but re-encoding is the only way to change video codec, and it can be very slow. It usually takes my machine 20-24 hours for 1080p video.
Cheers, Beastie.
No no no you get me wrong....I want it to be H264 within an MKV container. The file im starting with is EVO.
Beastie Boy
23rd May 2008, 20:01
No no no you get me wrong....I want it to be H264 within an MKV container. The file im starting with is EVO.
Yes, yes yes, I am understanding correctly :)
If the EVO contains VC1, then the only way to get h264 into an mkv file is to re-encode. How are you playing the file? VC1 works perfectly well in mkv. Do you need h264?
Cheers, Beastie.
onesloth
23rd May 2008, 20:03
No no no you get me wrong....I want it to be H264 within an MKV container. The file im starting with is EVO.
That's exactly what Beastie described. It sounds like you don't know exactly what "h.264 within an MKV container" means. EVO and MKV are containers. An EVO file ripped from an HD disk might have video encoded to either the MPEG2, h.264, or VC-1 video standards. eac3to can take your video from an EVO container and put it in a MKV container but it can't transcode the video from VC-1 or MPEG2 to h.264. Like Beastie said, you would have to use an encoder, like meGUI, to transcode an EVO file's contents.
tman24
23rd May 2008, 20:18
I've been backing up my blu-ray disks to mkv containters using eac3to (latest build).
I've had plenty of success with PCM audio tracks, and even extracting DTS Core audio from DTS-HDMA tracks. I'm now trying to convert DTSMA tracks to FLAC format using the Sonic decoder before muxing to MKV. Trouble is, when eac3to starts the job, it just seems to hang. Plenty of CPU activity, but hardly any disk I/O. Here's any example of the output if I use eac3to to demux;
C:\Temp>eac3to 00001.m2ts 1: 00001.mkv 2: 00001.flac
M2TS, 1 video track, 6 audio tracks, 1:31:50
1: h264/AVC, 1080p24 /1.001 (16:9)
2: DTS Master Audio, 5.1 channels, 24 bits, 48khz, -9ms
3: DTS, 5.1 channels, 24 bits, 768kbit/s, 48khz, -9ms
4: AC3, 5.1 channels, 384kbit/s, 48khz, dialnorm: -27dB, -9ms
5: AC3, 5.1 channels, 384kbit/s, 48khz, dialnorm: -27dB, -9ms
6: AC3, 2.0 channels, 224kbit/s, 48khz, dialnorm: -27dB, -9ms
7: AC3, 2.0 channels, 224kbit/s, 48khz, dialnorm: -27dB, -9ms
[v01] Extracting video track number 1...
[a02] Extracting audio track number 2...
[v01] Muxing video to Matroska...
[a02] Decoding with DirectShow (Sonic Audio Decoder)...
[a02] DirectShow reports 5.1 channels, 24 bits, 48khz
[a02] Applying RAW/PCM delay...
[a02] Encoding FLAC...
There's no progress bar or anything. I normally use xport to split the raw video/audio, but that doesn't make any difference even if I just try and recode the audio.
Here's the output of eac3to -test
D:\Movies>eac3to -test
Nero Audio Decoder (Nero 7 or older) doesn't seem to be installed
Sonic Audio Decoder (4.2.0.102) works fine
Haali Media Splitter (2008-3-29) is installed
Surcode DTS Encoder doesn't seem to be installed
MkvToolnix (v2.2.0) is installed
CPU is a dual-core Athlon. Am I missing something here?
nautilus7
23rd May 2008, 20:35
Sonic Audio Decoder (4.2.0.102)
I don't know why, but this is the problem. Update to version 4.3 and you'll be fine.
Sephiroth0000
23rd May 2008, 20:38
That's exactly what Beastie described. It sounds like you don't know exactly what "h.264 within an MKV container" means. EVO and MKV are containers. An EVO file ripped from an HD disk might have video encoded to either the MPEG2, h.264, or VC-1 video standards. eac3to can take your video from an EVO container and put it in a MKV container but it can't transcode the video from VC-1 or MPEG2 to h.264. Like Beastie said, you would have to use an encoder, like meGUI, to transcode an EVO file's contents.
I am aware of what video codecs are and how they work. I just thought maybe EAC3T0 could of given me that option....apparently not. Thankyou for your input though.
tman24
23rd May 2008, 20:40
I don't know why, but this is the problem. Update to version 4.3 and you'll be fine.
Thanks for the tip. Any idea where I can get this from now? PM would be appreciated.
nautilus7
23rd May 2008, 20:46
I am working on it! :D
Inventive Software
24th May 2008, 05:01
I am aware of what video codecs are and how they work. I just thought maybe EAC3T0 could of given me that option....apparently not. Thankyou for your input though.
eac3to does NO video re-encoding, only audio. ;)
inmetzi
24th May 2008, 10:40
Hello madshi
Iīm using a self written DOS script. Now I have the problem that eac3to founds gaps and want me to recall script line. With this eac3to didīnt find the file, DOS did it:
IF EXIST "*ac3*english*5*1*.gaps" (
EAC3TO "*ac3*english*5*1*.ac3" english.ac3
)
But if I rename it for example to english.gaps and english.ac3 eac3to didīnt find again the gaps file.
In DOS I can use the "*" but eac3to ignores it. Can you give me an alternative joker?
:thanks: Bernd
tebasuna51
24th May 2008, 11:59
Hello madshi
Iīm using a self written DOS script. Now I have the problem that eac3to founds gaps and want me to recall script line. With this eac3to didīnt find the file, DOS did it:
IF EXIST "*ac3*english*5*1*.gaps" (
EAC3TO "*ac3*english*5*1*.ac3" english.ac3
)
But if I rename it for example to english.gaps and english.ac3 eac3to didīnt find again the gaps file.
In DOS I can use the "*" but eac3to ignores it. Can you give me an alternative joker?
If you have DOS extensions you can use the FOR command:
FOR %%V IN (*.gaps) DO eac3to "%%~nV.ac3" "%%~nV_2.ac3"
Now DOS supply the full name to eac3to.
Mark_A_W
24th May 2008, 15:52
Madshi
Version 2.46 didn't seem to add FPS value to MKV header for a VC-1 HD-DVD (Syriana). Playback was jerky.
Version 2.36 did (yes it's been that long since I bought a disc..), and playback was smooth.
Am I missing something? Sorry, I'm 80 pages behind, I've skimmed them, but things move so fast. I've read about some pulldown changes, but I don't think that's the issue (?).
Thanks
Mark
EDIT: I tried it again with 2.46 and the FPS were added. Sorry, please ignore.
Thunderbolt8
24th May 2008, 16:28
hm I remuxed the monster blu-ray with 2.46 (which is VC-1 as well) and I have no playback problems
nautilus7
24th May 2008, 16:36
I also used v2.46 for H.264 and Mpeg-2 video recently. Fps value was written to the mkv header.
Today, i've met with a problem. The default audio is Japanese on Red Dragon HD-DVD.
Normally i directly demux audio of HD-DVDs with EAC3to but it selects the first audio. (AFA i understand)
I gave it a go with TSRemux which seems to recognize some audio files but after demuxing , TSMuxer doesn't accept this re-created ac3 file.
Is there any way to select any audio with eac3to?
Thunderbolt8
24th May 2008, 17:14
of course, when specifying the .evo file(s) or also the playlists with corresponding evo files you can manually choose the single track with 1: 2: 3:... and then choose what to do with it
Thanks Thunderbolt8 but i'm using eac3to conv. gui v2.00 and haven't seen any option?
Do i need another gui or shall i have to make this on command line?
Thunderbolt8
24th May 2008, 17:48
im not really familiar with the gui, as working with the command line is much more fun for me :P
Can you pls give me the command line?
An SS i mean?
This is the command line which gui creates:
"C:\Users\rica\Desktop\EAC3to\eac3to.exe" "F:\RED_DRAGON_G41\HVDVD_TS\FEATURE_2.EVO" "C:\Users\rica\Desktop\feature_2.ac3"
How should i modify this?
Thunderbolt8
24th May 2008, 18:07
im not sure if I understood you correctly what you want to do. do you only want to demux another .ac3 track from the disc other than the standard track?
btw. from the screenshot it looks to me you are only treating the 2nd .evo file, leaving out the 1st one?
saint-francis
24th May 2008, 18:11
@ rica,
Just use this (http://forum.doom9.org/showthread.php?t=135095)tool.
If you are fond of command lines and repetitive typing you can learn the eac3to syntax from the command lines the GUI makes.
btw. from the screenshot it looks to me you are only treating the 2nd .evo file, leaving out the 1st one?
correct.
The answer of your question BTW:
I am trying to demux english core ac3.
@ rica,
Just use this (http://forum.doom9.org/showthread.php?t=135095)tool.
If you are fond of command lines and repetitive typing you can learn the eac3to syntax from the command lines the GUI makes.
Thanks i know this gui but it didn't seem to me user friendly.
Thunderbolt8
24th May 2008, 18:40
I am trying to demux english core ac3.from which track?
from which track?
From this track:
http://img515.imageshack.us/img515/7986/tbff7.jpg
Thunderbolt8
24th May 2008, 22:01
is it possible to extract a core from a DD+ track? i only know this from DTS-HD or trueHD tracks. I guess you just want to convert DD+ to DD ?
then type it like that "....\eac3to feature_2.evo 3: ...\file.ac3" and if you want to specify a certain bitrate, for 640 kbits for example "-640" at the end of it like"....\eac3to feature_2.evo 3: ...\file.ac3 -640"
Mark_A_W
24th May 2008, 23:58
Madshi
Version 2.46 didn't seem to add FPS value to MKV header for a VC-1 HD-DVD (Syriana). Playback was jerky.
Version 2.36 did (yes it's been that long since I bought a disc..), and playback was smooth.
Am I missing something? Sorry, I'm 80 pages behind, I've skimmed them, but things move so fast. I've read about some pulldown changes, but I don't think that's the issue (?).
Thanks
Mark
Well I tried it again with 2.46 and it worked, FPS were added to the MKV header. I dunno what happened last time, sorry.
Mark
LessThanJake
25th May 2008, 00:15
madshi,
which aften-commandlines are used internally in eac3to for 5.1-AC3-encoding for the different audiostream-types.
It is just for my personal interest.
Thank you.
greets
LTJ
No success in command line...
I demuxed english audio stream with EVODemux; i got *.mpa.
Renamed it to *.ac3.
Opened it with eac3to and converted to ac3.
It worked this time.
Yraen
25th May 2008, 03:30
This is the command line which gui creates:
"C:\Users\rica\Desktop\EAC3to\eac3to.exe" "F:\RED_DRAGON_G41\HVDVD_TS\FEATURE_2.EVO" "C:\Users\rica\Desktop\feature_2.ac3"
How should i modify this?
No success in command line...
I demuxed english audio stream with EVODemux; i got *.mpa.
Renamed it to *.ac3.
Opened it with eac3to and converted to ac3.
It worked this time.
The above command should have probably read:
"C:\Users\rica\Desktop\EAC3to\eac3to.exe" "F:\RED_DRAGON_G41\HVDVD_TS\FEATURE_1.EVO"+"F:\RED_DRAGON_G41\HVDVD_TS\FEATURE_2.EVO" 4: "C:\Users\rica\Desktop\feature_2.ac3"
Eac3to doesn't automatically join the files, so you were only looking at half of the movie. That's probably why TsMuxer had problems with it. You'll notice I chose track 4 instead of 3. This is because eac3to will list track 1 as "Joined EVO file", moving all of the tracks down one on the list.
An easier way to do it in the future is to do:
eac3to "path\to\movie\folder\"
which in the above movie would read:
"C:\Users\rica\Desktop\EAC3to\eac3to.exe" "F:\RED_DRAGON_G41\"
This will get you a listing of titlesets.
1)
2)
etc.
"C:\Users\rica\Desktop\EAC3to\eac3to.exe" "F:\RED_DRAGON_G41\" 1)
This will get you a listing of all of the tracks in that movie. Just add the tracks on after the above command line to demux.
Thunderbolt8
25th May 2008, 03:51
does anyone know if certain characters in chapter files (like ? / or such) are forbidden? because I get a mkvmerge error now when I try to add chapters to a file which worked fine previously
richard99uk
25th May 2008, 05:12
Thanks for everyone's help so far, but I'm still having problems decoding the audio. Here's the log.
eac3to v2.46
command line: eac3to 01.evo+02.evo 4: appleseedac3.ac3 -libav
------------------------------------------------------------------------------
EVO, 2 video tracks, 3 audio tracks, 2 subtitle tracks, 1:44:12
1: Joined EVO file
2: h264/AVC, 1080p24 /1.001 (16:9) with pulldown flags
3: h264/AVC, 480i60 /1.001 (15:11), -17ms
4: TrueHD, 5.1 channels, 48khz, dialnorm: -27dB, -83ms
5: E-AC3, 5.1 channels, 1023kbit/s, 48khz, dialnorm: -27dB, -83ms
6: E-AC3, 2.0 channels, 384kbit/s, 48khz, dialnorm: -28dB, -83ms
7: Subtitle
8: Subtitle
[a04] Extracting audio track number 4...
[a04] Removing dialog normalization...
[a04] Applying RAW/PCM delay...
[a04] Encoding AC3...
[a04] Creating file "appleseedac3.ac3"...
[libav] No restart header present in substream 0.
[a04] The libav decoder reported an error while decoding.
Aborted at file position 12588386304.
I'm using the latest version of eac3to, as posted on the first page, and I'm using the command prompt. I have used the GUIs, but the result is the same.
This is the command I'm entering:
eac3to 01.evo+02.evo 4: appleseedac3.ac3 -libav
I'm not using a rebuilt file (although I have tried it, and tried using a .evo where the audio track is thre only track in the file).
Thanks in advance for the help.
Thanks a lot @Yraen, that was a great explanation; i'll give it a go.. :thanks:
First i got the track info:
http://img515.imageshack.us/img515/4923/001rs6.th.png (http://img515.imageshack.us/my.php?image=001rs6.png)
The track i needed was the third one.
Here is the command line:
http://img396.imageshack.us/img396/9451/002sr0.th.png (http://img396.imageshack.us/my.php?image=002sr0.png)
Thanks to thunderbolt8 and yraen :thanks:
(BTW: i might have made a spelling mistake yesterday.)
Yraen
25th May 2008, 22:11
You're close, but not quite there yet. Your first pic is correct but it's not the track listing, this is a list of the titlesets and the tracks contained within said titlesets. Madshi pointed out somewhere back in the thread here that the titleset listing is not always in the correct order, this is just the order they are listed in inside the .xpl files.
In your second pic, you only got about half of the audio you wanted. You only linked to one of the two .evo files that make up the movie. In the first pic, look to the right of the 1), you'll see the files that are joined by eac3to to demux the audio/video.
The actual command line you want is:
"C:\Users\rica\Desktop\EAC3to\eac3to.exe" "F:\RED_DRAGON_G41\" 1) 4: "C:\Users\rica\Desktop\trial.ac3"
If you're wondering why I changed it to track 4 instead of track 3 run this command line and you'll see why.
"C:\Users\rica\Desktop\EAC3to\eac3to.exe" "F:\RED_DRAGON_G41\" 1)
The folder option is better than the file option in my opinion. It offers more information and options. You could change the titleset number 1) to 2) and get the "a director's journey - making of red dragon" audio and video. Very handy if you want to back up some of the extras on the disc.
I got this already:
http://img515.imageshack.us/img515/2236/yaaren01nv9.png
But the right track info has been given in the first SS.
Track 3 was what i wanted.
http://img167.imageshack.us/img167/69/trialdu1.th.jpg (http://img167.imageshack.us/my.php?image=trialdu1.jpg)
saint-francis
26th May 2008, 00:02
I suggest we split the eac3to thread into two separate threads; one for development and related topics and one for general questions. This thread is getting enormous and finding answers by using search is surely difficult if not like trying to find a needle in a hay stack.
nautilus7
26th May 2008, 01:12
Totally agree with you.
Joniii
26th May 2008, 10:31
I've got one .ddp track that won't decode to DTS. EAC3TO gives error (this track is not clean...). I've tried DelayCut (selected fix crc errors), I always end up with file that is only about 100 Mb, original is about 1 Gb. Am I doing something wrong or is this file unrepairable?
asarian
26th May 2008, 10:34
I'm new to eac3to, and am having some trouble converting DTS-HD to AC3 for my 'Sunshine' Bluray disk. Using tsRemuxeR, I demuxed the main audio stream first, then I used the following command to convert the demuxed DTS-HD stream:
eac3to.exe 00001.track_4352.dts 00001.track_4352.ac3 -640 -down6 -8ms
When I remux the lot, what I get is a file that will not stream at all: very jittery, that is; like it's < 10 fps (TwonkyMedia). But the sound is okay! If I stream the original .m2ts file, I hear no sound (which is logical, as I use the Optical Cable on my PS3, which doesn't support DTS-HD). So, it's not a bandwidth issue; at least, none that I can think of. The new AC3 track is only about 500MB, when done. Seems fair to me; but apparently it's not. :) The new, remuxed, .m2ts file plays just fine from my hard-disk, btw.
So, what could cause this to happen? This is the output of eac3to:
DTS Master Audio, 5.1 channels, 24 bits, 48khz
The Sonic decoder doesn't seem to work, will use libav instead.
The libav DTS decoder doesn't decode the full DTS-HD information.
Extracting DTS core...
Remapping channels...
Loading white noise (needed for dithering)...
Applying RAW/PCM delay...
Encoding AC3...
Creating file 00001.track_4352.ac3...
eac3to processing took 2 minutes, 37 seconds.
Done.
Thanks.
nautilus7
26th May 2008, 11:09
I've got one .ddp track that won't decode to DTS. EAC3TO gives error (this track is not clean...). I've tried DelayCut (selected fix crc errors), I always end up with file that is only about 100 Mb, original is about 1 Gb. Am I doing something wrong or is this file unrepairable?
Make sure your delaycut version is 1.3.0.0. If you get a lot of errors, then your track might be severely damaged.
Where did you get that ddp track and how did you demux it? Re-ripping the disc might solve the problem.
nautilus7
26th May 2008, 11:17
I'm new to eac3to, and am having some trouble converting DTS-HD to AC3 for my 'Sunshine' Bluray disk. Using tsRemuxeR, I demuxed the main audio stream first, then I used the following command to convert the demuxed DTS-HD stream:
eac3to.exe 00001.track_4352.dts 00001.track_4352.ac3 -640 -down6 -8ms
When I remux the lot, what I get is a file that will not stream at all: very jittery, that is; like it's < 10 fps (TwonkyMedia). But the sound is okay! If I stream the original .m2ts file, I hear no sound (which is logical, as I use the Optical Cable on my PS3, which doesn't support DTS-HD). So, it's not a bandwidth issue; at least, none that I can think of. The new AC3 track is only about 500MB, when done. Seems fair to me; but apparently it's not. :) The new, remuxed, .m2ts file plays just fine from my hard-disk, btw.
So, what could cause this to happen? This is the output of eac3to:
DTS Master Audio, 5.1 channels, 24 bits, 48khz
The Sonic decoder doesn't seem to work, will use libav instead.
The libav DTS decoder doesn't decode the full DTS-HD information.
Extracting DTS core...
Remapping channels...
Loading white noise (needed for dithering)...
Applying RAW/PCM delay...
Encoding AC3...
Creating file 00001.track_4352.ac3...
eac3to processing took 2 minutes, 37 seconds.
Done.
Thanks.
Not sure what's wrong, but you can try the following:
* Use the original .m2ts file as input in eac3to and don't demux the track with tsmuxer.
* Don't use the -down6 switch, since both sonic and libav decoders output 6 channels.
I also suggest you use the sonic decoder (if you don't have it, buy it :p ), since it decodes the full dts-hd info, and your ac3 track will (theoretically) sound better.
asarian
26th May 2008, 13:52
Not sure what's wrong, but you can try the following:
* Use the original .m2ts file as input in eac3to and don't demux the track with tsmuxer.
* Don't use the -down6 switch, since both sonic and libav decoders output 6 channels.
I also suggest you use the sonic decoder (if you don't have it, buy it :p ), since it decodes the full dts-hd info, and your ac3 track will (theoretically) sound better.
Thanks for your extensive answer. :)
Sonic works, but, sadly, the result was the same: video drops to < 10fps. I also tried to take the original m2ts file as input, but I get
1: Chapters, 32 chapters
2: h264/AVC, 1080p24 /1.001 (16:9)
3: DTS Master Audio, English, 5.1 channels, 24 bits, 48khz, -9ms
4: AC3, English, 5.1 channels, 384kbit/s, 48khz, dialnorm: -27dB, -23ms
5: DTS, German, 5.1 channels, 24 bits, 768kbit/s, 48khz, -9ms
6: DTS, Spanish, 5.1 channels, 24 bits, 768kbit/s, 48khz, -9ms
7: AC3, English, 2.0 channels, 224kbit/s, 48khz, dialnorm: -27dB, -23ms
8: AC3, English, 2.0 channels, 224kbit/s, 48khz, dialnorm: -27dB, -23ms
Track 4 is used for destination file "00001.ac3".
Uhhm, no, I don't wanna use Track 4 (which seems to be commentary track). I want Track 3, converted to AC3, instead. Is there a way I can force eac3to to use a specific track? I couldn't find a switch for it.
I'm still baffled, though, as to why the video framerate drops so significantly in the stream. Interestingly enough, if I actually DO use track 2 + 3, within tsRemuxeR, the resulting m2ts file streams just fine (but you get the Director's Commentary dubbed over the sound). So, it almost must be related to the new AC3 stream, but I don't know why.
nautilus7
26th May 2008, 14:08
You command line should be:
eac3to input.m2ts 3: output.ac3
This way you'll get a perfect audio track. Regarding video, i can't really help since i don't use tsmuxer (your output is .m2ts, right?). I believe you should ask there (tsmuxer's thread) for an answer.
asarian
26th May 2008, 15:11
You command line should be:
eac3to input.m2ts 3: output.ac3
This way you'll get a perfect audio track. Regarding video, i can't really help since i don't use tsmuxer (your output is .m2ts, right?). I believe you should ask there (tsmuxer's thread) for an answer.
You're a brilliant man! :) It's solved now!
Actually, I don't think it was the AC3 stream at all. But taking your advice a bit further, I decided NOT to demux the video first, either, and instead just to click away everything but the H.264 VC-1 stream, and then to add the new AC3 stream. And voila! now it's perfect again.
I guess something in the demuxed video stream gets screwed up (even though it would play just fine from harddisk) that is required for proper streaming; that's why the original stream + DTS-HD would play well streamed too: because it wasn't demuxed first (and why I mistakingly thought the new audio must be at fault).
Ok, well, thank you again very much! And I'll go talk to the tsRemuxeR folks about the demuxing weirdness.
:thanks:
nautilus7
26th May 2008, 18:48
You're a brilliant man! :) It's solved now!Nice and... thanks! :)
... the H.264 VC-1 stream...Maybe a typo mistake, but it's H.264 or MPEG-4 AVC or just AVC.
VC-1 it's a complete different codec (by Microsoft).
laserfan
26th May 2008, 18:53
From Post #1 and eac3to built-in Help:
eac3to v2.46, freeware by madshi.net...
Options:
-448 use "192", "448" or "640" kbit/s for AC3 encoding...I'm one of those wierd guys that reads this stuff, and after I used BeLight/BeSweet to re-code an AC3 from 640kbps to 384kbps (to meet a filesize need) and was unhappy with the result, I tried instead eac3to w/the -384 param and it worked! The Help should be fixed--I wonder what other params could be used that it's not telling us about? :D
nautilus7
26th May 2008, 19:19
When i ask madshi about this (yes, i did exactly the same question), he told me that he didn't put all this bitrates in the 1st post/help in order not to make them long and tough to read.
Of course all legal bitrates are supported for AC3 and dts encoding.
asarian
26th May 2008, 19:20
Nice and... thanks! :)
Maybe a typo mistake, but it's H.264 or MPEG-4 AVC or just AVC.
VC-1 it's a complete different codec (by Microsoft).
Brain typo. :) Meant AVC, of course.
laserfan
27th May 2008, 04:10
When i ask madshi about this (yes, i did exactly the same question), he told me that he didn't put all this bitrates in the 1st post/help in order not to make them long and tough to read.
Of course all legal bitrates are supported for AC3 and dts encoding.Then the Help should read simply "supports all legal AC3 bitrates"!!! :p
Jaja1
27th May 2008, 12:19
Got a missing sync byte error in Finding Neverland. What's does that mean? And is there any way to repair or avoid this error?
eac3to v2.46
command line: eac3to 00000.m2ts 2:d:\Finding_1.mkv 3:d:\Finding_1.ac3
------------------------------------------------------------------------------
M2TS, 1 video track, 8 audio tracks, 0:58:34
1: Chapters, 8 chapters
2: MPEG2, 1080p24 /1.001 (16:9)
3: RAW/PCM, English, 5.1 channels, 16 bits, 48khz
4: AC3, English, 5.1 channels, 640kbit/s, 48khz
5: DTS, Italian, 5.1 channels, 24 bits, 1536kbit/s, 48khz
6: AC3, Italian, 5.1 channels, 640kbit/s, 48khz
7: DTS, German, 5.1 channels, 24 bits, 1536kbit/s, 48khz
8: AC3, German, 5.1 channels, 640kbit/s, 48khz
9: DTS, Spanish, 5.1 channels, 16 bits, 1536kbit/s, 48khz
10: AC3, Spanish, 5.1 channels, 640kbit/s, 48khz
[v02] Extracting video track number 2...
[a03] Extracting audio track number 3...
[a03] Reading RAW/PCM...
[a03] Swapping endian...
[a03] Remapping channels...
[a03] Encoding AC3...
[v02] Muxing video to Matroska...
[a03] Creating file "d:\Finding_1.ac3"...
[v02] This TS/M2TS file seems to be damaged (sync byte missing).
[a03] This TS/M2TS file seems to be damaged (sync byte missing).
Aborted at file position 3761389568.
BlackJack1
27th May 2008, 13:24
Used eac3to app. many times w/o problems before but newest version gave me undone job :)
Demuxing main video track, chapers and eac3 640 kbps track I received this:
eac3to v2.46
command line: eac3to "d:\goodfellas\hvdvd_ts\pevob_1.evo"+"d:\goodfellas\hvdvd_ts\pevob_2.evo" 2: d:\googfellas.txt 3: d:\goodfellas.mkv 4: d:\goodfellas.ac3
------------------------------------------------------------------------------
EVO, 1 video track, 5 audio tracks, 5 subtitle tracks, 2:25:27
"Feature Presentation"
1: Joined EVO file
2: Chapters, 48 chapters with names
3: VC-1, 1080p24 /1.001 (16:9) with pulldown flags
4: E-AC3, English, 5.1 channels, 640kbit/s, 48khz, dialnorm: -27dB
5: E-AC3, French, 2.0 channels, 192kbit/s, 48khz, dialnorm: -27dB
6: E-AC3, German, 2.0 channels, 192kbit/s, 48khz, dialnorm: -27dB
7: E-AC3, English, 2.0 channels, 192kbit/s, 48khz, dialnorm: -27dB
"Cast and crew commentary"
8: E-AC3, English, 2.0 channels, 192kbit/s, 48khz, dialnorm: -27dB
"Cop and crook commentary"
9: Subtitle, English
10: Subtitle, English, "SDH"
11: Subtitle, French
12: Subtitle, German
13: Subtitle, German, "SDH"
Creating file "d:\googfellas.txt"...
[v03] Extracting video track number 3...
[v03] Muxing video to Matroska...
[a04] Extracting audio track number 4...
[a04] Removing dialog normalization...
[a04] Decoding with DirectShow (Nero Audio Decoder 2)...
[a04] This track is not clean. Processing aborted.
[a04] Please clean the track with delaycut and then retry eac3to.
[a04] DirectShow reports 5.1 channels, 24 bits, 48khz
[a04] Encoding AC3...
Aborted at file position 163840.
How can I clean track with delaycut if it's not accept *.evo files...?
Jaja1
27th May 2008, 17:16
How can I clean track with delaycut if it's not accept *.evo files...?
You can demux the audiotrack with evodemux or xport. And clean it with delaycut.
Henry The Ripper
27th May 2008, 17:25
You can demux the audiotrack with evodemux or xport. And clean it with delaycut.
Does delaycut support .eac3 tracks? Witch version?
nautilus7
27th May 2008, 19:59
v1.3.0.0
http://madshi.net/delaycut.rar
Henry The Ripper
27th May 2008, 20:06
v1.3.0.0
http://madshi.net/delaycut.rar
wav, mpa, ac3 and dts files only accepted as input???
nautilus7
27th May 2008, 20:55
Select "all files" and load your eac3 file (extension must be .ddp or .eac3)
SoleBastard
27th May 2008, 23:31
I've been re-encoding some DTS-HD flacs that have been obtained from both blu-ray and HD-DVD with recent versions of eac3to. The original files are the ones that are created directly by eac3to and then them I re-encoded with 'flac 1.2.0a -8' using Foobar2000. The resulting files are usually way smaller (3.7GB -> 1.7GB and 2.0GB -> 1.5GB) while the bitrate and sample depth remains (about) the same. Why does eac3to creates these hugely inflated flac files?
Snowknight26
28th May 2008, 03:28
sample depth remains (about) the same
Thats probably why. Run both flacs through eac3to and see if they're the same depth or whatever else might have changed.
SoleBastard
28th May 2008, 07:06
Thats probably why. Run both flacs through eac3to and see if they're the same depth or whatever else might have changed.
Sorry, I should have been more careful: The bitrate remains about the same (eg 5000 kbps -> 4990 kpbs, probably due to going from 'flac -5' to 'flac -8'), the sample depth remains 24 bit.
madshi
28th May 2008, 09:05
is it possible to extract a core from a DD+ track?
Blu-Ray DD+ tracks have a DD core. HD DVD DD+ tracks do not. Blu-Ray DD+ tracks are extremely rare, though. So generally it's safe to say that DD+ tracks do not have a core.
which aften-commandlines are used internally in eac3to for 5.1-AC3-encoding for the different audiostream-types.
None at all. I'm not using aften.exe, I'm using libaften.dll. So no command line, instead I'm calling exported functions from the dll.
Thanks for everyone's help so far, but I'm still having problems decoding the audio. Here's the log.
[libav] No restart header present in substream 0.
[a04] The libav decoder reported an error while decoding.
Aborted at file position 12588386304.
Probably your source files are damaged. Please try to rerip them.
I suggest we split the eac3to thread into two separate threads; one for development and related topics and one for general questions. This thread is getting enormous and finding answers by using search is surely difficult if not like trying to find a needle in a hay stack.
If we started now we could easily do that. But how do you want to split this existing thread into two? Who would volunteer to walk through those hundreds of pages and decide which post belongs into which thread?
I've got one .ddp track that won't decode to DTS. EAC3TO gives error (this track is not clean...). I've tried DelayCut (selected fix crc errors), I always end up with file that is only about 100 Mb, original is about 1 Gb. Am I doing something wrong or is this file unrepairable?
I suspect that it's not a DD+ track but a DD track. Where did you get the track from? What does eac3to report about this track?
Then the Help should read simply "supports all legal AC3 bitrates"!!! :p
I've changed it to "use e.g. "192", "448" or "640" kbit/s for AC3 encoding" now.
Got a missing sync byte error in Finding Neverland. What's does that mean? And is there any way to repair or avoid this error?
The best way to repair this error is to rerip the movie.
Select "all files" and load your eac3 file (extension must be .ddp or .eac3)
delaycut supports drag&drop. It's oh so much easier than walking through all those file open dialogs... ;)
I've been re-encoding some DTS-HD flacs that have been obtained from both blu-ray and HD-DVD with recent versions of eac3to. The original files are the ones that are created directly by eac3to and then them I re-encoded with 'flac 1.2.0a -8' using Foobar2000. The resulting files are usually way smaller (3.7GB -> 1.7GB and 2.0GB -> 1.5GB) while the bitrate and sample depth remains (about) the same. Why does eac3to creates these hugely inflated flac files?
My best guess is that in the Foobar2000 reencoded files the lowest 8 significant bits have been zeroed out. But I don't know for sure. You can do try this:
"eac3to foobar.flac eac3to.flac"
Does the file size go back from 1.7GB to 3.7GB this way? If yes, then I have to check out what's happening. If the file size stays at 1.7GB then Foobar2000 has manipulated the audio data while reencoding it. It would not be a big surprise! Because many of the open source flac decoders only support 16bit decoding. That means if you decode with Foobar2000 you probably lose anything over 16bit. Just guessing here, though...
saint-francis
28th May 2008, 12:51
If we started now we could easily do that. But how do you want to split this existing thread into two? Who would volunteer to walk through those hundreds of pages and decide which post belongs into which thread?
Yes it's a daunting task. We have two options here as I see it: One, we could sift through the several hundred pages in this thread and try to divide them, and two, we could just start a new thread and direct all general questions to it. If we can come up with guidelines for what material would belong to which category I will re read through the entire thread and make a list for the moderators.
madshi
28th May 2008, 13:12
Yes it's a daunting task. We have two options here as I see it: One, we could sift through the several hundred pages in this thread and try to divide them, and two, we could just start a new thread and direct all general questions to it. If we can come up with guidelines for what material would belong to which category I will re read through the entire thread and make a list for the moderators.
Ok, sounds good. How about:
(1) eac3to - development (bugs and improvements)
(2) eac3to - help (how to use etc)
?
nautilus7
28th May 2008, 13:59
Where would these new threads be? Audio sub-forum isn't ok, i think...
Do you think that New and alternative a/v containers sub forum is the proper one?
Jaja1
28th May 2008, 15:10
Originally Posted by Jaja1
Got a missing sync byte error in Finding Neverland. What's does that mean? And is there any way to repair or avoid this error?The best way to repair this error is to rerip the movie.Remuxed the file without problems to ts with tsmuxer. Remuxing the ts to mkv with eac3to worked fine as well. Checking some random points it seems at first sight that the mkv is okay.
Might your error checking be too harsh? Or am I potentially creating trouble using this path?
I tried to convert blu-ray Chicago to mkv and got an Unfortunately the Haali Muxer cannot handle this source file.
It doesn't contain enough seek/recovery points.error.
Tried the -seektoIFrames option, but that resulted in the same error.eac3to v2.46
command line: eac3to "K:\Chicago [Blu-ray]\Chicago_1.m2ts"+"K:\Chicago [Blu-ray]\Chicago_2.m2ts" 1:d:\Chicago.mkv 2:d:\Chicago.ac3 -seektoIFrames
------------------------------------------------------------------------------
M2TS, 1 video track, 5 audio tracks, 1:53:26
1: h264/AVC, 1080p24 /1.001 (16:9)
2: RAW/PCM, 5.1 channels, 24 bits, 48khz
3: AC3, 5.1 channels, 640kbit/s, 48khz
4: AC3, 5.1 channels, 640kbit/s, 48khz, dialnorm: -27dB
5: RAW/PCM, 2.0 channels, 16 bits, 48khz
6: AC3, 2.0 channels, 192kbit/s, 48khz, dialnorm: -27dB
[v01] Extracting video track number 1...
[a02] Extracting audio track number 2...
[a02] Reading RAW/PCM...
[a02] Swapping endian...
[a02] Remapping channels...
[a02] Encoding AC3...
[v01] Muxing video to Matroska...
[a02] Creating file "d:\Chicago.ac3"...
Unfortunately the Haali Muxer cannot handle this source file.
It doesn't contain enough seek/recovery points.
Aborted at file position 2100903936.I thought this option was introduced for these kind op errors or am I mistaken?
I made a small sample but eac3to complains that it cannot detect the format of the source file. Might this sample nevertheless be of help?
saint-francis
28th May 2008, 15:45
Ok, sounds good. How about:
(1) eac3to - development (bugs and improvements)
(2) eac3to - help (how to use etc)
?
Sounds good. I think I should be able to do that. Problems will appear for the splitting though when bugs/improvements arise from questions. But I think I can handle it. I'll get on this tonight. The help thread will probably turn out to be a good 80 - 90 % of this current thread. Because of this I think the list I will make will consist of only posts to be moved to the new help thread. I will start the thread with a post and ask the moderators to append it with all of the posts in my list. This thread will then be kept as the development thread. Maybe the title will need to be modified to tell as much.
Sound good?
Where would these new threads be? Audio sub-forum isn't ok, i think...
Do you think that New and alternative a/v containers sub forum is the proper one?
Good point. This is along the same line as the topic which was running in this thread a while ago about changing the name of eac3to since it's not just an audio tool any more. The topic is already here so maybe it should stay. I think this is a call that should be made by a moderator. Also if the eac3to threads are moved then the GUI thread will need to be moved too.
Jaja1
28th May 2008, 17:15
This blu-ray tracklist contains a small error. The third track is DTS 2t channels.
nautilus7
28th May 2008, 17:42
Tried the -seektoIFrames option, but that resulted in the same error.I thought this option was introduced for these kind op errors or am I mistaken?
Each track number (1:, 2:, etc) gets it's own switches. Putting the -seektoIframes switch at the end is applied to track number 2, which is an audio track.
The correct command is:
eac3to "K:\Chicago [Blu-ray]\Chicago_1.m2ts"+"K:\Chicago [Blu-ray]\Chicago_2.m2ts" 1:d:\Chicago.mkv -seektoIFrames 2:d:\Chicago.ac3
madshi
28th May 2008, 18:24
Where would these new threads be? Audio sub-forum isn't ok, i think...
Do you think that New and alternative a/v containers sub forum is the proper one?
That's a tough decision. eac3to does so many different things. Audio processing is still a very big part of eac3to. To be honest, I don't really know into which sub-forum it really belongs. Maybe we should let the mods decide?
Sounds good. I think I should be able to do that. Problems will appear for the splitting though when bugs/improvements arise from questions. But I think I can handle it. I'll get on this tonight. The help thread will probably turn out to be a good 80 - 90 % of this current thread. Because of this I think the list I will make will consist of only posts to be moved to the new help thread. I will start the thread with a post and ask the moderators to append it with all of the posts in my list. This thread will then be kept as the development thread. Maybe the title will need to be modified to tell as much.
I'd suggest to do it the other way round to save the mods some work. Moving 10 - 20% of the posts is much less work than moving 80 - 90% of the posts!
Furthermore I think it would be helpful if both threads had a good introduction post like this thread currently has. So maybe I should start a new thread for development?
Remuxed the file without problems to ts with tsmuxer. Remuxing the ts to mkv with eac3to worked fine as well. Checking some random points it seems at first sight that the mkv is okay.
Might your error checking be too harsh?
Nope. A missing sync byte is a very easy and reliable check. If the sync byte is missing, something is really wrong.
saint-francis
28th May 2008, 18:36
I'd suggest to do it the other way round to save the mods some work. Moving 10 - 20% of the posts is much less work than moving 80 - 90% of the posts!
Right. Will do.
Furthermore I think it would be helpful if both threads had a good introduction post like this thread currently has. So maybe I should start a new thread for development?
I think that the first page of this thread will be good for the introduction for the help thread so I'll just leave it here. When My list is done I'll let you know and you can start the new development thread with an introduction post that contains what you see fit.
Joniii
28th May 2008, 20:59
Make sure your delaycut version is 1.3.0.0. If you get a lot of errors, then your track might be severely damaged.
Where did you get that ddp track and how did you demux it? Re-ripping the disc might solve the problem.
Got the same result every time i ripped that disc. Luckily you mentioned to someone to make sure that dd+ is named .ddp or .eac3, that solved my problem with delaycut :).
nautilus7
28th May 2008, 21:10
That's a tough decision. eac3to does so many different things. Audio processing is still a very big part of eac3to. To be honest, I don't really know into which sub-forum it really belongs. Maybe we should let the mods decide?Since main purpose of eac3to is to convert HD DVDs and Blu-ray Discs to matroska format, i believe it would better fit there. But whatever you/the mods decide doesn't really make any difference.
Jaja1
28th May 2008, 21:57
Each track number (1:, 2:, etc) gets it's own switches. Putting the -seektoIframes switch at the end is applied to track number 2, which is an audio track.
I knew that :sly:
Thanks, it worked fine now.
73ChargerFan
28th May 2008, 23:27
Die Hard 2
eac3to 00001.m2ts 2: diehard2.dts
M2TS, 1 video track, 5 audio tracks, 2:03:21
1: h264/AVC, 1080p24 /1.001 (16:9)
2: DTS Master Audio, English, 5.1 channels, 24 bits, 48khz, -9ms
encoded to dts with SurCode, but cannot mux into mkv. I got timing errors, no dts header found, bytes discarded, yada yada yada.
So I'm going the manual route:
eac3to 00001.m2ts 2: diehard2.wavs
QUESTION:
Do I need to specify the -9ms delay?
REQUEST:
A better set of instructions for use.
Thanks for the great program.
nautilus7
28th May 2008, 23:41
EVERY dts-hd audio track contains a simple dts core @ 1536 kbps. If that is the bitrate you want, don't encode with surcode. Just use -core switch to extract the core.
If you let eac3to do either demuxing or decoding of any track ,you'll see a mesage saying "applying delay". So the answer is no, you don't need to do anything regarding the delay.
Suggested command: eac3to 00001.m2ts 2: audio.dts -core
73ChargerFan
29th May 2008, 00:03
Thanks for the answer regarding the delay.
I've realized that I had exported the entire DTS Master Audio stream.
-core is what I wanted.
LessThanJake
29th May 2008, 00:10
None at all. I'm not using aften.exe, I'm using libaften.dll. So no command line, instead I'm calling exported functions from the dll.
OK I understand.
Would it be very difficult to reproduce the correlating commandline(s) for aften.exe? Of course only if it comes along with reasonable expenditure. I donīt want to waste your time.
greets
LTJ
mp3weenie
29th May 2008, 04:49
Hello
I am trying to get a DPL2 downmix from a VOB DTS track. For example I have DTS encoded music DVD that has individual music tracks (as chapters?). When I use the demux option it just pulls out one large dts track which when downmixed gives me one large file. Is there a way to extract the audio track based on the video indexes or am I missing something easy?
Great tool, can't wait to get into the lossless HD stff...
Thanks. Jay
nautilus7
29th May 2008, 12:36
OK I understand.
Would it be very difficult to reproduce the correlating commandline(s) for aften.exe? Of course only if it comes along with reasonable expenditure. I donīt want to waste your time.
greets
LTJ
Is there anything specific that you wanna do?
When i use aften.exe, i use wav input with these commands:
aften -readtoeof 1 -b (bitrate) input.wav output.ac3
73ChargerFan
29th May 2008, 16:11
Disney's "The Game Plan" has 92 streams, 00000.m2ts through 00091.m2ts.
Running the command eac3to works, but when I try and add the files, either 2) or by listing the all the files with '+' between them (used a spreadsheet), the program gets stuck. Does nothing.
Perhaps 92 is more pieces than eac3to can handle?
EDIT - It works after about 5 minutes. Had to get a cup of coffee, then I saw the results. Yeah!
SoleBastard
29th May 2008, 19:51
My best guess is that in the Foobar2000 reencoded files the lowest 8 significant bits have been zeroed out. But I don't know for sure. You can do try this:
"eac3to foobar.flac eac3to.flac"
Does the file size go back from 1.7GB to 3.7GB this way? If yes, then I have to check out what's happening. If the file size stays at 1.7GB then Foobar2000 has manipulated the audio data while reencoding it. It would not be a big surprise! Because many of the open source flac decoders only support 16bit decoding. That means if you decode with Foobar2000 you probably lose anything over 16bit. Just guessing here, though...
Well, if I do your trick the resulting file is exactly the same size. So no new inflating back from 1.7GB to 3.7GB. However, I don't think Foobar2000 has any problem with 24bit decoding. It explicitly supports 16, 24 and even 32bit decoding and the converter includes the option to 'keep lossless sources at original bit depth'.
Moreover, as I already mentioned, the bitrate remained about the same at ~5000kbps, only the filesize shrunk dramatically. 5000kbps is a pretty normal bitrate for a flac encoded 24bit 48kHz 5.1 track that contains music (not for movie tracks).
Is there anything else I can do to make sense of it all?
madshi
30th May 2008, 08:04
I am trying to get a DPL2 downmix from a VOB DTS track. For example I have DTS encoded music DVD that has individual music tracks (as chapters?). When I use the demux option it just pulls out one large dts track which when downmixed gives me one large file. Is there a way to extract the audio track based on the video indexes or am I missing something easy?
Currently eac3to's VOB/EVO support is limited to work with movies. It doesn't really work well if you want to extract chapter wise. My suggestion would be to extract the DTS files with another tool (e.g. DVD Decrypter works very well for me) and then convert the extracted DTS files to DPL2 with eac3to.
Disney's "The Game Plan" has 92 streams, 00000.m2ts through 00091.m2ts.
And they are all for the movie? Ouch!!
Running the command eac3to works, but when I try and add the files, either 2) or by listing the all the files with '+' between them (used a spreadsheet), the program gets stuck. Does nothing.
Perhaps 92 is more pieces than eac3to can handle?
EDIT - It works after about 5 minutes. Had to get a cup of coffee, then I saw the results. Yeah!
eac3to has to open every file and read the first 30MB and last 30MB (or something like that). That can take a while. Maybe I should add a progress bar for this initial parsing, too...
So was the end result just fine? I imagine you must have had a pretty long list of audio overlaps!!
Well, if I do your trick the resulting file is exactly the same size. So no new inflating back from 1.7GB to 3.7GB.
In that case it is as good as proven that Foobar has modified the data!
However, I don't think Foobar2000 has any problem with 24bit decoding. It explicitly supports 16, 24 and even 32bit decoding and the converter includes the option to 'keep lossless sources at original bit depth'.
Can't say anything about that. But I can say that eac3to will end up with exactly the same FLAC size if you feed it the same data twice. So if the original FLAC file created by eac3to was 3.7GB while the FLAC file created from the Foobar reencoding was only 1.7GB then there's only one possible explanation: Foobar *must* have changed that data! There's no doubt about that.
Moreover, as I already mentioned, the bitrate remained about the same at ~5000kbps, only the filesize shrunk dramatically. 5000kbps is a pretty normal bitrate for a flac encoded 24bit 48kHz 5.1 track that contains music (not for movie tracks).
That bitrate number has no meaning whatsoever. I'm not even sure what number 5000kbps is supposed to be. I mean a 24bit 48kHz 5.1 PCM track has a bitrate of 6912kbps. So if the bitrate is meant to describe the decoded PCM track it's wrong. And if it's supposed to describe the FLAC bitstream then it's wrong, too, cause there's no way that a 3.7GB has nearly the same bitstream bitrate compared to a 1.7GB track of the same runtime. If you think about it, that just doesn't make any sense...
saint-francis
31st May 2008, 18:52
Ok, sounds good. How about:
(1) eac3to - development (bugs and improvements)
(2) eac3to - help (how to use etc)
?
Should posts that are questions but pertain to the workings of eac3to (such as how certain decoders work) be included in the development thread? If not the development thread is going to be very small.
EDIT: I'm beginning to think that this project might not be possible to implement because it would probably entail the mods actually having to break up a lot of posts into separate posts for the separate threads .
menlvd
31st May 2008, 23:14
how about supporting wave 64 files produced by Sony software?
Snowknight26
1st June 2008, 20:55
Is slowing down an AC3 stream supposed to make it 50% bigger?
Thunderbolt8
1st June 2008, 21:16
that seems to be the way it only works, yes
madshi
1st June 2008, 21:31
Should posts that are questions but pertain to the workings of eac3to (such as how certain decoders work) be included in the development thread? If not the development thread is going to be very small.
I think (valid) bug reports should be part of the development thread. Questions about how eac3to works rather not cause they have no effect whatsoever on the development of eac3to.
EDIT: I'm beginning to think that this project might not be possible to implement because it would probably entail the mods actually having to break up a lot of posts into separate posts for the separate threads .
It's problematic. If all else fails you could put all posts which are full or part development into the development thread and the rest into the other thread. The development thread would probably still be smaller. The biggest problem might be my style of replying. I'm often replying in one big post to 10 people at once. Maybe in such a case such a monster reply should be copied to both threads? Don't know if that is even possible...
how about supporting wave 64 files produced by Sony software?
Don't know how complicated they are. Do you have a sample? Do you also have information about the file format?
Is slowing down an AC3 stream supposed to make it 50% bigger?
The file size of an AC3 stream only depends on 2 things:
(1) runtime
(2) bitrate
Slowing down an AC3 stream increases the runtime, but only very slightly. So file size increases also very slightly. If you have a 50% size increase then obviously the bitrate you used for the new encoding is about twice as high as the bitrate of the original file. eac3to always uses 640kbps for new 5.1 encodings. If you want to save space you can force eac3to to use a lower bitrate - of course that goes on the cost of quality.
Snowknight26
1st June 2008, 21:37
eac3to always uses 640kbps for new 5.1 encodings.
As well as 2.0?
While I'm here, is there any possibility of adding some kind of error skipping switch? Would be very welcome for those that try to reencode badly authored streams.
asarian
2nd June 2008, 02:22
Since main purpose of eac3to is to convert HD DVDs and Blu-ray Discs to matroska format,
It is? I thought it was primarily used to convert DTS/True HD - > AC3. That's what I use it for anyway.
By accident I selected the wrong stream today, which was a VC-1 video stream, and eac3to said it couldn't recognize the video stream. Which is okay with me, as I use it for audio conversion only, but if it can't handle VC-1 stream, I guess I won't be using it for video then. :)
tebasuna51
2nd June 2008, 02:36
Originally Posted by menlvd
how about supporting wave 64 files produced by Sony software?
Don't know how complicated they are. Do you have a sample? Do you also have information about the file format?
You can see the WriteHeader routine in Encoder.cs from last BeHappy source code (http://www.codeplex.com/BeHappy/SourceControl/ListDownloadableCommits.aspx), with support for wav, w64 and rf64 headers. Only the header change the audio data is the same.
EDIT: Docs:
w64 (http://www.ambisonia.com/Members/mleese/sony_wave64.pdf)
rf64 (http://www.ebu.ch/CMSimages/en/tec_doc_t3306-2007_tcm6-42570.pdf)
Atak_Snajpera
2nd June 2008, 06:59
eac3to is unable to demux MP2 audio from .ts
http://x264.nl/h.264.samples/force.php?file=./luxe.hd.ateme.ts
http://x264.nl/h.264.samples/force.php?file=./arte.hd.ts
nautilus7
2nd June 2008, 11:07
It is? I thought it was primarily used to convert DTS/True HD - > AC3. That's what I use it for anyway.
By accident I selected the wrong stream today, which was a VC-1 video stream, and eac3to said it couldn't recognize the video stream. Which is okay with me, as I use it for audio conversion only, but if it can't handle VC-1 stream, I guess I won't be using it for video then. :)
I am talking for the present, not the past. First thing eac3to was able to do was to decode E-AC3 tracks (eac3to is called, isn't it?)
If you accidentally chose the VC-1 stream (instead of an audio one, let's say) then you did something wrong, not eac3to. Post the log and don't jump into conclusions like "eac3to can't handle vc-1". What all these people using eac3to with vc-1 streams would think of you?
Tyrod
2nd June 2008, 19:47
Where might one purchase ("Sonic Cinemaster Audio Decoder 4.3" DirectShow filter). I have (Easy Media Creator 10) and it isn't part of that.
Where might one purchase ("Sonic Cinemaster Audio Decoder 4.3" DirectShow filter). I have (Easy Media Creator 10) and it isn't part of that.
I think it is. At least I too have EMC10 and I have it. I cannot think of anywhere else it would have come from. How have you checked?
asarian
2nd June 2008, 20:02
If you accidentally chose the VC-1 stream (instead of an audio one, let's say) then you did something wrong, not eac3to.
Yes, that's what the term "accidentally" implied. :) Just one of them occassions where I copy & pasted a line with eac3to in it that had the wrong stream number for the new file. No big deal.
Post the log and don't jump into conclusions like "eac3to can't handle vc-1". What all these people using eac3to with vc-1 streams would think of you?
They'd probably think I accidentally selected a wrong stream once, that it complained about not being able to handle that stream (likely because I added audio commands on the same line, which naturally don't apply to a vid stream); and that, since I wasn't gonna do video with eac3to anyway, that finding out the why of it had not my highest priority. :)
But seriously, I didn't mean to offend the eac3 folks: it's a heck of a good program, even if you only use it for audio.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.