View Full Version : EVOB De/Multiplexers


Pages : 1 [2]

Rectal Prolapse
11th March 2007, 19:55
My sound hardware is an onboard Realtek ALC888DD. It is spec'ed to play 24 bit audio.

I can play the 24 bit FLAC in GraphEdit using the Native FLAC File Source filter without any problems. EDIT: Not muxed into an mka file.

I also can tell AC3Filter to output in 24 bits to DirectSound without any issues. It may be possible that the hardware downsamples to 16 bit before output to the speakers, but I cannot verify that at the moment.

I may give Wavpack a try - the ability to add a delay is nice!

chros
11th March 2007, 20:02
I don't understand why you guys do the intermediate files (raw, wav) if you want to encode to AC3 ... (Am I missing something?)

Why don't you use an avisynth script and behappy + aften ?

daveidmx
11th March 2007, 21:10
OK, I'm still stuck a few pages back on my DD+ decoding. I'm still working on the King Kong HD-DVD that came with my player, and the following holds for both the UNILOGO and FEATURE.

(Orbitlee source filter: demuxed DD+) -> (Sonic Cinemaster Audio Decoder 4.2) = 0x80040217, filters cannot agree on a connection.
(Async file: demuxed DD+) -> (Sonic audio) = 0x80040217
(Async file: demuxed DD+) -> (Sonic HD Demuxer) = so far so good; -> (Sonic audio) = 0x80040217
(Async file: EVO--rebuilt or original) -> (Sonic HD Dumuxer) = so far so good; -> (Sonic audio) = 0x80040217

Did I miss something?

I am able to hook up Orbitlee's filter to the Intervideo Audio Decoder, but the output is always a stream of zero-bytes exactly the same length as the source stream. (Possibly because my trial period has expired?)

However I can't for the life of me seem to hook anything up to the Sonic audio decoder. :confused:

Any thoughts?

D

madshi
11th March 2007, 22:35
FLAC, Wavpack, LPCM, MLP, TrueHD and DTS-HD Master Audio should all sound exactly the same since they are all lossless.
Yes, I know. I meant to ask how file size compares between these lossless formats. Sorry for being unclear.

madshi
11th March 2007, 22:38
I don't understand why you guys do the intermediate files (raw, wav) if you want to encode to AC3 ... (Am I missing something?)

Why don't you use an avisynth script and behappy + aften ?
Maybe the reason is that I've no experience with avisynth scripting at all... :o Another reason is that behappy originally didn't support 640 bitrate encoding with aften. But I've just yesterday found out that there's a modded build which supports it.

Anyway, can you decode E-AC3 via an avisynth script? How would that script look like? Thanks!

woah!
11th March 2007, 22:49
just build your sound graph and save it. then use this :

SetMemoryMax(64)
DirectShowSource("SOUND.GRF", video=false)

now just load that script into behappy and setup your aften options or just pick the preset one. i do the same thing except i go to aac instead.

Deckard2019
12th March 2007, 00:18
Does anybody know anything about Blu-Ray subtitles ?
Is there a chance to extract them with xport ?

Chumbo
12th March 2007, 00:58
just build your sound graph and save it. then use this :

SetMemoryMax(64)
DirectShowSource("SOUND.GRF", video=false)

now just load that script into behappy and setup your aften options or just pick the preset one. i do the same thing except i go to aac instead.
Occasionally, the process may end in an exception. I found that if you add the fps parameter, the exception goes away.

For example: DirectShowSource("yourfile.grf", fps=x, video=false). Where x is your source fps, i.e., 23.976 or 29.970, etc.

behded
12th March 2007, 05:11
There are two reasons to force me use the intermediate raw and wav files:
1. the channel mapping. This maybe solved by some "matrix filter" which I don't know where to get. Can some one tell me please.
2. I always get the
"Error: System.IO.IOException: The pipe has been ended." error in the middle of the conversion in behappy, if I try to go from .grf directly to ac3. I don't know a way to solve this. I'm using the v0.06 of aften.I have the fps setting in the avs.

By the way, it seems the Sonic Audio Decoder 4.2 does not work under Vista. Can some one confirms this?

Occasionally, the process may end in an exception. I found that if you add the fps parameter, the exception goes away.

For example: DirectShowSource("yourfile.grf", fps=x, video=false). Where x is your source fps, i.e., 23.976 or 29.970, etc.

Chumbo
12th March 2007, 05:19
...2. I always get the
"Error: System.IO.IOException: The pipe has been ended." error in the middle of the conversion in behappy, if I try to go from .grf directly to ac3. I don't know a way to solve this. I'm using the v0.06 of aften.I have the fps setting in the avs.
...
You need the latest (build 449) of Aften. You should also grab the latest build of BeHappy. I believe both are available in the BeHappy thread. There's also a separate aften 0.06 thread. The latest build of BeHappy includes the latest aften.exe so that should take care of your problem.

Rectal Prolapse
12th March 2007, 06:21
daveidmx: Maybe you need to reregister both filters?

Also, check your audio configuration - make sure windows is set to 5.1 mode. Then, check the Cinemaster Decoder control panel and make sure it is also set to 5.1. Good luck!

I just gave WavPack a try - I can't get playback to work at all - FFDShow Audio Decoder completely hangs and everything stops - as if in a permanently paused state.

Those of you who got FLAC and WavPack working, what version of audio decoder are you using? What does the filter graph look like? I am stumped - maybe my FFDShow version is borked for lossless audio playback.

I'm using the latest (March something) Haali Media Splitter, with FFDShow-tryouts version 964. I used mkvtoolnix 2.0.2. I also used MediaCoder 0.5.1 to encode FLAC, WavPack, and FAAC. Only FAAC works flawless for me. FLAC almost works but with audio glitches (and no audio delay with mkvtoolnix).

I am sooooo close. :)

MichalHabart
12th March 2007, 07:19
Yes, of course, I'll do that. I'll also try to use Chumbo's suggestion to use the AC3Filter instead of ffdShow.


I'm always using 640 for 5.1 audio tracks. For 2.0 audio tracks I'm using 384, unless the E-AC3 track has a higher rate than that. In that case I'm using 640, too. I guess I can add a parameter, but is there anybody who would want to use 448, anyway? I mean we want best possible quality, don't we?

Thank you very much. I just wanted to know what bitrate do you use. Now when i know that it is 640kbps, i am quite happy with that :)

behded
12th March 2007, 08:34
I made sure I'm using the v449 of aften. My BeHappy is version 0.1.9.5241. Seems to be the latest version I can get from http://www.gotdotnet.com/workspaces/workspace.aspx?id=1bb59ddf-901b-43a5-bd54-b0999e8e223e
Is there any new download site, since the workspace is being phased out by M$.

I'm still getting the following error close to the end of the conversion:

Error: System.IO.IOException: The pipe has been ended.

at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.WriteCore(Byte[] buffer, Int32 offset, Int32 count)
at System.IO.FileStream.Write(Byte[] array, Int32 offset, Int32 count)
at BeHappy.Encoder.encode()

You need the latest (build 449) of Aften. You should also grab the latest build of BeHappy. I believe both are available in the BeHappy thread. There's also a separate aften 0.06 thread. The latest build of BeHappy includes the latest aften.exe so that should take care of your problem.

orbitlee
12th March 2007, 11:34
An updated version of DD+ source filter
http://www.sendspace.com/file/1vrahm

The first version of DD+ source filter only accepts bsid=16 DD+ audio, but yesterday I found a DD+ audio which has bsid!=16. DD+ source filter refuses to open this audio track.
Actually DD+ spec allows bsid=11~16. Should read spec more carefully :stupid:
Also, register the extension name .ec3

For AC3 and DTS audio, DD+ source with sonic audio decoder 4.2 still can't give me reliable result, I give up, so simply DON'T use the source filter to handle AC3 and DTS. There are so many mature choices, right? :cool:

Pelican9
12th March 2007, 11:49
For AC3 and DTS audio, DD+ source with sonic audio decoder 4.2 still can't give me reliable result, I give up, so simply DON'T use the source filter to handle AC3 and DTS. There are so many mature choices, right? :cool:

It could be better to rename this filter to DD+ source... :)

madshi
12th March 2007, 11:50
An updated version of DD+ source filter
http://www.sendspace.com/file/1vrahm

The first version of DD+ source filter only accepts bsid=16 DD+ audio, but yesterday I found a DD+ audio which has bsid!=16. DD+ source filter refuses to open this audio track.
Actually DD+ spec allows bsid=11~16. Should read spec more carefully :stupid:
Also, register the extension name .ec3

For AC3 and DTS audio, DD+ source with sonic audio decoder 4.2 still can't give me reliable result, I give up, so simply DON'T use the source filter to handle AC3 and DTS. There are so many mature choices, right? :cool:
Thank you!!

One little question to you, since you seem to have some experience with modding open source filters: Would it be much work for you to mod the AC3Filter so that it would not try to decode DD+? Right now when switching between DD+ and AC3 movies I always have to change preferences in MPC. If AC3Filter wouldn't try to decode DD+, that would allow a more comfortable setup.

orbitlee
12th March 2007, 12:36
It could be better to rename this filter to DD+ source... :)

After we find a reliable audio decoder, I'll be back :rolleyes:

Thank you!!

One little question to you, since you seem to have some experience with modding open source filters: Would it be much work for you to mod the AC3Filter so that it would not try to decode DD+? Right now when switching between DD+ and AC3 movies I always have to change preferences in MPC. If AC3Filter wouldn't try to decode DD+, that would allow a more comfortable setup.


Have you tried sonic audio decoder 4.2 to decoder AC3? (of course, not with the DD+ source filter ). I found haali splitter works with sonic audio decoder well (I think haali knows the directshow tricks :)

For ac3filter, currently I'm trying to build ac3filter, and check whether it could be configured(or patched) to decode LPCM 5.1 and 7.1 from Blu-ray properly. I will check how can I disable the not-working DD+ decoding. But since ac3filter is still being actively supported (http://ac3filter.net/forum/), I think it will be even better to request ac3filter developer to support DD+ and LPCM 5.1/7.1.

madshi
12th March 2007, 13:38
Have you tried sonic audio decoder 4.2 to decoder AC3?
I sometimes need passthrough over optical out and sometimes not. The AC3Filter lets me switch that on/off beautifully in the filter properties at runtime. With the Sonic decoder I can probably configure it from outside by using the external settings GUI. That's less comfortable and IIRC when I tried passthrough with the Sonic decoder it crashed for me.

For ac3filter, currently I'm trying to build ac3filter, and check whether it could be configured(or patched) to decode LPCM 5.1 and 7.1 from Blu-ray properly. I will check how can I disable the not-working DD+ decoding. But since ac3filter is still being actively supported (http://ac3filter.net/forum/), I think it will be even better to request ac3filter developer to support DD+ and LPCM 5.1/7.1.
Well, the last post of the admin was from October 2006, as far as I can see... :(

zgx
12th March 2007, 15:37
Those of you who got FLAC and WavPack working, what version of audio decoder are you using? What does the filter graph look like? I am stumped - maybe my FFDShow version is borked for lossless audio playback.

I'm using the latest (March something) Haali Media Splitter, with FFDShow-tryouts version 964. I used mkvtoolnix 2.0.2. I also used MediaCoder 0.5.1 to encode FLAC, WavPack, and FAAC. Only FAAC works flawless for me. FLAC almost works but with audio glitches (and no audio delay with mkvtoolnix).

I am sooooo close. :)To play a stand-alone FLAC you can use foobar2000. If you mux it into a MKV container you need a directshow filter. There are two filters available. You can read more about it here: http://www.inmatrix.com/zplayer/formats/flac.shtml.

I don't think you need to use ffdshow at all to decode FLAC. I use Zoomplayer and have setup "CoreFLAC Decoder v0.4" to decode FLAC and then I use AC3Filter after CoreFLAC so I can adjust levels and other things.

clsid
12th March 2007, 16:00
I just gave WavPack a try - I can't get playback to work at all - FFDShow Audio Decoder completely hangs and everything stops - as if in a permanently paused state.
Wavpack support in ffdshow is incomplete. Use CoreWavpack instead.
http://coreforge.org/frs/?group_id=28

Rectal Prolapse
12th March 2007, 16:06
Thanks for pointing me in the right direction, zgx EDIT: and clsid. I couldn't get the original FLAC decoder to connect after Haali's splitter (different media subtype), but your alternatives should help me out!

I'll see if there is a separate Haali-compatible decoder for WavPack too. I really could use the delay after demuxing HD-DVDs -somehow this delay information is lost after the conversion!

I suppose I can find a WAV utility to add the required silence, but again that is outside my expertise. :(

BTW, I've been experimenting with WMA Lossless. The file size is much larger than expected, and it doesn't help that the conversion tool (using WMP10 I think) has a 4 GB limit with WAVs - it will only convert up to 74 minutes and 13 seconds, and not tell me it ignored the rest! Blah.

Oh well - I can't mux a WMA Lossless stream into an MKV anyways. Although MPC can load it as an external soundtrack and works VERY nicely I might add - until you hit the silence after 74:13.

Also, it appears that gdsmux does not support FLAC. When I try to mux it in, it thrashes around for a few seconds on the hard disk, and then it does nothing forever after that - and leaves me with a 0 byte MKV file. So I guess you must use MKVToolNix for the time being.

Rectal Prolapse
13th March 2007, 00:07
Darth Pinous said:

You should try WavPack instead of FLAC. You can delay a WavPack soundtrack in mkvmerge.

Hmmm, this didn't work for mkvmerge 2.0.2. The delay setting was ignored in playback when using WavPack, which I just managed to get working in an mkv, so far *fingers crossed*.

I will report back after trying gdsmux.

Rectal Prolapse
13th March 2007, 00:15
http://forum.doom9.org/showthread.php?p=958726#post958726

mkvmerge should add silence, but it doesn't support this for all audio formats (only for AC3, MP3, Vorbis if I'm not mistaken). At the moment it creates weird sound for AC3 because it does the wrong thing.

Well, there you go. :(

EDIT: It appears to work with gdsmux though....

Darth Pinous
13th March 2007, 11:06
Darth Pinous said:



Hmmm, this didn't work for mkvmerge 2.0.2. The delay setting was ignored in playback when using WavPack, which I just managed to get working in an mkv, so far *fingers crossed*.

I will report back after trying gdsmux.

I just noticed that... I will try to add delay in BeHappy, when the Wavpack soundtrack is created...

madshi
13th March 2007, 11:11
Did anyone compare how a 640kbit E-AC3 -> AC3 converted audio track sounds compared to a 448kbit DVD original audio track? Do they sound roughly identical or is one better than the other?

Thanks!

MichalHabart
13th March 2007, 11:36
Did anyone compare how a 640kbit E-AC3 -> AC3 converted audio track sounds compared to a 448kbit DVD original audio track? Do they sound roughly identical or is one better than the other?

Thanks!

I did not do any deep comparision but eac3 should always sound better then dvd ac3 especially because it is from better source and has better dynamic then ordinary ac3

madshi
13th March 2007, 11:45
I did not do any deep comparision but eac3 should always sound better then dvd ac3 especially because it is from better source and has better dynamic then ordinary ac3
Sure. But my question was about reencoded E-AC3. You know, every lossy reencoding hurts quality. So it's not clear to me which sounds better:

(1) E-AC3 to 640kbit AC3
+ advantage: final AC3 is 640kbit instead of 448kbit
- disadvantage: encoded + reencoded, both lossy

(2) 448kbit AC3 from DVD
+ advantage: encoded only once
- disadvantage: final AC3 is 448kbit instead of 640kbit

So which sounds better? I'm not very experienced in comparing soundtracks. So I'm not sure whether I can trust my ears. I'd really love to hear some comments about what you guys think.

MichalHabart
13th March 2007, 12:47
Sure. But my question was about reencoded E-AC3. You know, every lossy reencoding hurts quality. So it's not clear to me which sounds better:

(1) E-AC3 to 640kbit AC3
+ advantage: final AC3 is 640kbit instead of 448kbit
- disadvantage: encoded + reencoded, both lossy

(2) 448kbit AC3 from DVD
+ advantage: encoded only once
- disadvantage: final AC3 is 448kbit instead of 640kbit

So which sounds better? I'm not very experienced in comparing soundtracks. So I'm not sure whether I can trust my ears. I'd really love to hear some comments about what you guys think.

Definitely ac3 transcoded from eac3

zgx
13th March 2007, 13:02
Sure. But my question was about reencoded E-AC3. You know, every lossy reencoding hurts quality.You are right - every lossy encode hurts quality. It's not obvious that the 640 Kbps AC3 reencode will sound better then the 448 Kbps AC3 from a DVD.

Lossless Source -> 640 Kbps E-AC3 -> 640 Kbps AC3
Lossless Source -> 448 Kbps AC3

I'm not sure if I could hear any difference in a ABX test but I don't want to take any chances so I prefere to play the E-AC3 track directly. There is no need to reencode it. Configure your favorite player (ZoomPlayer or MPC for example) to decode "AC3" with "Sonic Cinemaster Audio Decoder 4.2". Then put AC3Filter "behind" the Sonic filter and you should be able to decode E-AC3 tracks. Of course you can't use S/PDIF with E-AC3 unless you are fine with AC3Filter doing a realtime "reencode" to AC3.

You can also mux a E-AC3 tracks with your video in a MKV container.

madshi
13th March 2007, 13:14
Definitely ac3 transcoded from eac3
Are you guessing or did you do a real comparison?

You are right - every lossy encode hurts quality. It's not obvious that the 640 Kbps AC3 reencode will sound better then the 448 Kbps AC3 from a DVD.

Lossless Source -> 640 Kbps E-AC3 -> 640 Kbps AC3
Lossless Source -> 448 Kbps AC3

I'm not sure if I could hear any difference in a ABX test but I don't want to take any chances so I prefere to play the E-AC3 track directly. There is no need to reencode it. Configure your favorite player (ZoomPlayer or MPC for example) to decode "AC3" with "Sonic Cinemaster Audio Decoder 4.2". Then put AC3Filter "behind" the Sonic filter and you should be able to decode E-AC3 tracks. Of course you can't use S/PDIF with E-AC3 unless you are fine with AC3Filter doing a realtime "reencode" to AC3.

You can also mux a E-AC3 tracks with your video in a MKV container.
Well, my receiver doesn't have HDMI inputs and I don't have a 5.1 analog connection between PC and receiver (too far away), so SPDIF is the only choice I have. That's why I'm asking.

I do plan to mux both the E-AC3 (for future use) and an AC3 (for compatability) track into my MKVs. The big question is whether I should mux a DVD ripped AC3 track or whether I should mux an E-AC3 -> AC3 converted track. That's really a tough decision!

JeffAlso
13th March 2007, 14:37
Lossless Source -> 640 Kbps E-AC3 -> 640 Kbps AC3
Lossless Source -> 448 Kbps AC3
I'm no expert here, but I would highly suspect that the amount of quality loss from a reencode would be significantly less than the quality loss suffered from lowering the bitrate by 30%.

MichalHabart
13th March 2007, 15:36
Are you guessing or did you do a real comparison?

It is based on listening comparision done by JnZ

madshi
13th March 2007, 16:02
It is based on listening comparision done by JnZ
Do you have a link to that comparison? I read all JnZ posts in this thread and didn't find a comparison. Thanks!

Ashraf-Khan
13th March 2007, 16:03
hello all,

nice forum & helpful!!

so, let me say that i love win media center.
for that reason i want to copy my 13+ hd-dvds (just the pure movie evos) on a new 500 gig :cool: hdd.
yesterday i just installed sonic decoder pack and it worked!

but only on one pc.

on the other it won't work whether just playing in mce or in graphedit
(audio dec. v. 4.2.xxx.102 , video dec. xxx140 & demuxer xxx61)

furthermore i can't connect for example demuxer with audio dec! (no "zwischenfilter")

could you please post your ver. numbers and if the filters can be connected so we can figure out which versions work & which is the newest!

olli

zgx
13th March 2007, 16:06
I do plan to mux both the E-AC3 (for future use) and an AC3 (for compatability) track into my MKVs. The big question is whether I should mux a DVD ripped AC3 track or whether I should mux an E-AC3 -> AC3 converted track. That's really a tough decision!Mux the E-AC3 track and let AC3Filter do realtime re-encoding to AC3 to output over S/PDIF. Might not sound as good as a professional AC3 re-encode but then you will have the E-AC3 intact for future use.

I'm no expert here, but I would highly suspect that the amount of quality loss from a reencode would be significantly less than the quality loss suffered from lowering the bitrate by 30%.You are probably right.

MichalHabart
13th March 2007, 16:15
Do you have a link to that comparison? I read all JnZ posts in this thread and didn't find a comparison. Thanks!

No, i have our conversation only in history of QIP :)

Rectal Prolapse
13th March 2007, 16:30
DarthPinous - BeHappy can add delays? I didn't know that - and it can encode in WavPack? Well, that would save me a lot of steps! (and hard drive space).

madshi
13th March 2007, 16:38
Mux the E-AC3 track and let AC3Filter do realtime re-encoding to AC3 to output over S/PDIF. Might not sound as good as a professional AC3 re-encode but then you will have the E-AC3 intact for future use.
This way I'd have a MKV which would be perfect for future use. But it would be suboptimal for today's use. I'm not satisfied with that. I want to have the best possible AC3 track in my MKV, right next to the original E-AC3 track.

No, i have our conversation only in history of QIP
Ok, thanks!

JnZ
13th March 2007, 17:15
No, i have our conversation only in history of QIP :)
Well guys, I write it something like this:
I compared only output formats: AC3 vs DTS vs OGG, all in blind ABX test on my headphones Koss Porta Pro...soundcard M-Audio Revo 5.1 (muxed 5.1 to 2.0 first).

I test this:
- AC3 from BeSweet 448,640kbps
- DTS from SurCode 1536,768kbps
- OGG from AoTuV Q6,Q5,Q4,Q3,Q2,Q1.

Definitely, I must say I can't hear any diferences between this formats. Only in case DTS 768 I hear very-very-small difference (I suspects SurCode for producing bad crap). I've been only surprised, OGG produced very good quality in small, acceptable biterate...I can't hear any difference even at biterate around 180-200kbps!!! I hear margin, until I lowered biterate to aprox 160kbps.

Other thing: When I do ABX tests, I must gain volume in AC3 about 6-8dB compared DTS and OGG formats. OGG and DTS had almost the same level of volume...this is very good, because OGG sounds like DTS, not like crappy silent AC3. So I choose for me OGG. But pros for AC3: when boosted, it sounds like DTS or OGG (I can't hear any difference).

I can't make hear tests DD+ vs AC3, coz in my region, I have PAL DVD's which have different pitch of audio track...and transcoding via besweet 25->23.976fps is another quality lost. But if I can say in my fleeting test...AC3 from DD+ sounds better. ;)

J.

madshi
13th March 2007, 18:12
Thanks, JnZ.

Darth Pinous
13th March 2007, 18:38
DarthPinous - BeHappy can add delays? I didn't know that - and it can encode in WavPack? Well, that would save me a lot of steps! (and hard drive space).

There's an option, but I don't know if it works. I will try a Wavpack reencode with delay tonight, and make a reply then.

Friedl2000
13th March 2007, 19:10
Hi,

how to display the desired subtitle after a rebuild.

Wanna do 2 Tracks in the new evo + 2 subtiles.

How can i switch the audio and subs during playback and in which program ? PowerDVD7.2 ????

many thx

Rectal Prolapse
13th March 2007, 21:37
Darth, I've played around with BeHappy - it appears that adding delay works - makes sense, given that it uses AVISynth!

Some annoyances: BeHappy (and MediaCoder!) downsamples everything to 16 bit. I was wondering why my WavPack and FLAC encodes were so small! 7.9 gig 5.1 multichannel 24 bit PCM soundtrack gets compressed down to 1.3 gig FLAC or WavPack in 16 bits!

When I run WavPack directly from the command line, feeding it the 7.9 gig WAV soundtrack through stdin, the file size is more than double the 16 bit one - 3.7 gigs. Ouch. :)

I don't know why MediaCoder and BeHappy downsample to 16 bit, when the encoders can clearly take 24 bit samples. Maybe it is a limitation of AVISynth?

Rectal Prolapse
13th March 2007, 22:09
It appears that FLAC command-line has an output (and input?) filesize limit of 2 GB - making it inappropriate for lossless 24 bit multichannel tracks!

I'm not sure if there are alternative FLAC encoders that can handle 24 bits, 48000 KHz multichannel audio.

Darth Pinous
13th March 2007, 22:18
Darth, I've played around with BeHappy - it appears that adding delay works - makes sense, given that it uses AVISynth!

Some annoyances: BeHappy (and MediaCoder!) downsamples everything to 16 bit. I was wondering why my WavPack and FLAC encodes were so small! 7.9 gig 5.1 multichannel 24 bit PCM soundtrack gets compressed down to 1.3 gig FLAC or WavPack in 16 bits!

When I run WavPack directly from the command line, feeding it the 7.9 gig WAV soundtrack through stdin, the file size is more than double the 16 bit one - 3.7 gigs. Ouch. :)

I don't know why MediaCoder and BeHappy downsample to 16 bit, when the encoders can clearly take 24 bit samples. Maybe it is a limitation of AVISynth?

I confirm, delay works with behappy.
I tried to work with PCM soundtracks too. 16 bits/48 KHz is OK, but 24 bits/48 KHz gives me a blank soundtrack... 24 bits/48 KHz WAV PCM seems to be OK, though.

zgx
13th March 2007, 22:28
It appears that FLAC command-line has an output (and input?) filesize limit of 2 GB - making it inappropriate for lossless 24 bit multichannel tracks!

I'm not sure if there are alternative FLAC encoders that can handle 24 bits, 48000 KHz multichannel audio.In http://flac.sourceforge.net/changelog.html#flac_1_1_3 you can read "Large file (>2GB) support everywhere".

But I also know that flac.exe can't handle huge wave files. The problem I think is with the WAV files. "The WAV format is limited to files that are less than 4 GiB in size, due to its use of a 32 bit unsigned integer to record the file size header (some programs limit the file size to 2 GiB)."

But if you use MediaCoder to encode your FLAC files you can use as large WAV files as you like so 24 bit multichannel tracks should be no problem.

idamien
14th March 2007, 01:11
Does anyone know of any free/open source DD+ decoders already around? Will AC3Filter support the new format?

Applecore
14th March 2007, 01:21
hey guys

ive been following your thread for a while now and have been experimenting with my hd backups. you keep mentioning this sonic audio decoder 4.2. i cant find that anywhere? theres no mention of it on any site besides this one :)
if you could help me out id greatly appreciate it.

idamien
14th March 2007, 02:00
Hello Applecore and welcome!

The Sonic Audio Decoder is part of Sonic Scenarist 4, I think. Sonic Scenarist is a professional SD/HD-DVD authoring software that costs a few hundred dollars (guessing)...

Rectal Prolapse
14th March 2007, 02:09
zgx, unfortunately mediacoder seems to downconvert the PCM tracks to 16 bit. Or more specifically, it appears that mplayer is doing it.

Another problem - suddenly my channels are in the wrong order after encoding to FLAC/WAVPACK! I don't get it - it was working fine yesterday. I wish I could have more control over MediaCoder's configuration so that I can re-arrange the channels.

I know that the WAV file I generated using Sox is correct - it works great with BeHappy.

I am stumped - why did it change suddenly? How come it didn't happen before? I'm reading the massive mplayer documentation (what a mess!) and it appears to have very funny ideas on channel order - when I play the WAV with it they are all in the wrong positions compared to all the other players out there.

Anyways, back to more hacking - these GUI front end tools are a mess - I would rather hack around with AVISynth instead. :)

Chumbo
14th March 2007, 02:48
The latest BeHappy (http://forum.doom9.org/showthread.php?p=970096#post970096) may be of interest to some here.

vathimenil
14th March 2007, 03:23
@Pelican 9: If you're still tracking this thread... First, thanks for all the work you've put into this. Most of us wouldn't have gotten anywhere had it not been for your demux tool.

Second, I have a question: did you ever resolve your 0-byte problem when applying JnZ's method for audio decoding? I run into it as well for certain HD DVD files (e.g., full KK movie), but not others (e.g., smaller dd+ samples). If that method still isn't working for you --are you using some other method that actually works? Would love to get your insights. Thanks. Cheers.

Pelican9
14th March 2007, 10:03
@Pelican 9: If you're still tracking this thread... First, thanks for all the work you've put into this. Most of us wouldn't have gotten anywhere had it not been for your demux tool.

Second, I have a question: did you ever resolve your 0-byte problem when applying JnZ's method for audio decoding? I run into it as well for certain HD DVD files (e.g., full KK movie), but not others (e.g., smaller dd+ samples). If that method still isn't working for you --are you using some other method that actually works? Would love to get your insights. Thanks. Cheers.
Yes, I'm still here. :)
What is this 0-byte problem?
Have I missed something?
I'm working on SUPread now.

Jack-Bauer
14th March 2007, 11:26
hey guys

ive been following your thread for a while now and have been experimenting with my hd backups. you keep mentioning this sonic audio decoder 4.2. i cant find that anywhere? theres no mention of it on any site besides this one :)
if you could help me out id greatly appreciate it.


Have a good day. Jack

Clown shoes
14th March 2007, 12:41
hey guys

ive been following your thread for a while now and have been experimenting with my hd backups. you keep mentioning this sonic audio decoder 4.2. i cant find that anywhere? theres no mention of it on any site besides this one :)
if you could help me out id greatly appreciate it.

Sonic's audio decoder 4.2 is actually part of Sonic's Cineplayer HD DVD Decoder 4.2. The decoder that is installed with Scenarist 4.1 (standard and advanced) is Cineplayer 4.1 and it appears to be broken. Hardware support can be switched on in the options tab, but it resets itself when the options box is closed. This is fixed in 4.2 and means elementary .vc1 and .264 streams can be played back smoothly.

@Madshi, your little Eac3toAc3 tool is brilliant. I have one small suggestion though. Is it possible to have a way of selecting the ac3 bitrate? I am experimenting with the reauthoring of HD-DVDs from HD discs to DVD9s and at present the DD+ stream cannot be correctly reintegrated, therefore I am transcoding to ac3. Unfortuanately although the ac3 spec allows the use of a 640kbps stream, Scenarist HD is still limited to 448Kbps, at least in the Standard content edition. I have not had the opportunity to test Advanced content edition.

@pelican9, I beleive you may have mentioned it earlier in the thread but is there a way of accurately measuring the delay on a demuxed audio stream. I am currently trying to do it by eye in the Scenarist simulation window, which is far from ideal.

Pelican9
14th March 2007, 12:53
@pelican9, I beleive you may have mentioned it earlier in the thread but is there a way of accurately measuring the delay on a demuxed audio stream. I am currently trying to do it by eye in the Scenarist simulation window, which is far from ideal.

Delay between the video and audio streams?
You can see the first PTS value of every stream in EVOdemux status window, if the two value is equal than no delay.
PTS (in hexadecimal format) / 90000 = time in seconds

Clown shoes
14th March 2007, 13:13
OK, I think I understand. So the value that I am looking out for is the PTS. If there is a difference in that figure between the video and audio stream, I divide that figure by 90000 to get my delay in seconds?

Sorry, I'm not at my authoring machine right now so I don't have Evodemux in front of me. I hope I didn't get that too confused :)

Does anyone have any idea what is causing the problem with remuxing the dd+ audio back into an HD project. It seems to cause very bad stuttering in the video stream when muxed.

vathimenil
14th March 2007, 13:20
I've tried this, but it creates only a 0 byte file. :(

@Pelican 9: sorry about the delay --when running graphedit and DTS/AC3/DD+ --> Sonic Cinemaster Audio 4.2 --> Dump, your output was coming out as a 0-byte raw file. I get the same problem with some files, but not others --and I can't seem to find any rhyme or reason to which work and which do not, except maybe size of the input...

Pelican9
14th March 2007, 14:24
@Pelican 9: sorry about the delay --when running graphedit and DTS/AC3/DD+ --> Sonic Cinemaster Audio 4.2 --> Dump, your output was coming out as a 0-byte raw file. I get the same problem with some files, but not others --and I can't seem to find any rhyme or reason to which work and which do not, except maybe size of the input...

Thanks! I've tried one file only (UNILOGO).

Applecore
14th March 2007, 14:32
thanks a lot! :)

ive been trying to dump the .raw file now using graphedit but when i try to connect the dd+ file with the sonic audio decoder 4.2 i get an error message saying that they cannot agree on a connection.

Rectal Prolapse
14th March 2007, 17:45
Delay between the video and audio streams?
You can see the first PTS value of every stream in EVOdemux status window, if the two value is equal than no delay.
PTS (in hexadecimal format) / 90000 = time in seconds

You're my hero Pelican! On one of my rips I had to estimate a delay of 750 ms - when I look at the PTS information of the tracks, the difference s 667 ms, which is close!

DELETED: Nevermind - I was looking at the wrong VC1 stream.

Thanks!

madshi
14th March 2007, 23:34
Here's version 1.1 of the tool "eac3to" (the tool formerly known as "eac3toac3"):

http://madshi.net/eac3to.zip

Changes:
(1) Support for FLAC encoding added.
(2) Bitrate can be specified via command line parameter.
(3) ffdshow removed from the filter chain.
(4) "ddp" and "ec3" file extensions are accepted now, too.
(4) Fix: "dd+" file extension didn't work correctly.

The reason why I had ffdshow in the chain was that during early experimentation I often only had 2 valid channels in the converted wav files and 4 trash channels. But after some more testing it seems that this problem only occurs when using the Wav Dest filter. When directly connecting the Sonic Audio Decoder to the Dump filter the problem doesn't seem to occur.

FLAC support is complete and works fine. Unfortunately, the current flac.exe (version 1.1.4) still has a limit of 2GB for raw input files. So we'll have to wait for a newer flac.exe to make things work properly.

Rectal Prolapse
15th March 2007, 00:43
I am having issues with WavPack playback - if I encode the WavPack stream as 24 bit, I get A/V sync problems - it gets worse the longer I seek into the movie!

However, it works fine in MPC - I don't know why it goes out of sync when using GraphEdit or TheaterTek (with custom graph).

This only seems to occur with 24 bit encoded WavPack streams. Any ideas why it only works in MPC, even though the filters are the same? (I disabled the internal MPC filters - so using the same 1.7.00.18 Haali Media Splitter filter).

EDIT: I found a workaround - if I add FFDShow's Audio Processor after the output of the WavPack Decoder, the problem goes away. I figured this out after attaching GraphEdit to MPC, and found that MPC adds the Audio Switcher filter to the WavPack Decoder outputs - so maybe it somehow kept everything in sync. Seems to work with FFDShow Audio Processor too! I am happy! :D

I still don't understand how MediaCoder overcomes the FLAC 2 GB limitation - it uses the FLAC commandline tool as far as I can tell, using the Process Explorer program to check the command line as it runs.

Rectal Prolapse
15th March 2007, 00:45
@Pelican 9: sorry about the delay --when running graphedit and DTS/AC3/DD+ --> Sonic Cinemaster Audio 4.2 --> Dump, your output was coming out as a 0-byte raw file. I get the same problem with some files, but not others --and I can't seem to find any rhyme or reason to which work and which do not, except maybe size of the input...

Have you tried moving the position slider and pressing play? Also, hit play, then move the slider, then push play again. This is the only way I found to get dump to give me anything other than a zero byte file.

I am using the DD+ soundtrack from the Harry Potter HD-DVD.

EDIT: Put in the edit in the wrong post! oops! :blush:

Rectal Prolapse
15th March 2007, 00:52
I still don't understand how MediaCoder overcomes the FLAC 2 GB limitation - it uses the FLAC commandline tool as far as I can tell, using the Process Explorer program to check the command line as it runs.

I just had a thought - I believe FLAC can handle the INPUT of 2 GB of WAV bytes. However, it is likely that it chokes when it tries to OUTPUT more than 2 GB of FLAC. I will try to test this.

Jan2001
15th March 2007, 01:52
Here's version 1.1 of the tool "eac3to" (the tool formerly known as "eac3toac3"):

http://madshi.net/eac3to.zip

Changes:
(1) Support for FLAC encoding added.
(2) Bitrate can be specified via command line parameter.
(3) ffdshow removed from the filter chain.
(4) "ddp" and "ec3" file extensions are accepted now, too.
(4) Fix: "dd+" file extension didn't work correctly.

The reason why I had ffdshow in the chain was that during early experimentation I often only had 2 valid channels in the converted wav files and 4 trash channels. But after some more testing it seems that this problem only occurs when using the Wav Dest filter. When directly connecting the Sonic Audio Decoder to the Dump filter the problem doesn't seem to occur.

FLAC support is complete and works fine. Unfortunately, the current flac.exe (version 1.1.4) still has a limit of 2GB for raw input files. So we'll have to wait for a newer flac.exe to make things work properly.

Thanks a lot for that tool.
First time I got a proper 6 channel ac3 file and no crap anymore.:thanks:

vathimenil
15th March 2007, 03:36
Have you tried moving the position slider and pressing play? Also, hit play, then move the slider, then push play again. This is the only way I found to get dump to give me anything other than a zero byte file.

I am using the DD+ soundtrack from the Harry Potter HD-DVD.

EDIT: I found a workaround - if I add FFDShow's Audio Processor after the output of the WavPack Decoder, the problem goes away. I figured this out after attaching GraphEdit to MPC, and found that MPC adds the Audio Switcher filter to the WavPack Decoder outputs - so maybe it somehow kept everything in sync. Seems to work with FFDShow Audio Processor too! I am happy! :D
Wow... not quite sure how that works (shaking my head in disbelief), but it does. Go figure... but THANKS!!!

Rectal Prolapse
15th March 2007, 03:59
Ignore the EDIT part of that post vathimelli - it was supposed to be in my previous posted - but - it might just work too...hmmm. Nope - adding FFDShow Audio Processor before dump doesn't work.

Darth Pinous
15th March 2007, 06:42
I just had a thought - I believe FLAC can handle the INPUT of 2 GB of WAV bytes. However, it is likely that it chokes when it tries to OUTPUT more than 2 GB of FLAC. I will try to test this.
Confirmed. I tried a FLAC reencode of a 3,7 GB WAV file. If I use the same parameters as Mediacoder, the encode starts but it stops as soon as the FLAC file reaches 2 GB.

JnZ
15th March 2007, 08:56
Confirmed. I tried a FLAC reencode of a 3,7 GB WAV file. If I use the same parameters as Mediacoder, the encode starts but it stops as soon as the FLAC file reaches 2 GB.
Try rewrite WAVe using Wavewizard...it can fix broken header in WAVes over 2 or 4GB.

Darth Pinous
15th March 2007, 09:40
Try rewrite WAVe using Wavewizard...it can fix broken header in WAVes over 2 or 4GB.

The input WAV file has already been rewritten by Wavewizard, problem here is FLAC that doesn't want to go over 2 GB for the output file.

MichalHabart
15th March 2007, 09:44
I a having problems with Rundown HDDVD. When i demux all tracks from evo files, i am not able able to load mpa audio tracks into graphedit using orbitlee's filter (i always receive error that filter can not load data). I suspect evodemux made something wrong because at the end, i did not get any summary like is normal (i mean counted frames and so on). Anyone else had similar problems?

@Pelican, orbitlee: Is there something i am doing wrong?

Edit: I have evodemux version 0.623b

Edit2: According to evodemux, it should be DD+ at 1536kbps with length something about 1 hour. but when i try to play it thru MPC (with orbitlee's filter), i get lenght more then 6 hours and instead of playing, it just counts errors :(

zgx
15th March 2007, 09:45
I think MediaCoder tricks FLAC.exe so it does not know how big the file is. You can try this just for fun (it works but you get a small click the first second).

flac.exe -o output.flac - < largefile.raw

(you probably also need to add stuff like --endian, --channels, --bps, --sample-rate, --signed)

madshi
15th March 2007, 12:27
I think MediaCoder tricks FLAC.exe so it does not know how big the file is. You can try this just for fun (it works but you get a small click the first second).

flac.exe -o output.flac - < largefile.raw

(you probably also need to add stuff like --endian, --channels, --bps, --sample-rate, --signed)
That was a good hint!

Here's version 1.2 of the "eac3to" tool:

http://madshi.net/eac3to.zip

Changes:
- FLAC encoding works now without any input/output size limits

Disadvantage: The only way to make FLAC work with >2GB input and output files results in FLAC files which don't have a run length in the header. So if you e.g. play the resulting FLAC file in foobar2000, foobar2000 will not know how long the file plays and you won't be able to seek in the file. However, muxing the FLAC track into a MKV movie works just great and then seeking and everything works fine again.

I've made some size comparisons and here's the result:

Serenity English track, 1:59:02, 48khz, 24bit, 5.1 channels

raw/wav : 5,74 GB (100%)
flac : 2,66 GB ( 46%)
e-ac3 1536kbps : 1,27 GB ( 22%)
ac3 640kbps : 0,53 MB ( 9%)
So the 20-30% compression number for FLAC that was given earlier in this thread seems to be wrong. I think the 20-30% number comes from reducing the bitdepth from 24bit to 16bit plus FLAC compression. If I do that, I end up with 30% file size.

SBeaver
15th March 2007, 12:42
That was a good hint!

Serenity English track, 1:59:02, 48khz, 24bit, 5.1 channels

raw/wav : 5,74 GB (100%)
flac : 2,66 GB ( 46%)
e-ac3 1536kbps : 1,27 GB ( 22%)
ac3 640kbps : 0,53 MB ( 9%)
So the 20-30% compression number for FLAC that was given earlier in this thread seems to be wrong. I think the 20-30% number comes from reducing the bitdepth from 24bit to 16bit plus FLAC compression. If I do that, I end up with 30% file size.

What would you say is an apropriate bitrate for ogg 5.1 with audio like that?
It is a matter of opinion surely but what would be the equivalent sound quality of a 16-bit DTS track like those on a DVD today?

orbitlee
15th March 2007, 13:17
I a having problems with Rundown HDDVD. When i demux all tracks from evo files, i am not able able to load mpa audio tracks into graphedit using orbitlee's filter (i always receive error that filter can not load data). I suspect evodemux made something wrong because at the end, i did not get any summary like is normal (i mean counted frames and so on). Anyone else had similar problems?

@Pelican, orbitlee: Is there something i am doing wrong?

Edit: I have evodemux version 0.623b

Edit2: According to evodemux, it should be DD+ at 1536kbps with length something about 1 hour. but when i try to play it thru MPC (with orbitlee's filter), i get lenght more then 6 hours and instead of playing, it just counts errors :(



A few megabytes sample please. You can cut with any hex editor.

MichalHabart
15th March 2007, 13:55
A few megabytes sample please. You can cut with any hex editor.

Here is link to 20MB of mpa file from evodemux:
http://www.sendspace.com/file/uojxqv

If it is not going to be enough, i will demux whole track and cut more MBs from it.

Applecore
15th March 2007, 14:59
how did you guys remux an encoded mkv file with a dd+ audiotrack? mkvmerge seems to have a problem with my track.
is that even possible?

zgx
15th March 2007, 15:50
how did you guys remux an encoded mkv file with a dd+ audiotrack? mkvmerge seems to have a problem with my track.
is that even possible?Not sure what version of mkvmerge that added dd+ support but if it doesn't work with the latest official release you can check out the latest pre build at http://www.bunkus.org/videotools/mkvtoolnix/win32/pre/.

zgx
15th March 2007, 16:04
That was a good hint!

So the 20-30% compression number for FLAC that was given earlier in this thread seems to be wrong. I think the 20-30% number comes from reducing the bitdepth from 24bit to 16bit plus FLAC compression. If I do that, I end up with 30% file size.I'm glad I could be of help :). When I did it myself I got a clicking sound the first second did that happen to you?

I think many movie mixes doesn't use the rear channels and LFE that much and thats great for FLAC compression. But if you have audio all the time on all channels you won't get that much compression. If you do reduce bitdepth to 16 bit (if the source was 24) you will of course get even smaller files. I encoded the audio track for Old Boy and the RAW 24 bit file was huge (6-7GB or something) and the 16 bit FLAC I got was under 1GB.

madshi
15th March 2007, 16:17
I'm glad I could be of help :). When I did it myself I got a clicking sound the first second did that happen to you?
No, not at all. Actually I did this test:

(1) Encode short raw file with flac.exe the usual way.
(2) Encode short raw file with flac.exe by using MediaEncoders command line trick.
(3) Decode both flac files to wav.
(4) Bitwise compare of the wav files.

They final wav files were 100% identical. So when using "eac3to" + "flac" you'll get no clicking sound - unless it's in the original source. Don't know about MediaEncoder. Maybe there's a bug in MediaEncoder that causes the clicking sound, I've no idea. E.g. I could imagine that if you treat a WAV header as raw PCM data, you could get a clicking sound. But "eac3to" really feeds raw data to FLAC and no WAV header. So no danger there...

I encoded the audio track for Old Boy and the RAW 24 bit file was huge (6-7GB or something) and the 16 bit FLAC I got was under 1GB.
I'm wondering how big/small the 24->16 bit quality loss is. I'm also wondering whether the original E-AC3 track has real 24 bits to begin with. The sampling rate is listed in the E-AC3 header, but the bit depth doesn't seem to be. Also I believe to have read that Aften converts everything to 32 bit floating point before encoding. So I've really no idea to which bit depth an (E-)AC3 decoder should really decode to.

orbitlee
15th March 2007, 16:24
Here is link to 20MB of mpa file from evodemux:
http://www.sendspace.com/file/uojxqv

If it is not going to be enough, i will demux whole track and cut more MBs from it.


I checked the sample, looks like there are some garbage before the first audio frame. You should use hex editor to remove all bytes before the blue block (start with 0B 77)


http://img136.imageshack.us/img136/7701/sampledq9.th.jpg (http://img136.imageshack.us/my.php?image=sampledq9.jpg)

@Pelican9, Is it possible that EVO contains partial audio frame in the first 2048 bytes pack?

Clown shoes
15th March 2007, 16:25
I'm trying to fix the delay on my ec3 file but I'm not used to working with hexidecimal figures. Can anyone tell me what I need to do.

The first PTS of my VC1 stream is 00000D75

The first PTS of my EC3 stream is 000008FE

Thanks

Pelican9
15th March 2007, 16:36
I'm trying to fix the delay on my ec3 file but I'm not used to working with hexidecimal figures. Can anyone tell me what I need to do.

The first PTS of my VC1 stream is 00000D75

The first PTS of my EC3 stream is 000008FE

Thanks

D75=3445
EC3=3779
diff=334 -> 3,7 ms

Powered by windows calculator...

Pelican9
15th March 2007, 16:39
Here is link to 20MB of mpa file from evodemux:
http://www.sendspace.com/file/uojxqv

If it is not going to be enough, i will demux whole track and cut more MBs from it.

Could you share the first 20-50 MB of your EVO file?

MichalHabart
15th March 2007, 16:44
I checked the sample, looks like there are some garbage before the first audio frame. You should use hex editor to remove all bytes before the blue block (start with 0B 77)


http://img136.imageshack.us/img136/7701/sampledq9.th.jpg (http://img136.imageshack.us/my.php?image=sampledq9.jpg)

@Pelican9, Is it possible that EVO contains partial audio frame in the first 2048 bytes pack?

Well, check with evodemux will find DD+ track before it finds video track. could it be that audio starts before video and it is causing this problem?

Clown shoes
15th March 2007, 16:49
Powered by windows calculator...

lol :p Things you never knew windows calculator could do

3.7 ms! that is very weird. If a frame is aprox 41 ms then 3.7 will be imperceptable, whereas my audio is falling a number of seconds late. Is there anything else that might be causing such a delay?

MichalHabart
15th March 2007, 16:52
Could you share the first 20-50 MB of your EVO file?

How can i cut it, with hex editor too?

And do you know any powerfull and free hex editor that can handle files that big?

orbitlee
15th March 2007, 17:28
How can i cut it, with hex editor too?

And do you know any powerfull and free hex editor that can handle files that big?

I remember that drmpeg posted a tool named "head" in this thread, which could cut the head of a file, long long ago. :cool:

zgx
15th March 2007, 17:29
3.7 ms! that is very weird. If a frame is aprox 41 ms then 3.7 will be imperceptable, whereas my audio is falling a number of seconds late. Is there anything else that might be causing such a delay?I have similar problems. I can't get my DD+ audio and VC-1 video to sync. Have tried both to mux it into MKV and to play the EVO directly. The audio is totally out of sync and after a few seconds the audio just studders.

Below is the graph I use when I try to play the EVO:

http://img368.imageshack.us/img368/5703/notworkingky7.jpg

Anyone know what I am doing wrong?

Deckard2019
15th March 2007, 17:31
The first PTS of my VC1 stream is 00000D75
The first PTS of my EC3 stream is 000008FE

D75=3445
EC3=3779
diff=334 -> 3,7 ms

It's not EC3 but 8FE :D
So :
D75=3445
8FE=2307
diff=1138 -> 12,64 ms

MichalHabart
15th March 2007, 17:49
Could you share the first 20-50 MB of your EVO file?

Here is 30MBs of evo file:
http://rapidshare.com/files/21179483/cut.evo.html

Clown shoes
15th March 2007, 18:12
Well spotted Deckard, but I take it we are still talking milliseconds and not seconds, so nothing that would explain a delay of about 10 seconds.

Now I think about it, I wonder if the logo at the front of the feature is anywhere near 10 seconds?

Rectal Prolapse
15th March 2007, 18:17
zgx, what splitter are you using? Is it the EAC3 (DD+) track you muxed in?

Weird - I can never get Sonic Cinemaster Audio Decoder 4.2 to connect with Haali - it never agrees to connect! Any ideas on why that is? Oh - the decoder doesn't work on Dolby TrueHD streams, even when using Sonic HD Demuxer. I wonder if that is related?

MichalHabart
15th March 2007, 18:35
Well spotted Deckard, but I take it we are still talking milliseconds and not seconds, so nothing that would explain a delay of about 10 seconds.

Now I think about it, I wonder if the logo at the front of the feature is anywhere near 10 seconds?

I had similar problem and it seemed to be caused by x264 and different framerate. When i use xvid in avi, both tracks (dd+ and video) have framerate 23.976. but i tried x264 in mkv (created by megui) and video was 23.976 but audio was for strange reason 24fps. This led to big async during the movie. Try change framerate of video to 24fps if it will be better.

I assume it is problem of mkv merge program.

Pelican9
15th March 2007, 18:35
It's not EC3 but 8FE :D
So :
D75=3445
8FE=2307
diff=1138 -> 12,64 ms

Yessss!
:thanks:

MichalHabart
15th March 2007, 18:36
zgx, what splitter are you using? Is it the EAC3 (DD+) track you muxed in?

Weird - I can never get Sonic Cinemaster Audio Decoder 4.2 to connect with Haali - it never agrees to connect! Any ideas on why that is? Oh - the decoder doesn't work on Dolby TrueHD streams, even when using Sonic HD Demuxer. I wonder if that is related?

At the moment Sonic Audio decoder can not play TrueHD tracks, we have to wait for newer version.

zgx
15th March 2007, 18:37
zgx, what splitter are you using? Is it the EAC3 (DD+) track you muxed in?

Weird - I can never get Sonic Cinemaster Audio Decoder 4.2 to connect with Haali - it never agrees to connect! Any ideas on why that is? Oh - the decoder doesn't work on Dolby TrueHD streams, even when using Sonic HD Demuxer. I wonder if that is related?I'm using the latest Haali Media Splitter to open the EVO and yes it's a DD+ track in the EVO file. The EVO was created by using EVOdemux to merge the two feature EVO files and also remove all audio tracks but the DD+ track I wanted.

I have no idea why it doesn't work for you. It works for me for DD+ tracks (except for the sync problem) but it don't think it works for TrueHD yet.

Pelican9
15th March 2007, 18:43
Here is 30MBs of evo file:
http://rapidshare.com/files/21179483/cut.evo.html

What a mess!
Is this an original movie?
I guess your file is broken because it contains very strange things...
Missing headers, packets, lots of zero byte fields, etc....

madshi
15th March 2007, 18:49
I'm using the latest Haali Media Splitter to open the EVO and yes it's a DD+ track in the EVO file. The EVO was created by using EVOdemux to merge the two feature EVO files and also remove all audio tracks but the DD+ track I wanted.

I have no idea why it doesn't work for you. It works for me for DD+ tracks (except for the sync problem) but it don't think it works for TrueHD yet.
For me the best solution is to use Haali Media Splitter + Haali Matroska Muxer. The resulting MKV plays fine for me. If that doesn't work for you, try only muxing the VC-1 into MKV first. In the next step demux the DD+ track and then mux it into the VC-1 MKV by using mkvtoolnix. That should work fine, too.

MichalHabart
15th March 2007, 18:51
What a mess!
Is this a commercial movie?
I guess your file is broken because it contains very strange things...
Missing headers, packets lots of zero byte fields, etc....

I just used drmpeg's head program:
head.exe feature_1.evo cut.evo 30000000
That's all

Is it possible that whole evo file is broken?

And yes, it normal movie, The Rundown.

If you any tool i can use for cutting evo file, just let me know and i will post new part :)

Pelican9
15th March 2007, 19:05
I just used drmpeg's head program:
head.exe feature_1.evo cut.evo 30000000
That's all

Is it possible that whole evo file is broken?

And yes, it normal movie, The Rundown.

If you any tool i can use for cutting evo file, just let me know and i will post new part :)
You can cut with EVOdemux Rebuild function, but I don't think the problem is about cutting.
I think that is a broken file.
The EVOs have a structure with packs (2048 bytes), it hasn't.

MichalHabart
15th March 2007, 19:09
You can cut with EVOdemux Rebuild function, but I don't think the problem is about cutting.
I think that is a broken file.
The EVOs have a structure with packs (2048 bytes), it hasn't.

Hmm, thats really weird. Is it possible that this evo file contains some garbage in the beginning? Can i somehow get rid of it?

idamien
15th March 2007, 19:26
Hi again...

Sorry for the OT question, but here it goes:

Does anyone know how to register .ax filters in Vista 32 Bit? I´ve tried regsvr32 and few filter managers but none of them gets the job done...

Can anyone please help?
Thanks.

Pelican9
15th March 2007, 19:52
Hmm, thats really weird. Is it possible that this evo file contains some garbage in the beginning? Can i somehow get rid of it?

That's not only an extra garbage but there are missing video and audio packs. The first video PTS (based on DSI packet) is 0D71...

MichalHabart
15th March 2007, 19:57
That's not only an extra garbage but there are missing video and audio packs. The first video PTS (based on DSI packet) is 0D71...

This is what i got when i read both evo files (PEVOB_1 and 2):

Opening file PEVOB_1.EVO
Reading...
File size: 9394 Mbytes.
Dolby Digital Plus audio stream 0 found!
First PTS = 00001AF4
Substream id = C0
Stream 0 is Dolby Digital Plus
frame size = 1024 bytes, number of blocks per frame = 1
Sampling frequency = 48 kHz
Transmission bitrate = 1536 kbit/s
Channel arrangement = L + R + C + Ls + Rs, bsid = 16
LFE channel = present
VC-1 video stream 0 found!
First PTS = 00000000
Substream id = 55
Profile = Reserved
Level = 0
Chroma Format = Reserved
Size = 2x886
Progressive segmented frames.
Dolby Digital Plus audio stream 1 found!
First PTS = 00002094
Substream id = C1
Stream 1 is Dolby Digital Plus
frame size = 1536 bytes, number of blocks per frame = 3
Sampling frequency = 48 kHz
Transmission bitrate = 768 kbit/s
Channel arrangement = L + R + C + Ls + Rs, bsid = 16
LFE channel = present
Dolby Digital Plus audio stream 2 found!
First PTS = 00002634
Substream id = C2
Stream 2 is Dolby Digital Plus
frame size = 1536 bytes, number of blocks per frame = 3
Sampling frequency = 48 kHz
Transmission bitrate = 768 kbit/s
Channel arrangement = L + R + C + Ls + Rs, bsid = 16
LFE channel = present
Dolby Digital Plus audio stream 4 found!
First PTS = 00003714
Substream id = C4
Stream 4 is Dolby Digital
Sampling frequency = 48 kHz
Transmission bitrate = 192 kbit/s
Channel arrangement = L + R, bsid = 8, bsmod =0
Dolby Digital Plus audio stream 3 found!
First PTS = 00003714
Substream id = C3
Stream 3 is Dolby Digital
Sampling frequency = 48 kHz
Transmission bitrate = 192 kbit/s
Channel arrangement = L + R, bsid = 8, bsmod =0
VOB number 3 contains 0 video , 5 audio and 3 subpicture streams.
PTM of first video frame = 00000D71
PTM of last video frame = 1513D6CA
Duration = 1:05:29.092
Subpicture stream 0 found!
First PTS = 0005BC05
Substream id = 20
Format = 8bitRLE
Subpicture stream 2 found!
First PTS = 00208A58
Substream id = 22
Format = 8bitRLE
Subpicture stream 1 found!
First PTS = 00208A58
Substream id = 21
Format = 8bitRLE

Continue on PEVOB_2.EVO
Reading...
Dolby Digital Plus audio stream 0 found!
First PTS = 1513DB74
Substream id = C0
Stream 0 is Dolby Digital Plus
frame size = 1024 bytes, number of blocks per frame = 1
Sampling frequency = 48 kHz
Transmission bitrate = 1536 kbit/s
Channel arrangement = L + R + C + Ls + Rs, bsid = 16
LFE channel = present
Dolby Digital Plus audio stream 4 found!
First PTS = 1513DD54
Substream id = C4
Stream 4 is Dolby Digital
Sampling frequency = 48 kHz
Transmission bitrate = 192 kbit/s
Channel arrangement = L + R, bsid = 8, bsmod =0
Dolby Digital Plus audio stream 3 found!
First PTS = 1513DD54
Substream id = C3
Stream 3 is Dolby Digital
Sampling frequency = 48 kHz
Transmission bitrate = 192 kbit/s
Channel arrangement = L + R, bsid = 8, bsmod =0
Dolby Digital Plus audio stream 2 found!
First PTS = 1513E2F4
Substream id = C2
Stream 2 is Dolby Digital Plus
frame size = 1536 bytes, number of blocks per frame = 3
Sampling frequency = 48 kHz
Transmission bitrate = 768 kbit/s
Channel arrangement = L + R + C + Ls + Rs, bsid = 16
LFE channel = present
Dolby Digital Plus audio stream 1 found!
First PTS = 1513E2F4
Substream id = C1
Stream 1 is Dolby Digital Plus
frame size = 1536 bytes, number of blocks per frame = 3
Sampling frequency = 48 kHz
Transmission bitrate = 768 kbit/s
Channel arrangement = L + R + C + Ls + Rs, bsid = 16
LFE channel = present
VC-1 video stream 0 found!
First PTS = 00000000
Substream id = 55
Profile = Reserved
Level = 0
Chroma Format = Reserved
Size = 2x886
Progressive segmented frames.
VOB number 4 contains 0 video , 5 audio and 3 subpicture streams.
PTM of first video frame = 1513D6CA
PTM of last video frame = 218CB9DA
Duration = 0:38:44.989
Subpicture stream 2 found!
First PTS = 151CAEC5
Substream id = 22
Format = 8bitRLE
Subpicture stream 1 found!
First PTS = 151CAEC5
Substream id = 21
Format = 8bitRLE
Subpicture stream 0 found!
First PTS = 151CAEC5
Substream id = 20
Format = 8bitRLE
Done.

6843 frames count in video stream 0.

Is it possible that fw (outpost) damaged transferred data without noticing by utorrent?

yonta
15th March 2007, 20:48
@drmpeg

Your xport.exe writes output files in the same dir as the source file by default.
Is there any way that I can set the out dir to something other than the source dir?

Rectal Prolapse
15th March 2007, 21:03
Michal, maybe something went wrong with the decryption?

zgx: Thanks. Maybe I have an old haali splitter - the version I am currently using is 1.7.100.18, which is only a week or two old.

zgx, maybe try adding the FFDShow Audio Processor after the Sonic Audio Decoder? I found that fixed my sync problems with WavPack streams in an MKV.

MichalHabart
15th March 2007, 21:12
Michal, maybe something went wrong with the decryption?


I am starting to suspect firewall that is damaging data :(

Ranguvar
16th March 2007, 00:34
Okay. I'm sorry if this has been asked before, but I just successfully ripped/decrypted a Blu-Ray movie (Chronicles of Riddick). How do I get it into a format that can be easily read by most encoders (VirtualDub, XviD4PSP, etc. etc.)? I'm gonna recompress it in VC-1 to DVD-9 size and see what it looks like on my 360. Thanks very much.

P.S. I just have a bunch of .evo files (Enchanced VOBs?).

Pelican9
16th March 2007, 01:17
Okay. I'm sorry if this has been asked before, but I just successfully ripped/decrypted a Blu-Ray movie (Chronicles of Riddick). How do I get it into a format that can be easily read by most encoders (VirtualDub, XviD4PSP, etc. etc.)? I'm gonna recompress it in VC-1 to DVD-9 size and see what it looks like on my 360. Thanks very much.

P.S. I just have a bunch of .evo files (Enchanced VOBs?).

Are you sure of BD? :)

Rectal Prolapse
16th March 2007, 01:18
I just tried it again - and now magically Sonic Cinemaster Audio Decoder 4.2 is working again with MKVs!

Geez - I've been wasting all this time converting to FLAC and WavPack!

But - I will see if I can duplicate the sync problems you are having zgx.

Rectal Prolapse
16th March 2007, 02:57
zgx, I cannot duplicate the sync problems with VC-1 and DD+ (640 kbps) tracks. I used EVODemux 0.624b and rebuilt the Harry Potter Gobbbbles of Fire. No problems playing back with Haali Media Splitter 1.7.100.18. The filter graph looks exactly like yours, using the WMVideo DMO Decoder filter from WMP11. Playback was done in TheaterTek by means of the .grf file I made. What player are you using? I find that GraphEdit is kind of finicky - I think I detected a slight lipsync problem after seeking around with it.

The only difference is that I have Reclock replacing DirectSound renderer.

Try reinstalling Haali?

Oh - what is the bitrate of the DD+ soundtrack? Maybe it is a problem with the Sonic decoder - it may not like the bitrate of your soundtrack!

MichalHabart
16th March 2007, 08:26
I checked the sample, looks like there are some garbage before the first audio frame. You should use hex editor to remove all bytes before the blue block (start with 0B 77)


http://img136.imageshack.us/img136/7701/sampledq9.th.jpg (http://img136.imageshack.us/my.php?image=sampledq9.jpg)

@Pelican9, Is it possible that EVO contains partial audio frame in the first 2048 bytes pack?

Cool, this actually works!!! I demuxed mpa file again and removed everything before this sequence and now i am able to load it into your filter.
And vc1 track is completely fine, i watched the beginning of it and there is no problem inside. Also subtitles were correctly demuxed and converted by supread (many thanks to Pelican for new OCR procedure)

zgx
16th March 2007, 09:17
@Rectal Prolapse:
Thanks for all your support. I will try using "FFDShow Audio Processor" as you suggested and I will also reinstall Haali and give Reclock a try.

The DD+ track does have a high bitrate (1500 Kbps) but it does play normally when I just mux it to a MKA file.

I have tried playing stuff back both in Graphedit and in ZoomPlayer and I get the same problem with sync.

It seams that the movie runs somewhat in slowmotion and that the audio plays as it should.


@madshi:
I have tried muxing files both in Graphedit with Haali Matroska Muxer, in gdsmux and with mkvmerge (both official version and pre versions). I have a MKV with just the video but it also seams to play somewhat in slowmotion for me. When I get home later I can upload a sample.. might be just a playback issue I'm having.

Clown shoes
16th March 2007, 13:08
I think I have discovered a problem with the Cineplayer decoder pack 4.2. My demuxed vc1 is from a 2 hour movie (Training Day) if I play the VC1 in MPC with Cinemaster 4.1 it displays the correct running time, however if I install Cinemaster 4.2 it displays a running time of 1 hour 27 minutes! The real problem is not the running time itself, which can easily be changed with the use of avisynth but the fact that the number of frames is wrong. EVODemux reports the framecount as 175677 which when added to a script

directshowsource("F:\TrainingDay\Demuxed\TD.vc1",fps=23.976,audio=false,seekzero=false,seek=true).trim(0,175677)

and used with Cinemaster 4.1 correctly displays it's 2 hour 2 minute running time. The moment Cinemaster 4.2 is installed the framecount is reported as 125375 and a running time of 1 hour 27 minutes! I have tried changing the fps in the avisynth script to 29.97 just to see whether it is a pulldown issue, but that causes the frame count to be registered as 156719, still with a running time of 1 hour 27 minutes.

I don't think this is a bug per say, just the way the decoder handles the footage. If I play back the VC1 in MPC, it plays perfectly and continues on after the timecode stops untill the end of the movie. My quandry now is what version to have installed because although 4.1 enables me to correctly open the video in an encoder such as Mainconcept's h264 offering, the hardware acceleration does not work and the audio decoders do not work for transcoding DD+. 4.2 on the other hand will not allow me re-encode the video properly, but does provide the ability to smoothly play back VC1s, simulate smoothly in Scenarist 4.1 thanks to the fixed hardware acceleration and transcode DD+.

My first question I suppose is; can anyone replicate this issue?

Applecore
16th March 2007, 15:44
thanks zgx :) latest mkvmerge works perfectly.

but the weird thing is the player doesnt play the audio track at all. it is supposed to be a dd+ i demuxed with evodemux. the encoded x264 video works great but theres no sound after remuxing.
i can however play the original ripped evo stream with media player including the dd+ track.

BarisHugo
16th March 2007, 16:03
Hi guys,
I stopped looking at this thread for several weeks now and don't want to read all that posts.
First of all, many thanks for what everybody has been doing here so far, its a real great coommunity.

Now my question:
Is there now a possibility to playback VC-1 correct with Media Player Classic.
If yes, how can I manage this?

Thank you very much.

Regards Hugo

Chumbo
16th March 2007, 16:38
I just wanted to help by reporting the following using EVOdemux. The first is with 0.623 and the latter is with 0.624b. Note the differences in counted frames when the evo file is analyzed completely (first set) and after it's demuxed (last set):

Harry Potter and Goblet of Fire
226024 counted frames (2:37:07.084) in video stream 0.
225986 calculated frames (2:37:05:499) in video stream 0.
259252 counted frames (3:00:12.969) in video stream 1.
225986 calculated frames (2:37:05:499) in video stream 1.

Demuxing...
Done.

226026 counted frames (2:37:07.168) in video stream 0.
225986 calculated frames (2:37:05:499) in video stream 0.
225986 calculated frames (2:37:05:499) in video stream 1.

Batman Begins
201536 counted frames (2:20:05.731) in video stream 0.
201467 calculated frames (2:20:02:844) in video stream 0.
251725 counted frames (2:54:59.030) in video stream 1.
201467 calculated frames (2:20:02:844) in video stream 1.

Demuxing...
Done.

201539 counted frames (2:20:05.856) in video stream 0.
201467 calculated frames (2:20:02:844) in video stream 0.
201467 calculated frames (2:20:02:844) in video stream 1.

I didn't know if this would cause a big concern or problem, but I hope it helps to report it.

Also, for those of you who use the framecount in an avs script, which figure do you normally use, i.e., counted or calculated?

[EDIT] Here's the counts for MI3 which are correct on both counts (pun intended ;)):
180468 counted frames (2:05:27.019) in video stream 0.
180393 calculated frames (2:05:23:883) in video stream 0.
225312 counted frames (2:36:37.388) in video stream 1.
180393 calculated frames (2:05:23:883) in video stream 1.

Demuxing...
Done.

180468 counted frames (2:05:27.019) in video stream 0.
180393 calculated frames (2:05:23:883) in video stream 0.
180393 calculated frames (2:05:23:883) in video stream 1.

btw, in all cases I did NOT demux video stream 1 but it still showed up in the demux info. It would be a good idea to remove it from the output if it's not selected. Just a suggestion. :)

zgx
16th March 2007, 17:20
thanks zgx :) latest mkvmerge works perfectly.

but the weird thing is the player doesnt play the audio track at all. it is supposed to be a dd+ i demuxed with evodemux. the encoded x264 video works great but theres no sound after remuxing.
i can however play the original ripped evo stream with media player including the DD+ track.In order to play DD+ in MPC you need to use "Sonic Cinemaster Audio Decoder 4.2" to decode it. Set it as your normal "AC3" decoder as that is what your player thinks the DD+ track is.

Clown shoes
16th March 2007, 18:25
I think I'll summarise my post slightly.

Has anyone managed to get the correct number of video frames (as read by EVODemux) recognised using software such as Virtualdubmod since installing Cineplayer 4.2 (the software that contains cinemaster audio decoder 4.2)

For me 4.1 displays correctly, 4.2 does not!

idamien
16th March 2007, 18:45
Calculated number of frames has been working fine for me so far...

Hope this helps.

Clown shoes
16th March 2007, 19:12
Thanks Idamien, do you have Cineplayer 4.2 installed? Not just the audio decoder. Filtergraph should display Cinemaster video decoder 4.2 being used when a VC1 is added.

ACrowley
16th March 2007, 19:52
Thanks Idamien, do you have Cineplayer 4.2 installed? Not just the audio decoder. Filtergraph should display Cinemaster video decoder 4.2 being used when a VC1 is added.


Hi

@clownshoes

I dont have any Problem´s with Sonic 4.2 Video Decoder and AudioDecoder.

Calculated Framcount works like a charm .
I always get the correct calculated Framecount with no wrong Frames, so the Movies ends up with the right last Frame


About mkvmerge :
I have little Problems to with my x264 reencodes and DD+ Audio muxed with mkv merge.
The Beta works "always" perfect.
The Trick with the latest from 7.3.07 is to set the default Flag on the DD+ Track
"Default Track Flag" on "yes"

I hope it helps
Greets

Clown shoes
16th March 2007, 20:12
Hi Crowley,

I am very confused now. I have tested this out now on several machines, always with the same result. Once Cineplayer 4.2 is installed the frame rate and frame count changes, once I uninstall and go back to 4.1 the problem is solved. This is very weird as the cause is obviously Cineplayer but no one else is reporting the same problem.

Is Filtergraph opening your VC1 with cinemaster video decoder 4.2? I'm wondering if other people have a different video decoder installed that is opening these files. I do not have anything like WinDVD or PowerDVD installed.

Crowley, can you tell me what other filters you are using?

ACrowley
16th March 2007, 20:20
Hi Crowley,
Is Filtergraph opening your VC1 with cinemaster video decoder 4.2? I'm wondering if other people have a different video decoder installed that is opening these files. I do not have anything like WinDVD or PowerDVD installed.

Crowley, can you tell me what other filters you are using?

i always build the graph manually from demuxed VC1 Evo

Filesource - ElecardMpegDemultiplexer - Sonic 4.2

Which Demultiplexer are you using ?
Better use ElecardMpegDemultiplexer ,from latest Xmuxer vers 1.0.77 Build 60823 ,works perefct.
It Detects correctly the VC1 Video Pin and transmits to Sonic

In Avisynth :
DirectShowSource("G:\MI3.grf",fps=23.976,framecount=180393,seekzero=false,seek=true,audio=false)

BUT, i dont use VdubMod...maybe your wrong Runtime is caused by Vdub Mod !
In AVSP Editor and Megui everything works

The other Way without Framecount Value etc is to mux the VC1 EVO in mkv and use it for Directshowsource Input .
The graph connects to WMVideoDecoder DMO ( WMP11 Codec only)
So you need only Directshowsource(xxx.grf ,audio=false,fps=23.976)

@Chumbo
"Calculated" Frames is the correct one. Counted Frames is only the "raw Amount" of Frames

Chumbo
16th March 2007, 20:25
Thanks for the confirmation on the claculated frames. Much appreciated.

ACrowley
16th March 2007, 21:00
BUT, i dont use VdubMod...maybe your wrong Runtime is caused by Vdub Mod !
In AVSP Editor and Megui everything works


No, i made a Test on Mission Impossible 3 HDDVD VC1.
VdubMod shows me the correct Framecount and Runtime with my Graph
So, Clownshoes, i cant reproduce your Problem with Sonic 4.2 Decoder

tomos
17th March 2007, 03:59
i may have missed an answer to this - this thread is fairly long now.

i have one ddp track that is plain weird!

i can play it back if i skip forward. if i leave it alone it sticks on 0 seconds in and thats it.

wouldnt load via directshowsource or anything. gave me that damn - the filter graph manager won't talk to me message.

graph was

DDP file -> sonic 4.2 audio -> directsound.

same issue with this. no sound unless i skip forward :(

Chumbo
17th March 2007, 06:33
@drmpeg

Your xport.exe writes output files in the same dir as the source file by default.
Is there any way that I can set the out dir to something other than the source dir?
You can get around that by running xport from a location in the path. Copy xport.exe to system32 for example.

Go to your TARGET folder and run xport from there feeding it the full path of your source and voila! Make sure to use quotes if your source path has spaces in the name.

Clown shoes
17th March 2007, 11:34
Thanks Crowley, It appears it is Sonic's HD Demuxer 4.2 that is the problem. I have the Elecard Demuxer, but when I create a graph with it I get the unconnectable pin error, complaining about colour spaces. Does it have to be version 1.0.77 that I use?

ACrowley
17th March 2007, 15:48
Thanks Crowley, It appears it is Sonic's HD Demuxer 4.2 that is the problem. I have the Elecard Demuxer, but when I create a graph with it I get the unconnectable pin error, complaining about colour spaces. Does it have to be version 1.0.77 that I use?

i would ssay the latest Version is always the best choise

mhhh, very strange What error Message did you get from Sonic ?


Have you a YV12 Passthrough Codec on your System ?
like Helix oder Divx ?

madshi
17th March 2007, 16:35
A question to orbitlee:

Your modded filter works great for DD+ files. However, it doesn't handle conventional AC3 files very well (in combination with AC3Filter) - and unfortunately blocking your modded filter in MPC doesn't seem to work for me. So I have to unregister/register your filter all the time. Would it be possible to change the filter so that it handles *only* DD+ files but no AC3/DTS files? That would be the best solution IMHO, cause then we had a perfectly working filter for DD+ and could use whatever other filter works best for conventional AC3 and DTS files. What do you think?

Thanks!

Applecore
18th March 2007, 13:15
i still cant get my dd+ track to work properly. when i try to connect the file in graphedit dd+ > sonic audio i get the incompatibility error.

this is getting really frustrating.

tomos
18th March 2007, 14:45
A question to orbitlee:

Your modded filter works great for DD+ files. However, it doesn't handle conventional AC3 files very well (in combination with AC3Filter) - and unfortunately blocking your modded filter in MPC doesn't seem to work for me. So I have to unregister/register your filter all the time. Would it be possible to change the filter so that it handles *only* DD+ files but no AC3/DTS files? That would be the best solution IMHO, cause then we had a perfectly working filter for DD+ and could use whatever other filter works best for conventional AC3 and DTS files. What do you think?

Thanks!

hmm, that might be why i am getting weird things hapening


every now and then i try to recompress a demuxed DDP file (identified as DD+ by evodemux). it always fails. But, if i just rename the file to ac3 then belight deals with it with no problem at all

idamien
18th March 2007, 15:03
Hmmm... Just installed Sonic CinePlayer Decoders with Cinemaster Audio Decoder 4.2 but can´t seem to build the graph to output sound...

Tried to connect the rebuilt .EVO (Haali Media Splitter) to the Audio Decoder but couldn´t connect due to pin incompatibility (Error 0x80040217). Tried to connect demuxed .MPA (.DDP) directly to Audio Decoder but got the same error. Tried to connect demuxed .MPA to Sonic HD Demuxer (works) and then to Audio Decoder but same error occurs...

I´m using Vista 32 Bit.

Can anyone please offer any hints or help?

Thanks.

orbitlee
18th March 2007, 16:06
@madshi: I just collected a set of AC3/DTS samples with different bitrate and try to fix the bug. If this still does not work, I will trim the source filter to DD+ only. Be patient.

For other peoples have difficult on connecting audio decoder to source filter or demuxer, try to download mfc71.dll from www.dll-files.com and drop into windows system32 folders. Quite a few people confirmed this works.

ACrowley
18th March 2007, 16:43
A question to orbitlee:
Your modded filter works great for DD+ files. However, it doesn't handle conventional AC3 files very well (in combination with AC3Filter) -


I can play all AC3 /DTS with Orbitlees Source Filter.
With AC3 Filter or SonicDecoder, but the runtime is totally wrong with the Source Filter, something like 8h on a 120min AC3
DD+ are Ok

But its not a big Problem...AC3/DTS playback is Ok

@idamien
FileSource ( DD+ Audio)-SonicHDDemuxer-SonicAudioDecoder4.2 is working too

Mitchjs
18th March 2007, 17:33
idamien,

i dont use the haali media splitter to play back evos,

i use file source (async) to sonic HD Demuxer, to sonic video 4.2 and audio 4.2... video to video renderer 9, audio to default direct sound...

then u select the audio track u want to listen to in the sonic HD demuxer

I get PERFECT playback in zoomplayer

i made some evo profiles, since the sonic decoders do all formats, mpeg2, dd+,ac3,dts... its just perfect for all .evo playing

i still use powerdvd, if i want to use the hd-dvd's features
but i can also browse and play each .evo


mitch

Clown shoes
18th March 2007, 18:29
mhhh, very strange What error Message did you get from Sonic ?

Have you a YV12 Passthrough Codec on your System ?
like Helix oder Divx ?

Hi Crowley, my avisynth error reads;

Avisynth open failure:
DirectShowSource: GRF file does not have a compatible open video pin.
Graph must have 1 output pin that will bid RGB24, RGB32, ARGB, YUY2 or YV12

As far as YV12 passthrough goes, does FFdshow not suffice?

lordx
18th March 2007, 18:53
Hi

Thanks to Pelican for this amazing work on Evodemux.
Just looking at post for ripping sub from HD-DVD , took SupRead, works great

Just a question : is that possible to rebuild EVO with a .srt subtitle created from Supread after OCR conversion ?

'Cause I'm French, I hate french dubbed language and prefer to keep original tracks with subtitles ;)

When I'm using Rebuild in Evodemux with VC1, one DD+ track and one subtitle, no sub appears in the final evo result.

Thanks ;)

idamien
18th March 2007, 19:46
@mitchjs

Many thanks for the quick answer, mitch.

then u select the audio track u want to listen to in the sonic HD demuxer

Thanks for the hint... I had not done this the first time I tried going thru Sonic HD Demuxer. But I did just now and unfortunately the same error persists.

I´m wondering if this is a Vista issue...?

Thanks anyway for the quick reply, I´ll keep on reading and trying.

idamien
18th March 2007, 20:13
@Orbitlee

Thanks for the hint...

Already had the file mfc71.dll in my system32 folder. Anyway, tried downloading from the indicated site and the download appears to be the same version I have. Same problem pops up.

Tried also your DD+ source filter going thru Sonic HD Demuxer and going directly to Sonic Cinemaster Audio Decoder 4.2. Neither worked... Same error...

Many thanks anyhow.

Pelican9
18th March 2007, 22:04
When I'm using Rebuild in Evodemux with VC1, one DD+ track and one subtitle, no sub appears in the final evo result.

I think, you should edit the XPL file to match the rebuilt EVO.

lordx
18th March 2007, 22:16
I think, you should edit the XPL file to match the rebuilt EVO.

I will test that , thanks ;)
But the xpl link to .map .. no to .evo , and the result is one big evo compared to the split original evo ..
But I will test !

Pelican9
18th March 2007, 23:10
Maybe you are right.
I need more info about map files to rebuild them too.
But now, I'm working on SUPread.

Edit.: I've made a new function in EVOdemux (http://pel.hu/down/EVOdemux.exe).
There is a new option: 'Rebuild ADV_PCKs'
If you check it, the rebuilt EVO will contain the Advanced packets, if not it won't.

toxik
19th March 2007, 00:06
Hey guys I tried to get eac3to to work and had trouble. I then realized I have Sonic's Audio Decoder 4.1, it says you need decoder 4.2.... Where would I be able to find the newer version of the decoder?

misdecrypt
19th March 2007, 00:32
Did you try one of those search engines? [/vague]

toxik
19th March 2007, 01:08
Search engines can't really help me, I'm running WinXP Media Center Edition and you can't install Sonic's stuff on it, in order for me to be able to install the filters.

EDIT: n/m got em.

misdecrypt
19th March 2007, 01:27
Im running winxp media center and the search engines helped me.

zgx
19th March 2007, 09:33
Edit.: I've made a new function in EVOdemux (http://pel.hu/down/EVOdemux.exe).
There is a new option: 'Rebuild ADV_PCKs'
If you check it, the rebuilt EVO will contain the Advanced packets, if not it won't.Sounds exciting. Would you mind explaining what these advanced packets do? Does it help when trying to use XPL files with rebuilt EVOs?

Pelican9
19th March 2007, 10:27
Sounds exciting. Would you mind explaining what these advanced packets do? Does it help when trying to use XPL files with rebuilt EVOs?

I don't know what exactly these packs are doing.
I've asked about it here, but no answer.
The first play title usually contains these packs, and these packs contain the files of ADV_OBJ folder. It doesn't make sense to me, maybe with purpose of caching.

Momber
19th March 2007, 12:49
@Pelican9
Thank you very much for providing the wonderful tool EVOdemux.

I usually merge the feature Evos with EVOdemux (rebuild), and discard audio- and subtitle tracks I don't need in the process.
Most times this results in an EVO that plays very well in PDVD, simply by double-clicking it.
Sometimes though the resulting EVO suffers from extreme jerkyness and glitches and I can't figure out why. The same film plays fine as long as the EVOs remain untouched and in their original folder.
Am I doing something wrong?
Any hints will be appreciated.
Examples for troublesome EVOs are Terminator 3, Spy Game und U-571.
Used EVOdemux 0.625b with ADV_PCKs enabled or disabled - no difference.

Also, EVOdemux doesn't seem to be able to successfully rebuild EVOs that contain AVC video (Equilibrium, Babel). I presume that's a known limitation, isn't it?

Thanks a lot in advance for your reply.

S.

mlansell
19th March 2007, 15:48
@Pelican9
Thank you very much for providing the wonderful tool EVOdemux.

I usually merge the feature Evos with EVOdemux (rebuild), and discard audio- and subtitle tracks I don't need in the process.
Most times this results in an EVO that plays very well in PDVD, simply by double-clicking it.
Sometimes though the resulting EVO suffers from extreme jerkyness and glitches and I can't figure out why. The same film plays fine as long as the EVOs remain untouched and in their original folder.

I've found that I get problems if I load the XPL - the last video and audio streams disappear from under the video/audio tabs, and the rebuild ends up jerky, and contains the wrong audio.

If I just start Evodemux and go straight to the audio/video etc tabs, select the desired streams and then rebuild everything works fine.

HTH

Mal

misdecrypt
19th March 2007, 21:51
So has anyone been able to go from TrueHD -> DTS(some high bitrate of course) ?

honai
19th March 2007, 22:26
Sure. Just use orbitlee's dtscore tool (posted a few pages back).

Rectal Prolapse
19th March 2007, 22:30
honai, do you mean to say that the dtscore tool can decode DOLBY TrueHD tracks and convert them to DTS? :p

misdecrypt
19th March 2007, 22:32
I was just gonna ask the same thing.

Momber
20th March 2007, 01:11
I've found that I get problems if I load the XPL - the last video and audio streams disappear from under the video/audio tabs, and the rebuild ends up jerky, and contains the wrong audio.
If I just start Evodemux and go straight to the audio/video etc tabs, select the desired streams and then rebuild everything works fine.
Thanks for your suggestion. However, I never load the XPL because I wouldn't know what to do with it in the first place.

And the problem with the mentioned EVOs is the same when I load the feature EVOS from within an empty directory, with no XPL files anywhere in the neighborhood.

S.

honai
20th March 2007, 04:08
Sorry, I mixed it up. I meant DTS-HD -> DTS. Dolby True-HD decoding should be possible with Sonic's audio decoders, though, with intermediate WAV conversion and final encoding with Aften or similar DD 5.1 encoders (or SurCode DTS).

Rectal Prolapse
20th March 2007, 04:21
As far as I know, the Sonic 4.2 decoders can't decode Dolby TrueHD - or at least,it never worked for me and others even when using Sonic HD Demuxer.

nowhere2007
20th March 2007, 05:04
Also, EVOdemux doesn't seem to be able to successfully rebuild EVOs that contain AVC video (Equilibrium, Babel). I presume that's a known limitation, isn't it?

S.

Momber, it does appear that there is an issue with AVC video parameters. I used demux to export the raw h.264 video and ran it through YAMB/MP4Box. Equilibrium was showing over 308k frames @ 59.94FPS, while the resulting MP4 has 154k frames @ 23.976FPS. This gave me a file that AviSynth could digest properly. Yes, this means I'm re-encoding (X360 playback). A quick review of the MP4 video tells me it will be in sync with the audio.

AviSynth script:
# Created by AVSEdit
# LC 3/17/2007
DirectShowSource("Equilibrium.rebuilt.H.264.stream.0.mp4",audio=false,video=true)
Crop(0,134,-0,-134)
AssumeFPS(23.976)

First post - hope it helps somebody! :)

Easy123
20th March 2007, 08:43
Hello,

I´ve got a Problem to get the Audio and Video in Sync, perhaps someone can help :D

Okay let´s start. The Movie is "Running Scared" which was demuxed with EvoDemux 0.625b. It has 3 DTS HD Tracks and Video is VC-1 encoded. Start PTS of Video is "D6D8" and the one of the Audio Tracks is "D6D8", which should tell me that there is no Delay between Video and Audio, right? The Video was reencoded using the following Script and x264:

DirectShowSource("D:\HD-DVD Test\RS.grf",audio=false,fps=23.976,framecount=174948)
Crop(0,131,0,-132)
LanczosResize(1280,544)
ConverttoYV12()

I reencoded the DTS HD into AC3 using tranzcode and Sonic Foundry. When the Tracks get muxed by mkvtools the sound is far off, meaning the video seems to run faster and is ahead of the audio.. Anyone got an Idea? Rambo was done in the same way and it was in sync...

Edit: Even if I take the original DTS (processed with dtscore) Audio and Video is async...

Edit2: Found the Error, it was a wrong filter in graphedit (D´oh) :D

Momber
20th March 2007, 11:55
Just another quick question - what tool do you guys prefer to merge the two feature m2ts files of BluRay posts?
I mean when there actually are two, like in Kingdom of Heaven.

TIA
S.

IanD
20th March 2007, 14:04
As far as I know, the Sonic 4.2 decoders can't decode Dolby TrueHD - or at least,it never worked for me and others even when using Sonic HD Demuxer.
Which product(s) are the Sonic 4.2 decoders contained in?

I see Cineplayer mentioned in this thread, but the official Roxio/Sonic site only has Cineplayer 3.4 available for purchase.

Clown shoes
20th March 2007, 14:38
The latest Cineplayer is only bundled in with Sonic's profesional products (Scenarist/Cinevision) right now. I would imagine it will be available to consumers quite soon though. I'm afraid this is still quite an expensive game to play if you don't work in the industry.

honai
20th March 2007, 16:35
Just another quick question - what tool do you guys prefer to merge the two feature m2ts files of BluRay posts?
I mean when there actually are two, like in Kingdom of Heaven.


copy /b *.m2ts destination.m2ts


Simple as that.

enantiomer
20th March 2007, 17:09
Simple as that.

Be aware that you may run into problems if you do any processing on merged m2ts files. It appears that the MPEG2 end sequence flag is written at the end of each m2ts file. If you merge the files together some tools will quit as soon as they hit the first end sequence flag. For example, I've had problems with MPEG2Repair and pulldown.exe. I haven't found a tool yet that can manipulate the end sequence flag.

Momber
20th March 2007, 19:18
Simple as that.
Unfortunately copy /b doesn't work. The merged file plays well only up to the merging point, after which heavy jerkyness sets in. The timeline also reflects only the first half of the movie as total playing time.

S.

KafesneBikaina
20th March 2007, 19:19
I get this error with eac3to:
http://img54.imageshack.us/img54/4274/eac3fa7.gif

I get a 8,86GB RAW file but I don't know the correct setings for SoX to convert it to WAV :confused:

madshi
20th March 2007, 19:24
I get this error with eac3to
I'd say you're probably using a too old Sox version. Try downloading the latest one.

honai
20th March 2007, 23:12
Unfortunately copy /b doesn't work. The merged file plays well only up to the merging point, after which heavy jerkyness sets in.

I've tried it with KoH and had no problems. I did extract the streams with xport after that, though, and re-muxed to MKV. Plays fine.

IanD
20th March 2007, 23:28
The latest Cineplayer is only bundled in with Sonic's profesional products (Scenarist/Cinevision) right now. I would imagine it will be available to consumers quite soon though. I'm afraid this is still quite an expensive game to play if you don't work in the industry.
Okay, thanks for the information.

Do you know which version of Scenarist/Cinevision contains Cineplayer 4.2 (ie is it as simple as Scenarist 4.2/Cinevision 1.2)?

toxik
21st March 2007, 01:13
Hello,

I´ve got a Problem to get the Audio and Video in Sync, perhaps someone can help :D

Okay let´s start. The Movie is "Running Scared" which was demuxed with EvoDemux 0.625b. It has 3 DTS HD Tracks and Video is VC-1 encoded. Start PTS of Video is "D6D8" and the one of the Audio Tracks is "D6D8", which should tell me that there is no Delay between Video and Audio, right? The Video was reencoded using the following Script and x264:

DirectShowSource("D:\HD-DVD Test\RS.grf",audio=false,fps=23.976,framecount=174948)
Crop(0,131,0,-132)
LanczosResize(1280,544)
ConverttoYV12()

I reencoded the DTS HD into AC3 using tranzcode and Sonic Foundry. When the Tracks get muxed by mkvtools the sound is far off, meaning the video seems to run faster and is ahead of the audio.. Anyone got an Idea? Rambo was done in the same way and it was in sync...

Edit: Even if I take the original DTS (processed with dtscore) Audio and Video is async...

Edit2: Found the Error, it was a wrong filter in graphedit (D´oh) :D

I'm having a similar problem, my avs video file is about 6 seconds shorter than the audio. And it syncs in the begining but slowly goes out of sync with the audio. How did you fix your problem?

Chumbo
21st March 2007, 01:31
...
Edit2: Found the Error, it was a wrong filter in graphedit (D´oh) :D
You can be more helpful to this community if you actually provide the info as to how you fixed an issue. "I found it" doesn't really provide anything helpful to those who may be experiencing the same problem.

MichalHabart
21st March 2007, 07:42
I'm having a similar problem, my avs video file is about 6 seconds shorter than the audio. And it syncs in the begining but slowly goes out of sync with the audio. How did you fix your problem?

Could be that audio is 24fps while video is 23.976fps? try change framerate of video.

Momber
21st March 2007, 13:16
I did extract the streams with xport after that, though, and re-muxed to MKV. Plays fine.
OK thanks, maybe I should try the MKV approach, too.

Ta
S.

Edit: What would be the correct command line for xport? I tried "xport KoH.m2ts 1 1 1" and I get huge amnounts of sync error messages right from the outset.

MichalHabart
21st March 2007, 13:52
OK thanks, maybe I should try the MKV approach, too.

Ta
S.

Edit: What would be the correct command line for xport? I tried "xport KoH.m2ts 1 1 1" and I get huge amnounts of sync error messages right from the outset.

For HDTV you must use "xport -h KoH.m2ts 1 1 1"

ACrowley
21st March 2007, 13:55
Could be that audio is 24fps while video is 23.976fps? try change framerate of video.

No Audio is 23.976fps too

I know it 100% sure, cause i made a lot of hddvd /blueray reencodes to 23.976fps.

And all demuxed AudioTracks matches exactly to the 23.976fps

Video and Audio is 23.976fps

MichalHabart
21st March 2007, 15:32
No Audio is 23.976fps too

I know it 100% sure, cause i made a lot of hddvd /blueray reencodes to 23.976fps.

And all demuxed AudioTracks matches exactly to the 23.976fps

Video and Audio is 23.976fps

Yes, i know. But frined of mine has also this experience that audio was at 24fps even if video was 23.976fps. And one more thing, when i encoded with x264 into mkv, i also got async. But xvid in avi was ok.

ACrowley
21st March 2007, 17:02
Yes, i know. But frined of mine has also this experience that audio was at 24fps even if video was 23.976fps. And one more thing, when i encoded with x264 into mkv, i also got async. But xvid in avi was ok.

what decoder are you using for x264 ?
Maybe your CPU is to slow..on h264 its a normal Effect that you get async Audio wehn you rCPU cant handle it

vathimenil
21st March 2007, 18:45
I too had a similar problem. Even when feeding an AviSynth script to MeGUI specifying 23.976fps, it seems that the Xvid output is coming out at 25fps. On the other hand, the audio output from eac3to looks to be at the proper 23.976fps rate. So for a 1.5h movie, the async works out to around 3 minutes. I can "shrink" the audio track to match the 25fps and get a proper sync, but that just means the entire movie (both audio and video) is running 3% or so fast (not really noticeable, but still...) Would love to hear from anyone who has a solution to this or some suggestions as to how to tackle the problem. :confused:

On an unrelated note -it sounds like different people are getting their HD-DVDs backed up using slightly different methods. Personally, I'm getting to where I want to be, but I'm pretty sure I'm not using the easiest or "cleanest" path for getting there. I think it'd be useful if people started putting up "best practices" guides for how they are backing up their HD-DVDs to various audio/video combination output formats --that is, until someone puts out an all-in-one program that does it all for us automatically. Of course, we'll first have to find ways of muxing the HD audio codecs that are still resisting us... :sly:

MichalHabart
21st March 2007, 21:14
what decoder are you using for x264 ?
Maybe your CPU is to slow..on h264 its a normal Effect that you get async Audio wehn you rCPU cant handle it

Well, core2duo@6400 does not seem to be very slow CPU ;)
My decoder is ffdshow and decoding took about 40% of CPU

woah!
22nd March 2007, 00:01
That was a good hint!

Here's version 1.2 of the "eac3to" tool:

http://madshi.net/eac3to.zip

Changes:
- FLAC encoding works now without any input/output size limits

Disadvantage: The only way to make FLAC work with >2GB input and output files results in FLAC files which don't have a run length in the header. So if you e.g. play the resulting FLAC file in foobar2000, foobar2000 will not know how long the file plays and you won't be able to seek in the file. However, muxing the FLAC track into a MKV movie works just great and then seeking and everything works fine again.

I've made some size comparisons and here's the result:

Serenity English track, 1:59:02, 48khz, 24bit, 5.1 channels

raw/wav : 5,74 GB (100%)
flac : 2,66 GB ( 46%)
e-ac3 1536kbps : 1,27 GB ( 22%)
ac3 640kbps : 0,53 MB ( 9%)
So the 20-30% compression number for FLAC that was given earlier in this thread seems to be wrong. I think the 20-30% number comes from reducing the bitdepth from 24bit to 16bit plus FLAC compression. If I do that, I end up with 30% file size.

thx for this app, it works for me exactly how you intended it to :0

the only issue i have right now tho, is adding a delay setting to the process? i needed to add a 1200ms delay to one of my disc's and cant seem to do it after the ac3 file is made. is this even possible with the way you chain the filters together?

other than that the ac3 file sounds amazing :)

Momber
22nd March 2007, 00:21
For HDTV you must use "xport -h KoH.m2ts 1 1 1"
Thank you very much. That worked.
Now I'm having difficulties muxing the elementary streams into an mkv container. I tried mkvmergegui 2.0.2 and the Haali Muxer - to no avail...

S.

Chumbo
22nd March 2007, 02:07
If the m2ts file is an mpeg2 file and your output audio is actually ac3, then all you have to do is rename the mpv file to m2v and the mpa to ac3 and use your favorite muxer to mux into a ts or mpg file. Then you can use a tool like VRD to write it out to a ts file. Assuming you don't mind not using an mkv container in this case. :)

honai
22nd March 2007, 05:24
Now I'm having difficulties muxing the elementary streams into an mkv container. I tried mkvmergegui 2.0.2

Strange. Just a few days ago I muxed KoH into MKV using that same tool, no problems, plays fine. What kind of error do you get?

Rectal Prolapse
22nd March 2007, 07:29
A dumb question, but, how do you extract a subtitle stream from a Bluray disc? And is it in the same format as HD-DVD subpicture streams?

Thanks in advance!

madshi
22nd March 2007, 09:21
thx for this app, it works for me exactly how you intended it to :0

the only issue i have right now tho, is adding a delay setting to the process? i needed to add a 1200ms delay to one of my disc's and cant seem to do it after the ac3 file is made. is this even possible with the way you chain the filters together?

other than that the ac3 file sounds amazing :)
The "delaycut" tool should do the trick.

Momber
22nd March 2007, 12:42
Strange. Just a few days ago I muxed KoH into MKV using that same tool, no problems, plays fine. What kind of error do you get?
I get a zillion error messages per second along the lines of "skipped 64 bytes because no DTS header was found" or something similar to that effect.

S.

Momber
22nd March 2007, 12:49
If the m2ts file is an mpeg2 file and your output audio is actually ac3, then all you have to do is rename the mpv file to m2v and the mpa to ac3 and use your favorite muxer to mux into a ts or mpg file. Then you can use a tool like VRD to write it out to a ts file. Assuming you don't mind not using an mkv container in this case. :)
Hi Chumbo. Nice to see you over here.
I have no problems with BR-MPEG2-video and ac3 audio.
Kingdom of Heaven BRD doesn't have an ac3 audio track though, but DTS-HD instead. AC3Filter plays the core element fine, even via SPDIF, as it should per DTS-HD-specifications.
But apparently my MKV tools find DTS-HD hard to swallow.

S.

Chumbo
22nd March 2007, 16:23
Hi Chumbo. Nice to see you over here.
I have no problems with BR-MPEG2-video and ac3 audio.
Kingdom of Heaven BRD doesn't have an ac3 audio track though, but DTS-HD instead. AC3Filter plays the core element fine, even via SPDIF, as it should per DTS-HD-specifications.
But apparently my MKV tools find DTS-HD hard to swallow.

S.
Could dtscore help you achieve what you want? Search on it and you should find the link. I can't remember which post it is, sorry, but you should be able to find it easily. :)

Momber
22nd March 2007, 16:34
I had tried dtscore as soon as it came out (on the U-571 DTS-HD track) but found the resulting dts file sounded very poorly.

S.

honai
22nd March 2007, 18:29
Of course mkvtoolnix can't mux DTS-HD, so you'll have to extract the DTS core first.

As for the "poor sound" - you are aware that the DTS core of DTS-HD streams is sampled at 1536kbps? How could that sound poorly? (Unless you have a bug in your processing chain.) At that bitrate it should satisfy anyone even with high-end equipment.

Momber
22nd March 2007, 19:53
It does, when it comes out of AC3Filter or the Cyberlink Audio Decoder. But that file out of dtscore had all sorts of problems, including (but not limited to) a very subtle "beep" (for lack of a better word) in the left main channel.

S.

j666
22nd March 2007, 20:08
i get errors wile trying to convert the audio with sonic audio 4.1 is 4.2 the only one at works
?

honai
22nd March 2007, 22:28
@Momber

Which title are we talking about? Kingdom of Heaven?

Momber
23rd March 2007, 02:20
@honai
My present project is Kingdom of Heaven. The one I tried dtscore on was U-571 a while back. Sorry to cause confusion.

S.

tomos
23rd March 2007, 02:31
for those DTS within DTS-HD or whatever they are called, foobar2000 worked great for me.

have used it on KoH a while ago and no probs here

mikeyakame
23rd March 2007, 05:57
all you need to mux the m2ts into a mkv, is the nero 7.8.50 file source/async filter as it supports m2ts ;), after its installed load the m2ts into gdsmux, mux it to mkv with gdsmux, change the timecodes for the mkv to 23.976, remux it, then create another graph in graphedit with haali media splitter, then sonic video decoder 4.2. and load that into your avisynth script. works a charm, nero showtime from 7.8.5.0 plays back m2ts perfectly as its video decoder & audio decoders now support m2ts & eac3 (im not 100% on that, as i havent got a definite eac3 track to test on my comp). ;)

orbitlee
23rd March 2007, 10:21
It does, when it comes out of AC3Filter or the Cyberlink Audio Decoder. But that file out of dtscore had all sorts of problems, including (but not limited to) a very subtle "beep" (for lack of a better word) in the left main channel.

S.


That's really weird. I asked one of my friend to check U-571 HD DVD again. The DTS audio track in U-571 is just plain DTS, not DTS-HD. The original size of DTS audio track is 1,314,614,644 bytes, we can get correct runtime(116min) from this size. After processed by dtscore, still same size, since there is no DTS-HD extension at all. And I also asked my friend to binary compare the input and output, 100% match. So I have no idea why you will get poor quality output. Maybe your source is corrupted?

MichalHabart
23rd March 2007, 10:41
That's really weird. I asked one of my friend to check U-571 HD DVD again. The DTS audio track in U-571 is just plain DTS, not DTS-HD. The original size of DTS audio track is 1,314,614,644 bytes, we can get correct runtime(116min) from this size. After processed by dtscore, still same size, since there is no DTS-HD extension at all. And I also asked my friend to binary compare the input and output, 100% match. So I have no idea why you will get poor quality output. Maybe your source is corrupted?

Orbitlee, btw how are thing going on with newer version of your filter? will it support also truehd decoding? ;)

madshi
23rd March 2007, 10:49
@orbitlee, I hope I don't get on your nerves, but honestly, I'd much prefer a version of your DD+ filter which wouldn't connect to conventional AC3/DTS at all. I'd prefer that even over a totally fixed and completely working DD+/AC3/DTS filter. Why? Because having a DD+ only filter would give me the choice to use whatever (other) filter I want to use for AC3/DTS. More choices are good. And there are plenty working AC3/DTS filters. Hope you'll consider that. Thanks for your work!! :)

orbitlee
23rd March 2007, 11:42
@MichalHabart: do we have a working truehd decoder filter now? :rolleyes:

@madshi: To disable something is easier than to make something work. So here it is, the DD+ only source filter. :)

updated, see post #1207

MichalHabart
23rd March 2007, 11:49
@MichalHabart: do we have a working truehd decoder filter now? :rolleyes:


Unfortunately not even cyberlink or sonic are able to play TrueHD at the moment :( we have to wait :(

madshi
23rd March 2007, 12:25
@MichalHabart: do we have a working truehd decoder filter now? :rolleyes:

@madshi: To disable something is easier than to make something work. So here it is, the DD+ only source filter. http://www.sendspace.com/file/lwvvmi :)
Thanks so much!!!!!!!!

orbitlee
23rd March 2007, 13:00
Thanks so much!!!!!!!!

madshi, I want to confirm your requirement and my understanding. Currently this DD+ only source filter will refuse to open any AC3/DTS audio files, it only open DD+ audio. But it may connect to any downstream audio decoder filter, including ac3filter(not working of course) or sonic audio decoder 4.2(will work), unless you raise sonic audio decoder's merit or force DD+ source filter to connect to sonic audio decoder. I still don't know how to query the name of downstream audio decoder.

Here is another update, I included both version, DD+ only and full functiontional DTS/AC3/DD+. If you want to compile by yourself, use preprocessor macro DDPLUS_ONLY.
For the full functional version, I tested ac3filter and sonic audio decoder, with the following samples: AC3 192K, 384K, 448K, 640K, DTS 768K, 1536K, and some DD+. All samples work, and the runtime are also correct, at least on my system.

http://www.sendspace.com/file/ce77vr

ACrowley
23rd March 2007, 13:14
THX

Nice, the new "Full" Source Filter works perfect.
Opens AC3/DTS/EAC3 with correct Runtime

In MKV too. With previous Version i had a Problems with AC3 and EAC3 in mkv. i had Acces violations when i switch from EAC3 to AC3.
Now its perfect

THX!

Momber
23rd March 2007, 14:05
load the m2ts into gdsmux, mux it to mkv with gdsmux
But how? The Haali Muxer doesn't accept DTS-HD either.
I want to keep my DTS-HD, not throw anything away outside of "the core", not reencode the audio. At some time in the near future we may be able to make use of the full information contained in DTS-HD, it would be a shame to discard that.
All I want to do is to join the two m2ts files (which play nicely in ZoomPlayer with Cyberlink demux and AC3Filter btw) into one continuous file.

S.

Momber
23rd March 2007, 14:17
I also asked my friend to binary compare the input and output, 100% match. So I have no idea why you will get poor quality output. Maybe your source is corrupted?
Of course I can't rule that out. After all, U-571 was one of those titles that EVOdemux failed on with /rebuild. So I used /demux and that's how I got my DTS. If that is "regular" DTS (and you're right - I just confirmed it) and was demuxed correctly, I shouldn't have had any trouble playing it, or even remuxing it, and I wouldn't have seen the need to try dtscore. That is weird indeed.

Anyway, the "experts" write that the DD+ track of U-571 bests the DTS so I'll just patiently wait for an improved version of EVOdemux that can handle rebuilding this title (and a few others like it - I just heard "Happy Feet" is another addition to the list).

S.

madshi
23rd March 2007, 15:00
madshi, I want to confirm your requirement and my understanding. Currently this DD+ only source filter will refuse to open any AC3/DTS audio files, it only open DD+ audio. But it may connect to any downstream audio decoder filter, including ac3filter(not working of course) or sonic audio decoder 4.2(will work), unless you raise sonic audio decoder's merit or force DD+ source filter to connect to sonic audio decoder. I still don't know how to query the name of downstream audio decoder.

Here is another update, I included both version, DD+ only and full functiontional DTS/AC3/DD+. If you want to compile by yourself, use preprocessor macro DDPLUS_ONLY.
For the full functional version, I tested ac3filter and sonic audio decoder, with the following samples: AC3 192K, 384K, 448K, 640K, DTS 768K, 1536K, and some DD+. All samples work, and the runtime are also correct, at least on my system.

http://www.sendspace.com/file/ce77vr
Thanks again for the update... :)

I still don't know how to query the name of downstream audio decoder.
Hmmmm... The filter has a "CheckMediaType" method now. I guess you'd need to add a "CheckConnect" method. In that method you'd receive the Ac3Filter input pin as a parameter and could reject the connection for E-AC3. Just guessing, though. I've not much experience in DirectShow programming.

misdecrypt
24th March 2007, 03:31
Any chance EVO Demux could output a chapter file that I could use with megui/mkvmuxer? Thanks.

Jasch
24th March 2007, 13:15
Hello ,first of all thanks for this great thread, and tools you created.

I have tried a lot around and so far HDDVD(h264) to Mkv is solved for me.
Plays fine with bsplayer ore any directshowplayer.(Coreavc+ac3filter+sonic audio decoder)
MKV includes orig. h264,dd+,AC3 german Stream.

My steps

Demux with evodemux.
h264 stream mux to mp4 with yamb(set framerate)
mp4 + ddp +ac3 german(had to make 25to23fps and a little bit syncing with delaycut )
mux with mkvtoolnix(ddp track has to set as default).

(Reencode dd+ to ac3 or dts also works, but i stay with dd+ maybe later is an option for this)

Now i wanted try VC1, but im stuck in remux to mkv, tried the solution from page 7 get only mkv a few KB big.
(Playback VC1 in Graphedit is fine).
Im using Elecard 1.0.77 build 60823 and haali muxer 1.7.100.18.

IF someone has an idea, it would be nice.

(Sorry for my wired englisch)

madshi
24th March 2007, 13:32
Now i wanted try VC1, but im stuck in remux to mkv, tried the solution from page 7 get only mkv a few KB big.
(Playback VC1 in Graphedit is fine).
Im using Elecard 1.0.77 build 60823 and haali muxer 1.7.100.18.
Use the latest Haali Media Splitter instead of Elecard.

Jasch
24th March 2007, 13:38
thanks seems to be working ,have to try full evo.

Jasch
24th March 2007, 16:23
Ok full evo is working, but did not go to avi, because mkv is full playable(and seekable(much faster than x264)) through ffdschow(WMC1 =WMV9).

So plays fine in bsplayer.

Thanks so far for you help so x264 +vc1 is ok for me now, now i can look after bluray.

_xxl
24th March 2007, 19:55
Ok full evo is working, but did not go to avi, because mkv is full playable(and seekable(much faster than x264)) through ffdschow(WMC1 =WMV9).

MS WVC1 is multithreaded and DXVA.Libavcodec h.264 decoder is not.That's why it is slow.

Jasch
25th March 2007, 09:02
Yes but for x264 i dont use ffdschow i use Coreavc pro wich is MT.
When i seek there ist takes a while before its playing.
With VC-1 plays instandly.

ACrowley
25th March 2007, 17:36
i have a DTS HD 1536kbps 5.1 Track from IceAge2 BlueRay

Must be "real" DTS HD...the demxed File (dgmpeg) is 2.48Gb and shows Runtime 3.h55min

After dtscore extraction i get a 5.1 1536kbps plane DTS .
Runtime 1h31min04sek and 982MB

I also tried Besliced fixing. Bescliced can extract the DTS core too? Because i get a working 1536kbps 5.1 out from bescliced.
Also 982Mb .Runtime is little bit different 1h3058min

mhhh...

MichalHabart
26th March 2007, 19:47
i have a DTS HD 1536kbps 5.1 Track from IceAge2 BlueRay

Must be "real" DTS HD...the demxed File (dgmpeg) is 2.48Gb and shows Runtime 3.h55min

After dtscore extraction i get a 5.1 1536kbps plane DTS .
Runtime 1h31min04sek and 982MB

I also tried Besliced fixing. Bescliced can extract the DTS core too? Because i get a working 1536kbps 5.1 out from bescliced.
Also 982Mb .Runtime is little bit different 1h3058min

mhhh...

And delaycut is also able to do this. But i would trust dtscore.

Chumbo
26th March 2007, 20:07
...xport -h2 movie.m2ts 1 1 2...


Just curious, is the 2 in -h2 a typo or is the 2 a hidden feature? I tried it just to see and it's an unsupported function.

drmpeg
27th March 2007, 05:09
Just curious, is the 2 in -h2 a typo or is the 2 a hidden feature? I tried it just to see and it's an unsupported function.
It's a feature of the latest version (0.94).

http://www.w6rz.net/xport.zip

The -2 option demuxes just the left and right channels for Blu-Ray LPCM audio.

Ron

yonta
27th March 2007, 05:13
@drmpeg
Is there any way to set output dir when demuxing with xport?
and output filenames if possible?

tomos
27th March 2007, 06:12
unless drmpeg has changed something, the only way to do this is to put the executable in your win\sys32 folder. you can then call it from wherever.

i.e, your transport stream is say on your C drive. in a dos prompt, go to wherever you want the demuxed files to go and then run xport from there. the files end up wherever you run the command from.

so:

d:\ > xport -h c:\whatever the ts file is 1 1 1

files are demuxed to the D drive

yonta
27th March 2007, 06:52
aha, that's the trick!
xport outputs to the current dir wherever the source file is!
thank you, tomos.

ACrowley
27th March 2007, 07:25
And delaycut is also able to do this. But i would trust dtscore.


Video (23.976) and sync DVD Audio is 1h30m36sec

I tried to extract the DTScore from the IceAge 2 BlueRay DTS HD 5.1
Results :

dtscore : 1h31m4sec
bescliced:1h30m58sec
delacut : 1h12min3sec

And all extracted dts 1536kbps 5.1 are "asnyc" ...strange
DVD Audio ,DTS and AC3 ,is 100% sync


Must be coming from dtscore Or dgindex demuxing ?!
I try to demux it with latest xport

EDIT:
No, the same Problem with Xport demuxed DTS.
DTScore.exe outputs a 1h31min04sec instead of 1h30min36sec

The m2ts Mpeg2 Stream has 23.976fps!
Also strange is ,that sample cut from the middle of the Movie is sync .
Anyone here with the same Problems with the DTS HD Track?

tomos
27th March 2007, 08:02
aha, that's the trick!
xport outputs to the current dir wherever the source file is!
thank you, tomos.

no worries :)

Chumbo
27th March 2007, 16:17
It's a feature of the latest version (0.94).

http://www.w6rz.net/xport.zip

The -2 option demuxes just the left and right channels for Blu-Ray LPCM audio.

Ron
Aha, I thought I had the latest version. Doh!

May I request the version number be included in the blurb that displays the usage? Many thanks. :)

[EDIT] I thought I'd help out and do the easy stuff for you if you decide to use it. :)
fprintf(stderr, "xport version 0.94\n\n");
fprintf(stderr, "Usage:\n");
fprintf(stderr, "\txport <-pavtdszgh2> <infile> <program number> <video stream number> <audio stream number>\n\n");
fprintf(stderr, "The output files are always named bits0001.mpv for video and bits0001.mpa for audio\n");
fprintf(stderr, "(note that bits0001.mpa can be an AC-3 file). Unless the -n option is used, the demuxer\n");
fprintf(stderr, "will time align the beginning of the two elementary streams so that a remux to PS or back\n");
fprintf(stderr, "to TS will have correct A/V sync.\n\n");
fprintf(stderr, "Options:\n");
fprintf(stderr, "\tp = parse only, do not demux to video and audio files.\n");
fprintf(stderr, "\ta = dump audio PTS.\n");
fprintf(stderr, "\tv = dump video PTS.\n");
fprintf(stderr, "\tt = GOP timecode mode, count repeated fields/frames.\n");
fprintf(stderr, "\td = dump all PID's (useful for debugging muxers, but tons of output).\n");
fprintf(stderr, "\ts = suppress TS rate dumping (useful when piping output to a file).\n");
fprintf(stderr, "\tz = demux to PES streams (instead of elementary streams).\n");
fprintf(stderr, "\tg = dump ATSC PSIP information.\n");
fprintf(stderr, "\th = input file is in HDMV (AVCHD and Blu-ray) format (192 byte packets)\n");
fprintf(stderr, "\t2 = only extract 2 channels of HDMV LPCM audio from multi-channel tracks.\n");

Chumbo
27th March 2007, 16:21
@drmpeg
Is there any way to set output dir when demuxing with xport?
and output filenames if possible?
Why do you keep asking the same question over and over when it was answered once already here (http://forum.doom9.org/showthread.php?p=971606#post971606).

Now another person has to give the same answer and waste resources. If you ask a question, come back and check for an answer.

IanD
27th March 2007, 23:47
Unfortunately not even cyberlink or sonic are able to play TrueHD at the moment :( we have to wait :(
That's interesting: I played a bit of Harry Potter GOF HD-DVD with PDVD 6.5 and the assistance of AnyDVD HD and was able to cycle through the audio tracks. I left it on Dolby TrueHD for a while and was getting what seemed to be 5.1 audio with a variable speed of between 1500kbps and 2000kbps according to the PDVD info onscreen. I was definitely hearing a different soundtrack as the volume went up a little when toggling from DD5.1 to TrueHD.

Also curious is that attempting to select the TrueHD soundtrack via the disc menu, I got a warning dialogue saying the player was not compatible with TrueHD.

If PDVD 6.5 is not decoding TrueHD, then what is it doing and which soundtrack is it using?

zgx
28th March 2007, 08:01
That's interesting: I played a bit of Harry Potter GOF HD-DVD with PDVD 6.5 and the assistance of AnyDVD HD and was able to cycle through the audio tracks. I left it on Dolby TrueHD for a while and was getting what seemed to be 5.1 audio with a variable speed of between 1500kbps and 2000kbps according to the PDVD info onscreen. I was definitely hearing a different soundtrack as the volume went up a little when toggling from DD5.1 to TrueHD.

Also curious is that attempting to select the TrueHD soundtrack via the disc menu, I got a warning dialogue saying the player was not compatible with TrueHD.

If PDVD 6.5 is not decoding TrueHD, then what is it doing and which soundtrack is it using? I have experienced the same thing. I get the warning message but then you get the audio and the variable bitrate (often very high). The way I see it there are two possibilities:

1. That PDVD does not play TrueHD (as the warning message would suggest) and you are listening to some other soundtrack and the bitrate displayed is bugged.

2. You are indeed listening to the TrueHD soundtrack. Sounds most likely.

MichalHabart
28th March 2007, 09:23
I have experienced the same thing. I get the warning message but then you get the audio and the variable bitrate (often very high). The way I see it there are two possibilities:

1. That PDVD does not play TrueHD (as the warning message would suggest) and you are listening to some other soundtrack and the bitrate displayed is bugged.

2. You are indeed listening to the TrueHD soundtrack. Sounds most likely.

The only audio tracks that have variable bitrate are TrueHD and DTS-HD. But unfortunately PowerDVD does not have public filter to be used in graphedit :(

MichalHabart
28th March 2007, 10:28
Shit. I have no idea what went wrong but i was able to use eac3to.exe without any problem. But now i always receiver this error: Parsing of Dolby Digital headers failed.

Any ideas what is wrong?

madshi
28th March 2007, 10:30
Shit. I have no idea what went wrong but i was able to use eac3to.exe without any problem. But now i always receiver this error: Parsing of Dolby Digital headers failed.

Any ideas what is wrong?
It means that the E-AC3 track either isn't a E-AC3 track or that it's not beginning with a valid E-AC3 header. Do you have this problem with one specific movie, only? Or with all movies you're trying now? And can you actually play those E-AC3 tracks?

MichalHabart
28th March 2007, 10:38
It means that the E-AC3 track either isn't a E-AC3 track or that it's not beginning with a valid E-AC3 header. Do you have this problem with one specific movie, only? Or with all movies you're trying now? And can you actually play those E-AC3 tracks?

No, i can't play it and it is about one movie, Harry Potter 4 hddvd.

Edit: ddp track seems to be fine and i am also having problems to play any other ddp tracks. And if i put them into graphedit in chain dd+ source--sonic audio decoder 4.2--dump i will have dump with 0 bytes. I remember something similar happened before to someone, does anzone know how to fix it?

madshi
28th March 2007, 11:03
No, i can't play it and it is about one movie, Harry Potter 4 hddvd.

Edit: ddp track seems to be fine and i am also having problems to play any other ddp tracks. And if i put them into graphedit in chain dd+ source--sonic audio decoder 4.2--dump i will have dump with 0 bytes. I remember something similar happened before to someone, does anzone know how to fix it?
I'm confused: You say "ddp track seems to be fine", which seems to contradict everything else you're saying. Anyway, if "dd+ source -> sonic audio decoder 4.2 -> dump" gives you 0 bytes, I can at least say that my eac3toac3 tool is not at guilt... :)

MichalHabart
28th March 2007, 12:20
I'm confused: You say "ddp track seems to be fine", which seems to contradict everything else you're saying. Anyway, if "dd+ source -> sonic audio decoder 4.2 -> dump" gives you 0 bytes, I can at least say that my eac3toac3 tool is not at guilt... :)

Yes, definitely. problem seems to be in sonic decoder. i am not able to set cinepack to Dolby Digital 5.1 :(

ACrowley
28th March 2007, 13:29
Shit. I have no idea what went wrong but i was able to use eac3to.exe without any problem. But now i always receiver this error: Parsing of Dolby Digital headers failed.

Any ideas what is wrong?

I had some Problems with demuxed eac3 from evodemux.

On KingKong EAC3 1536kbps 5.1 for example

The Full Lenght demuxed EAC3 wasnt recognized by EAC3to.

The fix was easy.
I demuxed the Audio seperatly only from Feature1.evo and from Feature2.evo
Both single Parts works fine

MichalHabart
28th March 2007, 15:14
I had some Problems with demuxed eac3 from evodemux.

On KingKong EAC3 1536kbps 5.1 for example

The Full Lenght demuxed EAC3 wasnt recognized by EAC3to.

The fix was easy.
I demuxed the Audio seperatly only from Feature1.evo and from Feature2.evo
Both single Parts works fine

This is not problem of evodemux but sonic decoder pack. i am not able to play even those DD+ tracks i have already trancoded to AC3. But at least intervideo audio decoder is working instead of sonic audio decoder. Hopefully the result will be good.

Chumbo
28th March 2007, 15:25
I found for reliable audio decoding, using the filter chain with the Sonic HD Muxer always works w/out any problems. Give that a try.

- load graphedt
- use File Source (Async) to load the ddp file
- add Sonic HD Muxer and connect file output to muxer input
- add Sonic Audio Decoder and connect muxer output to decoder input

That should work perfectly for you. :)

ACrowley
28th March 2007, 16:20
This is not problem of evodemux but sonic decoder pack. i am not able to play even those DD+ tracks i have already trancoded to AC3. But at least intervideo audio decoder is working instead of sonic audio decoder. Hopefully the result will be good.

Intervideo outputs only "real" 2ch !!

When Intervideo Audio Decoder is at 5.1 its a kind of upmix.
There are postings about in this Thread

MichalHabart
28th March 2007, 17:07
Intervideo outputs only "real" 2ch !!

When Intervideo Audio Decoder is at 5.1 its a kind of upmix.
There are postings about in this Thread

Unfortunately, i know that too. But dd+->sonic audio decoder->dump is not working for me, even directsound is not working. I think i will need to restore my OS :(

woah!
29th March 2007, 07:02
or use the DirectShow Filter Manager here: http://www.softella.com/dsfm/index.en.htm

and maybe raise the merit of the filters you need and lower the ones that might be set now. its a use at your on risk app but i find it very handy..

ACrowley
29th March 2007, 08:20
or use the DirectShow Filter Manager here: http://www.softella.com/dsfm/index.en.htm

and maybe raise the merit of the filters you need and lower the ones that might be set now. its a use at your on risk app but i find it very handy..


yes, sure. but in graphedit youre selecting the Decoders/Filtesr manually, so the Merit plays no Role.

Sometimes a fresh OS installation is the last Way

@MichaleH
Are you sure your using Sonic 4.2 Decoder ?

MichalHabart
29th March 2007, 10:31
yes, sure. but in graphedit youre selecting the Decoders/Filtesr manually, so the Merit plays no Role.

Sometimes a fresh OS installation is the last Way

@MichaleH
Are you sure your using Sonic 4.2 Decoder ?

I have solved my little problem. I had to uninstall Sonic Decoder 4.2 and install Sonic Scenarist 4.1 (with decoder 4.1) and then install again Sonic decoder 4.2. Now i am able to decode dd+ tracks again. But still Harry Potter DD+ is refusing to be decoded after it demuxed from evo file with evodemux. But it can be decoded when i join both evo files and extract raw dd+ directly from it.

ACrowley
29th March 2007, 12:48
sadly i have Problems again with DTS HD

The DTS core 1536kbps is async sometimes and again with wrong runtime after dtscore processing.

Runtime should be 2h27mmin.33sec
But its 4 sec to short

tomos
29th March 2007, 20:55
this may have been posted before (this thread is a little long now with various sub topics going on).

anyone else found that when demuxing the extras, that the audio is identified as DDP but if it's paired with mpeg-2 video then it is really AC3? if the vids VC-1 then it's DDP

there were a few extras in some movies that i wanted to recompress and the usual way wouldnt work. renamed the extension to ac3 and threw the track into belight and there we go!

tomos
30th March 2007, 07:33
Perfect lossless LPCM 5.1 to FLAC conversion
It's really easy but has taken me quite a few hours to get it all right.

Programs needed:
xport by drmpeg @doom9
http://www.w6rz.net/xport.zip

sox v13.0.0
http://sourceforge.net/projects/sox

Wavewizard 0.45b
http://www.rarewares.org/wavewiz/wavewizardv0.54b.zip

MediaCoder 0.5.1
http://mediacoder.sourceforge.net/download.htm

flac 1.1.4
http://flac.sourceforge.net/download.html


Step 1 - Extract the LPCM stream from Blu-ray
xport -h movie.m2ts 1 3 2

Explaination:
"1 3 2" selects program 1, video stream 3 and audio stream 2.
Since video stream 3 does not exist you will only demux audio (change to 1 if you want video as well).
The LPCM stream should most often be number 2.


Step 2 - Map channels
sox -B -r48000 -t .raw -c 6 -2 -s bits0001.mpa file.wav

Start Wavewizard and enter channel mapping (F2).
- Create a new mapping "0 1 2 5 3 4".
- Select your new mapping.
- Click "Enable channelmapping"
- Click "Convert" and create a new file.

Explaination:
The channels in the LPCM file are mapped "L,R,C,BL,BR,LFE" as opposed to "L,R,C,LFE,BL,BR". This is corrected with Wavewizard but in order for it to accept the file you need to use sox first.


Step 3 - Encode your FLAC
- Install MediaCoder 0.5.1. Make sure you replace "flac.exe" under the "codecs" directory so you get version 1.1.4.
- Drag and drop your file(1).wav to the MediaCoder window.
- Under Audio select "FLAC" as Encoder and press F5 to start the encode.

Explanation:
FLAC doesn't like 4+ GB wave files but somehow it works with MediaCoder.


Step 4 - Enjoy your FLAC
Enjoy your new FLAC!

May I sugest using mkvmerge (http://www.bunkus.org/videotools/mkvtoolnix/) to mux your FLAC with your video stream to a Matroska container.

tried this just now. the wav file made by sox is playable but wavewizard wont accept it

error - This file is not recognized by wavewizard.

copied and pasted the commands just in case too :(

yonta
30th March 2007, 09:19
tried this just now. the wav file made by sox is playable but wavewizard wont accept it

error - This file is not recognized by wavewizard.

copied and pasted the commands just in case too :(

same here. so, I tried this and it worked.

after converting to .wav using SOX, wrote a script like this:

DirectShowSource("file.wav")
GetChannels(1,2,3,6,4,5)

then, I fed the script to BeHappy.

zgx
30th March 2007, 09:29
tried this just now. the wav file made by sox is playable but wavewizard wont accept it

error - This file is not recognized by wavewizard.

copied and pasted the commands just in case too :(I wrote a guide on Blu-ray to MKV remuxing.. there is a chapter on FLAC in there with some improvments.

http://forum.doom9.org/showthread.php?t=124080

MichalHabart
30th March 2007, 10:09
Hi there. I have problem with DD+ track from Harry Potter 4. I demuxed it with evo demux without any problems, all other streams are OK (i have already reencoded the video stream to xvid) but dd+ track refuses to to converted to raw. I am just receiving 0 sized file when trying thru graphedit. I also tried demux that track separately from both evo files and part 2 is working. So, i assume that this track is somehow broke in the beginning. But weird thing is that orbitlee's filter is able to load this file and shows no error message.
Pelican9, orbitlee can you guys please have a look on this? Here is sample from beginning of that dd+ track like it was demuxed with evodemux. Here is link to this file:
http://rapidshare.com/files/23465551/sample.ddp.html

If there is something more you will need for investigation, i will provide it to you very quickly :)
Thank you very much in advance

Darth Pinous
30th March 2007, 11:04
Hi there. I have problem with DD+ track from Harry Potter 4. I demuxed it with evo demux without any problems, all other streams are OK (i have already reencoded the video stream to xvid) but dd+ track refuses to to converted to raw. I am just receiving 0 sized file when trying thru graphedit.

I had a problem with this track, too.
Using orbitlee filter -> Sonic Audio Dec in graphedit didn't work, but using File(Async) -> Sonic HD Demuxer -> Sonic Audio Dec did work. Strange.

MichalHabart
30th March 2007, 12:01
I had a problem with this track, too.
Using orbitlee filter -> Sonic Audio Dec in graphedit didn't work, but using File(Async) -> Sonic HD Demuxer -> Sonic Audio Dec did work. Strange.

OK, i will give a try to this procedure. Thanks

Edit: Actually, this procedure works!! Cool, thank you man

Rectal Prolapse
30th March 2007, 17:11
If the Harry Potter 4 you are using was ripped by AnyDVD HD - be aware that there are a few glitches! One of them is a glitch at the very beginning of the audio track. This is probably a decryption error.

Don't use AnyDVD HD to rip Harry Potter 4, unless Slysoft has issued a patch for a fix.

enantiomer
30th March 2007, 17:22
If the Harry Potter 4 you are using was ripped by AnyDVD HD - be aware that there are a few glitches! One of them is a glitch at the very beginning of the audio track. This is probably a decryption error.

Don't use AnyDVD HD to rip Harry Potter 4, unless Slysoft has issued a patch for a fix.

Actually, don't use AnyDVD HD to rip any Blu-rays or HD-DVD movies. I stopped using the program after noticing that my Blu-ray m2ts files had continuity errors while scanning them in TSReader. I've gone back to BackupBluray and DumpHD, and the glitches have disappeared.

tomos
30th March 2007, 17:34
I wrote a guide on Blu-ray to MKV remuxing.. there is a chapter on FLAC in there with some improvments.

http://forum.doom9.org/showthread.php?t=124080

thanks :)

will try your guide next time :thanks:

MichalHabart
30th March 2007, 18:11
If the Harry Potter 4 you are using was ripped by AnyDVD HD - be aware that there are a few glitches! One of them is a glitch at the very beginning of the audio track. This is probably a decryption error.

Don't use AnyDVD HD to rip Harry Potter 4, unless Slysoft has issued a patch for a fix.

Did I say anything about decrypting? ;)

Rectal Prolapse
30th March 2007, 20:23
I figured as much, but didn't want to implicate you. :)

And yeah - it appears AnyDVD HD is evil!

orbitlee
30th March 2007, 23:58
I analyzed the sample posted by MichalHabart, I must agree with Rectal Prolapse, there IS glitch at the very begining of the audio track. In this sample, each DD+ audio frame should be 0x500 bytes, but the first frame(from 0 to 0x4ff) is good, frames from offset 0x500 to 0x3BFF are totally screwed up. All frames after 0x3C00 are good.

I guess sonic demuxer has better fault detection or something like that, so it skips the glitch, and DD+ source filter does not expect the glitch, send the glitch to sonic decoder and fail it. That's the reason.

I will update the DD+ source to skip the glitch ASAP. But nobody expects decrypted HD DVD contains glitch, right?

Momber
31st March 2007, 01:00
But nobody expects decrypted HD DVD contains glitch, right?
That's absolutely right. Thanks for posting your findings.

S.

MichalHabart
31st March 2007, 08:08
I analyzed the sample posted by MichalHabart, I must agree with Rectal Prolapse, there IS glitch at the very begining of the audio track. In this sample, each DD+ audio frame should be 0x500 bytes, but the first frame(from 0 to 0x4ff) is good, frames from offset 0x500 to 0x3BFF are totally screwed up. All frames after 0x3C00 are good.

I guess sonic demuxer has better fault detection or something like that, so it skips the glitch, and DD+ source filter does not expect the glitch, send the glitch to sonic decoder and fail it. That's the reason.

I will update the DD+ source to skip the glitch ASAP. But nobody expects decrypted HD DVD contains glitch, right?


Thanks for analyzing and posting here your findings. Hopefully there will not be any more of these corrupted files. Is it possible that it was corrupted by evodemux? Because there are 4 audio tracks and 2 of them are fine and have no problems to be converted to ac3.

ACrowley
31st March 2007, 08:44
I still cant get a proper DTScore from Perfume HDVD DTS HD.

DTS from dtscore.exe is 4 sec to short .
It must be 2h27min33sec , but its only 2h27min29sec.
Also async in different Parts, so its not only a question of a + -Delay

Strange :
When i extract the waves directly from DTS HD with tranzcode, its sync and with correct Runtime.
I made a 1536kbps 5.1 DTS Reencode and its fully sync.

Maybe its a Problem with DTS_AC3_DD+ Source Filter ?!
Because VLC shows the correct Runtime.

orbitlee
31st March 2007, 11:40
I still cant get a proper DTScore from Perfume HDVD DTS HD.

DTS from dtscore.exe is 4 sec to short .
It must be 2h27min33sec , but its only 2h27min29sec.
Also async in different Parts, so its not only a question of a + -Delay

Strange :
When i extract the waves directly from DTS HD with tranzcode, its sync and with correct Runtime.
I made a 1536kbps 5.1 DTS Reencode and its fully sync.

Maybe its a Problem with DTS_AC3_DD+ Source Filter ?!
Because VLC shows the correct Runtime.


I'd like to help, but the problem is I don't own Perfume yet, and the whole sound track will be too hugh to upload as a sample. I'm thinking to write a dump tool to dump all DTS frame headers, so I can begin to analyze.

BTW, you mentioned "correct runtime" twice, please tell me the exact filters and steps, that will be helpful also.

ACrowley
31st March 2007, 11:57
BTW, you mentioned "correct runtime" twice, please tell me the exact filters and steps, that will be helpful also.

The DTS HD tracks are from BlueRy and HDDVD.
Perfume HDDVD / Kingdom Of Heaven BlueRAy /Ice Age 2

-HDDVD demuxed with latest Evodemux.
-Blueray demuxed with Xport
-DTS HD to DTS core extraction with dtscore, also tested with bescliced amnd delaycut

Example on Perfume Runtime :
-Correct Runtime is 2h27min33sec
-The DTS core is only 2h27min29sec and async

I use your "all in one DTS_AC3_DD+ Source Filter", also tested with latest mpc Build Source Filters (Gabest), with the same Problems.
- Audio Decoder tested with AC3 Filter /Intervideo/ Cyberlink
-Muxed with mkvmerge, playback with haali , or loaded as external track in mpc.
You can see in a Waveditor that the DTScore Audio is async in more then one Point compared with the sync. Audio from DVD AC3 or reencoded DTS HD

So the Problem is not the playback and likely not the demuxing,it must be the dtscore extraction.

The demuxed untouched DTS HD ,decoded to wave with tranzcode 0.4 gives a correct Ouput .
Its sync and with correct Runtime.
A new encode from wave to DTS/AC3 will fit 100% to the Video

PS, sorry my english is not the best

menlvd
31st March 2007, 20:13
whats wrong !!!
installed latest haali splitter
mkv plays fine in mpc (video vc1)
graph:
http://img402.imageshack.us/img402/1093/graphya2.th.jpg (http://img402.imageshack.us/my.php?image=graphya2.jpg)

avs:
http://img410.imageshack.us/img410/526/avshf9.th.jpg (http://img410.imageshack.us/my.php?image=avshf9.jpg)

play:
http://img402.imageshack.us/img402/4227/playej2.th.jpg (http://img402.imageshack.us/my.php?image=playej2.jpg)

Deckard2019
31st March 2007, 20:29
You don't need Video Renderer ...

menlvd
1st April 2007, 10:14
You don't need Video Renderer ...

:thanks:

MoUCLAs
2nd April 2007, 08:59
Hello i am using eac3to and i get that msg: "Cant find/read Sonic Audio decoder settings". what should i also do? I have installed at my computer sonic scenarist 4.1

madshi
2nd April 2007, 09:39
eac3to needs the Sonic 4.2 audio decoder.

MoUCLAs
2nd April 2007, 10:46
hmm.. i havent version 4.2.
Isnt any other way to decode dd+ trackes to ac3 or encode them to aac?

SeeMoreDigital
2nd April 2007, 12:23
hmm.. i havent version 4.2.
Isnt any other way to decode dd+ trackes to ac3 or encode them to aac?Hmmm....

Although I've only got access to a few short clips with DD+ audio. I've been able to drop them into BeLight and re-encode them to 6Ch AAC-LC/HE...

tomos
2nd April 2007, 12:27
if you have 4.1, then you can do it, but IIRC you are stuck to stereo (2.0) as opposed to 6 channels.

setup a graph in graphedit - ddp -> decoder

and load up in behappy. worked fine.

really recommend you get 4.2 though.

tomos
2nd April 2007, 12:29
Hmmm....

Although I've only got access to a few short clips with DD+ audio. I've been able to drop them into BeLight and re-encode them to 6Ch AAC-LC/HE...

i think that works on extras and so on? at least for me, i've found those are just AC3 files. that doesnt work (for me at least) with a DDP movie track etc. or even short ones. bluray is mostly ac3 IMO.

casino royale for example, has their LPCM track, and a large AC3 track. be light can handle that ac3 no probs

MoUCLAs
2nd April 2007, 18:02
with belight i get : "fatal error. MAXFRAMESIZE not large enough" , when i try to encode it in aac

zgx
3rd April 2007, 09:52
Think I have found a bug in "xport". Extracted a LPCM 24 bit soundtrack and I don't think the extracted file is valid. When I decoded it xport did not print the sample rate but wrote "reserved" instead.

LPCM Audio Mode = 3/2+lfe
LPCM Audio Bits/sample = 24
LPCM Audio Sample Rate = reserved

drmpeg
3rd April 2007, 11:30
Think I have found a bug in "xport". Extracted a LPCM 24 bit soundtrack and I don't think the extracted file is valid. When I decoded it xport did not print the sample rate but wrote "reserved" instead.

LPCM Audio Mode = 3/2+lfe
LPCM Audio Bits/sample = 24
LPCM Audio Sample Rate = reserved
Yes, it's a bug. I'll post a fix tomorrow around 0100 GMT.

Ron

enantiomer
3rd April 2007, 17:07
Ron,
I noticed that while demuxing MPEG2 and VC1 streams, xport reports the coded frames. But with H.264 streams there is no report for the coded frames. I was wondering if you could add this feature into your program.

Your demuxing tools have been indispensible. Thanks.

drmpeg
4th April 2007, 02:35
Here's the update (version 0.95) to xport for the LPCM bug. I've also added the usage and version information requested by member Chumbo.

http://www.w6rz.net/xport.zip

Ron

Chumbo
4th April 2007, 02:48
Here's the update (version 0.95) to xport for the LPCM bug. I've also added the usage and version information requested by member Chumbo.

http://www.w6rz.net/xport.zip

Ron
The Dr.'s in the house! Thank you. :)

ideas_man69
4th April 2007, 02:51
hey guys..

anyone know of a way to convert a ~1500kbs DDP audio stream to a plain old 448kbs AC3 stream?

cheers...

great site btw

drmpeg
4th April 2007, 02:56
Ron,
I noticed that while demuxing MPEG2 and VC1 streams, xport reports the coded frames. But with H.264 streams there is no report for the coded frames. I was wondering if you could add this feature into your program.

Your demuxing tools have been indispensible. Thanks.
Noted. I'm a little too busy at work right now, but I do intend to add the missing H.264 features at some point.

Ron

Chumbo
4th April 2007, 03:23
hey guys..

anyone know of a way to convert a ~1500kbs DDP audio stream to a plain old 448kbs AC3 stream?

cheers...

great site btw
There's a lot of info on that in this and the BeHappy thread. The Aften thread may have info too. BeHappy or wavtoac3 will do the trick. If you're going to do that, you may as well convert it to the max 640kbps ac3.

ACrowley
4th April 2007, 09:04
MY Problem with demxuxed DTS core :

The Perfume.HDDVD DTS core is sync muxed in mkv!

But the single DTS core ist still 4 sec to short and async loaded as external Track in mpc (other ext. Audio Tracks are sync)

But now i noticed another Problem :

I have heavy stuttering via SPDIF with AC3 Filter with the DTScore ,in some Parts of the Movie
Same Problmes with VLC Decoder/ Intervideo/Cyberlink

zgx
4th April 2007, 13:25
Here's the update (version 0.95) to xport for the LPCM bug.That was really fast. What a service :). xport now prints the correct sample rate. Unfortunately I still don't get a valid LPCM track when I use xport on The Prestige that features a 24 bit/48 kHz track.

drmpeg
4th April 2007, 15:31
That was really fast. What a service :). xport now prints the correct sample rate. Unfortunately I still don't get a valid LPCM track when I use xport on The Prestige that features a 24 bit/48 kHz track.
It was only a one line fix. However, testing is everything. Looks like I'll need a sample. 50 to 100 Megabytes with some recognizable audio. rogepost.com is my favorite.

Ron

zgx
4th April 2007, 16:02
It was only a one line fix. However, testing is everything. Looks like I'll need a sample. 50 to 100 Megabytes with some recognizable audio. rogepost.com is my favorite.Thank you :thanks:. Check your inbox.

olivierdb
4th April 2007, 19:44
Would someone be able to tell me...

1) which audio formats is EVO Demux currently able to demux?

I've read that DD+ and Dolby TrueHD are mandatory on HD-DVDs, while DTS-HD Master Audio is optional. So I'm wondering if EVO Demux currently recognizes Dolby TrueHD?

2) when EVO Demux extracts the audio, does it create a seperate file for each surround sound channel (regardless of the format being used)?

3) Do Sonic, InterVideo and Cyberlink all three have Dolby TrueHD decoding capabilities?

Thanks in advance for your help.

madshi
4th April 2007, 21:11
@Pelican, your EvoDemux crashes after having read the first 300MB of FEATURE_1.EVO of the European "Serenity" release. It sais: "Access Violation at address 00404756. Read of address 01B0DDD0." I wish I could tell you more, but that's all I can say. Since your app seems to be written with Delphi, you could compile it with madExcept and send me such a build. I could then send you much more helpful information about the crash.

zgx
4th April 2007, 22:22
I would like to make a feature wish for xport.

During the past weeks working with LPCM tracks from xport I have found some problems with these huge files. Many programs will only accept the files if I add a WAVE header to them. This will often not work if the files are larger then 4 GB. FLAC.EXE also has a limit of outputting only up to 2 GB results. When encoding 6 GB+ 24 bit tracks I pass this limit.

A very nice feature in xport would be if there was an option to split the LPCM export into smaller chunks. For example 1 or 2 GB files so they can be worked with easier.

Keep up the great work drmpeg.

MichalHabart
5th April 2007, 05:37
Would someone be able to tell me...

1) which audio formats is EVO Demux currently able to demux?

I've read that DD+ and Dolby TrueHD are mandatory on HD-DVDs, while DTS-HD Master Audio is optional. So I'm wondering if EVO Demux currently recognizes Dolby TrueHD?

2) when EVO Demux extracts the audio, does it create a seperate file for each surround sound channel (regardless of the format being used)?

3) Do Sonic, InterVideo and Cyberlink all three have Dolby TrueHD decoding capabilities?

Thanks in advance for your help.

1) TrueHD is definitely not mandatory for HDDVD! Evo demux can extract all audio tracks including DTS-HD, TrueHD and DD+. Problem is not in extraction but in decoding.

2) evo demux creates separate file for every sound track, not channel.

3) No neither of them is able to decode TrueHD at the moment.

madshi
5th April 2007, 07:34
1) TrueHD is definitely not mandatory for HDDVD!
Every HD DVD player which wants to have the HD DVD logo needs to be able to decode at least 2.0 TrueHD. So yes, 2.0 TrueHD decoding is mandatory.

Pelican9
5th April 2007, 08:07
There are two things:
TrueHD is not a mandatory audio track on a HD DVD disc
but
all HD DVD players are required to decode TrueHD.

edalecu
5th April 2007, 09:46
actually, powerdvd v7.3(deluxe) can decode Dolby TrueHD.

has anyone tried to use cyberlink filters installed by this version of pdvd with a TrueHD stream??

ACrowley
5th April 2007, 10:46
cyberlink Audio Filters wont connect...

kolak
5th April 2007, 11:39
Dolby TrueHD is mandatory codec for HD DVD, but only in stereo mode.
New Toshiba players (I'm not sure about first generation) decode fully also 5.1.

olivierdb
5th April 2007, 11:45
Wikipedia state that both DD+ and TrueHD are mandatory on HD-DVDs:

"While it is a mandatory codec for HD DVD, TrueHD is optional for BD-ROM." (http://en.wikipedia.org/wiki/TrueHD)

"Dolby Digital Plus (DD-Plus) is supported in HD DVD, as a mandatory codec, and in Blu-ray Disc, as an optional codec." (http://en.wikipedia.org/wiki/Dolby_Digital#Dolby_TrueHD)

Furthermore: (on the same page in Wikipedia)

"HD-DVD and DVD-Video discs are limited to 448 kbit/s"

and (on another page)

"For reference, even new big-budget Hollywood films are mastered in only 24-bit/48 kHz, with 16-bit/48 kHz being common for ordinary films." (http://en.wikipedia.org/wiki/HD_DVD)

This has led me to the conclusion that the optimal settings when encoding audio are:

- bit rate: 448 kbits/s
- sampling rate: 48 kHz
- bit depth: 24 bits

and that there is no point in using larger parameters! Is this correct?

This has also made me wonder if EVO Demux makes the difference between DD+ and Dolby TrueHD.

When I demuxed an HD-DVD movie, I obtained 5 "DD+ streams" and 1 "DTSHD stream". I figured DTSHD must correspond to DTS-HD Master Audio and DD+, well, to DD+! I further assumed that each DD+ stream corresponds to a channel. Correct? But there is no trace of TrueHD. How would this be identified by EVO Demux? Which also leads me to the conclusion that either TrueHD is not mandatory on HD-DVDs and the info in Wikipedia is incorrect or EVO Demux does not support TrueHD. Maybe you can help here, Pelican9? Also, how may I find out how many channels are contained in the DTS-HD?

Finally, I would like to know if Sonic (which is either very expensive or very difficult to find! and comes in different flavours and versions!) is the only decoding solution that will preserve 5 channels, because I've read on this forum that InterVideo will only preserve 2 channels.

Thank you very much for all your answers.

zgx
5th April 2007, 12:25
@oliverdb:

Hmm...

Support for Dolby TrueHD, Dolby Digital and Dolby Digital Plus are mandatory for HD DVD hardware.

Support for Dolby Digital are mandatory for Bly-ray hardware while Dolby TrueHD and Dolby Digital Plus are optional for Blu-ray hardware.

For Dolby Digital the max bitrate is 448 kbps on a DVD, 640 kbps on Blu-ray and 504 kbit on HD DVD.

For Dolby Digital Plus the max bitrate is 3 Mbps on HD DVD and 1,7 Mbps on Blu-ray.

For Dolby TrueHD the max bitrate is 18 Mbps on both Blu-ray and HD DVD.


You will get the best possible audio from not doing any lossy encoding at all. But if you do need to do a lossy encode then increasing the bit depth and or the sample rate will not increase the audio fidelity. So if the source is 16 bit / 48 kHz you will gain nothing by encoding it to 24 bit / 96 kHz for example.

If you need to do a lossy encode the higher bitrate you have the more transparent to the source you will get. Doing lossy encodes to 448 kbps will not give you the best possible audio.

To get the same quality as the source you need to encode to a lossless format (like FLAC, Wavpack, TrueHD and DTS-HD Master Audio) or you simply settle for the actual source without doing any encoding.

EVOdemux will see the difference of DD+ and TrueHD.

I think your "DTSHD stream" could be DTS-HD High Resolution Audio (lossy codec) or DTS-HD Master Audio (lossless codec). Check the cover of your HD DVD to see what kind of tracks are supposed to be on it.

EVOdemux does support TrueHD so if such a track was not found your HD DVD does not have one. All HD DVDs does NOT come with TrueHD tracks even if the HD DVD hardware are required to support it.

You can playback your HD DVD in PowerDVD and it will decode your DTS-HD or DD+ tracks and give you 6 channel audio (if thats what's in the source). Sonic Audio Decoder 4.2 is the only directshow filter that you can use in directshow players (like ZoomPlayer, MPC and Windows Media Player) to decode Dolby Digital Plus soundtracks and get 6 channel output.

edalecu
5th April 2007, 12:31
evodemux does recognize TrueHD! it proved me that on Happy Feet hd-dvd ;)
http://www.freeimagehost.ro/zasfiles/2007-04-05_142748.png

olivierdb
5th April 2007, 13:07
@zgx: THANK YOU for your quick answer.

@edalecu: Thanks for posting.

Two last questions please: If I have 5 DD+ audio streams (with different transmission rates), would I be able to feed each one to an input pin with the Sonic Audio Decoder directshow filter?
Also, I am encoding to WMA Pro. What would the encoded bit rate have to be given the different transmission bit rates of the DD+ streams (1536, 768 and 192 kbit/s)?

:thanks:

ACrowley
5th April 2007, 15:16
@zgx: THANK YOU for your quick answer.

@edalecu: Thanks for posting.

Two last questions please: If I have 5 DD+ audio streams (with different transmission rates), would I be able to feed each one to an input pin with the Sonic Audio Decoder directshow filter?
Also, I am encoding to WMA Pro. What would the encoded bit rate have to be given the different transmission bit rates of the DD+ streams (1536, 768 and 192 kbit/s)?

:thanks:

i encode DD+ to WMA10 Pro as follows

DD+ 1536kbps to WMA10 pro 5.1 1 pass CBR 768kbps 24bit
DD+ 640kbps to WMA10 pro 5.1 1pass CBR 640kbps 24bit
DD+ 448kbps to 448kbps ....

DTSHD (demuxed core) to WMA10 pro 1pass CBR 768kbps 24bit

I decode DD+ to a 5.1 wave 24bit with ea3to (Filesource-SonicAudioDecoder4.2-Dump / Sox .raw to .wav)
And ProCoder to encode the wave to WMA

Also i could extract a clean dtscore without stuttering via SPDIF
-DTScore is "not" clean with this Method :
1. Evodemux ,demux DTS HD from HDDVD "The Perfume"
2. dtscore.exe to extract the dtscore from DTS HD
DTScore 15360kbps 5.1 stutters /cracks (for example in the 5th minute)

Then i demuxed DTS HD with Graphedit.
1.Filesource- SonicHDDemuxer(4.2)-Dump
2.dtscore.exe dtscore.exe to extract the dtscore from, DTS HD
The DTScore 1536kbps 5.1 is without stuttering and is clean...nice

So ,maybe the stuttereing/cracking Problem is cause by Evodemux ?

Both DTS are asnyc and 4sec to short as single DTS. But muxed with mkvmerge its 100% sync and Ok
Could be a Decoder Problem..because VLC Player shows correct Runtime. As is sy i tried all Combinations of Filters/Decoders

deakorn
5th April 2007, 18:46
Was wondering if someone could help me find a way to convert the raw .wav file that u get from eac3to to WMAPRO 5.1 VBR. Acrowley states above how to get it to CBR but ProCoder doesnt do VBR 5.1, only CBR. I have tried using a avisynth script with the WMCmd.vbs but i get the following error:

D:\RawSource>cscript.exe "C:\Program Files\Windows Media Components\Encoder\WMCm
d.vbs" -input "D:\RawSource\Audio_Only.avs" -output "D:\children.audio.wma" -a_m
ode 3 -a_codec wmapro -a_setting 640_48_6_24
Microsoft (R) Windows Script Host Version 5.6
Copyright (C) Microsoft Corporation 1996-2001. All rights reserved.

Prepare to encode failed with error -1072886856 The input media format is invali
d.

my avisynth script looks like this:
Directshowsource("D:\RawSource\children.audio.wav",fps=23.976,video=false,audio=true)


also i tried using dbpoweramp but it crashes at 30%.

any help would be appreciated thanks :)

zgx
5th April 2007, 19:10
@deakorn:

Quoted from http://en.wikipedia.org/wiki/WAV

"The WAV format is limited to files that are less than 4 GiB in size, due to its use of a 32 bit unsigned integer to record the file size header (some programs limit the file size to 2 GiB)."

I suspect you have a 24 bit multichannel PCM file and those tend to be quite large. It's probably the size of the file that causes your avisynth script and dbpoweramp to malfunction.

I'm at the moment facing similar problems when trying to encode a 6 GB+ file to FLAC. The solution I think is to use the RAW PCM file and not give it a WAV header or to split the file into smaller files that can then be given WAV headers.

Please let me know if you find another good solution to this problem.

olivierdb
5th April 2007, 20:43
You may want to look into this (http://www.dreamincode.net/code/snippet433.htm) to convert your WAV to raw PCM. You'll have to compile the C++ code though!

zgx
5th April 2007, 22:07
@deakorn:

If you decide to split the RAW PCM file you should make sure you dont break any samples. Each sample in a 24bit/6 channel file is 18 bytes long. A 16bit/6 channel file has 12 byte long samples.

So with your 24 bit file make sure you split size in bytes are dividable by 18.

Pelican9
5th April 2007, 23:23
Changes for v0.625

- Fixed bug with stream renumbering during Rebuild
- It's working with all 32 subtitles now

madshi:
Thank you for your help.

ACrowley
6th April 2007, 06:34
@deakorn ,why do you want to use vbr ?

I mean 1pass CBR is fine...WMV HD DVDs are using 1pass cbr too ?

I dont have PRoblems to encode a huge wave 32bit to wmapro in ProCoder..
I made it with over 10gb 32bit wave

You can use SteinbergNuendos encoder ...works fine

PHD_1976
6th April 2007, 07:21
Is it possible somehow to get information about chapters' timing from Blu Ray discs?
Regarding HD-DVD - its all clear, cause .xml file contains this info.
But I have no idea where is it even stored in Blu-Ray.

Thanx.

deakorn
6th April 2007, 08:25
thanks for the responses everyone

@ACrowley: I always thought VBR was suppose to be better then CBR. Ill give procoder a shot and see how it sounds with CBR.

ACrowley
6th April 2007, 09:59
thanks for the responses everyone

@ACrowley: I always thought VBR was suppose to be better then CBR. Ill give procoder a shot and see how it sounds with CBR.

At the momnet i encode the EAC3 from Troy HDVD 640kbps 5.1 DD+ to WMA10 pro 640kbps 1pass CBR 48khz 24bit.
No Problems with the big input Wave at 5.1, 24bit, 8GB into ProCoder.

BUT : The wave file in 24bit 5.1 "seems to be" not correct , but its Ok.
Any player shows wrong Runtime and Nuendo/Vegas/Audition cant import it, i dont know why. But after encoding its ok.
I works fine when you convert the 5.1 wave to 6 24bit mono waves with Tranzcode 0.40
The waves are now clean and you can import the monos in Nuendo and encode them to wma, or import them into other encoders like Surcode,SoftEncode
Or you create a 5.1 wave with Tranzcode and use Procoder

VBR Bitrate is maybe a choice when you encode low Bitrate Audio like mp3.
But for "HighDef" Audio ,WMA10Pro with 640kbs is perfect.
And as i say original WMV HD DVD use CBR 1pass to and MS suggest it to.
I mean AC3/DTS/EAC3 are all encoded with cbr 1pass

@Pelican
Can you add more Infos to the Output File Name from demuxed Audio Track ? The Bitrate and Channels would be fine :
PEVOB_1_PEVOB_2.DD+.640kbps.5.1.stream.00

-Eraser-
6th April 2007, 11:09
hi,

i tried to re-encode the ddp-track ("A Scanner Darkly" HD DVD) to ac3, using eac3to
but i get an error: "getting "dump" instance failed"

do i need to download/install a dump filter (don't know where to get it) ?

ACrowley
6th April 2007, 11:44
hi,

i tried to re-encode the ddp-track ("A Scanner Darkly" HD DVD) to ac3, using eac3to
but i get an error: "getting "dump" instance failed"

do i need to download/install a dump filter (don't know where to get it) ?


the Dump.ax Filter is part of Graphedit

Its in the Dir from graphedit. dump.ax

-Eraser-
6th April 2007, 12:04
the Dump.ax Filter is part of Graphedit

Its in the Dir from graphedit. dump.ax

ok tnx, i found it ;)

dmz01
6th April 2007, 14:38
It was only a one line fix. However, testing is everything. Looks like I'll need a sample. 50 to 100 Megabytes with some recognizable audio. rogepost.com is my favorite.

Ron

Hi Ron,

Would it be possible for to add a "rebuild" feature similar to that of evodemux that would remove all unnecesary pakets? I would love to have a standard 188packet TS stream that only contained the streams I wanted. To jumpstart you if you want I do have the code (from another project of mine) to generate the new PAT/PMT.

I'm not looking for a full re-mux. All I'm thinking about is something like this:

Foreach TS input packet
{
if (packet's PID is one of streams I want to keep)
write packet to output;
else if (packet's PID is PAT)
write new PAT to output;
else if (packet's PID is PMT)
write new PMT to output;
else
/* skip */ continue;
}

This would allow me and others to play those files with a lot more software than just PDVD/WDVD. Elecard decoder package and NVidia Pure Video Decoder package can both be used instead to play those files in Media Center for example, since both come with TS demuxers.

PS. To me you will always be dr1394 :D:D:D

olivierdb
6th April 2007, 19:33
Are there any known bugs using the DD+/DTS/AC3 Source Filter with InterVideo Audio Decoder? I've seen on this forum that some have opted for

File Source(Async)>Sonic HD Demuxer>Sonic Audio Decoder
rather than
DD+/DTS/AC3>InterVideo Audio Decoder.

Others have reported problems with the second method here (http://forum.doom9.org/showthread.php?p=980151#post980151).

Any ideas what the problem might be?

NHRaider
6th April 2007, 20:09
Are there any known bugs using the DD+/DTS/AC3 Source Filter with InterVideo Audio Decoder? I've seen on this forum that some have opted for

File Source(Async)>Sonic HD Demuxer>Sonic Audio Decoder
rather than
DD+/DTS/AC3>InterVideo Audio Decoder.

Others have reported problems with the second method here (http://forum.doom9.org/showthread.php?p=980151#post980151).

Any ideas what the problem might be?

As the Greatful Dead said, "what a long, strange trip it's been"... After searches I came across this thread. I did find and load Sonic CinePlayer HD DVD Decoder Pack v.4.2.0.140 and tested it and it WORKED...

For some reason, I could get the DD/DTS/AC3 to only work on smaller files...The Sonic 4.2 worked with the larger main features...

zgx
6th April 2007, 20:09
Are there any known bugs using the DD+/DTS/AC3 Source Filter with InterVideo Audio Decoder? I've seen on this forum that some have opted for

File Source(Async)>Sonic HD Demuxer>Sonic Audio Decoder
rather than
DD+/DTS/AC3>InterVideo Audio Decoder.

Others have reported problems with the second method here (http://forum.doom9.org/showthread.php?p=980151#post980151).

Any ideas what the problem might be?From what I understand InterVideo Audio Decoder will only give you stereo audio when decoding DD+. Use the search function in this thread this has been discussed before.

zeropc
7th April 2007, 07:37
Changes for v0.625

- Fixed bug with stream renumbering during Rebuild
- It's working with all 32 subtitles now

nice :)

say, did this new version fix the stuttering with happy feet hd dvd? i can't test right now as i'm not on windows for the time beeing.

zgx
7th April 2007, 16:18
I just used xport to dump a 7.1 LPCM track.

It worked well the only problem is that I have no clue how the channels are mapped. Usually with 5.1 tracks they come out of xport as "L,R,C,BL,BR,LFE" as opposed to "L,R,C,LFE,BL,BR" but this is a 7.1 track and it sounds as if one of my front channels are comming out of the left rear. Anyone have any idea?

Darth Pinous
7th April 2007, 18:02
I just used xport to dump a 7.1 LPCM track.

It worked well the only problem is that I have no clue how the channels are mapped. Usually with 5.1 tracks they come out of xport as "L,R,C,BL,BR,LFE" as opposed to "L,R,C,LFE,BL,BR" but this is a 7.1 track and it sounds as if one of my front channels are comming out of the left rear. Anyone have any idea?

7.1 LPCM track, hmmm ? Sounds like Innocence... :rolleyes:

Someone wrote all the channels mapping for LPCM, 1 or 2 weeks ago.

For 7.1, it should be L,R,C,LS,RLS,RRS,RS,LFE while correct order for WAV should be L,R,C,LFE,RLS,RRS,LS,RS

zgx
7th April 2007, 18:09
7.1 LPCM track, hmmm ? Sounds like Innocence... :rolleyes:

Someone wrote all the channels mapping for LPCM, 1 or 2 weeks ago.

For 7.1, it should be L,R,C,LS,RLS,RRS,RS,LFEAwsome :). Anime fan or hd enthusiast I take it?

Darth Pinous
7th April 2007, 18:37
Awsome :). Anime fan or hd enthusiast I take it?

little bit of both... and coz I know only two BR with LPCM 7.1, Crank and Innocence, I had one chance on two. :)

drmpeg
8th April 2007, 01:50
I just used xport to dump a 7.1 LPCM track.

It worked well the only problem is that I have no clue how the channels are mapped. Usually with 5.1 tracks they come out of xport as "L,R,C,BL,BR,LFE" as opposed to "L,R,C,LFE,BL,BR" but this is a 7.1 track and it sounds as if one of my front channels are comming out of the left rear. Anyone have any idea?
Here's the channel mapping for all the Blu-ray LPCM formats:

mono M1 X
stereo L R
3/0 L R C X
2/1 L R S X
3/1 L R C S
2/2 L R LS RS
3/2 L R C LS RS X
3/2+lfe L R C LS RS lfe
3/4 L R C LS Rls Rrs RS X
3/4+lfe L R C LS Rls Rrs RS lfe

X = zero samples, Rls = Rear left surround, Rrs= Rear right surround

Ron

idbirch2
8th April 2007, 16:25
Hi, I wonder if someone can give me a little bit of advice. I'm trying to re-encode the Phantom Of The Opera HD-DVD which is VC-1 and DD+ audio. I am serving up the video to Procoder2 with the following avs script:

directshowsource("F:\test\test.GRF",fps=23.976,audio=false)

The graph consists of the Sonic HD Demmuxer and the Sonic Video Decoder. I have used eAC3to to convert the DD+ to standard DD. The problem is that when I mux the new mpv and ac3 files, the audio starts in sync but gradually drifts further and further out until it is a couple of seconds out at the end. I am convinced that the frame rate I selected when re-encoding the video is to blame but I'm not sure what to change.

If I force the frame rate in the avs script, Canopus sees whatever I tell it to. If I dont specify, Canopus detects 29.97fps. I thought all HD-DVDs are 23.976p? Am I wrong? Should I be forcing 23.976 in the avs file?

Secondly, what should the output framrate be set to? I originally tried the "23.976p -> NTSC" option in Canopus but this had the problem I described above. I have just re-encoded choosing an output frame rate of 23.976p because I figured keeping the output at exaclty the same fps as the input would work. I am still waiting for that re-encode to finish and was hoping for a little guidance from an expert.

Thanks.

ACrowley
8th April 2007, 17:16
Problem is that Sonic Decoder outputs garbage with wrong Framerate, wether you set it to.
Result is the wrong 29.97 Framerate and a not smooth Video with skipped Frames

-You "must" use the Framecount Value for the demuxed VC1 with SonicDecoder.
-"Calculated" Frames (not counted) from Evodemux is the correct Value.

-Also do not use SonicHDDemuxer. Use ElecardMpegDemultiplexer (from latest Xmuxer) .Works better imho
Filesource-ElecardMpegDemultiplexer-SonicCinemasterVideoDecoder 4.2

-Create your AVS with :
DirectShowSource("G:\yourvideo.grf",fps=23.976,framecount=xxxxxx,seekzero=false,seek=true,audio=false)

-You will get the same 23.976 fps Output. When you want convert it to 25fps just just fps=25
-After encoding the Audio is 100% sync

-------------------------
Other Method is :
1. mux the Evo into mkv with Haalis gdsmux
2. Remux it with mkvmerge and 23.976 timecode ( when you directly use the evo for encoding you have again wrong Framerate)
3. create your graph with HaaliMediaSplitter-WMVideodecoder DMO
4. Create your AVS with DirectShowSource("G:\video.grf",fps=23.976,audio=false)

With this Method you need no Framecount Value etc and you can seek through your Graph/AVS ( with Sonic you cant seek)

I had Problmes with SonicDecoder on Perfume HDDVD VC1. There was heavy Blocking around 5minutes
And with WorldTrade Center there are some Sences with Artefacts.
Micosofts VC1 Decoder works without Problems in these Scenes. But generally Sonic works very well with a great looking Picture

I think this will fix your Problems

idbirch2
8th April 2007, 19:42
Great, thanks for your help. I have another encode going through with the avs script you suggested, will be about 2 hours before I know if it's worked, fingers crossed.

Devilman
8th April 2007, 20:47
I dont know if i'm correct here anyway but i have a few question.

I cant playback dd+ with any type of player, I have installed Sonic Scenarist 4.2 BD Edition and the dtsac3source "dtsac3source-full.ax" and no player can play the dd+ A_EAC3 from the MKV File.

So i sayed to myself, ok than i make a normal AC3 from the dd+. I got eac3to 1.2 and wanted to extract the EAC3 out of the MKV but mkvextract says: "'A_EAC3' is not supported".

What can i do, i want to play the mkv with the EAC3 audio, or extract them and resample to normal AC3 and mux it back, but i cant do either...

Please help me!

zgx
8th April 2007, 21:03
So i sayed to myself, ok than i make a normal AC3 from the dd+. I got eac3to 1.2 and wanted to extract the EAC3 out of the MKV but mkvextract says: "'A_EAC3' is not supported".

Please help me!Try the latest pre-build of mkvtoolnix at http://www.bunkus.org/videotools/mkvtoolnix/win32/pre/

Not sure if it helps but it might.

Devilman
8th April 2007, 21:29
@zgx I already have, but thanks for the fast replay

Any other suggestion?

zgx
8th April 2007, 21:39
@zgx I already have, but thanks for the fast replay

Any other suggestion?Try Graphedit.. "Haali Media Splitter -> Dump"

Rectal Prolapse
8th April 2007, 21:40
You want the "Sonic CinePlayer HD DVD Decoder Pack v.4.2.0.140" not the one you used - I would guess that only has 4.1 decoders, not 4.2, right?

Devilman
8th April 2007, 23:20
@zgx i am not very familiar with graphedit. Are there any tutorials for it, because i searched at the board and on google and find only crap.
My Graph looks like this, but when i press the play button nothing happen.
http://img243.imageshack.us/img243/1490/filmat8.jpg


@Rectal Prolapse thx for replay, in Graphedit these filters are available for me:
http://img238.imageshack.us/img238/2970/sonicqs7.jpg
i dont know if its the right version, but i am looking for the Version u discribed.

jokin
9th April 2007, 07:53
Thes settings work good for me when encoding to WMV via the WMCMD.vbs.

http://img378.imageshack.us/img378/7800/audgrfov2.jpg

http://img385.imageshack.us/img385/8830/vidgrfsz4.jpg

ACrowley
9th April 2007, 08:00
You want the "Sonic CinePlayer HD DVD Decoder Pack v.4.2.0.140" not the one you used - I would guess that only has 4.1 decoders, not 4.2, right?


yep. 4.1 isnt working with EAC3

Maybe he has the same Problem i had last Days.

After i installed 4.2 i can connect to EAC3.
After i installerd 4.1 and over it 4.2 Package it works..dont know why

SpAwN_gUy
9th April 2007, 08:30
Sorry for my post... i've just read ACrowley's post.. i'll try this gdsmux ... (currently am) ... 'caouse i need seeking.. thanks..

//OLD POST
okay guys,.. could you help me with my problem...
i have a (named)HD-DVDBackup,.. i've seen somwhere here that one of you guys dealed with that Movie..
source ic VC-1 ~17Gb for Video.
so,.. i have Sonic's DShow-Filters installed, graphedit and bunch of PCs waiting for x264farm job... but
.. i tried the way: Graphedit -> avisynth(i really need this) ..
http://www.ljplus.ru/img3/s/p/spawn_guy/Graphedit.jpg
DirectShowSource("G:\DVDRiP\_HD\_HD-Video.GRF", audio=false, seekzero=false, seek=true, fps=24).trim(0,201480)
but... both MPC and VDubMod show me the length of 1hour 40mins 55secs .... but the original time is like 2hours 20mins 5secs.. but if played in the end the video continues to play,...

any thougts?

and then i tried tutorial on page 7 ... and i'm stuck in the beginning... i have graph that ends with Haali MKV Muxer,.. and.. ?? what sould i do? .. press paly.. or what?

idbirch2
9th April 2007, 10:12
Problem is that Sonic Decoder outputs garbage with wrong Framerate, wether you set it to.
Result is the wrong 29.97 Framerate and a not smooth Video with skipped Frames

-You "must" use the Framecount Value for the demuxed VC1 with SonicDecoder.
-"Calculated" Frames (not counted) from Evodemux is the correct Value.

--Create your AVS with :
DirectShowSource("G:\yourvideo.grf",fps=23.976,framecount=xxxxxx,seekzero=false,seek=true,audio=false)

-You will get the same 23.976 fps Output. When you want convert it to 25fps just just fps=25
-After encoding the Audio is 100% sync

I think this will fix your ProblemsHi, well the re-encode finished but I am still having problems. I used the framecount option in the avs and set Procoder to output at 23.976p (same as source I think?) but the audio still drifts out. It falls behind by a few seconds so by the end of the film, audio is heard first and then the video. Does that mean I need to increase of decrease the video frame rate in order to sync up?

EVOdemux also detects Phantom of the Opera as 29.97fps, is that normal? Will the POTO HD-DVD definitely be 23.976?

ACrowley
9th April 2007, 12:43
Hi, well the re-encode finished but I am still having problems. I used the framecount option in the avs and set Procoder to output at 23.976p (same as source I think?) but the audio still drifts out. It falls behind by a few seconds so by the end of the film, audio is heard first and then the video. Does that mean I need to increase of decrease the video frame rate in order to sync up?

EVOdemux also detects Phantom of the Opera as 29.97fps, is that normal? Will the POTO HD-DVD definitely be 23.976?


All HDDVD are 23,976 ,all Blueray too
In this Thread is everything explained
Evodemux shows 23.976 cause its a Pulldown.

I used ProCoder a lot of times to encode HDDVD to WVC1.
Never had any async Problems. There must be something wrong in your encoding chain

What Audio are you using ? What VideoCodec etc etc
Need more Infos to help you

idbirch2
9th April 2007, 12:53
Evodemux shows 23.976 cause its a Pulldown.In EVODemux, I am seeing 29.97, was that just a typo?

What Audio are you using ? What VideoCodec etc etcI posted all that info further up the page - "The graph consists of the Sonic HD Demmuxer and the Sonic Video Decoder. I have used eAC3to to convert the DD+ to standard DD."

I used ProCoder a lot of times to encode HDDVD to WVC1.Do you mean from VC-1 or? :confused: If you have done alot of these can you let me know what framerate you are selecting on the source and target sections of Procoder? Thanks.

ACrowley
9th April 2007, 13:46
23,976 in Procoder.
Allways the same fps Value you have in your avs

No, in Evodmux "its not just a typo"..its a Pulldown from 29.97fps to 23.976fps ,so the Video runs at 23.976

With more infos i want to know what codec youre using in Procder to encode the avs....i cant find any info in your post about your Target

Yes, i made HDDVD VC1 to WVC1 720p ( x264 too) encodes ..here is small sample
http://www.megaupload.com/?d=WL2GNL38

I suggest to read more in this Thread im sure you will find most answers

idbirch2
9th April 2007, 13:49
OK, seeing as that's what I'm using already, does anybody else have any ideas as to where I'm going wrong?

ACrowley
9th April 2007, 14:40
Idbirch

Simply tell use
1. codec /settings/ your avs script etc
2. what container
2. with what app do you mux the encoded video
perhaps in wich player its async ...

i think nobody can help you without more infos

idbirch2
9th April 2007, 15:13
I'm not sure which codec/settings you're referring to so I'll try and cover everything.

From the original HD-DVD, I open the PEVOB_1.EVO file in EVODemux. There is just one VC-1 video track which I leave selected and I uncheck audio tracks 2 & 3 leaving only the English DD+ track. I then rebuild as a single EVO, which merges the 2 EVOs from the HD-DVD.

I open this EVO in Graphedit and to the output pin, attach the Sonic HD Demuxer. Attached to this are the 2 Sonic decoders, audio version 4.2 and video version 4.1. I close off the audio side with the DirectSound Device and leaving the video output pin open, save the graph.

Then I create an avs script with the following:

DirectShowSource("F:\test\test.GRF",fps=23.976,framecount=202980,seekzero=false,seek=true,audio=false)

I open this AVS file with Canopus Procoder and choose to output as HD MPEG2 with the following settings:

Source:
Video 1920x1080
FPS: 23.98
Interlacing: Non-interlaced
AR: 16:9
Audio: None

Target
Stream Type: MPEG2 Elementary
Video: 1920x1080
FPS: 23.976
Interlacing: Not interlaced
AR: 16:9
Highest Quality 2-pass VBR
Video bitrate: 16500
Max bitrate: 25000
Min bitrate: 500
Audio: Don't Use

For the audio I have tried 2 methods. 1 was to run the .ddp file through eAC3to which converts to .raw and then to .ac3. The other method was to create an avs script like so:

DirectShowSource("F:\test\audio.GRF",fps=23.976,framecount=202980,seekzero=false,seek=true,video=false)

And then feed that through BeHappy, outputting an AC3. The graph used is identical to the video one, apart from closing off the video side and opening up the audio side. In both cases, the muxed video drifts out of sync with the audio. I have tried muxing with TMPGEnc Xpress 4.0 and Manzanita, no difference.

I am about to scrap everything so far and start again but try using demuxed, elemtary streams from EVODemux rather that running the audio and video graphs from a rebuilt EVO to see if that helps. Any pointers in the mean rime would be greatly appreciated.

Momber
9th April 2007, 16:01
To whom it may concern - here is a little update on the list of HD-DVDs that EVOdemux cannot rebuild into anything that's usable with PowerDVD:

- Running Scared
- Black Rain
- The Good Shepherd
- Unforgiven
- Happy Feet
- The Rundown

And yes, I did try the latest version 0.26b.

Regards
S.

Chumbo
9th April 2007, 18:25
...
2. Remux it with mkvmerge and 23.976 timecode ( when you directly use the evo for encoding you have again wrong Framerate)
...
I'm new to the MKV world, so I was curious as to how you did this. I got all the latest stuff from Haali and mkvtoolnix (v2.0.2). I first tried the command-line parameter: −−default−duration. I tried the following but it failed:
−−default−duration 1:23.976fps

So I resorted to using the v1 timecodes file. My timecodes file looks like this:
# timecode format v1

# The very first line MUST have this format. Later formats will increase
# the version number.

# As you can see empty lines and other lines starting with '#' are ignored.

# The second line with contents MUST be 'assume <fps>', e.g.
assume 23.976
If I understand right, by not putting any specific time codes, the fps assumed will apply to the entire stream specified, i.e.,
--timecodes 1:c:\Media\timecodes-v1.txt

Thank you.

Pelican9
9th April 2007, 20:57
To whom it may concern - here is a little update on the list of HD-DVDs that EVOdemux cannot rebuild into anything that's usable with PowerDVD:

- Running Scared
- Black Rain
- The Good Shepherd
- Unforgiven
- Happy Feet
- The Rundown

And yes, I did try the latest version 0.26b.

Regards
S.
If you share the first 300MB of any of those titles' main EVO I'll try to find the bug.
PowerDVD 7.3 cannot play any single EVO for me, so it's hard to test the rebuilt EVO.
If you find a bug feel free to pm me next time.

misdecrypt
10th April 2007, 06:57
Any chance for that chapter support I asked a few pages back for?

SpAwN_gUy
10th April 2007, 08:15
damn,.. gdsmux shows me proper VideoType and AR,.. but when i press START,.. it does nothing,.. and when i press STOP it creates 65MB MKV-File .. and thats all.. :( ... what am i doing wrong?

Pelican9
10th April 2007, 09:37
Any chance for that chapter support I asked a few pages back for?

It's on my to-do-list... :-)
If you want to help me give me the format of the file you want.

SpAwN_gUy
10th April 2007, 10:25
It's on my to-do-list... :-)
If you want to help me give me the format of the file you want.I think as Output OGG-ChapterFile would be great :) ..
Preset=!OGG
Format=CHAPTER%C=%hh:%mm:%ss.%ms\nCHAPTER%CNAME=Chapter %c\n
Header=
Footer=

Momber
10th April 2007, 12:41
If you share the first 300MB of any of those titles' main EVO I'll try to find the bug.

I'd be happy to do that - please tell me exactly how.

PowerDVD 7.3 cannot play any single EVO for me
Yes, PowerDVD 7.3 is scum. I'm using v. 7.1.

Greets
S.

ACrowley
10th April 2007, 13:28
@chumbo
You only have to load the .txt File into mkvmerge for you Video

open the Windows editor and type in
# timecode format v1
assume 23.976

in mkvmerge click on the Videotrack and select Timecode and load the text file...thats all

@idbirch
I found your mistake.
You MUST use the demuxed mpv File! Not the rebuilded Evo.
The demuxed mpv from Evodemux is the right File
Load it into Grapedit via Filesource(async)

Filesource(async)-SonicHDDemuxer-SonicCinemasterVideoDecoder4.2

Also you have to crop the Video ,cause you dont want waste Bitrate for the Black Bars ,right?
And a light denoiser RemoveGrain(Mode=2) ,gives more compression and a clean looking Picture

And why do you encodee to a Mpeg2 ?? Mpeg2 is only good wit High Bitrates over 10Mbps.
And over 10Mbps the File is perhaps bigger as the EVO.

Use WMV 9 AP ( WVC1) in ProCoder or encode with megui to X264 or xvid...Mpeg2 makes no Sense imho

Darth Pinous
10th April 2007, 14:10
And why do you encodee to a Mpeg2 ?? Mpeg2 is only good wit High Bitrates over 10Mbps.
And over 10Mbps the File is perhaps bigger as the EVO.

Use WMV 9 AP ( WVC1) in ProCoder or encode with megui to X264 or xvid...Mpeg2 makes no Sense imho

Well it makes some sense for people who don't have a fast PC, and Chumbo's MPEG2 reencodes are very good, at a nice 18 Mbps, which is not much more than the EVO. :)

Chumbo
10th April 2007, 15:05
@chumbo
You only have to load the .txt File into mkvmerge for you Video

open the Windows editor and type in
# timecode format v1
assume 23.976

in mkvmerge click on the Videotrack and select Timecode and load the text file...thats all

...

Yep, everything you mention is exactly what I did. My timecodes file is the same, I just left the comments in. Thanks for confirming it. :)

Pelican9
10th April 2007, 15:19
I'd be happy to do that - please tell me exactly how.
You can use drmpeg's head tool (linked in this thread a couple of times).
Edit: http://forum.doom9.org/showthread.php?p=950452#post950452


Yes, PowerDVD 7.3 is scum. I'm using v. 7.1.

But 7.1 cannot play BD and HD DVD... :-(

enantiomer
10th April 2007, 15:41
Also you have to crop the Video ,cause you dont want waste Bitrate for the Black Bars ,right?


Well, you only waste encoding time, not bit rate. The video encoders know how to encode a 16x16 block of black with almost no overhead. It's the search for motion vectors in the inactive picture area that will slow down your encode.


And why do you encodee to a Mpeg2 ?? Mpeg2 is only good wit High Bitrates over 10Mbps.
And over 10Mbps the File is perhaps bigger as the EVO.

Use WMV 9 AP ( WVC1) in ProCoder or encode with megui to X264 or xvid...Mpeg2 makes no Sense imho

MPEG2 is still the codec of choice for many enthusiasts. Many people lack the computing horsepower for H264 or VC1 decoding (much less encoding). Also, people work out their own ways to manage an MPEG2 library and don't want to deal with other codecs.

ACrowley
10th April 2007, 16:23
Well, you only waste encoding time, not bit rate. The video encoders know how to encode a 16x16 block of black with almost no overhead. It's the search for motion vectors in the inactive picture area that will slow down your encode.

Youre right...
But i encode HDDVD/BR to 720p, cause my Targetsize is DVD9.
So i make my Resize ofcourse with cropping.
I dont want to encode 260 Pixel (2.35:1 Source) for nothing


MPEG2 is still the codec of choice for many enthusiasts. Many people lack the computing horsepower for H264 or VC1 decoding (much less encoding). Also, people work out their own ways to manage an MPEG2 library and don't want to deal with other codecs.

Sure...Im on Mpeg2 since the first Days of DVD encoding to
V(X)CD. I like it..
And its a very good Reason to encode 1080p H264/VC1 to a Mpeg2 Format wich most PCs can play..No Doubt

Pelican9
10th April 2007, 18:47
I think as Output OGG-ChapterFile would be great :) ..
Preset=!OGG
Format=CHAPTER%C=%hh:%mm:%ss.%ms\nCHAPTER%CNAME=Chapter %c\n
Header=
Footer=

The generated file is FEATURE_1.chapters.txt and looks like this:
Preset=!OGG
Format=
CHAPTER01=00:00:00.000
CHAPTER01NAME=Living Weapon
CHAPTER02=00:05:00.450
CHAPTER02NAME=A Better World
CHAPTER03=00:09:31.366
CHAPTER03NAME=Aboard Serenity (Main Titles)
CHAPTER04=00:14:48.200
CHAPTER04NAME=Going for a Ride
CHAPTER05=00:19:48.666
CHAPTER05NAME=Reavers
CHAPTER06=00:29:11.250
CHAPTER06NAME=Triggered
CHAPTER07=00:36:16.083
CHAPTER07NAME=Mr. Universe
CHAPTER08=00:44:06.616
CHAPTER08NAME=Safe Haven
CHAPTER09=00:49:51.700
CHAPTER09NAME=Civilized Resolution
CHAPTER10=00:55:40.700
CHAPTER10NAME=Posing a Threat
CHAPTER11=00:59:24.750
CHAPTER11NAME=Miranda
CHAPTER12=01:04:41.366
CHAPTER12NAME=&quot;Just Believe&quot;
CHAPTER13=01:09:09.583
CHAPTER13NAME=Suicide Mission
CHAPTER14=01:13:29.366
CHAPTER14NAME=Learning the Secret
CHAPTER15=01:22:33.616
CHAPTER15NAME=Caught in the Middle
CHAPTER16=01:30:13.166
CHAPTER16NAME=Can't Stop the Signal
CHAPTER17=01:36:51.666
CHAPTER17NAME=Fighting for a Belief
CHAPTER18=01:45:49.866
CHAPTER18NAME=Do We Have an Order?
CHAPTER19=01:47:30.583
CHAPTER19NAME=It's Not Over
CHAPTER20=01:53:14.783
CHAPTER20NAME=End Titles
Header=
Footer=

Is it OK?

idbirch2
10th April 2007, 20:21
ACrowley, thanks for all your help with this, you were right about the demuxed streams. I started the whole project from scratch with a demuxed .vc1 and .ddp file and the result is perfect sync! I'm very, very happy, thanks! Moral of the story, do not use EVOs as your source when re-encoding, use only demuxed streams!

I re-encode to MPEG2 for streaming to my 360. My Core2Duo E6600 can run rings around H264 and VC-1 but it's not hooked up to my TV and I dont want it to be. My 360 is though via component cables and it looks ace.

Clown shoes
10th April 2007, 20:42
You know you can stream vc1 more easily than MPEG2.

idbirch2
10th April 2007, 21:57
Hahaahha!! Sorry, I couldn't help that outburst. Yes, in theory VC-1 is just another form on WMV9 which is from Microsoft so surely, surely it will play back reliably at in high-definition at high bitrate on the 360? Won't it?

I'll save you weeks of tearing your hair out in front of your 360 and PC by telling you that no, no it doesn't. I've been there and got the T-shirt. Even at 10-12mbps, 1920x1080 content either does not play back at all or is so choppy its unwatchable. I'll definitely stick with MPEG2 thanks.

Clown shoes
10th April 2007, 22:45
Well no, there are limitations right now. Have a read of this thread and the post I have linked to in particular http://forum.doom9.org/showthread.php?p=912630#post912630
Basicaly you can stream 1080p material with a max bitrate of about 12k peak and with the spring update for the 360 http://forum.doom9.org/showthread.php?p=986723#post986723
There will be support for much higher bitrates.
I have encoded loads of VC1 stuff for the 360, but it is important you adhere to the current bitrate limitations and limit the size of your buffer or you will get the kind of problems you described. Have a look at this thread for a great easy to use command line encoder that will enable you to produce compliant high quality material that you can stream to your 360.
http://forum.doom9.org/showthread.php?t=123812

Crowley will back me up on this one as he is doing the very same with great results. Honestly, check out the threads I mentioned and I'm positive you won't look back.

idbirch2
10th April 2007, 22:58
That's all very nice but I'm still sticking with MPEG2 for now. My experiences in the past with VC-1 have been an ordeal to say the least. It's painfully slow at encoding when compared to MPEG2 and when you throw in the bitrate limitations, I'm left with a lower quality video stream that takes longer to produce. 1080p at 12k peak? Come on.

Clown shoes
10th April 2007, 23:32
Fair play, I can appreciate that. One bitten, twice shy as they say :) I take it your on MCE 2005. The ability to stream TS's has disapeared from Vista. I believe there is a workaround though.

idamien
10th April 2007, 23:52
Hi again everyone,

Just fresh installed a XP machine with Scenarist and am now able to decode the DD+ tracks.

Trying to convert, though, only led to problems. I built a simple graph

(File Source Async.: file.mpa) --> Sonic HD Demuxer --> Sonic Audio Decoder 4.2

and a .avs script that points to the .grf file. Tried to feed the .avs to MeGUI to convert to ND AAC and to BeHappy to convert to FF AAC but both give errors right after clicking the start button.

Can anyone please help and point me in the right direction? Do I have to dump the audio to a raw file prior to conversion? What am I missing?

Thanks.

xc3ll
11th April 2007, 02:03
Pelican9,

For some reason, your latest build of evodemux(0.626b) gives me an error when trying to demux a stream. It gives me:

Access violation at address 00491F74 in module 'Evodemux.exe'. Read of address 00000008.

When I close, it also gives me a popup window asking if I'm sure that I want to stop demuxing.

I also tried checking the evo with an older version (0.623b), and I'm getting another access violation at address 00404756 read address of 01B0DB60. Not sure if it's my rig or the file.....

EDIT: I've also noticed that it fails when creating Subpicture.14.sup, so it may in fact be the file.....

I've also worked around the problem by unchecking all of the subpictures, so that it doesn't demux them.

ACrowley
11th April 2007, 06:34
ACrowley, thanks for all your help with this, you were right about the demuxed streams. I started the whole project from scratch with a demuxed .vc1 and .ddp file and the result is perfect sync! I'm very, very happy, thanks!


nice:) im glad to see you have finally succes

That's all very nice but I'm still sticking with MPEG2 for now. My experiences in the past with VC-1 have been an ordeal to say the least. It's painfully slow at encoding when compared to MPEG2 and when you throw in the bitrate limitations, I'm left with a lower quality video stream that takes longer to produce. 1080p at 12k peak? Come on.

But you cant compare WVC1 with Mpeg2 . WVC1 has a much more higher compression you you will get the same Quality with less Bitrate. Ofcourse these Codecs like x264 and WVC1 take much more Time to encode.
Sure, 12Mbps "PEAK" is to low for 1080p. You need min. 10Mbps VBR 2pass for 1080p WVC1 to get a HQ encode from HDDVD.
10Mbps VBR = over 20Mbps Peak (optimal). No Way on Xbox360 without Spring Update!
But : You can encode WMV9 AP in CBR Mode (with Bframes,Buffer 60000, high MotionSearch etc) which can deliver excellent Quality with minimum 7Mbps 720p and minimum 13Mbps 1080p

Plays perfect from 360 DVD Rom or via Streaming
Sample from my last encode
(Perfume HDDVD WVC1 720p 7mbps CBR /WMA10Pro 768kbps 5.1 24Bit encoded from DTS HD,Video encoded in around 22h)
http://www.megaupload.com/?d=VSHAK0OG

Here on Doom9 are enough Threads for Comparisons and Threads for WMV9 AP encoding etc ,so i dont want to be the smart guy with clever Tipps.
However find you Luck with Mpeg2.. Mpeg2 still has its place today and delivers nice Quality on high Bitraes on HD Content
But you cant play it from 360 DVD Drive burned on DVD/ streamed via WMP11

PS.
i know my english is terrible,SRY


Greets

jokin
11th April 2007, 07:50
I have had an issue with The Good Shepherd HDDVD. I demuxed with EVOdemux and all is well no errors. Then I play the VC1 file in WMP11 and it plays fine except the timecode stop counting at 1:54:32, but the movie continues until the end. The movie is 2:47:30. So I encoded anyways. Well it finished and it played fine until 1:52:11 then it skipped and the video returned to a previous spot in the movie but the audio kept going with the "original video." So now its showing a previous portion of the movie with the current portion of the audio. Any Ideas.

I am using
EVOdemux 0.626b
with the latest WMcmd.vb

Here is a Sample (http://www.sendspace.com/file/3o6apb) of the skipping.

Also this may be the issue:

Continue on FEATURE_2.EVO
Demuxing...
Done.

240976 counted frames (2:47:30.707) in video stream 0.
240971 calculated frames (2:47:30:490) in video stream 0.
240971 calculated frames (2:47:30:490) in video stream 1.


I de-selected Videostream 1 but it looks like it reselected it from the Feature_2.evo.

Thanks,
jokin

Pelican9
11th April 2007, 07:57
Pelican9,

For some reason, your latest build of evodemux(0.626b) gives me an error when trying to demux a stream. It gives me:

Access violation at address 00491F74 in module 'Evodemux.exe'. Read of address 00000008.

When I close, it also gives me a popup window asking if I'm sure that I want to stop demuxing.

I also tried checking the evo with an older version (0.623b), and I'm getting another access violation at address 00404756 read address of 01B0DB60. Not sure if it's my rig or the file.....

EDIT: I've also noticed that it fails when creating Subpicture.14.sup, so it may in fact be the file.....

I've also worked around the problem by unchecking all of the subpictures, so that it doesn't demux them.
Please share the first 300MB of that EVO.

KafesneBikaina
11th April 2007, 13:28
I'm so happy with eac3to (thanks Madshi!) and I would like to
suggest some improvements :devil:
- AC3 bitrate selectable
- 23,976 -> 25 fps conversion option (speed change)

madshi
11th April 2007, 13:42
I'm so happy with eac3to (thanks Madshi!) and I would like to
suggest some improvements :devil:
- AC3 bitrate selectable
You can already do that. E.g. do this:

"eac3to source.eac3 dest.ac3 -448"

- 23,976 -> 25 fps conversion option (speed change)
Hmmmm... Why would you need that? Aren't we all happy that HD DVD finally gets rid of the PAL speedup?

KafesneBikaina
11th April 2007, 14:55
Hmmmm... Why would you need that? Aren't we all happy that HD DVD finally gets rid of the PAL speedup?
Unfortunately at the moment the only way for me to get smoot playback is 25fps and I think the speedup is not very noticeable.

madshi
11th April 2007, 15:02
Unfortunately at the moment the only way for me to get smoot playback is 25fps and I think the speedup is not very noticeable.
Hmmmm... What you could probably do is to ask "eac3to" to give out a wav file for you. You could then probably feed this to BeHappy and let BeHappy do the time stretch to 25fps and encoding to ac3. The only thing I'm not sure about is whether BeHappy will get along with wav files over 2GB respectively 4GB. You'll need to try that. Adding stretching support to "eac3to" is not impossible, but I think only very few people really need that and it would cost me quite a bit of time to implement, so honestly I don't want to do it at this time.

If all else fails, you could still use "eac3to" to get a 23.976fps ac3 and then use BeHappy to stretch that to 25fps. That is not a good solution, though, because this way you'd lossily encode and decode twice. So sound quality would suffer.

KafesneBikaina
11th April 2007, 15:33
I think only very few people really need that and it would cost me quite a bit of time to implement, so honestly I don't want to do it at this time.
Ok, no problem, I will try the wav method :)

xc3ll
12th April 2007, 03:52
I have had an issue with The Good Shepherd HDDVD. I demuxed with EVOdemux and all is well no errors. Then I play the VC1 file in WMP11 and it plays fine except the timecode stop counting at 1:54:32, but the movie continues until the end. The movie is 2:47:30. So I encoded anyways. Well it finished and it played fine until 1:52:11 then it skipped and the video returned to a previous spot in the movie but the audio kept going with the "original video." So now its showing a previous portion of the movie with the current portion of the audio. Any Ideas.

I am using
EVOdemux 0.626b
with the latest WMcmd.vb

Here is a Sample (http://www.sendspace.com/file/3o6apb) of the skipping.

Also this may be the issue:

Continue on FEATURE_2.EVO
Demuxing...
Done.

240976 counted frames (2:47:30.707) in video stream 0.
240971 calculated frames (2:47:30:490) in video stream 0.
240971 calculated frames (2:47:30:490) in video stream 1.


I de-selected Videostream 1 but it looks like it reselected it from the Feature_2.evo.

Thanks,
jokin

I also had a similar problem with The Bourne Supremacy. When I play the demuxed mpv, it plays fine until it hits the the 30m mark(not exactly sure where it starts over again), and then it starts at the beginning again, and again, and again, in a loop.

I tried putting the evo into an mkv container, but the output was only 1h12m long, so theres definately something wrong.

Perhaps the new version of AACS?

idamien
12th April 2007, 20:18
dtscore output is only 15KB... Tried it with the first audio track from ghost in the shell 2.

Has anyone had this problem and know the cause and workaround?

idbirch2
12th April 2007, 21:01
I take it your on MCE 2005. The ability to stream TS's has disapeared from Vista. I believe there is a workaround though.No, I'm on Vista and without having to mess about with anything, .ts files play fine on the 360. Even though .ts files play straight up, the seeking is not great so I always run them through VideoReDo and output as DVR-MS which gives silky 4x seeking.

But you cant compare WVC1 with Mpeg2.
I just did :D

12Mbps "PEAK" is to low for 1080p. You need min. 10Mbps VBR 2pass for 1080p WVC1 to get a HQ encode from HDDVD.
10Mbps VBR = over 20Mbps Peak (optimal). No Way on Xbox360 without Spring Update!
From what I've read, even with the Spring update, this will still not be possible, plus muxing anything with VC-1 is a nightmare. I remember one time I was dumb enough to try and convert some films to VC-1 with Windows Media Encoder, ahhh, memories....

Me: Hello Windows Media Encoder, will you accept one of the most widely used audio formats in the world that's been around since the dawn of DVDs?

Windows Media Encoder: ...............

Me: Erm, hello?

Windows Media Encoder: ...............

Me: Oh right, sorry, you're still battering my CPU with the incredibly difficult task of opening my source file.

2 minutes later....

Me: Right, this AC3 audio then, can I just keep it and mux it back into a WMV container afterwards?

Windows Media Encoder: Oh no, that's far too much bother.

Me: Oh, erm, right. OK. Won't you just accept it as an input and convert to some sort of horrible WMA file or something then?

Windows Media Encoder: No, I don't think I will. Tell you what though, try it and when I've had a good think, I'll produce a cryptic error message.

Me: Well actually, I'm kind of busy and don't really have time for that sort of thing.

Windows Media Encoder: OK then, maybe you could try demuxing that AC3 into lots of mono WAV files and then converting those WAV files into..

Me: Shut up, I'm bored of you.

Of course, that story actually stretched over a period of about a week, a week which I will never get back. Live and learn. I'm not slating VC1, that would be foolish, it looks awesome at high bitrates but it is so incredibly difficult and frustrating to get it into a container that's compatible with a hardware media player (eg xbox 360) that it's just not worth the hassle.

kokko
12th April 2007, 22:55
tnx for a great program

will chapter selection and extraction be a feature ?:thanks:

Darth Pinous
13th April 2007, 05:44
dtscore output is only 15KB... Tried it with the first audio track from ghost in the shell 2.

Has anyone had this problem and know the cause and workaround?

Why use dtscore in this case ? GITS2 DTS soundtrack is a DTS soundtrack, not DTS-HD.

tjf
13th April 2007, 08:59
I have demuxed with EVOdemux the HD-DVD movie Babel. It contains H.264 AVC video. I would like to mux it to mkv with ddp soundtrack and srt subtitles. However I am not able to mux the video into mkv, the resulting file is always garbage.

I tried mkvtoolnix and YAMB. Both created similar looking files containing garbage. I also tried to directly mux rebuilt EVO file with Haali splitter and muxer. That did not work at all. I was able to connect the filters, but only very small mkv file was created. On the other hand I am able to play the same EVO without any problems (with CoreAVC filter).

Anybody has any advice?

Tomas

DreckSoft
13th April 2007, 13:37
Then i demuxed DTS HD with Graphedit.
1.Filesource- SonicHDDemuxer(4.2)-Dump
2.dtscore.exe dtscore.exe to extract the dtscore from, DTS HD
The DTScore 1536kbps 5.1 is without stuttering and is clean...nice

So ,maybe the stuttereing/cracking Problem is cause by Evodemux ?



The DTS HD tracks are from BlueRy and HDDVD.
Perfume HDDVD / Kingdom Of Heaven BlueRAy /Ice Age 2

-HDDVD demuxed with latest Evodemux.
-Blueray demuxed with Xport
-DTS HD to DTS core extraction with dtscore, also tested with bescliced amnd delaycut

Example on Perfume Runtime :
-Correct Runtime is 2h27min33sec
-The DTS core is only 2h27min29sec and async

I use your "all in one DTS_AC3_DD+ Source Filter", also tested with latest mpc Build Source Filters (Gabest), with the same Problems.
- Audio Decoder tested with AC3 Filter /Intervideo/ Cyberlink
-Muxed with mkvmerge, playback with haali , or loaded as external track in mpc.
You can see in a Waveditor that the DTScore Audio is async in more then one Point compared with the sync. Audio from DVD AC3 or reencoded DTS HD

So the Problem is not the playback and likely not the demuxing,it must be the dtscore extraction.

The demuxed untouched DTS HD ,decoded to wave with tranzcode 0.4 gives a correct Ouput .
Its sync and with correct Runtime.
A new encode from wave to DTS/AC3 will fit 100% to the Video

PS, sorry my english is not the best

The problem is not dtscore but evodemux. I demuxed all a/v tracks from Perfume using graphedit and not a single file did match the evodemux result. the graphedit files could be processed by dtscore and tranzcode without any problems. With the evodemux files, dtscore produced wrong results and at least the english DTS-HD track was completely broken so that _no_ programm could properly handle it (either crashing or getting wrong runtime). All other HD-DVDs seemed to be demuxed properly by evodemux. Note that I only verified VC1 HD-DVDs as I'm having major problems remuxing H264 into MKV.

DreckSoft
13th April 2007, 13:42
I have demuxed with EVOdemux the HD-DVD movie Babel. It contains H.264 AVC video. I would like to mux it to mkv with ddp soundtrack and srt subtitles. However I am not able to mux the video into mkv, the resulting file is always garbage.

I tried mkvtoolnix and YAMB. Both created similar looking files containing garbage. I also tried to directly mux rebuilt EVO file with Haali splitter and muxer. That did not work at all. I was able to connect the filters, but only very small mkv file was created. On the other hand I am able to play the same EVO without any problems (with CoreAVC filter).

Anybody has any advice?

Tomas

Seems to be an general problem with H264 HD-DVD and Blu-Ray. I've been trying to remux Casino Royale for 3 weeks now without success. The Interpreter seems to be similar problematic. I already managed to get clean video into the MKV but the file wasn't seekable. Most methods resulted in garbage video output, but the garbage was seekable ;-)

See the discussion here: http://forum.doom9.org/showthread.php?p=980776#post980776

ACrowley
13th April 2007, 14:28
@Drecksoft

Perfume DTSHD is sync muxed in mkv

Few Sites before i reported about a cracking Sound in the demuxed DTS core ,the DTS HD demuxed with Evodemux.

The i demuxed the DTS HD via graphedit :

DTS AC3 DD+ Source -SonicHDDemuxer (4.2) -Dump

The extracted dtscore is clean with no cracking (around 5min)
The Runtime is still 4 sec to short.
The waves from Tranzcode are correct, the dtscore muxed in mkv is sync

Momber
13th April 2007, 14:43
I've been trying to remux Casino Royale for 3 weeks now without success.
LOL! Me, too :)

S.

DreckSoft
13th April 2007, 14:45
The german soundtrack (demuxed with evodemus) was sync after muxing, the english wasn't.

I think I used Filesource (EVO) - Sonic HD Demux - Dump. Extracting cores with dtscore (runtime was correct) and remuxed. All tracks where sync.

madshi
15th April 2007, 17:12
I have demuxed with EVOdemux the HD-DVD movie Babel. It contains H.264 AVC video. I would like to mux it to mkv with ddp soundtrack and srt subtitles. However I am not able to mux the video into mkv, the resulting file is always garbage.

I tried mkvtoolnix and YAMB. Both created similar looking files containing garbage. I also tried to directly mux rebuilt EVO file with Haali splitter and muxer. That did not work at all. I was able to connect the filters, but only very small mkv file was created. On the other hand I am able to play the same EVO without any problems (with CoreAVC filter).

Anybody has any advice?
My advice is to wait for a future Haali version. I'm quite optimistic that Haali will make this work.

olivierdb
15th April 2007, 21:03
@madshi: I am having some trouble with eac3to:

C:\Documents and Settings\Olivier\My Documents\My Videos\HD-DVD to WMV HD>eac3to
FEATURE_1_FEATURE_2.DD+.stream.00.eac3 dest.ac3 -384
E-AC3, 5.1 channels, 1:32:53, 1536kbit/s, 48khz
Muxing eac3 file to raw. Please wait...
The NCBENUM return code is: 0x0
The NCBENUM return code is: 0x0
Sonic Audio Decoder output was 24 bit this time.
Converting the raw file to wav. Please wait...
Starting "sox" failed. A valid *.raw file was created successfully, though.

1) Would you please let me know what "sox" is and how I may get rid of the above error.
2) I was expecting the script to produce a .ac3 file instead it produced a .raw file! How do I use a .raw file in my Avisynth script? The following doesn't work!

video = import("C:\Video.avs")
audio = import("C:\dest.raw")
AudioDub(video,audio)

3) The .raw file produced is 4.7GB. That's huge! What's wrong here?

This is the description of the original audio (from EVO Demux):

Dolby Digital Plus audio stream 0 found!
First PTS = 0E70F75D (+2692010ms)
Substream id = C0
Stream 0 is Dolby Digital Plus
frame size = 1024 bytes, number of blocks per frame = 1
Sampling frequency = 48 kHz
Transmission bitrate = 1536 kbit/s
Channel arrangement = L + R + C + Ls + Rs, bsid = 16
LFE channel = present

THANK YOU for your help.

madshi
15th April 2007, 22:20
1) Would you please let me know what "sox" is and how I may get rid of the above error.
Run eac3to without any parameters and it will tell you that it needs "sox", which is a tool that can convert a raw file to a wav file. See here for a link to where you can download sox:

http://forum.doom9.org/showthread.php?p=968192#post968192

You also need to download aften. A link is also available in the post linked above.

2) I was expecting the script to produce a .ac3 file instead it produced a .raw file! How do I use a .raw file in my Avisynth script?
What exactly is your aim? If you want to reencode to something other than ac3, you should ask eac3to to create a wav file for you and not an ac3 file. If an ac3 file is your final aim, eac3 will do that for you, but it needs sox.exe and aften.exe.

3) The .raw file produced is 4.7GB. That's huge! What's wrong here?
What's wrong is that you didn't read the eac3to help text... ;)

The "raw" file is not really useful on its own. It's only meant to be an intermediate step on the way to a wav or ac3 file. But without "sox" eac3 can't do its job properly, so it stops with the "raw" file.

legoman666
16th April 2007, 00:11
I get the following error when trying to use eac3to to convert the serenity dtshd track to something playable with vlc.

I:\hdtv>eac3to.exe E:\audio.eac3 C:\pewpew.ac3 -640
E-AC3, 5.1 channels, 1:59:12, 1536kbit/s, 48khz
Muxing eac3 file to raw. Please wait...
Loading eac3 file failed.

as you can see, eac3to obviously recognizes the file, but yet fails to do anything with it.

heres the first 50mb of the file in an mkv container: ftp://ftp:roflcopter666@72.49.176.178:47024/audiosample-001.mkv (if this link gives you trouble, try using a real ftp client like flashfxp, firefox/IE suck at ftp and opera is even worse. However, just pasting it into windows explorer should work.)

kalin
16th April 2007, 07:05
The file must be demuxed directly from the hd-dvd with evodemux or else it won´t load properly into eac3to, that means you cannot mux it into .mkv container first.

-kalin

dchard
16th April 2007, 09:17
I tried latest eac3to, but I got this:

E:\HD VC1 teszt\forras>eac3to HDintro.DD+.stream.00.eac3 valami.ac3 -640
E-AC3, 5.1 channels, 0:02:02, 640kbit/s, 48khz
Muxing eac3 file to raw. Please wait...
The NCBENUM return code is: 0x3f
The NCBENUM return code is: 0x3f
Sonic Audio Decoder output was 24 bit this time.
Converting the raw file to wav. Please wait...
sox.exe: unknown option -- 3
sox.exe: bad input format for file valami.raw: data size was not specified
"sox" reported error code "1". A valid *.raw file was created sucessfully, though.

What have I done wrong?

(using sox ver.12181)

Dchard

olivierdb
16th April 2007, 09:18
@madshi: Thank you for your feedback. I downloaded SoX and am now getting the following errors:

C:\Documents and Settings\Olivier\My Documents\My Videos\HD-DVD to WMV HD>eac3to
FEATURE_1_FEATURE_2.DD+.stream.00.eac3 audio.ac3 -192
E-AC3, 5.1 channels, 1:32:53, 1536kbit/s, 48khz
Muxing eac3 file to raw. Please wait...
The NCBENUM return code is: 0x0
The NCBENUM return code is: 0x0
Sonic Audio Decoder output was 24 bit this time.
Converting the raw file to wav. Please wait...
sox.exe: unknown option -- 3
sox.exe: bad input format for file audio.raw: data size was not specified
"sox" reported error code "1". A valid *.raw file was created sucessfully, thoug
h.

Could this be because I'm missing aften?

Where can I find the eac3to help file you mentioned above?

I am actually trying to create a DivX video file along with mp3 audio (would you recommend another audio format? Maybe HE-AAC is a better choice?), but I would like to preserve all 5.1 channels, which is what led me to use eac3to. Ideally, I would finally use some script like:

video = import("C:\Video.avs")
audio = import("C:\dest.wav")
AudioDub(video,audio)

to convert to DivX and mp3 using VirtualDub.

What do you think?

madshi
16th April 2007, 09:27
I get the following error when trying to use eac3to to convert the serenity dtshd track to something playable with vlc.

I:\hdtv>eac3to.exe E:\audio.eac3 C:\pewpew.ac3 -640
E-AC3, 5.1 channels, 1:59:12, 1536kbit/s, 48khz
Muxing eac3 file to raw. Please wait...
Loading eac3 file failed.

as you can see, eac3to obviously recognizes the file, but yet fails to do anything with it.
Serenity has no dtshd track, but an eac3 track. Anyway, the error message eac3to posted means that the Sonic Audio Decoder refused to load the file. I can't really say why that happened. Since eac3to was able to recognize the file, the file name must be correct and the content seems to be correct, too. Do you really have Sonic Audio Decoder 4.2 installed?

heres the first 50mb of the file in an mkv container: ftp://ftp:roflcopter666@72.49.176.178:47024/audiosample-001.mkv (if this link gives you trouble, try using a real ftp client like flashfxp, firefox/IE suck at ftp and opera is even worse. However, just pasting it into windows explorer should work.)
Don't have Sonic installed on the PC I'm currently at, so I can't test that. But I'd say just try it again and make sure no other program has the eac3 file open. Maybe temporarily turning off the anti virus software helps (sometimes AV software blocks file accesses).

madshi
16th April 2007, 09:30
@madshi: Thank you for your feedback. I downloaded SoX and am now getting the following errors:

sox.exe: unknown option -- 3
That seems to be an old sox version. You need 13 or newer.

Where can I find the eac3to help file you mentioned above?
Help works as with any windows command line program. Just start eac3to in cmd.exe without any parameters.

I am actually trying to create a DivX video file along with mp3 audio (would you recommend another audio format? Maybe HE-AAC is a better choice?), but I would like to preserve all 5.1 channels, which is what led me to use eac3to.
In that case you should probably convert the eac3 to wav (eac3to can do that) and then convert the wav to the final audio format. Don't know if mp3 or AAC is better.

olivierdb
16th April 2007, 09:58
@madshi: Thanks for your prompt feedback. You're right, I don't have sox 13 because I only found the source code for v13 and not the Win32 binary!

And sorry for this stupid question (I understand this is probably not the right place to ask), but how do I install aften? (There are many Win32 builds and I don't know how eac3to is going to find the right one!)

madshi
16th April 2007, 10:05
@olivier, why don't you use the link I gave you some posts before? In that link you'll find direct links to win32 Sox and Aften download builds.

olivierdb
16th April 2007, 10:15
@madshi: Sorry! I hadn't noticed the sox Win32 download link. However, regarding aften, these are the Win32 builds available:

Win32 Builds

.\util\wavfilter.exe - x86 ICL Build
.\util\wavinfo.exe - x86 ICL Build
.\util\wavrms.exe - x86 ICL Build

.\dll_pgo\libaften.dll - x86 ICL PGO Build
.\dll_pgo_mmx\libaften.dll - x86 ICL PGO MMX Build
.\dll_pgo_mmx_MT\libaften.dll - x86 ICL PGO MMX Build with Parallelization
.\dll_pgo_sse\libaften.dll - x86 ICL PGO SSE Build
.\dll_pgo_sse_MT\libaften.dll - x86 ICL PGO SSE Build with Parallelization
.\dll_pgo_sse2\libaften.dll - x86 ICL PGO SSE2 Build
.\dll_pgo_sse2_MT\libaften.dll - x86 ICL PGO SSE2 Build with Parallelization
.\dll_pgo_sse3\libaften.dll - x86 ICL PGO SSE3 Build
.\dll_pgo_sse3_MT\libaften.dll - x86 ICL PGO SSE3 Build with Parallelization

.\exe_pgo\aften.exe - x86 ICL PGO Build
.\exe_pgo_mmx\aften.exe - x86 ICL PGO MMX Build
.\exe_pgo_mmx_MT\aften.exe - x86 ICL PGO MMX Build with Parallelization
.\exe_pgo_sse\aften.exe - x86 ICL PGO SSE Build
.\exe_pgo_sse_MT\aften.exe - x86 ICL PGO SSE Build with Parallelization
.\exe_pgo_sse2\aften.exe - x86 ICL PGO SSE2 Build
.\exe_pgo_sse2_MT\aften.exe - x86 ICL PGO SSE2 Build with Parallelization
.\exe_pgo_sse3\aften.exe - x86 ICL PGO SSE3 Build
.\exe_pgo_sse3_MT\aften.exe - x86 ICL PGO SSE3 Build with Parallelization

Should I use cpuz to figure out which build to use?

madshi
16th April 2007, 10:19
Should I use cpuz to figure out which build to use?
Why don't you simply just download some builds and try which work for you? :)

P.S: aften is needed only for AC3 encoding. If you ask eac3to to convert to WAV, you don't even need to download aften at all.

olivierdb
16th April 2007, 15:20
@madshi: It's working now, except that I'm obtaining raw and wav files that are 4.7GB each while the origianl eac3 file is 1GB! The movie is 90 minutes long and I used a bit rate of 448bps, which should lead to a file of some 145Mbits or so. I tried "eac3to" only in the cmd window but I got no information about file length. What am I missing here?

madshi
16th April 2007, 15:30
Raw and Wav files are uncompressed. It's absolutely correct that they are this large. If you encode (compress) to MP3/AAC/AC3, the file size will be much lower.

dchard
16th April 2007, 16:31
Thanks madshi!

Now Its working (problem was the old sox version).

Thank you!

Dchard

legoman666
16th April 2007, 21:53
Serenity has no dtshd track, but an eac3 track. Anyway, the error message eac3to posted means that the Sonic Audio Decoder refused to load the file. I can't really say why that happened. Since eac3to was able to recognize the file, the file name must be correct and the content seems to be correct, too. Do you really have Sonic Audio Decoder 4.2 installed?


Don't have Sonic installed on the PC I'm currently at, so I can't test that. But I'd say just try it again and make sure no other program has the eac3 file open. Maybe temporarily turning off the anti virus software helps (sometimes AV software blocks file accesses).

Yes I'm sure I have the Sonic Audio decoder 4.2 installed:

http://img131.imageshack.us/img131/9696/graphyi9.gif

It doesn't default to using the sonic audio decoder however, and if I try to use it instead of power dvd's, it gives me an error.
http://img131.imageshack.us/img131/6743/erroruo9.gif

In short, I havn't the faintest idea on how to use graphedit, or how to use the tiny 16kb files it creates.

any ideas?

kalin
17th April 2007, 06:30
You need to change your filter priorities, so that when drop your file into graphedit, DTS AC3 DD+ Source--> Cinemaster audio decoder 4.2, is automatically chosen!
Use mpc to change priorities!

-kalin

legoman666
17th April 2007, 07:33
You need to change your filter priorities, so that when drop you file into graphedit, DTS AC3 DD+ Source--> Cinemaster audio decoder 4.2, is automatically chosen!
Use mpc to change priorities!

-kalin

how do i do that? mpc crashes when i tell it to play the eac3 file.

kalin
17th April 2007, 09:17
View-->Options-->External Filters-->Add Filter-->DTS,AC3,DD+ filter and change the priority to prefer, do the same with the cinemaster audio decoder 4.2 filter.

-kalin

xc3ll
17th April 2007, 09:30
Just noticed that evodemux is off by 9 frames on Goodfellas HD DVD. EVO muxed into mkv shows 209243 frames, and evodemux says 209352 frames. Only 9 frames, so I didn't mind, but thought I'd point it out(still a great app tho Pelican9). Could be because I only had it check the first 300mb of each evo tho.

Pelican9
17th April 2007, 10:11
Just noticed that evodemux is off by 9 frames on Goodfellas HD DVD. EVO muxed into mkv shows 209243 frames, and evodemux says 209352 frames. Only 9 frames, so I didn't mind, but thought I'd point it out(still a great app tho Pelican9). Could be because I only had it check the first 300mb of each evo tho.

I saw in Jokin's post The Good Shepherd has only five frames difference... Not bad. :-)

Momber
17th April 2007, 11:06
It doesn't default to using the sonic audio decoder however, and if I try to use it instead of power dvd's, it gives me an error.
any ideas?
You need to have a file called mfc71.dll in your system, e. g. in Windows\System32.
Do you have this file? If not, you can leech it off http://www.dll-files.com/

S.

legoman666
17th April 2007, 14:08
View-->Options-->External Filters-->Add Filter-->DTS,AC3,DD+ filter and change the priority to prefer, do the same with the cinemaster audio decoder 4.2 filter.

-kalin

that didnt change the default when i open the file with graphedit, and mpc still crashes when attempting to play the file.

I also put that mfc71.dll file into my C:\windows\system32\ dir but that didn't change anything. :(

Momber
17th April 2007, 14:21
mpc still crashes when attempting to play the file.
There are about a million of reasons why that could happen. Mostly related to file source/splitter issues. Are you using the latest build of MPC? (Not the latest final release!)
Are you familiar with the configuration of external filters in MPC?

S.

madshi
17th April 2007, 17:25
as you can see, eac3to obviously recognizes the file, but yet fails to do anything with it.

heres the first 50mb of the file in an mkv container: ftp://ftp:roflcopter666@72.49.176.178:47024/audiosample-001.mkv (if this link gives you trouble, try using a real ftp client like flashfxp, firefox/IE suck at ftp and opera is even worse. However, just pasting it into windows explorer should work.)
Let me guess: You've just renamed the "mkv" file to "eac3" and fed that to eac3to? That doesn't work, of course! A "mkv" file is no "eac3" file! The eac3 track is inside the mkv file, but there's a package around the eac3 track. That's why the Sonic Audio Decoder won't accept the file. I'm a bit confused why eac3to accepts the file in the first place, but anyway, renaming "mkv" to "eac3" doesn't make any sense. What you can do is use GraphEdit "Haali Simple Media Splitter (give in the mkv file as the source file) -> Dump (enter an eac3 output name)". This will extract the eac3 track from the mkv file into a new eac3 file. And THIS file can then be converted to ac3 by using eac3to.

idamien
17th April 2007, 19:13
Tried demuxing the first track of Ghost In The Shell 2: Innocence with xport 0.95 and got a 2.2 GB file.

Then I tried using dtscore to extract the core DTS track from the original but someone here on the forum informed me this track is simple DTS and not DTS-HD...

Well, the next step was trying to feed the DTS track to BeHappy to convert to FF AAC but BeHappy isn´t happy with the track and reports it not to be a DTS track.

Can anyone please give me any pointers? Am I doing something wrong? Isn´t the track DTS?

Thanks

DreckSoft
17th April 2007, 20:50
Bug: Demuxing of Bourne Supremacy doesn't work. Crashes with "Access violation at address 00491F74 in module 'EVOdemux.exe'. Read of address 00000008".
This one has 32 subtitle streams. It crashes after creating 0Byte files for s00-s16 (and audio/video streams). Rebuild works but demux also crashes when used on the rebuild evo.

xc3ll
18th April 2007, 01:04
Pelican9's latest build of EvoDemux(0.626b3) fixes this. Make sure you have the latest build.

legoman666
18th April 2007, 01:24
Let me guess: You've just renamed the "mkv" file to "eac3" and fed that to eac3to? That doesn't work, of course! A "mkv" file is no "eac3" file! The eac3 track is inside the mkv file, but there's a package around the eac3 track. That's why the Sonic Audio Decoder won't accept the file. I'm a bit confused why eac3to accepts the file in the first place, but anyway, renaming "mkv" to "eac3" doesn't make any sense. What you can do is use GraphEdit "Haali Simple Media Splitter (give in the mkv file as the source file) -> Dump (enter an eac3 output name)". This will extract the eac3 track from the mkv file into a new eac3 file. And THIS file can then be converted to ac3 by using eac3to.

no, i used gdsmux to get the eac3 track out of the mkv. The clip i posted for download was just a 50mb chunk created with mkvmerge. I can't even get sonic audio decoder to connect to the file in graph edit, it give me that error message i posted a screen show of a couple posts back.

The .eac3 file i obtain when doing the method you suggested crashes mpc (which reads it as a 20 hour audio clip when its ~2), vlc doesn't do anything with it, and sonic audio decoder still can't be connected to it in graphedit. However, the default decoder for it isnt cyberlinks anymore, its intervideo's, but the file doesn't play anyway.

however, when i tell eac3to to encode the file, it no longer gives me the pervious error, now it says "connecting pins (1) failed"

legoman666
18th April 2007, 01:55
There are about a million of reasons why that could happen. Mostly related to file source/splitter issues. Are you using the latest build of MPC? (Not the latest final release!)
Are you familiar with the configuration of external filters in MPC?

S.

ive never used mpc before yesterday. And i would assume that im using the latest version, seeing as how i downloaded it yesterday, but im not sure.

Momber
18th April 2007, 02:00
ive never used mpc before yesterday.
Oh dear, you have a steep learning curve ahead of you. Since detailed instructions would be off-topic in this thread, I will only point out that in order to use external filters in MPC, you will need to disable the respective internal filters first. Otherwise what you set for preferences in the external filter section will have no effect whatsoever.

And i would assume that im using the latest version,
Well assuming is not good enough. What is the version you have?

S.

legoman666
18th April 2007, 04:47
Oh dear, you have a steep learning curve ahead of you. Since detailed instructions would be off-topic in this thread, I will only point out that in order to use external filters in MPC, you will need to disable the respective internal filters first. Otherwise what you set for preferences in the external filter section will have no effect whatsoever.


Well assuming is not good enough. What is the version you have?

S.

Im using version 6.4.9.0

I think i figured out how to do that, but the program still crashes when I try to open the eac3 file. I disabled the internal ac3 and dts filters then added sonic audio decoder, dts/ac3/dd+ source to the external filter list.

madshi
18th April 2007, 07:43
The .eac3 file i obtain when doing the method you suggested crashes mpc (which reads it as a 20 hour audio clip when its ~2)
That's because probably the wrong filter is used. Only the DTS/DD+ Source filter works, which is available for download earlier in this thread.

vlc doesn't do anything with it
Of course, because vlc doesn't support E-AC3 yet.

however, when i tell eac3to to encode the file, it no longer gives me the pervious error, now it says "connecting pins (1) failed"
At least some progress. That's better than what you got before. Try uninstalling and reinstalling the Sonic Cinepack. Maybe that helps?

SpAwN_gUy
18th April 2007, 09:13
The generated file is FEATURE_1.chapters.txt and looks like this:
CHAPTER01=00:00:00.000
CHAPTER01NAME=Living Weapon
CHAPTER02=00:05:00.450
CHAPTER02NAME=A Better World
CHAPTER03=00:09:31.366
CHAPTER03NAME=Aboard Serenity (Main Titles)
CHAPTER04=00:14:48.200
CHAPTER04NAME=Going for a Ride
CHAPTER05=00:19:48.666
CHAPTER05NAME=Reavers
CHAPTER06=00:29:11.250
CHAPTER06NAME=Triggered
CHAPTER07=00:36:16.083
CHAPTER07NAME=Mr. Universe
CHAPTER08=00:44:06.616
CHAPTER08NAME=Safe Haven
CHAPTER09=00:49:51.700
CHAPTER09NAME=Civilized Resolution
CHAPTER10=00:55:40.700
CHAPTER10NAME=Posing a Threat
CHAPTER11=00:59:24.750
CHAPTER11NAME=Miranda
CHAPTER12=01:04:41.366
CHAPTER12NAME=&quot;Just Believe&quot;
CHAPTER13=01:09:09.583
CHAPTER13NAME=Suicide Mission
CHAPTER14=01:13:29.366
CHAPTER14NAME=Learning the Secret
CHAPTER15=01:22:33.616
CHAPTER15NAME=Caught in the Middle
CHAPTER16=01:30:13.166
CHAPTER16NAME=Can't Stop the Signal
CHAPTER17=01:36:51.666
CHAPTER17NAME=Fighting for a Belief
CHAPTER18=01:45:49.866
CHAPTER18NAME=Do We Have an Order?
CHAPTER19=01:47:30.583
CHAPTER19NAME=It's Not Over
CHAPTER20=01:53:14.783
CHAPTER20NAME=End Titles
Is it OK?
sorry, maybe i've just printed wrong... i just copied a part of ChapterXtractor.ini .... so.. .txt should look like i corrected...

Pelican9
18th April 2007, 10:28
sorry, maybe i've just printed wrong... i just copied a part of ChapterXtractor.ini .... so.. .txt should look like i corrected...

Fixed. Check it please.

rtyall
18th April 2007, 10:41
Hi all,

I've been watching this thread for a while now as I've been trying to convert an HD DVD into something more managible on my HDD (and also into 720P since that's the limit if my TV).
I always get an issue when I convert a vc1 file into something else like Divx HD, or X264, as random frames seem to get added every few minutes. I've tried using elecard and sonic demuxer, but to no avail.
I'm unable to create a graph using the WMVideo Decoder DMO that works, so I was wondering if this is a codec issue?
Has anyone tried the Nero codecs/plugins? (http://www.nero.com/eng/Blu_Ray_Plugin.html)
I wanted to see if anyone has any info on these working before I shell out money?

Thanks,

Robin.

SpAwN_gUy
18th April 2007, 11:36
I'm unable to create a graph using the WMVideo Decoder DMO that works, so I was wondering if this is a codec issue? just did it for the first time,.. really,.. and it IS working :) ... i'm currently having troubles on seeking.. 'cause some random green sh_t appears from time to time,.. and i dunno why..
EVODemux(rebuild)->(EVO)->h264tsto or gdsmux->(MKV)->mkvtoolnix(timecodes)->(MKV)->graphedit("Haali Splitter->WMVideo Decoder DMO")->(grf)->(AVS)->AviSynth
Has anyone tried the Nero codecs/plugins? (http://www.nero.com/eng/Blu_Ray_Plugin.html)
I wanted to see if anyone has any info on these working before I shell out money?
Yes i did... and did it "just to test if.." and NO, the Does not,.. i couldn't connect nor FileInput->Demuxer->something from Nero.. nor Haali Splitter->something of Nero..
with VC-1 video of course,.. i guess Nero as h264Decoder will do,.. but i prefer to use "more another" decoders...

xc3ll
18th April 2007, 14:36
just did it for the first time,.. really,.. and it IS working :) ... i'm currently having troubles on seeking.. 'cause some random green sh_t appears from time to time,.. and i dunno why..
EVODemux(rebuild)->(EVO)->h264tsto or gdsmux->(MKV)->mkvtoolnix(timecodes)->(MKV)->graphedit("Haali Splitter->WMVideo Decoder DMO")->(grf)->(AVS)->AviSynth


I've had the same thing happen to me. It usually fixes itself quickly tho(as in, if you play the video from that part, the green blocks disappear).

One problem I've consistently had is that all of the encodes I've made have a sequence at the very beginning of the film where grey frames pop up quickly. This only lasts for 1/2s, and I could probably trim it, but there doesn't seem to be a set length, nor could I figure out what was causing it. Anyone else having the same problem?

Just to be totally clear, the first second of each encode looks like this:

BBBGBBBBGBBBGBBBGBBBBB....(start of movie)

Where B represents a frame that is completely black, and G represents a frame that is completely gray.

jokin
18th April 2007, 14:40
I haven't seen if there is a way to demux the Blu-Ray LPCM audio into 6 mono waves.

I would like to be able to load them into WME to make 360 compliant WMVs. I have has no issues with the video.

Momber
18th April 2007, 14:49
Im using version 6.4.9.0
You can find newer builds to try out under this URL:
http://ffdshow.faireal.net/#mpc

S.

Darth Pinous
18th April 2007, 15:24
I haven't seen if there is a way to demux the Blu-Ray LPCM audio into 6 mono waves.

I would like to be able to load them into WME to make 360 compliant WMVs. I have has no issues with the video.

1) Use xport or graphedit to dump the raw LPCM track.
2) Use sox to transform the raw file in a WAV-EXT file.
3) Load the WAV-EXT file in Wavewizard to convert it to 6 mono waves (you need to check the "stream manipulation" and "mono streams" options).

That's one way to do it...

DreckSoft
18th April 2007, 16:16
Pelican9's latest build of EvoDemux(0.626b3) fixes this. Make sure you have the latest build.

Oh, I missed a release, 0.626b4 seems to work. Thanks!

legoman666
18th April 2007, 22:15
That's because probably the wrong filter is used. Only the DTS/DD+ Source filter works, which is available for download earlier in this thread.


Of course, because vlc doesn't support E-AC3 yet.


At least some progress. That's better than what you got before. Try uninstalling and reinstalling the Sonic Cinepack. Maybe that helps?

When I add the DTS/AC3/DD+ source filter to the external filter list and try to play the file, MPC defaults to the intervideo audio decoder. with this filter, MPC can read the file length correctly, but it "plays" it slowly, it takes about 10 seconds for the poisition to advance 1 second.

When I add intervideo's audio decoder to the external filter list and block it, then try to play the file, MPC defaults to the cyberlink audio decoder. With this filter, MPC "plays" the file at regular speed, but there is no sound.

When I add cyberlink's audio decoder to the list and block it, MPC crashes when trying to play the file.

uninstalling and reinstalling the sonic hd decoder pack didn't do anything :(

You can find newer builds to try out under this URL:
http://ffdshow.faireal.net/#mpc

S.

I don't see anything newer than 6.4.9.0. I downloaded the most recent file in that list and it's the same version as I'm using.

dchard
18th April 2007, 22:18
Is there any progress with Dolby TrueHD?

We are trying to prepare for the Matrix trilogy, but there is only one audio codec, which we cannot reencode to DTS, and this is TrueHD.

Any idea about that? (If we can decode TrueHD to 6 mono wavs, it is enough for us :-) )

If anyone can advise a good DTS encoder (now we are using nuendo), which is "accessible", it also will appreciated.

Thanks!

Dchard

Momber
19th April 2007, 03:17
I don't see anything newer than 6.4.9.0. I downloaded the most recent file in that list and it's the same version as I'm using.
They're all 6.4.9.0. You need to look at the date of your exe. The official 6.4.9.0. is dated March 2006.

S.

legoman666
19th April 2007, 04:16
They're all 6.4.9.0. You need to look at the date of your exe. The official 6.4.9.0. is dated March 2006.

S.

gah, how confusing. mine is indeed march 06. I just downloaded the one dated 12-24-06.

MPC no longer crashes when using the DTS/AC3/DD+ source filter, it "plays" the file, but there is no sound.

Setting sonic audio decoder to highest on the list still causes MPC to crash however :(.

I think I give up on this EAC3 file, im just going to rip my dvd of serenity, steal the ac3 from that and mux it to my h264 encode of serenity from the hd-dvd. This isn't worth the trouble.

EDIT: ah, that took a whole of 20 minutes. why didn't i do this in the first place? :D

woah!
19th April 2007, 07:55
seem to have a bug with the new ms result from PTS. this is from the 2nd PEVOB file, the first PEVOB file count was correct but this one seems very wrong?

Dolby Digital Plus audio stream 0 found!
First PTS = 1F475C30 (+47721776ms)


i worked out 1F475C30 to be +58307816ms from that file, and my muxed file would seem to say it is correct as the audio is synced with a -81ms delay to the video.

anyways i also thought it would be cool if demux worked out the video PTS aswell as it doesnt seem to be outputted that i see anyways :)

thx all the same for a great app :)



NOTE: ok it seems to give the correct ms if you process all EVO files at once, but if you load just the 2nd one on its own it gives a bugged ms result even tho the PTS result is correct.

kalin
19th April 2007, 08:23
att:legoman666 Did you try to change the output on the cyberlink audio filter from, say spdif to 2 speakers or 5.1??

-kalin

mikeyakame
19th April 2007, 10:51
nero filters have protection on them, to use the majority of them in graphedit, you need to rename graphedt.exe to recode.exe, and it will let you use the majority of the nero codecs, I paid for the blurray/hddvd plugin for nero, its worth the 15 euro i paid for it, plays back hddvd/bluray magnificently, decodes eac3 in program, as well as cores the DTSHD (no program has support for this yet)

DeepBeepMeep
19th April 2007, 11:47
nero filters have protection on them, to use the majority of them in graphedit, you need to rename graphedt.exe to recode.exe, and it will let you use the majority of the nero codecs, I paid for the blurray/hddvd plugin for nero, its worth the 15 euro i paid for it, plays back hddvd/bluray magnificently, decodes eac3 in program, as well as cores the DTSHD (no program has support for this yet)

mike have you tried to use the nero filters with a player such as mplayer or zoomplayer. The new filters EAC3, DTSHD, VC1 seems very interesting. It would be nice if you could share your thoughts on their compatibility with other filters (Haali?), performances, etc.... Do these filters require to rename the running application to recode.exe? Thanks.

drmpeg
19th April 2007, 12:22
I've finally fixed xport for 20 and 24 bit Blu-ray LPCM audio streams. Huzzah! Sorry for the delay, but I've been super busy at work with my current project and also getting customers ready to show their gadgets at NAB 2007 this week.

Version 0.96 available at:

http://www.w6rz.net/xport.zip

Ron

zgx
19th April 2007, 13:14
I've finally fixed xport for 20 and 24 bit Blu-ray LPCM audio streams. Huzzah! Sorry for the delay, but I've been super busy at work with my current project and also getting customers ready to show their gadgets at NAB 2007 this week.

Version 0.96 available at:

http://www.w6rz.net/xport.zip

RonGreat work!
:thanks:

Momber
19th April 2007, 14:17
nero filters have protection on them, to use the majority of them in graphedit, you need to rename graphedt.exe to recode.exe, and it will let you use the majority of the nero codecs,
That's a neat trick!!! Thanks for sharing.

S.

legoman666
19th April 2007, 14:31
att:legoman666 Did you try to change the output on the cyberlink audio filter from, say spdif to 2 speakers or 5.1??

-kalin

yes, still didn't work :( It's all good though, the dvd's ac3 track is good enough. The TV I watch the movies on doesn't have surround sound anyway.

MichalHabart
19th April 2007, 18:31
I've finally fixed xport for 20 and 24 bit Blu-ray LPCM audio streams. Huzzah! Sorry for the delay, but I've been super busy at work with my current project and also getting customers ready to show their gadgets at NAB 2007 this week.

Version 0.96 available at:

http://www.w6rz.net/xport.zip

Ron

It seems not working for me. I tried with one bluray that contains LPCM track but it is not even recognized by xport :(
Ron, should i provide you sample of it for possible troubleshooting?

Edit: Sorry, i was mistaken. It was DTS-ES track that was not recognised by xport by actually it was demuxed correctly.

mikeyakame
20th April 2007, 07:32
mike have you tried to use the nero filters with a player such as mplayer or zoomplayer. The new filters EAC3, DTSHD, VC1 seems very interesting. It would be nice if you could share your thoughts on their compatibility with other filters (Haali?), performances, etc.... Do these filters require to rename the running application to recode.exe? Thanks.

I just had the time now so I tried it out, and what do you know, it works very nicely when i rename media player classic to recode.exe.

you'll have to block a lot of filters, ie sonic video decoder as that screws mpc up. I tried out scanner darkly hddvd, and that plays great, as well as the good shepherd hddvd & casino royale bluray.

all play perfectly.

this is how my filter order looks.

Good Shepherd.

Haali Media Splitter (Evob) -> WMVideoDecoder (Vista) -> VMR9
-> Nero Audio Decoder 2 (Decodes EAC3 as 24-bit LPCM 6ch) -> AC3 Filter -> Directsound Out



- Connected to:

CLSID: {83E69A3D-56A5-4850-89C9-F6B6F003EB9B}
Filter: Nero Audio Decoder 2
Pin: Input

- Connection media type:

Audio: Dolby AC3 48000Hz 6ch

AM_MEDIA_TYPE:
majortype: MEDIATYPE_Audio {73647561-0000-0010-8000-00AA00389B71}
subtype: MEDIASUBTYPE_DOLBY_AC3 {E06D802C-DB46-11CF-B4D1-00805F6CBBEA}
formattype: FORMAT_WaveFormatEx {05589F81-C356-11CE-BF01-00AA0055595A}
bFixedSizeSamples: 0
bTemporalCompression: 0
lSampleSize: 1
cbFormat: 18

WAVEFORMATEX:
wFormatTag: 0x0000
nChannels: 6
nSamplesPerSec: 48000
nAvgBytesPerSec: 0
nBlockAlign: 0
wBitsPerSample: 0
cbSize: 0 (extra bytes)

pbFormat:
0000: 00 00 06 00 80 bb 00 00 00 00 00 00 00 00 00 00 ....€»..........
0010: 00 00 ..

- Enumerated media type 0:

Set as the current media type

- Enumerated media type 1:

Audio: 0xeac3 48000Hz 6ch

AM_MEDIA_TYPE:
majortype: MEDIATYPE_Audio {73647561-0000-0010-8000-00AA00389B71}
subtype: Unknown GUID Name {0000EAC3-0000-0010-8000-00AA00389B71}
formattype: FORMAT_WaveFormatEx {05589F81-C356-11CE-BF01-00AA0055595A}
bFixedSizeSamples: 0
bTemporalCompression: 0
lSampleSize: 1
cbFormat: 18

WAVEFORMATEX:
wFormatTag: 0xeac3
nChannels: 6
nSamplesPerSec: 48000
nAvgBytesPerSec: 0
nBlockAlign: 0
wBitsPerSample: 0
cbSize: 0 (extra bytes)

pbFormat:
0000: c3 ea 06 00 80 bb 00 00 00 00 00 00 00 00 00 00 Ãê..€»..........
0010: 00 00


- Connected to:

CLSID: {83E69A3D-56A5-4850-89C9-F6B6F003EB9B}
Filter: Nero Audio Decoder 2
Pin: Output

- Connection media type:

Audio: WAVE_FORMAT_EXTENSIBLE 48000Hz 6ch 6912Kbps

AM_MEDIA_TYPE:
majortype: MEDIATYPE_Audio {73647561-0000-0010-8000-00AA00389B71}
subtype: MEDIASUBTYPE_PCM {00000001-0000-0010-8000-00AA00389B71}
formattype: FORMAT_WaveFormatEx {05589F81-C356-11CE-BF01-00AA0055595A}
bFixedSizeSamples: 0
bTemporalCompression: 0
lSampleSize: 1
cbFormat: 40

WAVEFORMATEX:
wFormatTag: 0xfffe
nChannels: 6
nSamplesPerSec: 48000
nAvgBytesPerSec: 864000
nBlockAlign: 18
wBitsPerSample: 24
cbSize: 22 (extra bytes)

WAVEFORMATEXTENSIBLE:
wValidBitsPerSample: 24
dwChannelMask: 0x0000003f
SubFormat: {00000001-0000-0010-8000-00AA00389B71}

- Connected to:

CLSID: {79376820-07D0-11CF-A24D-0020AFD79767}
Filter: Default DirectSound Device
Pin: Audio Input pin (rendered)

- Connection media type:

Audio: WAVE_FORMAT_EXTENSIBLE 48000Hz 6ch 6912Kbps

AM_MEDIA_TYPE:
majortype: MEDIATYPE_Audio {73647561-0000-0010-8000-00AA00389B71}
subtype: MEDIASUBTYPE_PCM {00000001-0000-0010-8000-00AA00389B71}
formattype: FORMAT_WaveFormatEx {05589F81-C356-11CE-BF01-00AA0055595A}
bFixedSizeSamples: 1
bTemporalCompression: 0
lSampleSize: 1
cbFormat: 40

WAVEFORMATEX:
wFormatTag: 0xfffe
nChannels: 6
nSamplesPerSec: 48000
nAvgBytesPerSec: 864000
nBlockAlign: 18
wBitsPerSample: 24
cbSize: 22 (extra bytes)

WAVEFORMATEXTENSIBLE:
wValidBitsPerSample: 24
dwChannelMask: 0x0000003f
SubFormat: {00000001-0000-0010-8000-00AA00389B71}

pbFormat:
0000: fe ff 06 00 80 bb 00 00 00 2f 0d 00 12 00 18 00 þÿ..€».../......
0010: 16 00 18 00 3f 00 00 00 01 00 00 00 00 00 10 00 ....?...........
0020: 80 00 00 aa 00 38 9b 71 €..ª.8›q

- Enumerated media type 0:

Set as the current media type




Just so you know i'm not talking out of my ears, I've never tried using it this way as if i want to playback hddvd/bluray I just use nero showtime w/ the bluray/hddvd plugin I was forced to purchase! LOL but i think it was well worth the money i spent, best value and use i've ever gotten out of playback software, most interestingly out of Ahead.

Michael

Edit: With Nero Showtime I just select Play Media From Folder point it at the HDDVD or Bluray Folder and it plays back with full menus, everything, if you are looking to use these filters for encoding, it might be a different story, as I've mucked around a bit trying to load the filter graph in megui, and without renaming megui to recode.exe, (not sure if it well mess up dynamic link library access and what not), Ahead's digital protection kicks in and doesn't let me load the audio/video decoder HD filters...thats something to try another time.

SpAwN_gUy
20th April 2007, 08:25
I've had the same thing happen to me. It usually fixes itself quickly tho(as in, if you play the video from that part, the green blocks disappear). i'm cirrently looking through video to search for greenEncoded frames...
One problem I've consistently had is that all of the encodes I've made have a sequence at the very beginning of the film where grey frames pop up quickly. This only lasts for 1/2s, and I could probably trim it, but there doesn't seem to be a set length, nor could I figure out what was causing it. Anyone else having the same problem?

Just to be totally clear, the first second of each encode looks like this:

BBBGBBBBGBBBGBBBGBBBBB....(start of movie)

Where B represents a frame that is completely black, and G represents a frame that is completely gray.
Confirm. Yes i also have those GreyFrames in the beginning...

SpAwN_gUy
20th April 2007, 08:28
Fixed. Check it please.Well, sorry for Lame question, but.. um.. i've downloaded new(i think) EVODemux... opened .xpl and scanned .evo's .... but.. what should i do next?
i see contents of XPL-File on the right side of "XPL"-Tab .. and grayed "Write Chapters" button.. waht do i need to do next?

Pelican9
20th April 2007, 09:33
Well, sorry for Lame question, but.. um.. i've downloaded new(i think) EVODemux... opened .xpl and scanned .evo's .... but.. what should i do next?
i see contents of XPL-File on the right side of "XPL"-Tab .. and grayed "Write Chapters" button.. waht do i need to do next?

Open the EVO.
Open the XPL.
Read the XPL.
Write chapters.

SpAwN_gUy
20th April 2007, 12:08
Open the EVO.
Open the XPL.
Read the XPL.
Write chapters.
Thanks, worked.. then .txt to ChapterGrabber.2.3 (nice proggy to edit chapter-Files.. and to paste Chapter names from clipboard) .. http://video.barnesandnoble.com ... search for title, copy chapternames.. paste , save.. and we have proper chapters.txt file..

but one fix request in EVOdemux.. could you save chapters .txt or into Output folder or show SaveDialog...
'cause, i was a bit confused whrn found chapters.txt in Input-EVO folder...

Pelican9
20th April 2007, 12:59
but one fix request in EVOdemux.. could you save chapters .txt or into Output folder or show SaveDialog...
'cause, i was a bit confused whrn found chapters.txt in Input-EVO folder...

Fixed. :-)

DeepBeepMeep
21st April 2007, 00:32
I just had the time now so I tried it out, and what do you know, it works very nicely when i rename media player classic to recode.exe.

you'll have to block a lot of filters, ie sonic video decoder as that screws mpc up. I tried out scanner darkly hddvd, and that plays great, as well as the good shepherd hddvd & casino royale bluray.

all play perfectly.



Thanks Mike for all these information. I am not sure, I will go for the decoder since I need first to buy the Nero 7 pack which is quite expensive.

Have you tested the performance of the VC1 decoder in software mode (that is followed for instance by ffdshow) compared to the Windows Media decoder?

mikeyakame
21st April 2007, 05:55
Deep,

Well nero decoders use DXVA (2 i presume), for vc1/h264 playback so the performance is very good and is threaded (in my case : core2duo e6600 clocked at 3.4ghz, it seems to be about 30-40% cpu avg across both cores for hd dvd/bluray playback), I'll try and give you a better comparison on cpu/ram use later today, I need to reinstall nero now as showtime won't playback since I screwed with the filters in media player classic.

Michael

Edit: Turns out it was Nvidia's new forceware 165.01 that broke the PurevideoHD, as with 158.18 it works again. Performance is about 25-30% cpu with nero showtime & dxva.

dchard
21st April 2007, 08:06
Because nobody answered to my truehd question, I try to figure out a way myself to decode the trueHD tracks to wav.

First I tryed to demux the mlp track, and use it in graphedit. It won't work.

Second I tryed to put the evob in graphedit, then Sonic Audio decoder 4.2, then Directsound out. This give me sound, and I can change audio tracks with matroska spiltter. But its not good, because the second part of the evob is out of sight with this method.

So now I trying to remux the evob with just the one mlp(truehd) track inside to one evob, then put this into graphedit.

My question is: if I change - in the second version - the directsound output to Dump filter, I get a raw file, which can be used with SoX to convert it to wavs?
If not, which filter should I use to get a raw or wav output?

Second question: this mlp track is like on DVD-A discs?

MOD: the second version it seems a dead end, because the evob contains 5 audio tracks only one of them is truehd(mlp), but in the matroska splitter I can select only 4 of them.
Anyway, a trying with the remux.

pdvd 6.5 HD can decode truehd track. Is there any way to use pdvd directshow filters to get raw or wav files?

MOD2: I remuxed the truehd track to an evob (it contains only the truehd track). I tryed it in pdvd 6.5 hd, it recoginzed as a truehd 5.1 track, and it plays it fine (at the end, it won't stop playing, this is because the missing map file perhaps, but pdvd won't crashed.).

I tryed to open this evob in grpahedit(render media files), but it won't open. (unknown error). I tryed to rename graphedit.exe to powerDVD.exe, but also won't open.

Now I'am stucked. Any idea how to continue?

It seems that graphedit (--> render media file ) trying to open the evob with halli splitter, which is currently not supporting truehd tracks. Is there any way to open evob with graphedit without halli splitter?

Dchard

Icemaan
21st April 2007, 13:35
hello
Long time before i have found here a tool which can split Evo Files
I not find it again.
Can anyone help me because i want split my evo to a smaller size for Encoding Test

Thanks for Help
Icemaan

Revgen
21st April 2007, 17:02
You need to change your filter priorities, so that when drop your file into graphedit, DTS AC3 DD+ Source--> Cinemaster audio decoder 4.2, is automatically chosen!
Use mpc to change priorities!

-kalin

Filter priorities can be changed directly with this tool. No MPC tricks needed. Just set the "merit" of the filter you want to use and make it higher than the filters you don't want to use. http://www.softella.com/dsfm/index.en.htm

Momber
21st April 2007, 19:22
hello
Long time before i have found here a tool which can split Evo Files
I not find it again.
http://forum.doom9.org/showthread.php?p=950854&highlight=HD-DVD+Split+GUI#post950854

Rectal Prolapse
21st April 2007, 19:28
dchard: I wasn't able to play TrueHD tracks using your method. I tried this a month ago and I get silence or the filter refuses to connect.

Are you sure it is using the TrueHD track? What if you use EVODemux to build an EVO that only contains one video and one TrueHD track?

Icemaan
21st April 2007, 20:00
http://forum.doom9.org/showthread.php?p=950854&highlight=HD-DVD+Split+GUI#post950854

Thanks for Help

shaolin95
22nd April 2007, 01:49
I just had the time now so I tried it out, and what do you know, it works very nicely when i rename media player classic to recode.exe.

you'll have to block a lot of filters, ie sonic video decoder as that screws mpc up. I tried out scanner darkly hddvd, and that plays great, as well as the good shepherd hddvd & casino royale bluray.

all play perfectly.

this is how my filter order looks.

Good Shepherd.

Haali Media Splitter (Evob) -> WMVideoDecoder (Vista) -> VMR9
-> Nero Audio Decoder 2 (Decodes EAC3 as 24-bit LPCM 6ch) -> AC3 Filter -> Directsound Out



- Connected to:

CLSID: {83E69A3D-56A5-4850-89C9-F6B6F003EB9B}
Filter: Nero Audio Decoder 2
Pin: Input

- Connection media type:

Audio: Dolby AC3 48000Hz 6ch

AM_MEDIA_TYPE:
majortype: MEDIATYPE_Audio {73647561-0000-0010-8000-00AA00389B71}
subtype: MEDIASUBTYPE_DOLBY_AC3 {E06D802C-DB46-11CF-B4D1-00805F6CBBEA}
formattype: FORMAT_WaveFormatEx {05589F81-C356-11CE-BF01-00AA0055595A}
bFixedSizeSamples: 0
bTemporalCompression: 0
lSampleSize: 1
cbFormat: 18

WAVEFORMATEX:
wFormatTag: 0x0000
nChannels: 6
nSamplesPerSec: 48000
nAvgBytesPerSec: 0
nBlockAlign: 0
wBitsPerSample: 0
cbSize: 0 (extra bytes)

pbFormat:
0000: 00 00 06 00 80 bb 00 00 00 00 00 00 00 00 00 00 ....€»..........
0010: 00 00 ..

- Enumerated media type 0:

Set as the current media type

- Enumerated media type 1:

Audio: 0xeac3 48000Hz 6ch

AM_MEDIA_TYPE:
majortype: MEDIATYPE_Audio {73647561-0000-0010-8000-00AA00389B71}
subtype: Unknown GUID Name {0000EAC3-0000-0010-8000-00AA00389B71}
formattype: FORMAT_WaveFormatEx {05589F81-C356-11CE-BF01-00AA0055595A}
bFixedSizeSamples: 0
bTemporalCompression: 0
lSampleSize: 1
cbFormat: 18

WAVEFORMATEX:
wFormatTag: 0xeac3
nChannels: 6
nSamplesPerSec: 48000
nAvgBytesPerSec: 0
nBlockAlign: 0
wBitsPerSample: 0
cbSize: 0 (extra bytes)

pbFormat:
0000: c3 ea 06 00 80 bb 00 00 00 00 00 00 00 00 00 00 Ãê..€»..........
0010: 00 00


- Connected to:

CLSID: {83E69A3D-56A5-4850-89C9-F6B6F003EB9B}
Filter: Nero Audio Decoder 2
Pin: Output

- Connection media type:

Audio: WAVE_FORMAT_EXTENSIBLE 48000Hz 6ch 6912Kbps

AM_MEDIA_TYPE:
majortype: MEDIATYPE_Audio {73647561-0000-0010-8000-00AA00389B71}
subtype: MEDIASUBTYPE_PCM {00000001-0000-0010-8000-00AA00389B71}
formattype: FORMAT_WaveFormatEx {05589F81-C356-11CE-BF01-00AA0055595A}
bFixedSizeSamples: 0
bTemporalCompression: 0
lSampleSize: 1
cbFormat: 40

WAVEFORMATEX:
wFormatTag: 0xfffe
nChannels: 6
nSamplesPerSec: 48000
nAvgBytesPerSec: 864000
nBlockAlign: 18
wBitsPerSample: 24
cbSize: 22 (extra bytes)

WAVEFORMATEXTENSIBLE:
wValidBitsPerSample: 24
dwChannelMask: 0x0000003f
SubFormat: {00000001-0000-0010-8000-00AA00389B71}

- Connected to:

CLSID: {79376820-07D0-11CF-A24D-0020AFD79767}
Filter: Default DirectSound Device
Pin: Audio Input pin (rendered)

- Connection media type:

Audio: WAVE_FORMAT_EXTENSIBLE 48000Hz 6ch 6912Kbps

AM_MEDIA_TYPE:
majortype: MEDIATYPE_Audio {73647561-0000-0010-8000-00AA00389B71}
subtype: MEDIASUBTYPE_PCM {00000001-0000-0010-8000-00AA00389B71}
formattype: FORMAT_WaveFormatEx {05589F81-C356-11CE-BF01-00AA0055595A}
bFixedSizeSamples: 1
bTemporalCompression: 0
lSampleSize: 1
cbFormat: 40

WAVEFORMATEX:
wFormatTag: 0xfffe
nChannels: 6
nSamplesPerSec: 48000
nAvgBytesPerSec: 864000
nBlockAlign: 18
wBitsPerSample: 24
cbSize: 22 (extra bytes)

WAVEFORMATEXTENSIBLE:
wValidBitsPerSample: 24
dwChannelMask: 0x0000003f
SubFormat: {00000001-0000-0010-8000-00AA00389B71}

pbFormat:
0000: fe ff 06 00 80 bb 00 00 00 2f 0d 00 12 00 18 00 þÿ..€».../......
0010: 16 00 18 00 3f 00 00 00 01 00 00 00 00 00 10 00 ....?...........
0020: 80 00 00 aa 00 38 9b 71 €..ª.8›q

- Enumerated media type 0:

Set as the current media type




Just so you know i'm not talking out of my ears, I've never tried using it this way as if i want to playback hddvd/bluray I just use nero showtime w/ the bluray/hddvd plugin I was forced to purchase! LOL but i think it was well worth the money i spent, best value and use i've ever gotten out of playback software, most interestingly out of Ahead.

Michael

Edit: With Nero Showtime I just select Play Media From Folder point it at the HDDVD or Bluray Folder and it plays back with full menus, everything, if you are looking to use these filters for encoding, it might be a different story, as I've mucked around a bit trying to load the filter graph in megui, and without renaming megui to recode.exe, (not sure if it well mess up dynamic link library access and what not), Ahead's digital protection kicks in and doesn't let me load the audio/video decoder HD filters...thats something to try another time.

hI!
I am not sure what Im doing wrong but my Nero Audio Decoder 2 wont connect to the AC3 Filter...any ideas?
Thanks

dchard
22nd April 2007, 20:35
dchard: I wasn't able to play TrueHD tracks using your method. I tried this a month ago and I get silence or the filter refuses to connect.

Are you sure it is using the TrueHD track? What if you use EVODemux to build an EVO that only contains one video and one TrueHD track?

As I wrote in the MOD section of my post, after some tryout I figured out, that the halli splitter won't recognizes the MLP(trueHD) track, therefor it cannot send it to the Sonic Audio decoder (which probably can decode the trueHD track.

1.
Is there any way to open an evob in graph edit without Haali splitter?

2. Will I get a raw file (which can be used for processing with SoX) if I use this graph? (no matter if the audio is eac3 or other)
Evob (haali) --> Sonic audio decoder 4.2 --> Dump filter ??

Thanks!

Dchard

mikeyakame
23rd April 2007, 02:17
Shaolin,

Well, in graphedit, make sure your graphedt.exe is renamed to recode.exe, make sure you are using the bluray/hddvd plugin for nero. Im using AC3filter 1.30b, latest Haali, 28/3 i think it is, Nero dshow filters from 7.8.5.0, with the bluray/hddvd plugin activated.
Make sure AC3filter is set to accept LPCM as input.

There is nothing more to it, if you don't have the program trying to use the filter named as recode.exe it wont work, and if you havent activated the bluray hddvd plugin it wont work.

Rectal Prolapse
23rd April 2007, 06:12
dchard, you can try the Sonic HD Demuxer instead of Haali.

Try using File Source Async->Sonic HD Demuxer. That should allow you to open an EVO file within GraphEdit. Unfortunately, I still could not get the TrueHD audio to play back. :(

dchard
23rd April 2007, 10:05
Hi!

Thanks for the two method.

Rectal Prolapse:

I tryed your method with the following graph:

File Source Async->Sonic HD Demuxer -->

after the HD demuxer I tryed Cyberlink Aduio Decoder, Sonic scenarist audio decoder 4.2, Elecard Audio decoder, but I always got error messages.

The important thing is, that when I go to the HD demuxer's properties, it seems the demuxer was recognised the trueHD (48KHz, 6 ch, 24bit) track after I connected the Async and the Demuxer's pins.

I tryed another method:

File Source Async-> Eelcard demultiplexer --> Elecard audio decoder --> Directsound.

With this I got a fizzy signal. I repaced the Elecard audio decoder with cinemaster audio decoder 4.2, but again I got fizzy audio signal.

Now I trying to get a Nero version which conatins the Blu-Ray/HD-DVd plugin. If someone can help with this, it will highly appreciated. Is the plugin in the 7.8.5.0 premium, or Reloaded premium edition? Or it must be bought separately?

Dchard

enantiomer
23rd April 2007, 16:51
Dchard,
The "Scenarist Nav Filter" can open EVO files directly and will connect to the Sonic decoders. Have you tried that with a rebuilt EVO where TrueHD is the only audio track?

dchard
23rd April 2007, 17:34
Dchard,
The "Scenarist Nav Filter" can open EVO files directly and will connect to the Sonic decoders. Have you tried that with a rebuilt EVO where TrueHD is the only audio track?

Currently I'am trying what you advised, and yes: i'am using an evob which contains only a truehd track.

MOD: i installed sonic scenarist 4.12, but I cannot found any "Scenarist Nav Filter" in the directshow filters of graphedit.

Dchard

Rectal Prolapse
23rd April 2007, 23:24
Using Scenarist Nav Filter on a rebuilt EVO with only one audio track (TrueHD), I get silence.

xc3ll
23rd April 2007, 23:39
i'm cirrently looking through video to search for greenEncoded frames...

Confirm. Yes i also have those GreyFrames in the beginning...

I just did another movie, but this time, no grey frames at the beginning. Very strange. I think it might be something to do with the the decoder. I was using Intervideo's h.264 decoder, but I switched to CoreAVC, which doesn't have the problem. What decoder are you using spawnguy?

shaolin95
24th April 2007, 01:52
Shaolin,

Well, in graphedit, make sure your graphedt.exe is renamed to recode.exe, make sure you are using the bluray/hddvd plugin for nero. Im using AC3filter 1.30b, latest Haali, 28/3 i think it is, Nero dshow filters from 7.8.5.0, with the bluray/hddvd plugin activated.
Make sure AC3filter is set to accept LPCM as input.

There is nothing more to it, if you don't have the program trying to use the filter named as recode.exe it wont work, and if you havent activated the bluray hddvd plugin it wont work.

I tried it again and I need to check the SPDIF
option in the Nero Audio Decoder 2 or I dont get any sound.
The problem is that while I do get 5.1 from my receiver it is at a lower pitch for some reason.

Regards

McHooye
24th April 2007, 04:17
Hi folks,

I'm trying to convert 2 DD+ audio tracks from an EVO file (from King Kong HD-DVD), and it seems to be working for one of them only.
When reading the EVO file with EVOdemux, here is what I get :

Dolby Digital Plus audio stream 1 found!
First PTS = 00000D8E
Substream id = C1
Stream 1 is Dolby Digital Plus
frame size = 1536 bytes, number of blocks per frame = 6
Sampling frequency = 48 kHz
Transmission bitrate = 384 kbit/s
Channel arrangement = L + R + C + Ls + Rs, bsid = 16
LFE channel = present

Dolby Digital Plus audio stream 0 found!
First PTS = 00016D78 (+1001ms)
Substream id = C0
Stream 0 is Dolby Digital Plus
frame size = 1024 bytes, number of blocks per frame = 1
Sampling frequency = 48 kHz
Transmission bitrate = 1536 kbit/s
Channel arrangement = L + R + C + Ls + Rs, bsid = 16
LFE channel = present
(you can see the differences in bold)

eac3to can convert the file generated by stream 1, not the one generated by stream 0 ("The source file format is unknown").

Is it a known eac3to (or Orbitlee's filter) limitation ?
Or even an EVOdemux bug ?

Thanx !

shaolin95
24th April 2007, 04:48
I tried it again and I need to check the SPDIF
option in the Nero Audio Decoder 2 or I dont get any sound.
The problem is that while I do get 5.1 from my receiver it is at a lower pitch for some reason.

Regards

Ok, I found a "working" combination.

Haali Simple Splitter ==> Nero Audio Decoder 2 (using SPDIF out) ==> AC3 Filter ==> Default audio (renderer).

This one finally gives me 5.1 at the correct pitch but there is one catch. Everytime I open the graph I need to go to the NERO filter and select the SPDIF because it wont save the setting.
I assume this means if I do the avs script to convert to wmv, I wont get any audio right? Is there anyway to configure the NERO audio filter to have SPDIF checked by default?

Regards

dchard
24th April 2007, 09:29
Using Scenarist Nav Filter on a rebuilt EVO with only one audio track (TrueHD), I get silence.

Then we have to get a Nero BD/HD plugin, and trying with that. Currently I got "this is for a newver version of nero" error, when I try to insert the serial, but I using the very latest edition. I tryed with latest Encanched, Premium, essentials ediition, and encanched reloaded edition, and the latest I downloaded from nero.com, but it always said the above error message. Nero update won't work in any versions.

Dchard

McHooye
24th April 2007, 11:41
Back to my concern : ACrowley had the same problem (http://forum.doom9.org/showthread.php?p=976372#post976372).

So I did like him and it worked : converted each file separately and merged the 2 resulting AC3 files.

At first I tried to replace eac3to.exe by running the graph DD+>Sonic Audio>Dump in GraphEdit but after exactly 9GB written, GraphEdit crashed (tested 2 times).

Conclusion : both eac3to and GraphEdit are unable to properly handle very big DD+ files.

madshi
24th April 2007, 15:40
Conclusion : both eac3to and GraphEdit are unable to properly handle very big DD+ files.
I don't think so. eac3to should have no general problem with big DD+ files. The error message you reported ("The source file format is unknown") means that probably the DD+ file you fed to eac3to was corrupt.

McHooye
24th April 2007, 16:25
I don't think so. eac3to should have no general problem with big DD+ files. The error message you reported ("The source file format is unknown") means that probably the DD+ file you fed to eac3to was corrupt.

So you think that the problem comes from EVOdemux ?
Mmh I don't think so, because :
1) I've done a second demux with another tool (HD-DVD demuxer 1.2) and the resulting DD+ audio file has exactly the same size
2) The error message from EAC3to is exactly the same when opening this alternate file

That's why I think the pb comes from EAC3to (thanks for this great tool BTW).
Unless EVOdemux and HD-DVD demuxer share the same demuxing code... :confused:

madshi
24th April 2007, 20:44
So you think that the problem comes from EVOdemux ?
Mmh I don't think so, because :
1) I've done a second demux with another tool (HD-DVD demuxer 1.2) and the resulting DD+ audio file has exactly the same size
2) The error message from EAC3to is exactly the same when opening this alternate file

That's why I think the pb comes from EAC3to (thanks for this great tool BTW).
Unless EVOdemux and HD-DVD demuxer share the same demuxing code... :confused:
Well, can you "play" that file via GraphEdit? "DD+ source -> Sonic Audio Decoder -> Dump"?

McHooye
24th April 2007, 21:26
Well, can you "play" that file via GraphEdit? "DD+ source -> Sonic Audio Decoder -> Dump"?

Yes, but as I told, GraphEdit crashes as soon as the generated file size reaches exactly 9 GB (out of 22). Tried 2 times with the same result.

Chumbo
25th April 2007, 03:13
Use the DVBPortal HDTV Reference Dump filter instead of just Dump. You should be able to accomplish what you need once you get this filter.

madshi
25th April 2007, 07:48
Yes, but as I told, GraphEdit crashes as soon as the generated file size reaches exactly 9 GB (out of 22). Tried 2 times with the same result.
Could you send me the first few MBs of that DD+ file, so I can find out what going on?

McHooye
25th April 2007, 09:11
Could you send me the first few MBs of that DD+ file, so I can find out what going on?

I could, but it would be useless, since the concern is about the file size. As I told above, if I split the file into 2 parts, each part can be converted with eac3to without any pb.

Actually, maybe I know what's wrong.
The file size is 2 158 490 624 bytes, which exceeds a signed 32 bits integer capacity (2 147 483 648 bytes).
So I think somewhere in your code you use a signed long integer to handle the file size, which turns into a negative number on my big file, leading to the "The source file format is unknown" error message.
If I'm right, using a 32 bits unsigned integer or even better a 64 bits integer should be the solution.

xc3ll
25th April 2007, 09:18
I just did another movie, but this time, no grey frames at the beginning. Very strange. I think it might be something to do with the the decoder. I was using Intervideo's h.264 decoder, but I switched to CoreAVC, which doesn't have the problem. What decoder are you using spawnguy?

I've been doing some more searching, and I've found the problem! I was completely wrong before.

Turns out that I was using an old version of AviSynth. I thought I had 2.5.7 installed, but after running a version check (just make an .avs with this line in it:
Version()
I found I was using 2.5.6. If you check the bug fixes for 2.5.7, it includes fixing the grey frame issue.

Hope this helps!

McHooye
25th April 2007, 09:22
Use the DVBPortal HDTV Reference Dump filter instead of just Dump. You should be able to accomplish what you need once you get this filter.

Thank you for this advice, but the result is exactly the same : crash when the output file size reaches 9 GB :(

madshi
25th April 2007, 09:26
The file size is 2 158 490 624 bytes
Argh. When I wrote eac3to I thought: "Well, we're talking about compressed AC3 files, they can't be anywhere near of 2GB". Try this one:

http://madshi.net/eac3to.zip

McHooye
25th April 2007, 09:37
Argh. When I wrote eac3to I thought: "Well, we're talking about compressed AC3 files, they can't be anywhere near of 2GB". Try this one:
http://madshi.net/eac3to.zip

Thx, but this is the version I already use (March, 15) and that does not work.

SpAwN_gUy
25th April 2007, 09:39
I just did another movie, but this time, no grey frames at the beginning. Very strange. I think it might be something to do with the the decoder. I was using Intervideo's h.264 decoder, but I switched to CoreAVC, which doesn't have the problem. What decoder are you using spawnguy?I've done 2(or 3 ;) ) encodes of BatmanBegins(that is only what i have).
Remuxed EVOB->gdsmux to MKV->mkvtoolnix(timecodes)->graphedit
{
HaaliMediaSplitter(mkv)->WMVideo decoder DMO
//don't ask me why did i used old method(on page 7 here). at first i wanted to use x264farm, but then i've found free Core2Duo E6400 PC.. for my needs ;)
}
-> Avisynth
{
SetMemoryMax(64)
DirectShowSource("G:\DVDRiP\BatmanHD\BatmanHD.GRF", audio=false, fps=23.976)
#RemoveGrain(mode=2)
crop(0,132,1920,792)
Lanczos4Resize(1280,528)
}
and then fed .avs to x264...
in my First Encode(without RemoveGrain(mode=2)) i have something like (3blackframes at the beginning.. then 15grey frames, 2black,1grey,1black,1gray,1black,1grey.. and then normal video)
second one i encoded is WITH Remove grain.. and there those grey frames are flashing for like 3seconds in the beginning...
it was reported that this occurs when decoded with "WMVideo Decoder DMO" (i have XP).. and also this decoder produces GreenFramse(something like 3 or 4) when randomly searched through video.. when i was testing my .avs. but the they vanish.. after that..

i guess the is no such problem when decoded with Sonic's Decoder... but i could not produce a working AVS sript(so i dropped that)

SpAwN_gUy
25th April 2007, 09:50
I've been doing some more searching, and I've found the problem! I was completely wrong before.
Turns out that I was using an old version of AviSynth. I thought I had 2.5.7 installed, but after running a version check
I found I was using 2.5.6. If you check the bug fixes for 2.5.7, it includes fixing the grey frame issue.did that.. and.. AviSynth 2.57, build:Sep 16 2006 [21:44:19]strange..

madshi
25th April 2007, 09:50
Thx, but this is the version I already use (March, 15) and that does not work.
Please empty your internet cache and try downloading again. Or use a different browser. I uploaded a new build today, just before posting the link here. Version number is 1.3 now.

ACrowley
25th April 2007, 10:05
EDIT : Oh i overread hes using a remuxed vc1/mkv

@Spawn_Guy

Maybe you should try to encode from the demuxed VC1 ?


But my encodes with proper remuxed VC1 in mkv and WMVideoDecoder are all fine, also on Batman

McHooye
25th April 2007, 10:11
Please empty your internet cache and try downloading again. Or use a different browser. I uploaded a new build today, just before posting the link here. Version number is 1.3 now.

My mistake !
It runs now ! :D
I'm waiting for the output file to reach the 9 GB red line and I'll keep you informed...

:thanks:

SpAwN_gUy
25th April 2007, 10:26
EDIT : Oh i overread hes using a remuxed vc1/mkv

@Spawn_Guy
Maybe you should try to encode from the demuxed VC1 ?

But my encodes with proper remuxed VC1 in mkv and WMVideoDecoder are all fine, also on Batman
so now i'm confused... maybe it is from configuration of PC i use? ...
and one more thing.. i'm using RemoteConnection to that PC, and there are MORE of grey frames when Haali's TaskbarIcon is left(hang ??? ) on the taskbar.. (so there are Two of them..) i'll test that for now,...

and.. i dropped batman.. i think i will not do him again.. or.. just for fun ;) ...

mikeyakame
25th April 2007, 10:37
Ok, I found a "working" combination.

Haali Simple Splitter ==> Nero Audio Decoder 2 (using SPDIF out) ==> AC3 Filter ==> Default audio (renderer).

This one finally gives me 5.1 at the correct pitch but there is one catch. Everytime I open the graph I need to go to the NERO filter and select the SPDIF because it wont save the setting.
I assume this means if I do the avs script to convert to wmv, I wont get any audio right? Is there anyway to configure the NERO audio filter to have SPDIF checked by default?

Regards


Shaolin,

Using this setup I generally dump the audio stream to a .raw with dump filter, and work with it from here. just replace the audio renderer & ac3 filter with dump filter. use sox to create a 16/24bit wave, and then either seperate it to its mono channels with wavewizard/tranzcode/soundforge/etc, and in your case recode it with wm audio encoder, or use file source/async filter to load the wav into graphedit, and select a decoder, then load the graph into your avs, along with the video, using two directshowsource() functions, one with audio=false, one with video=false, that way i suppose you can tell the encoder it is dealing with a muxed file.

there is plenty of ways to achieve what you want, its just a matter of what works, the problem ive found with dealing with hddvd/bluray movies is there is no consistency to what filter orders give a correct output and what dont, in most cases this method works a charm, just ensure you take note when demuxing a hddvd for example, of the starting address for the audio & video, cause they aren't always the same, and you can work out the delay if present by taking the difference of both. it's all been said before many many pages ago! One movie I couldn't seem to get the audio muxed in sync was Perfume, the english audio was out of sync horribly, but the french was in sync perfect both using the dts-hd streams.

any questions, just throw me a pm ;)

McHooye
25th April 2007, 10:47
Argh. Unfortunately, eac3to also crashes when the output (raw) file size reaches 9 GB, which is normal since it uses the DirectShow filters that make GraphEdit crash as well.
Using the HDTV Dump filter, as Chumbo adviced, does not solve this issue. So the bug is either in Orbitlee's DD+ filter or in Sonic Audio Decoder filter.

Damned !

Darth Pinous
25th April 2007, 11:38
Argh. Unfortunately, eac3to also crashes when the output (raw) file size reaches 9 GB, which is normal since it uses the DirectShow filters that make GraphEdit crash as well.
Using the HDTV Dump filter, as Chumbo adviced, does not solve this issue. So the bug is either in Orbitlee's DD+ filter or in Sonic Audio Decoder filter.

Damned !

Just noticed your KK problem.
I encountered an error in BeHappy while reencoding with a graph using Orbitlee's DD+ filter (the error happened when reaching the last 2 min of the movie).

Using FileSource(Async) -> Sonic HD Demuxer -> Sonic Audio Decoder did the job correctly, though.

madshi
25th April 2007, 12:18
Just noticed your KK problem.
I encountered an error in BeHappy while reencoding with a graph using Orbitlee's DD+ filter (the error happened when reaching the last 2 min of the movie).

Using FileSource(Async) -> Sonic HD Demuxer -> Sonic Audio Decoder did the job correctly, though.
Hmmmm... So the problem seems to be Orbitlee's DD+ filter? I guess I should add support for the Sonic HD Demuxer to eac3to...

McHooye
25th April 2007, 14:01
I guess I should add support for the Sonic HD Demuxer to eac3to...

No, because the HD Demuxer must be fed with an EVO stream, not a DD+ stream.
A good solution would be to debug the DD+ filter, but Orbitlee just did a patch to the original Gabest AC3 filter, which may not support big files. Debugging it can prove to be difficult...

madshi
25th April 2007, 14:06
Argh... :(

Darth Pinous
25th April 2007, 14:25
No, because the HD Demuxer must be fed with an EVO stream, not a DD+ stream.
A good solution would be to debug the DD+ filter, but Orbitlee just did a patch to the original Gabest AC3 filter, which may not support big files. Debugging it can prove to be difficult...

If you're talking about Sonic HD Demuxer, it can be fed with a DD+ track (or with a DTHD track, even if we can't do anything with it right now).

When I was talking about FileSource(async), I meant the demuxed DD+ track, not the EVO.

McHooye
25th April 2007, 15:30
If you're talking about Sonic HD Demuxer, it can be fed with a DD+ track

Really ?
I can't connect the 2 filters.
Is there a hint to know ?

Darth Pinous
25th April 2007, 15:45
Really ?
I can't connect the 2 filters.
Is there a hint to know ?

Does your demuxed DD+ Track have the .ddp or .ac3 extension ? I think the file extension is important for Sonic (.ddp/.ac3 for DD+, .mlp for MLP/DTHD, .dts for DTS and DTS-HD, etc...). I always use .ddp for DD+ tracks, and pas de lézards so far.

McHooye
25th April 2007, 17:33
Does your demuxed DD+ Track have the .ddp or .ac3 extension ? I think the file extension is important for Sonic (.ddp/.ac3 for DD+, .mlp for MLP/DTHD, .dts for DTS and DTS-HD, etc...). I always use .ddp for DD+ tracks, and pas de lézards so far.

Well done ! Ca le fait :)
I tried EAC3 and MPA extensions, but not DDP.
It works fine this way, so yes madshi you can consider replacing the DD+ filter by File Async + Sonic HD Demuxer in the graph used by EAC3to. You just have to impose DDP extension for the DD+ input file.

Also madshi, could it be possible to allow RAW files as an input for EAC3to ? OK it's not very useful, just more flexible ;) This way one could use GraphEdit to generate a RAW file with the filters he wants and then convert it to AC3 with your tool. It would be more convenient than learning how to use sox and aften.

:thanks: everybody

madshi
25th April 2007, 18:25
Well done ! Ca le fait :)
I tried EAC3 and MPA extensions, but not DDP.
It works fine this way, so yes madshi you can consider replacing the DD+ filter by File Async + Sonic HD Demuxer in the graph used by EAC3to. You just have to impose DDP extension for the DD+ input file.
Will do. And thanks to Darth Pinous for finding out about that the file extension is important.

Also madshi, could it be possible to allow RAW files as an input for EAC3to ? OK it's not very useful, just more flexible ;) This way one could use GraphEdit to generate a RAW file with the filters he wants and then convert it to AC3 with your tool. It would be more convenient than learning how to use sox and aften.
I once had this in eac3to. The problem is that when only having the raw file there's no way for eac3to to find out how many channels are in the file and what bitdepth it being used (16bit or 24bit). That's why I removed RAW input support.

ACrowley
25th April 2007, 18:36
Hi

I have a little Problem with lpcm to wave

I want to get 6 mono waves from a 6CH 16bit lpcm from BluRay ( TearsO.T.Sun)

Demux with Xport ( also tried with graphedit)

Then convert the demuxed Track from Xport to a 6ch wave
with Sox :

sox.exe -r48000 -t .raw -c 6 -2 -s g:\lpcm.mpa g:\lpcm1.wav

But :
I cant get a working wave. The Output from Sox is only a loud cracking noise

Is there another Way to simply add a wave header?

Target is LPCM to Wave to 6 mono waves to whatever

Any Advice ?

Darth Pinous
25th April 2007, 18:48
Hi
Demux with Xport ( also tried with graphedit)
Then convert the demuxed Track from Xport to a 6ch wave
with Sox :

sox.exe -r48000 -t .raw -c 6 -2 -s g:\lpcm.mpa g:\lpcm1.wav

But :
I cant get a working wave. The Output from Sox is only a loud cracking noise
Is there another Way to simply add a wave header?
Target is LPCM to Wave to 6 mono waves to whatever
Any Advice ?
xport LPCM export are Big Endian, so try this to force it :
sox.exe -B -r48000 -t .raw -c 6 -2 -s g:\lpcm.mpa g:\lpcm1.wav

you should have a working WAV that you can send to WaveWizard (or other) to make 6 mono waves.

ACrowley
25th April 2007, 18:56
xport LPCM export are Big Endian, so try this to force it :
sox.exe -B -r48000 -t .raw -c 6 -2 -s g:\lpcm.mpa g:\lpcm1.wav

you should have a working WAV that you can send to WaveWizard (or other) to make 6 mono waves.

Ah, ok i understand..didnt know that its BigEndian

What channelmapping in wavewizard ?

EDIT:

Mhh, the wave from Sox has no Center/Dialog ?

enantiomer
25th April 2007, 19:12
xport LPCM export are Big Endian, so try this to force it :
sox.exe -B -r48000 -t .raw -c 6 -2 -s g:\lpcm.mpa g:\lpcm1.wav

you should have a working WAV that you can send to WaveWizard (or other) to make 6 mono waves.

Also, for those command line interface junkies out there, Tranzcode will split a multichannel .wav to mono waves.

ACrowley
25th April 2007, 19:17
Also, for those command line interface junkies out there, Tranzcode will split a multichannel .wav to mono waves.


i usually use Tranzcode..

Mhh...Tranzcode will not work on the wave from Sox ?

It runs 1sec and its 100%...waves are zero

I will use to get 6 monos with channelmapping with Nuendo..works

EDIT:
I made 6 16bit mono waves from the Sox wave with Nuendo3.2.
Then a encode to WMA10Pro 768kbps 24bit 5.1...sound perfect und is sync with my WVC1 encode

dchard
26th April 2007, 23:27
Does your demuxed DD+ Track have the .ddp or .ac3 extension ? I think the file extension is important for Sonic (.ddp/.ac3 for DD+, .mlp for MLP/DTHD, .dts for DTS and DTS-HD, etc...). I always use .ddp for DD+ tracks, and pas de lézards so far.

I tryed a trueHD track with .mlp ext., but got error with this graph:

something.mlp (file async) --> Sonic cinemaster audio decoder 4.2

Other way I tryed:

something.evo, wich only contains a truehd track (file async.) --> Sonic HD demuxer --> Sonic Audio decoder 4.2 (same error az above).

Why I cannot connect Sonic HD demuxer to Sonic audio decoder? Is there any workaround for this?

Dchard

jokin
27th April 2007, 05:14
I tryed a trueHD track with .mlp ext., but got error with this graph:

something.mlp (file async) --> Sonic cinemaster audio decoder 4.2

Other way I tryed:

something.evo, wich only contains a truehd track (file async.) --> Sonic HD demuxer --> Sonic Audio decoder 4.2 (same error az above).

Why I cannot connect Sonic HD demuxer to Sonic audio decoder? Is there any workaround for this?

Dchard

TrueHD audio can not be decoded yet.

dchard
27th April 2007, 09:36
jokin: yes, I know, but I trying to find a way. :-)

After some discossuion with Mikeyakame I think we have a chance for a working graph to decode trueHD with Nero BD/HD plugin's filter(s), but unfortunantely there is no crack/serial for it, so I cannot try taht way.

Other: I tryed to use Cyberlink decoders too in the graph, but it also won't connect.

Dchard

jokin
27th April 2007, 11:46
You should not be using pirated software. There are more than likely plenty of people out there that have bought Nero that would probably be willing to help.

Rectal Prolapse
27th April 2007, 15:55
You can "decode" MLP using PowerDVD, Reclock, and Virtual Audio Cable.

Create a virtual sound device with Virtual Audio Cable (needs to be purchased). Tell Reclock to take over the DirectSound audio renderer, and then configure Reclock to redirect audio to the virtual sound device. Easy - sort of. :) I've done this last month.

However, you have to run PowerDVD manually, and you need sound editing software that can capture from a multichannel audio device (Adobe Audition can do this, for example). Then you need to resync the audio. It is a lot of work, but doable.

Now, I think there is a limitation with PowerDVD - it appears to only output 16 bit audio (but Reclock could be wrong), even though the captured data is at 24 bit, and also the audio captured this way appears to be 3 db lower in volume compared to when listening to it live.

Anyways, I'm just telling you this so that someone else can decide if they want to try this or not. I don't recommend it because it is a lot of work and I cannot verify the accuracy of the captured data.

dssgorila
28th April 2007, 17:00
I am trying to convert hd-dvd to x264 mkv. I did the video with no problem. Will it be possible to add 5.1 audio from the dvd and not experience sync issues. And if there are sync issues how will i fix it?

Any suggestions comments will be greatly appreciated.


thanks in advance

McHooye
28th April 2007, 21:56
I am trying to convert hd-dvd to x264 mkv. I did the video with no problem. Will it be possible to add 5.1 audio from the dvd and not experience sync issues. And if there are sync issues how will i fix it?

You can add audio from :
- the HD-DVD : you have to extract the DD+ track with EVOdemux and convert it to AC3 with EAC3to in order to add it to MKV; you will find all necessary information to do that in this thread.
- the same film in DVD : if the framerate is 23.976, it will match perfectly with audio extracted from an NTSC DVD; if it is 25, it will match with a PAL DVD.

If the framerate of the film does not match with the audio you've got, it is better to change the framerate of the video (AssumeFPS() in the AVS script) than re-encoding the AC3 (degrade quality) to change the tempo.

dssgorila
29th April 2007, 00:03
You can add audio from :
- the HD-DVD : you have to extract the DD+ track with EVOdemux and convert it to AC3 with EAC3to in order to add it to MKV; you will find all necessary information to do that in this thread.
- the same film in DVD : if the framerate is 23.976, it will match perfectly with audio extracted from an NTSC DVD; if it is 25, it will match with a PAL DVD.

If the framerate of the film does not match with the audio you've got, it is better to change the framerate of the video (AssumeFPS() in the AVS script) than re-encoding the AC3 (degrade quality) to change the tempo.


Thanks I will try to transcode the audio.

So i tried running EAC3to but im stuck. Couldnt find anything that says how to setup the filters.
G:\eac3to>eac3to.exe audio.eac3 audio.ac3 640
eac3to v1.3, freeware by madshi.net

Usage: eac3to srcFilename.eac3 destFilename.ac3|flac [-192|448|640]

This tool can convert a 2.0 or 5.1 channel E-AC3 file to AC3/FLAC.

For this to work correctly you need these filters to be installed:
(1) DTS/AC3/DD+ Source
(2) Sonic Audio Decoder 4.2
(3) Dump filter


I have number 2 setup already.
I have number 1 but do not not know where it goes.
dont know about number 3.


Any suggestions?

ACrowley
29th April 2007, 09:21
For this to work correctly you need these filters to be installed:
(1) DTS/AC3/DD+ Source
(2) Sonic Audio Decoder 4.2
(3) Dump filter


I have number 2 setup already.
I have number 1 but do not not know where it goes.
dont know about number 3.


Any suggestions?


Dump.ax Filter is a Part of Graphedit. Its in the Graphedit Folder
Also you will need Sox.exe , Aften.exe, Flac.exe

Just install these Filters and EAC3to will do the full Process Autom.

madshi
29th April 2007, 19:29
Dump.ax Filter is a Part of Graphedit. Its in the Graphedit Folder
Also you will need Sox.exe , Aften.exe, Flac.exe

Just install these Filters and EAC3to will do the full Process Autom.
Correct. Just for completeness: Aften.exe, Sox.exe and Flac.exe must be copied to the same folder where Eac3to.exe is located, so that Eac3to can find these other exes.

pasta03
30th April 2007, 11:51
Hey I have got audio file
PEVOB_1.DD+.6ch.s00.5.1.mpa
He was on HD-DVD in evo file ,I use EVOdemux and I had got
video file: PEVOB_1.VC-1.s0.mpv
and
audio file in Dolby Digital Plus: PEVOB_1.DD+.6ch.s00.5.1.mpa

How to convert this mpa file to ac3 because I want put his in mkv with video x264

madshi
30th April 2007, 12:40
How to convert this mpa file to ac3 because I want put his in mkv with video x264
There are different ways. You could rename the file to "*.ddp" (or *.dd+ or *.eac3) and then use the "eac3to" tool.

Pitou
30th April 2007, 19:38
ACrowley,

I used your method to re-encode a VC1 video stream to VC1 and have choppy video/frames in the first minutes, but is ok after that.

Any idea?

Here is my setup:

Graph Edit:

Filesource --> Elecard MPEG demux (or Sonic HD Demux) --> Sonic Video decoder 4.2

Then my avisynth script is the exact same as yours:

DirectShowSource("C:\video.grf",fps=23.976,framecount=712,seekzero=false,seek=true,audio=false)

I used Sonic Cinevision to do the encoding. I tried VC1 and AVC, same result.

Thank for your help!

Pitou!

ACrowley
1st May 2007, 10:14
ACrowley,

I used your method to re-encode a VC1 video stream to VC1 and have choppy video/frames in the first minutes, but is ok after that.

Any idea?

Here is my setup:

Graph Edit:

Filesource --> Elecard MPEG demux (or Sonic HD Demux) --> Sonic Video decoder 4.2

Then my avisynth script is the exact same as yours:

DirectShowSource("C:\video.grf",fps=23.976,framecount=712,seekzero=false,seek=true,audio=false)

I used Sonic Cinevision to do the encoding. I tried VC1 and AVC, same result.

Thank for your help!

Pitou!


Framecount=712 is wrong i bet.

Its always around 6 or 7 digits for a full Movie.

For example a Mainintro.evo with 1min04sec has 1517 Frames.
So your 712 Frames must be wrong

Use always "only" the calculated Framecount from Evodemux
Whether the counted value is

When you use a wrong Framecount you will have exactly your Errors in the Output

Taktaal
1st May 2007, 12:48
The newest eac3to release seems to contain a bug. When using it to convert any ddp file you only get the following output
E-AC3, 5.1 channels, 0:00:30, 1536kbit/s, 48khz
Muxing eac3 file to raw. Please wait...
The NCBENUM return code is: 0x0
The NCBENUM return code is: 0x0
The file size of the raw file doesn't seem to fit.

madshi
1st May 2007, 14:00
The newest eac3to release seems to contain a bug.
Hmmmm... I've uploaded a new build (1.4) now. Can you please check whether it works correct? It now also uses the "Sonic HD Demuxer" instead of the "DD+/DTS source". Hopefully that will fix the problem with very big EAC3 files.

http://madshi.net/eac3to.zip

Taktaal
1st May 2007, 14:05
Hmmmm... I've uploaded a new build (1.4) now. Can you please check whether it works correct? It now also uses the "Sonic HD Demuxer" instead of the "DD+/DTS source". Hopefully that will fix the problem with very big EAC3 files.

http://madshi.net/eac3to.zip

No, I'm having the same problem. Also as a test, I tried to unregister the dtsac3source.ax filter and run eac3to and I still got theGetting "DTS/AC3/DD+ Source" instance failed. error.

Unfortunately, I can't use that weird programming language of yours ( ;) ) so it's hard for me to debug it.

By the way, if you're programming a piece of software that is likely to need a lot of external debugging you should provide a way to do that without recompiling. Just printing copious amounts of debugging data into a log file somewhere in %temp% will save you hours of work later when you have to track down hard to catch bugs in a hard to duplicate environment (that 20GB input files certainly qualify for).

madshi
1st May 2007, 15:39
No, I'm having the same problem. Also as a test, I tried to unregister the dtsac3source.ax filter and run eac3to and I still got theGetting "DTS/AC3/DD+ Source" instance failed. error.
What version number does the eac3to.exe have? It sounds to me as if you'd not be using 1.4 yet.

Taktaal
1st May 2007, 16:09
Right, looks like i got bit by some cache. Tried it again and now I'm using 1.4 that doesn't need the dtsac3source.ax anymore. However, I still get
E-AC3, 5.1 channels, 0:00:30, 1536kbit/s, 48khz
Muxing eac3 file to raw. Please wait...
The NCBENUM return code is: 0x0
The NCBENUM return code is: 0x0
The file size of the raw file doesn't seem to fit.
as the only result on three different .ddp files.

Here's one of the stream infos from EVOdemux
Dolby Digital Plus audio stream 0 found!
First PTS = 00000D4C
Substream id = C0
Stream 0 is Dolby Digital Plus
frame size = 1024 bytes, number of blocks per frame = 1
Sampling frequency = 48 kHz
Transmission bitrate = 1536 kbit/s
Channel arrangement = L + R + C + Ls + Rs, bsid = 16
LFE channel = present
Done.

madshi
1st May 2007, 16:17
Right, looks like i got bit by some cache. Tried it again and now I'm using 1.4 that doesn't need the dtsac3source.ax anymore. However, I still get
E-AC3, 5.1 channels, 0:00:30, 1536kbit/s, 48khz
Muxing eac3 file to raw. Please wait...
The NCBENUM return code is: 0x0
The NCBENUM return code is: 0x0
The file size of the raw file doesn't seem to fit.
as the only result on three different .ddp files.
How long are those 3 files (in bytes)? 0:00:30 seems extremely short, can that be correct?

Taktaal
1st May 2007, 16:29
How long are those 3 files (in bytes)? 0:00:30 seems extremely short, can that be correct?

That's the 5.7MB soundtrack to the Universal Logo which is the fastest to use. I also tried the 560MB and 625MB DDP with the same results
E-AC3, 5.1 channels, 0:49:48, 1536kbit/s, 48khz
Muxing eac3 file to raw. Please wait...
The NCBENUM return code is: 0x0
The NCBENUM return code is: 0x0
The file size of the raw file doesn't seem to fit.

Those however take minutes to complete the conversion from DDP to RAW so they're not as convenient to use for finding the error. The 560MB DDP climbs up to about a 700MB RAW file at the end before eac3to displays the error and deletes it again.

I uploaded the 30 second test file to http://taktaal.net/files/logo.ddp if you want to try it out.

madshi
1st May 2007, 16:42
The 560MB DDP climbs up to about a 700MB RAW file at the end before eac3to displays the error and deletes it again.
700MB RAW file is *much* too small for a 560MB DDP file. So eac3to is most probably correct in saying that the raw file size doesn't fit. Please try to change the Sonic Audio Decoder settings (Control Panel -> CinePlayer DVD Decoder Options -> Audio tab). I guess there's something wrong with those settings.

Edit: Tried the logo.ddp file. Converts fine for me. The raw file is 24.4 MB.

Taktaal
1st May 2007, 16:54
Ok, when I went into the control panel and switched around a few settings it worked again. Even if I switch the settings back to how they were, everything still works.

Weird.

xxx666yyy777
1st May 2007, 17:14
Hmmmm... I've uploaded a new build (1.4) now. Can you please check whether it works correct? It now also uses the "Sonic HD Demuxer" instead of the "DD+/DTS source". Hopefully that will fix the problem with very big EAC3 files.

http://madshi.net/eac3to.zip

Madshi,

Thanks for the great software. However, I am getting the following "strange" messages, when running your version 1.4 (they actually started with 1.3):

H:\HD\eac3to>eac3to.exe in.ddp a.wav
E-AC3, 5.1 channels, 0:03:23, 640kbit/s, 48khz
Muxing eac3 file to raw. Please wait...
ContextException thrown by BaseCertificate::ReadFile [.\BaseCertificate.cpp:783]
with context
Unable to open file
C:\Program Files\Common Files\Roxio Shared\Certificates8\CP41PPG.rxc

The NCBENUM return code is: 0x0
ContextException thrown by BaseCertificate::ReadFile [.\BaseCertificate.cpp:783]
with context
Unable to open file
C:\Program Files\Common Files\Roxio Shared\Certificates8\CP41PPG.rxc

The NCBENUM return code is: 0x0
Sonic Audio Decoder output was 24 bit this time.
Converting the raw file to wav. Please wait...
Done.

Any idea? The resulting wav file appears to work fine...

Thx.

madshi
1st May 2007, 17:20
I've no idea why you're getting those messages. They're not written by eac3to. I'd guess they're written by the Sonic Audio Decoder. I'd try to uninstall and reinstall the Sonic Audio Decoder.

Pitou
1st May 2007, 20:24
ACrowley,

Framecount=712 is wrong i bet.

Its always around 6 or 7 digits for a full Movie.

For example a Mainintro.evo with 1min04sec has 1517 Frames.
So your 712 Frames must be wrong

Use always "only" the calculated Framecount from Evodemux
Whether the counted value is

When you use a wrong Framecount you will have exactly your Errors in the Output

The framecount is really 712, it's a 29 sec clips. It's the UNILOGO.EVO

I also tried with a full movie and have the same problem for the first minutes. The frame count is about 95000 frames.

It seems others have the same problem, look at this thread http://forum.doom9.org/showthread.php?t=123569

Maybe it's the source?

Pitou!

Pitou
1st May 2007, 22:42
actually the source plays fine.

I'm using avisynth 2.5. Do you use this version or 2.0?

Pitou!

bluesk1d
1st May 2007, 23:43
I have had an issue with The Good Shepherd HDDVD. I demuxed with EVOdemux and all is well no errors. Then I play the VC1 file in WMP11 and it plays fine except the timecode stop counting at 1:54:32, but the movie continues until the end. The movie is 2:47:30. So I encoded anyways. Well it finished and it played fine until 1:52:11 then it skipped and the video returned to a previous spot in the movie but the audio kept going with the "original video." So now its showing a previous portion of the movie with the current portion of the audio. Any Ideas.

I am using
EVOdemux 0.626b
with the latest WMcmd.vb

Here is a Sample (http://www.sendspace.com/file/3o6apb) of the skipping.

Also this may be the issue:

Continue on FEATURE_2.EVO
Demuxing...
Done.

240976 counted frames (2:47:30.707) in video stream 0.
240971 calculated frames (2:47:30:490) in video stream 0.
240971 calculated frames (2:47:30:490) in video stream 1.


I de-selected Videostream 1 but it looks like it reselected it from the Feature_2.evo.

Thanks,
jokin

I also had a similar problem with The Bourne Supremacy. When I play the demuxed mpv, it plays fine until it hits the the 30m mark(not exactly sure where it starts over again), and then it starts at the beginning again, and again, and again, in a loop.

I tried putting the evo into an mkv container, but the output was only 1h12m long, so theres definately something wrong.

Perhaps the new version of AACS?

@Jokin and xc3ll

Did you guys get this resolved? I am having the same issue with Batman Begins and didn't see any resolution posted. Using EVODemux .626

xc3ll
2nd May 2007, 03:44
@Jokin and xc3ll

Did you guys get this resolved? I am having the same issue with Batman Begins and didn't see any resolution posted. Using EVODemux .626

I had those problems with the .626b2. b3 and b4 work fine. If you have problems with the vc1, mux the evo into an mkv using gdsmux and mkvmerge(add a timecode tag using mkvmerge). This will give you a .mkv that seeks fine*.

*You will sometimes get green blocks, but those go away, and I have yet to encounter them in any of the encodes I've done.

bluesk1d
2nd May 2007, 04:41
I actually dropped the straight EVO right into graph edit and I am encoding using that graph as we speek (bypassing EVODemux altogether). Seems to be OK but I won't know for sure for another 30 hours or so hah. Hopefully the audio stream doesn't suffer from this same problem. I haven't messed with it yet.

JeffAlso
2nd May 2007, 05:58
@xxx666yyy777 - I get the same errors as you, with both the sonic audio and video decoders when used from the command line. Everything seems to work just fine despite these errors, so I think its safe to ignore them.

You'll likely find that the file 'C:\Program Files\Common Files\Roxio Shared\Certificates8\CP41PPG.rxc' doesn't exist. There seems to be a problem with at least one version of the Cineplayer 4.2 Decoder pack. It appears to be looking for the certificate file from version 4.1. It looks like a bug in the installer to me.

@madashi - Thanks for the recent changes, despite the errors reported above, it works perfectly for me now!!

bluesk1d
2nd May 2007, 14:41
I had those problems with the .626b2. b3 and b4 work fine. If you have problems with the vc1, mux the evo into an mkv using gdsmux and mkvmerge(add a timecode tag using mkvmerge). This will give you a .mkv that seeks fine*.

*You will sometimes get green blocks, but those go away, and I have yet to encounter them in any of the encodes I've done.

Thanks for the info. I am using the one downloaded from the link in his sig. There is no "b(x)" notation after the .626 on the about tab. Is this the most current or is there another location for beta? Speaking of which is the "b" referenced here for beta or build?

pasta03
2nd May 2007, 15:56
I want convert DD+ to ac3 and I do:

After Demux by EVOdemux I have got:
PEVOB_1.DD+.6ch.s00.English 5.1.mpa

then I rename to
PEVOB_1.DD+.6ch.s00.English 5.1.EAC3

then I use eac3to.exe:
eac3to.exe PEVOB_1.DD+.6ch.s00.English 5.1.EAC3 output.ac3

but I only get:
PEVOB_1.DD+.6ch.s00.English 5.1.raw
not
PEVOB_1.DD+.6ch.s00.English 5.1.ac3

Why:confused: ?
What I do wrong?

madshi
2nd May 2007, 16:56
but I only get:
PEVOB_1.DD+.6ch.s00.English 5.1.raw
What does eac3to say? There must have been some problem. In such a case eac3to usually reports what problem occurred.

pasta03
2nd May 2007, 20:36
eac3to say:

eac3to.exe PEVOB.EAC3 output.wav
E-AC3, 5.1 channels, 0:04:13, 640kbit/s, 48khz
Muxing eac3 file to raw. Please wait...
The NCBENUM return code is: 0x0
The NCBENUM return code is: 0x0

Sonic Audio Decoder output was 24 bit this time.
Converting the raw file to wav. Please wait...
Starting "sox" failed. A valid *.raw file was created successfully, though.

I see , I don't have sox.exe where I can find this?

madshi
2nd May 2007, 21:07
I see , I don't have sox.exe where I can find this?
Search through this thread to find the first "eac3toeac" post. There are links to "sox" and "aften" contained in that post.

3r1c
3rd May 2007, 00:14
Where do you get this "Sonic Video Decoder 4.2" because I only have "Sonic Cinemaster Video Decoder 4.2" and the VC1 pin from Elecard MPEG Demultipeixer wont connect to "Video in" pin on cinemaster decoder :(

Momber
3rd May 2007, 04:50
Where do you get this "Sonic Video Decoder 4.2" because I only have "Sonic Cinemaster Video Decoder 4.2"
Same thing.

and the VC1 pin from Elecard MPEG Demultipeixer wont connect to "Video in" pin on cinemaster decoder
Do you have mfc71.dll on your system? It's required by Sonic.

S.

3r1c
3rd May 2007, 07:55
Do you have mfc71.dll on your system? It's required by Sonic.

S.

Yep have it.

This is the error
http://img297.imageshack.us/img297/8968/errorth8.jpg

xc3ll
3rd May 2007, 08:11
Thanks for the info. I am using the one downloaded from the link in his sig. There is no "b(x)" notation after the .626 on the about tab. Is this the most current or is there another location for beta? Speaking of which is the "b" referenced here for beta or build?

Look at the program name when u open the program (for example, right now, the program name of Firefox is "Doom9 Forum - Reply to Topic - Mozilla Firefox" as I type this). The most current version is .626b5

You can get it from here:
http://www.pel.hu/down/EVOdemux.exe

SpAwN_gUy
3rd May 2007, 08:57
I had those problems with the .626b2. b3 and b4 work fine. If you have problems with the vc1, mux the evo into an mkv using gdsmux and mkvmerge(add a timecode tag using mkvmerge). This will give you a .mkv that seeks fine*.

*You will sometimes get green blocks, but those go away, and I have yet to encounter them in any of the encodes I've done.Oh.. man... i've done BBegins already.. it was(is) first and only HD-DVD backUp i've done...

okay.. once again(i'm tiread.. really)..
if you wish to Encode VC-1 track with ONE PC ... "multi-pass", straight from beginning to the end.. you'll need:
raw VC-1 track -> Elecard Demuxer -> Sonic Video Decoder 4.2
then to AVS-Scrips with:
DirectShowSource("G:\DVDRiP\BatmanHD\BatmanHD-Video.GRF", audio=false, seekzero=false, seek=true, fps=24000/1001, framecount=201467)
where you need to correct "framecount".. (from EVOdemux..)

the second way: If you want to Encode VC-1 track with x264farm(beautiful proggie) you have to:
this tutorial(short and mine) (http://forum.doom9.org/showthread.php?p=993438#post993438)
why HAVE to,.. 'cause in order to x264farm work Properly it needs to SEEK through video track,.. you can't seek with Sonic video decoder.. and timing of the AVS - is WRONG,...

but,.. in second way(x264farm) .. when you use WMVideo Decoder DMO.. it produces GREEN frames after seeking.. they wanish few frames after.. so,.. to work nice you NEED to add "--preseek 5" (or more frames) option to controller's cmdLine..
AND.. you can only use controller-based encoding..

SpAwN_gUy
3rd May 2007, 09:51
- the same film in DVD : if the framerate is 23.976, it will match perfectly with audio extracted from an NTSC DVD; if it is 25, it will match with a PAL DVD.
If the framerate of the film does not match with the audio you've got, it is better to change the framerate of the video (AssumeFPS() in the AVS script) than re-encoding the AC3 (degrade quality) to change the tempo.i just found your post..
well,.. actually not ;) ....
i did BatmanBegins...(as i've posted everywhere ;) ...) i've made English ac3 Audio with eac3to.. (~670Mb)
and i have Russian DUB from PAL DVD (25fps, ~380mb.. original).. so,.. what i did:
BeHappy (http://forum.doom9.org/showthread.php?t=104686&highlight=BeHappy) and Convert framerate 25 -> 23 (with third option.. default)
and "aften @... some less bitrate,.. i forgot..) so i have Russian AC3 @23fps
then.. a bit of magic to sync audio (delay was 664ms (made that with GoldWave)) ... and.. now i have HD-DVD BackUP with Two Audio tracks In sync (and two subtitle tracks...)
worked great

Darth Pinous
3rd May 2007, 13:26
I just encountered a Blu-ray movie a bit different from others (let's call it TSMovieWithDW :rolleyes: ).
Usually the movie on a Blu-ray disc consists of 1 or 2 big M2TS files, but not this time !
The movie was split through 13 M2TS, and not in numeric order.

So here's the method I used to identify the movie parts in all that mess :

- I go to the PLAYLIST folder of the BR Disc structure. Here there are loads of mpls files. Most are 1 KB, but movie playlist seems to be 2-10 KB.

- when opening any mpls file with notepad, there's a long string with lots of funny character, but you can see a pattern like this :

M2TSFILE1 - audio1 - audio2 - ... - subtitle1 - subtitle2 - ... - commentaryaudio1 - commentaryaudio2 - ... - M2TSFILE2 - audio1 - ... - M2TSFILEEND

* M2TSFILE show as their name without '.', like 0048M2TS for the 0048.m2ts file
* audio tracks show as a 'a' followed by 3 letters corresponding for the language, like 'aeng' for english audio or 'afra' for french audio
* subtitles show as 3 letters corresponding for the language, like 'eng' for english subtitles or 'fra' for french subtitles
* commentary audio tracks show as a '`' followed by 3 letters corresponding for the language, like '`eng' for english commentary audio
* M2TSFILEEND is a M2TSFILE without any audio or subtitles or commentary following. it's a small m2ts file that seems to mark the end of the movie

So basically, all you have to do is :
1) identify the correct mpls file corresponding to the movie, which is easier to do if you know the list of audio, commentaries and subtitles from the blu-ray disc.
2) identify all the M2TSFILE in the mpls file in their order of appearance, excepting the M2TSFILEEND, then launch a copy /b with all the corresponding m2ts files from the STREAM folder of the BR Disc structure.

Now for the movie I was talking about, the movie playlist was 00030.mpls
Here's the command I used to build the movie M2TS file :

copy /b 00048.m2ts+00049.m2ts+00035.m2ts+00037.m2ts+00039.m2ts+00061.m2ts+00032.m2ts+00034.m2ts+00046.m2ts+00036.m2ts+00038.m2ts+00040.m2ts+00041.m2ts TSMovieWithDW.m2ts

For now I just compared the reencoded LPCM audio with french subtitles, and all movie parts seem in correct order. :)

I had a lot of discontinuity warnings during xport demux of the LPCM and VC1 streams, though, don't know if it's important or not.

Momber
3rd May 2007, 15:58
Yep have it.

This is the error
http://img297.imageshack.us/img297/8968/errorth8.jpg

I see you're using Vista. I don't know the first thing about Vista, nor do I want to.
Perhaps someone else can help you.

S.

enantiomer
3rd May 2007, 18:01
raw VC-1 track -> Elecard Demuxer -> Sonic Video Decoder 4.2


Be aware that you will have audio drift issues on some titles with the above graph. Batman Begins does not show this artifact much, but others like King Kong, the Game, etc. will give you nightmares.

You should try whenever possible to use:

FEATURE.EVO (Haali Media splitter) -> WMVideo Decoder DMO



I don't believe anyone has identified the root cause of the audio/video drifting problem with the Sonic Video Decoder. It's very subtle, and will drive you mad. BTW the problem is not influenced at all by setting the frame count wrong.

xc3ll
3rd May 2007, 23:19
Be aware that you will have audio drift issues on some titles with the above graph. Batman Begins does not show this artifact much, but others like King Kong, the Game, etc. will give you nightmares.

You should try whenever possible to use:

FEATURE.EVO (Haali Media splitter) -> WMVideo Decoder DMO



I don't believe anyone has identified the root cause of the audio/video drifting problem with the Sonic Video Decoder. It's very subtle, and will drive you mad. BTW the problem is not influenced at all by setting the frame count wrong.

Just to reiterate what enantiometer is saying, DO NOT use the vc1 method. I tried using this with Fearless. BIG no no. Audio drifted off at the end by 1-2 seconds no matter what. Closest I could ever get it was 500ms. The EVO method is much easier, and requires less filters. It will require a bit more space, but other than that, its cake.

NHRaider
4th May 2007, 13:00
It means that the E-AC3 track either isn't a E-AC3 track or that it's not beginning with a valid E-AC3 header. Do you have this problem with one specific movie, only? Or with all movies you're trying now? And can you actually play those E-AC3 tracks?

I have no problems using the eac3to.exe on movies I've encoded. I DO have problems with more documentary type HD-DVDs such as Nature's Colors and Discovery Brazil.

Pitou
4th May 2007, 14:16
Originally Posted by enantiomer View Post
Be aware that you will have audio drift issues on some titles with the above graph. Batman Begins does not show this artifact much, but others like King Kong, the Game, etc. will give you nightmares.

You should try whenever possible to use:
Code:

FEATURE.EVO (Haali Media splitter) -> WMVideo Decoder DMO

I don't believe anyone has identified the root cause of the audio/video drifting problem with the Sonic Video Decoder. It's very subtle, and will drive you mad. BTW the problem is not influenced at all by setting the frame count wrong.
Just to reiterate what enantiometer is saying, DO NOT use the vc1 method. I tried using this with Fearless. BIG no no. Audio drifted off at the end by 1-2 seconds no matter what. Closest I could ever get it was 500ms. The EVO method is much easier, and requires less filters. It will require a bit more space, but other than that, its cake.

This graph doesn't work with Sonic Cinevision. In fact I didn't find any method or graph that works well with Cinevision. Using the Sonic filters, I get choppy video for the first minutes, until a scene change (it seems).

Anyone has an idea?

Thanks.

Pitou!

xc3ll
4th May 2007, 22:15
This graph doesn't work with Sonic Cinevision. In fact I didn't find any method or graph that works well with Cinevision. Using the Sonic filters, I get choppy video for the first minutes, until a scene change (it seems).

Anyone has an idea?

Thanks.

Pitou!

Don's use Sonic, as I said before, mux the evo into a mkv. It works every time, all the time. Perfect results.

Pitou
5th May 2007, 03:31
ok thanks! Sorry to ask, but could you point me to a link or a guide to mux the evo into mkv?

I'm not familiar with mkv.

Pitou!

jokin
5th May 2007, 08:40
ok thanks! Sorry to ask, but could you point me to a link or a guide to mux the evo into mkv?

I'm not familiar with mkv.

Pitou!

http://forum.doom9.org/showthread.php?p=990663#post990663

MoUCLAs
5th May 2007, 15:04
Hello i am using eac3to to create ac3 stream from dd+ and i get the error: "Cant find/read Sonic Audio Decoder settings"

I have installed the Sonic Scenarist 4.2.

madshi
5th May 2007, 15:44
Hello i am using eac3to to create ac3 stream from dd+ and i get the error: "Cant find/read Sonic Audio Decoder settings"

I have installed the Sonic Scenarist 4.2.
IIRC Scenarist 4.2 comes with Sonic Audio Decoder 4.1, only. Please search through the thread, it has been asked and answered multiple times already.

Pitou
5th May 2007, 18:08
Thanks Jokin!

Revgen
5th May 2007, 20:06
Does anybody have Madshi's previous version of EAC3to that uses orbitlee's filter instead of Sonic HD Demuxer? Or any of the ones before the 05-01-07 release?

Thanks in advance.

madshi
5th May 2007, 20:09
Does anybody have Madshi's previous version of EAC3to that uses orbitlee's filter instead of Sonic HD Demuxer? Or any of the ones before the 05-01-07 release?
Why?

You can use the (undocumented) parameter "/forceorbitlee" with the current eac3to version, if you don't like Sonic's HD Demuxer for whatever reason. I'd like to know why, though?

Revgen
5th May 2007, 20:14
Why?

You can use the (undocumented) parameter "/forceorbitlee" with the current eac3to version, if you don't like Sonic's HD Demuxer for whatever reason. I'd like to know why, though?

I'm curious. I wanted to know if Sonic gives the same time as orbitlee's filter. It's basically the same. Thanks.

Yayita
5th May 2007, 23:51
@Madshi,

I can't get eac3to to work.
Here is my cmd line and result:

C:\Vidtools\eac3to>eac3to test.eac3 dest.ac3 -448
E-AC3, 5.1 channels, 0:03:27, 1536kbit/s, 48khz
Muxing eac3 file to raw. Please wait...
Connecting pins (1) failed.

I have filters:
Sonic HD Demuxer 4.2 installed
Sonic Audio Decoder 4.2 installed
dump registered

in the eac3to folder sox.exe v13
and aften.exe v 0.07

I tried changing names of the source file to ddp to ac3 with no luck as I read in these humongous thread. Sounds to me like filter conflict but ??????

xc3ll
6th May 2007, 01:47
@Madshi,

I can't get eac3to to work.
Here is my cmd line and result:

C:\Vidtools\eac3to>eac3to test.eac3 dest.ac3 -448
E-AC3, 5.1 channels, 0:03:27, 1536kbit/s, 48khz
Muxing eac3 file to raw. Please wait...
Connecting pins (1) failed.

I have filters:
Sonic HD Demuxer 4.2 installed
Sonic Audio Decoder 4.2 installed
dump registered

in the eac3to folder sox.exe v13
and aften.exe v 0.07

I tried changing names of the source file to ddp to ac3 with no luck as I read in these humongous thread. Sounds to me like filter conflict but ??????

Try to connect the ddp to dump in Graphedit. That should give you an idea of what the problem is.

Pitou
6th May 2007, 05:23
Quote:
Originally Posted by Pitou
This graph doesn't work with Sonic Cinevision. In fact I didn't find any method or graph that works well with Cinevision. Using the Sonic filters, I get choppy video for the first minutes, until a scene change (it seems).

Anyone has an idea?

Thanks.

Pitou!

Don's use Sonic, as I said before, mux the evo into a mkv. It works every time, all the time. Perfect results.

xc3ll,

I tried using your method but didn't work for me. Sonic Cinevision gives me an error and doesn't want to encode

Pitou!

jokin
6th May 2007, 06:14
When trying to encode a BluRay into WMV via WME9 I only get it to encode the length of 1 of the joined m2ts files. It then gives the encoding results window.

I joined the files with the "copy /b 1.m2ts+2.m2ts output.m2ts"
Then I ran Xport and tried the .mpv output.
The 1.m2ts is 59 mins ling and 2.m2ts is 50 mins long. It only encodes the first 59 mins of the joined file.

I can also encode the m2ts via avs and grf with a grf of "haali (1.m2ts) > sonic video decoder 4.2" that encodes fine on both files but not the joined one. same result.

Is there any way to fix the timecode of the joined file?

Thanks

madshi
6th May 2007, 14:16
E-AC3, 5.1 channels, 0:03:27, 1536kbit/s, 48khz
Muxing eac3 file to raw. Please wait...
Connecting pins (1) failed.
Which eac3 version are you using? The latest one (1.4)? Try using that "/forceorbitlee" parameter. Does that work better? Is that test.eac3 file really only 3.5 minutes long? Try uninstalling and reinstalling the Sonic filters.

madshi
8th May 2007, 19:07
Question to Pelican: Would it be possible to drop the limitation to only 2 EVO parts? I'm asking because EvoDemux works just great for DVDs, too, but sadly DVDs usually consist of more than 2 parts and EvoDemux stops after the 2nd part. Couldn't EvoDemux continue to handle further parts until it finds no more?

Pelican9
8th May 2007, 21:41
Question to Pelican: Would it be possible to drop the limitation to only 2 EVO parts? I'm asking because EvoDemux works just great for DVDs, too, but sadly DVDs usually consist of more than 2 parts and EvoDemux stops after the 2nd part. Couldn't EvoDemux continue to handle further parts until it finds no more?
Yes, of course.
Everything possible what you can imagine. (You are a programmer, you have to know that.) :-)
Is it useful for somebody else? I need five more votes (from different ppl). :-)))
But I'm concentrating to add subtitle to BD.
Maybe it's more interesting (at least for me).

hajj_3
8th May 2007, 21:47
i 2nd the vote.

madshi
8th May 2007, 23:05
Everything possible what you can imagine. (You are a programmer, you have to know that.) :-)
Well, I meant possible as in "does your time permit it and would you have fun to do it" and not as in "is it technically possible"... :)

Pelican9
8th May 2007, 23:32
Well, I meant possible as in "does your time permit it and would you have fun to do it" and not as in "is it technically possible"... :)

I know. :) Sorry.
What do you like to do with DVDs?
Demux or Rebuild?

Chumbo
9th May 2007, 00:37
I vote for continuing to spend time on the newer technology since there are plenty of regular DVD tools and utilities out there. Just my 2 cents. :)

jokin
9th May 2007, 03:50
I think it would be nice to have a GUI m2ts demuxer like EVOdemux but could do both formats in one easy to use program.

mlansell
9th May 2007, 07:03
One other thing that would be useful is the ability to choose the names for each part.

The main feature in "The Fugitive" is made of two evobs named "feature.evo" and "feature_divide.evo", so I can't rebuild them.

Mal

madshi
9th May 2007, 07:43
What do you like to do with DVDs?
Demux or Rebuild?
Good question. Mainly demux, I guess.

One other thing that would be useful is the ability to choose the names for each part.

The main feature in "The Fugitive" is made of two evobs named "feature.evo" and "feature_divide.evo", so I can't rebuild them.
Just rename them! It's not that difficult... :)

mlansell
9th May 2007, 09:10
Good question. Mainly demux, I guess.

One other thing that would be useful is the ability to choose the names for each part.

The main feature in "The Fugitive" is made of two evobs named "feature.evo" and "feature_divide.evo", so I can't rebuild them.
Just rename them! It's not that difficult... :)[/QUOTE]

mlansell
9th May 2007, 09:15
The main feature in "The Fugitive" is made of two evobs named "feature.evo" and "feature_divide.evo", so I can't rebuild them.
Just rename them! It's not that difficult... :)[/QUOTE]

No it's not difficult - it just doesn't work right.

I renamed the evo (and related map files), and also edited the xpl, but the resulting file appears to have a runing time of zero, and won't play.

Pelican9
9th May 2007, 09:27
Just rename them! It's not that difficult... :)

No it's not difficult - it just doesn't work right.

I renamed the evo (and related map files), and also edited the xpl, but the resulting file appears to have a runing time of zero, and won't play.
What do you want?
If you want to rebuild the two EVOs to one, you can rename the original files. You cannot do anything with the map files.
If you want only to watch the movie don't touch anything. :)

mlansell
9th May 2007, 11:16
What do you want?
If you want to rebuild the two EVOs to one, you can rename the original files. You cannot do anything with the map files.
If you want only to watch the movie don't touch anything. :)

I just wanted to join the two evos and strip out all the unwanted streams - just leaving a single evo containing the vc1 and first dd+ audio stream.

It's worked for all the others I've tried (thanks for the great tool, BTW), so I assumed the problem must be something to do with renaming not being sufficient.

I'll try again with just renaming the evobs and leaving the xpl and map files untouched.

Thanks

Mal

Pelican9
9th May 2007, 12:41
I just wanted to join the two evos and strip out all the unwanted streams - just leaving a single evo containing the vc1 and first dd+ audio stream.

It's worked for all the others I've tried (thanks for the great tool, BTW), so I assumed the problem must be something to do with renaming not being sufficient.


Interesting. Everybody reports problem with playing the rebuilt evo as HD DVD, because the map files don't fit to it.

mlansell
9th May 2007, 14:21
Interesting. Everybody reports problem with playing the rebuilt evo as HD DVD, because the map files don't fit to it.

I don't play it as an hd-dvd - all I keep is the rebuilt evo, which I plays in Media Center (DirectShow automatically builds a suitable graph using the Sonic filters).

Mal

MichalHabart
9th May 2007, 16:24
I think it would be nice to have a GUI m2ts demuxer like EVOdemux but could do both formats in one easy to use program.

Newest DGIndex can do this, it can process m2ts files and demux AC3, DTS and LPCM tracks from it

Rectal Prolapse
10th May 2007, 16:30
Some Blu-ray discs have the main feature split over several m2ts files, and also use seamless branching between them. I believe the Nine Inch Nails Blu-ray and Deja Vu Blu-ray titles do this. It would be nice if there was a tool that can handle this and spit out a remuxed single m2ts file, or a series of demuxed streams that are one file each. :)

Those would be nice. :)

Pelican9
10th May 2007, 21:02
Some Blu-ray discs have the main feature split over several m2ts files, and also use seamless branching between them. I believe the Nine Inch Nails Blu-ray and Deja Vu Blu-ray titles do this. It would be nice if there was a tool that can handle this and spit out a remuxed single m2ts file, or a series of demuxed streams that are one file each. :)

Those would be nice. :)

Wrong thread. :)
Try here: http://forum.doom9.org/showthread.php?t=125447

homerpez
11th May 2007, 05:21
After looooooooooong hours of trial&errors , I finally understood how to have a perfectly synched recompressed flick...

We know evodemux CALCULATED frames gives the right framecount @ 23.976 fps
... but it took me much more time (I'm with stupid!) to understand evodemux COUNTED frames gives the right audio timebase

So, the thing to do when trying re-encoding DD+ to ac3 or whatever else is to use timestrech with :
input value = calculated frame
output value=counted frame
and the resulting audio file will work like a charm with video when muxed with virtualdubmod or similar..
of course, you need to process long enough files to check that, because on 1h30 flicks, the difference is about 2.5 seconds...

for instance, if you have an .evo with 46748 counted frames and 46734 calculated frames, here's what you must enter with behappy :
http://img6.picsplace.to/img6/26/jpg.JPG

Have fun !

Sorry this is so late in the discussion, but I'm pretty desperate...

posted HERE (http://forum.doom9.org/showthread.php?t=125688) also, because as I said, I'm desperate at this point.

I tried the timestretch ratio on my ac3 encode, and somehow it inserted 4 HOURS of SILENCE at the end of my ac3 file.

I inserted the ratio of 24 -> 23.976... should, by my loose calculations, fix my 4 second discrepancy in my 2-hour-plus movie.

http://i107.photobucket.com/albums/m295/shikamaruzero/Capture.jpg

The ac3 generated is 6 hours long... the movie audio is in the first 2 hours, then silence for 4 hours. :confused: Maybe something wrong in my avs file?

Should I just be taking the "counted" frames and "calculated" frames, and using a ratio that way by adding decimal points?

Example:

Counted = 217937
Calculated = 217843

I would use the ratio "21.7937/21.7843"??

Thanks for any help on this...

woah!
11th May 2007, 07:08
i am finding its nothing to do with the audio needing changing like that at all. i am finding the PTS for the 1st and 2nd EVO files have delays set in both. these delays are different for every disc, heres my take on the sync issues which have given me perfect results on every disc i have :

King Kong disc:

FEATURE_1.EVO
VC-1 video stream 0 found!
First PTS = 00000DBF = 3519 / 90000 = 0.0391 ms or 39ms <-- delay

Dolby Digital Plus audio stream 0 found!
First PTS = 00016DA9 = 93609 / 90000 = 1.0401 ms or 1040ms <-- delay


so the first evo has a delay of 1001ms which can be added to your ac3 / aac / whatever you want the end result to be.

same process with the 2nd EVO:

VC-1 video stream 0 found!
First PTS = 1C41C432 = 474072114 / 90000 = 5267.4679 ms

Dolby Digital Plus audio stream 0 found!
First PTS = 1C4198A9 = 474060969 / 90000 = 5267.3441 ms

5267.3441 audio - 5267.4679 video = -0.1238 ms or -123ms delay


so the 2nd evo has a -123ms delay


1st evo = 1001ms delay
2nd evo = -123ms delay


once the audio files have been adjusted with these delays it runs perfect for me anyways. i go to ac3 448 6ch and use delaycut to add the delays myself.

anyways thats my take on the sync issues people are having but i could be wrong....

Taktaal
11th May 2007, 22:56
One of the problems with eac3to may be that it considers all DDP files with more or less than 5 channels as invalid. From the source:
if frame_size = 5 then begin
(...)
end else
WriteLn('Parsing of Dolby Digital headers failed.');
exit;


Especially commentary tracks and documentaries don't have 5 channels. The Serenity commentary is simple stereo, and eac3to refuses to convert it with the abovementioned error message.

anyways thats my take on the sync issues people are having but i could be wrong....

Most people are having synch issues where the movie is right at the beginning but then later starts to lag by 0.1%. That's a textbook case of 23.976 vs 24 FPS bug.

woah!
12th May 2007, 00:01
One of the problems with eac3to may be that it considers all DDP files with more or less than 5 channels as invalid. From the source:
if frame_size = 5 then begin
(...)
end else
WriteLn('Parsing of Dolby Digital headers failed.');
exit;


Especially commentary tracks and documentaries don't have 5 channels. The Serenity commentary is simple stereo, and eac3to refuses to convert it with the abovementioned error message.



Most people are having synch issues where the movie is right at the beginning but then later starts to lag by 0.1%. That's a textbook case of 23.976 vs 24 FPS bug.

ahh but i should have said that i was one of those that had the audio gradually going out of sync until i started working with the PTS timings..

bluesk1d
12th May 2007, 02:56
Most people are having synch issues where the movie is right at the beginning but then later starts to lag by 0.1%. That's a textbook case of 23.976 vs 24 FPS bug.

I have an issue on Batman Begins where the audio gradually drifts out of sync ahead of the video (plays very slightly slower) but in a 2 hour and 20 minute movie the mismatch isnt even 1 whole second off (stil totally annoying and unacceptable) by the end so it doesnt sound like it could be 23.976 vs. 24fps.

I use EVODemux > eac3to (6ch wav -or- ac3) > tranzecode -or- BeSweet > 6 mono wavs > Windows media encoder > WMA 10 Pro 5.1 (for Xbox 360 playback muxed with wmv VC-1)

I dont know which step is causing it but its driving me nuts!

ahh but i should have said that i was one of those that had the audio gradually going out of sync until i started working with the PTS timings..

Could you elaborate a little more on how you handle this? I am totally unfamiliar with messing with timings. Looks like I need to learn because that gradual drift sucks!

enantiomer
12th May 2007, 05:38
Could you elaborate a little more on how you handle this? I am totally unfamiliar with messing with timings. Looks like I need to learn because that gradual drift sucks!

The audio is not the problem. You're using Sonic Video Decoder, right? Use this:

FEATURE.EVO (Haali Media Splitter) -> WMVideo Decoder DMO

This is the only way you will get certain titles to stay in sync. This problem is discussed earlier in the thread.

hajj_3
12th May 2007, 07:21
please can someone re-upload "eac3toac3" as the link in here is dead now, please upload it to sendspace.com and ask the admin is he can host it on this site too please.

thankyou!

Taktaal
12th May 2007, 13:20
http://madshi.net/eac3to.zip

The audio is not the problem. You're using Sonic Video Decoder, right? Use this:

FEATURE.EVO (Haali Media Splitter) -> WMVideo Decoder DMO

This is the only way you will get certain titles to stay in sync. This problem is discussed earlier in the thread.

But then that's a completely different issue as the WMVideo Decoder DMO can't handle VC1.

hajj_3
12th May 2007, 14:15
http://madshi.net/eac3to.zip



But then that's a completely different issue as the WMVideo Decoder DMO can't handle VC1.

just noticed that firefox wasnt downloading the zip file properly, works fine with flashget:)

how do i use eac3to? its command line, please can someone give me command to use it please, please be specific, im a bit of a noob!

madshi
12th May 2007, 14:20
One of the problems with eac3to may be that it considers all DDP files with more or less than 5 channels as invalid.
That's not correct. I've successfully converted both 5.1 and 2.0 E-AC3 files to EAC with eac3to. The source code you've quoted does not check the number of channels but the frame size, which is a totally different thing.

But then that's a completely different issue as the WMVideo Decoder DMO can't handle VC1.
It does handle VC-1. I'm playing all my HD-DVD movies through the MS decoder. No sync problems so far during playback.

how do i use eac3to? its command line, please can someone give me command to use it please, please be specific, im a bit of a noob!
It has already been explained in this thread. Please browse back. You may want to start eac3to without parameters inside of cmd.exe. Then you'll get some help.

bluesk1d
12th May 2007, 19:09
The audio is not the problem. You're using Sonic Video Decoder, right? Use this:

FEATURE.EVO (Haali Media Splitter) -> WMVideo Decoder DMO

This is the only way you will get certain titles to stay in sync. This problem is discussed earlier in the thread.

Thanks for the pointer! That was the one page in this thread I hadn't read yet =P Dumb question: How does this work with split EVOs or will it still work to use Haali Media Splitter -> WMVideo Decoder DMO with the combined EVODemuxed vc-1 stream? Also you had mentioned timings. Where does that come into play? My end result never goes to AC3 (Im using WMA 10 Pro 5.1 for playing on the Xbox) so Im not sure at what point I could adjust delay. I noticed my latest encode of Army of Darkness could have use a very slight delay. There wasnt any drift though thankfully.

woah!
12th May 2007, 21:10
I have an issue on Batman Begins where the audio gradually drifts out of sync ahead of the video (plays very slightly slower) but in a 2 hour and 20 minute movie the mismatch isnt even 1 whole second off (stil totally annoying and unacceptable) by the end so it doesnt sound like it could be 23.976 vs. 24fps.

I use EVODemux > eac3to (6ch wav -or- ac3) > tranzecode -or- BeSweet > 6 mono wavs > Windows media encoder > WMA 10 Pro 5.1 (for Xbox 360 playback muxed with wmv VC-1)

I dont know which step is causing it but its driving me nuts!



Could you elaborate a little more on how you handle this? I am totally unfamiliar with messing with timings. Looks like I need to learn because that gradual drift sucks!

my post above pretty much does tell you how to work out the PTS timings. batman begins (for me) has these audio timings;

100 ms audio delay PEVOB_1.EVO

-73 ms audio delay PEVOB_2.EVO

Revgen
13th May 2007, 00:12
But then that's a completely different issue as the WMVideo Decoder DMO can't handle VC1.

Use WMP11.

bluesk1d
13th May 2007, 03:36
my post above pretty much does tell you how to work out the PTS timings. batman begins (for me) has these audio timings;

100 ms audio delay PEVOB_1.EVO

-73 ms audio delay PEVOB_2.EVO

I must be missing something here. I wasnt asking what the delay values were. I was asking what you actually do with those values. Since I dont use an mkv container or an ac3 file as an end result, I dont really have a way (that I know of) to do anything with these delay values. I just go straight from the ddp file to 5.1 wav to 6 mono wavs to wma 5.1. Also, how are you gracefully combining both halves of the split evo if you arent having them reassembled by EVODemux?

woah!
13th May 2007, 05:31
well you said you do this:

I use EVODemux > eac3to (6ch wav -or- ac3) > tranzecode -or- BeSweet > 6 mono wavs > Windows media encoder > WMA 10 Pro 5.1 (for Xbox 360 playback muxed with wmv VC-1)

so once you have the ac3 using eac3to then stop and use delaycut to add the delay, and then carry on with the process.

i have always done the evo's separately, and then joined the 2 encodes together once i have all the pieces done.

i know its not a great way but i dont do lots of HD encodes so when i do i know this method works for me.

Penecho
13th May 2007, 18:39
I tried to use eac3toac3 today and it gave me the following error message:

E-AC3, 5.1 channles, 2:12:35, 640kbit/s, 48khz
muxing eac3 file to raw. Please wait...
Loading eac3 file failed


Where is the Problem!?


Cu

pasta03
13th May 2007, 21:01
I want convert DD+ to ac3 too and I do:

After Demux by EVOdemux I have got
PEVOB_1_PEVOB_2.DD+.stream.00.mpa

then I rename to
PEVOB_1_PEVOB_2.DD+.stream.00.eac3

then I use eac3to.exe:
eac3to.exe PEVOB_1_PEVOB_2.DD+.stream.00.eac3 output.ac3

but I only get error:

eac3to.exe PEVOB_1_PEVOB_2.DD+.stream.00.eac3 output.ac3

Parsing of Dolby Digital headers failed.

kalin
14th May 2007, 07:27
Maybe your audio stream already are ac3?

-kalin

madshi
14th May 2007, 08:58
Loading eac3 file failed

Where is the Problem!?
For whatever reason the source filter refused or failed to load the file. It's hard to say why that could happen. Which eac3to version are you using? Try the latest one. Also make sure that the eac3 file is not in use by any other program. Maybe a reboot helps?

Parsing of Dolby Digital headers failed.
Hmmmm... Don't know. Maybe the file is corrupt? Try playing the eac3 in your media player (you need to setup the filters correctly). Does that work?

Maybe your audio stream already are ac3?
In that case eac3to should detect that the stream is ac3 and complain accordingly.

madshi
14th May 2007, 08:59
A question to all: Should we move the "eac3to" talk to another thread?

SeeMoreDigital
14th May 2007, 09:05
A question to all: Should we move the "eac3to" talk to another thread?Yes... Without doubt ;)

dchard
15th May 2007, 13:54
Now I'am transcoding the Perfume - Story of a murderer, to x264, but I don't know the FPS of the DTS-HD soundtrack (or the movie). This is a german HD-DVD.

Thanks for the help.

Dchard

Pelican9
15th May 2007, 14:02
Now I'am transcoding the Perfume - Story of a murderer, to x264, but I don't know the FPS of the DTS-HD soundtrack (or the movie). This is a german HD-DVD.

Thanks for the help.

Dchard

EVOdemux?

Revgen
16th May 2007, 00:53
i am finding its nothing to do with the audio needing changing like that at all. i am finding the PTS for the 1st and 2nd EVO files have delays set in both. these delays are different for every disc, heres my take on the sync issues which have given me perfect results on every disc i have :

King Kong disc:

FEATURE_1.EVO
VC-1 video stream 0 found!
First PTS = 00000DBF = 3519 / 90000 = 0.0391 ms or 39ms <-- delay

Dolby Digital Plus audio stream 0 found!
First PTS = 00016DA9 = 93609 / 90000 = 1.0401 ms or 1040ms <-- delay


so the first evo has a delay of 1001ms which can be added to your ac3 / aac / whatever you want the end result to be.

same process with the 2nd EVO:

VC-1 video stream 0 found!
First PTS = 1C41C432 = 474072114 / 90000 = 5267.4679 ms

Dolby Digital Plus audio stream 0 found!
First PTS = 1C4198A9 = 474060969 / 90000 = 5267.3441 ms

5267.3441 audio - 5267.4679 video = -0.1238 ms or -123ms delay


so the 2nd evo has a -123ms delay


1st evo = 1001ms delay
2nd evo = -123ms delay


once the audio files have been adjusted with these delays it runs perfect for me anyways. i go to ac3 448 6ch and use delaycut to add the delays myself.

anyways thats my take on the sync issues people are having but i could be wrong....

For the record, I've never had to do this with King Kong. I just combined FEATURE_1 and FEATURE_2 with EVODEMUX (626 beta 5), demuxed the EC3 file, converted to AC3 using EC3to, used Delaycut to adjust the file by +1001MS and it was fine.

MichalHabart
16th May 2007, 06:04
Now I'am transcoding the Perfume - Story of a murderer, to x264, but I don't know the FPS of the DTS-HD soundtrack (or the movie). This is a german HD-DVD.

Thanks for the help.

Dchard

All HD-DVDs and Bluray should be 23.976fps no matter what country they are from.

stdu
17th May 2007, 19:34
Hi,
I'm trying to convert the rip of posseidon to avi and I have a problem :
I demux the 2 evo and using Graphedit and VDub I'm converting it to avi using the Sonic demuxer and converter but when I'm playing the avi (or even during preview in graphedit) the movie restart after 30 min.
So I have the begin of the movie and after 30 min the movie restart so never see the end.
Could someone have any clue ?
Thx
Stdu

Neo Fagin
17th May 2007, 22:18
f:\eac3toac3\eac3to.exe "f:\dda\feature_1_feature_2.DD+.stream.00.eac3" f:\dda\out.ac3 -192
E-AC3, 1/0 channels, 2:04:39, 64kbit/s, 48khz
This channel format is currently not supported.

Dog Day Afternoon

Someone with more talent than I can perhaps patch it?

madshi
18th May 2007, 13:53
I've created a new thread for eac3to here:

http://forum.doom9.org/showthread.php?t=125966

Please post questions, problems, suggestions or other comments about eac3to on the new thread and no longer here in this thread. Thank you!

eac3to can now decode 5.1 TrueHD audio tracks!! *)

*) needs the Nero HD-DVD/Blu-Ray plugin to be installed

Follow up discussion on this please on the new thread.

twan69666
18th May 2007, 16:11
Anyone got their hands on a copy of the Matrix hddvd's yet? Once I get the files on my cpu, there's like 50 files and 10.evo's in there. I tried to demux the 2 larger evo's and play the file but I had no luck.

Im going to get the newest version of evodemux and try again, but Im at work and wont be able to try again until tonight. Just wondering if anyone had seen a dumuxed hddvd with so many files?

Taktaal
18th May 2007, 21:14
Anyone got their hands on a copy of the Matrix hddvd's yet? Once I get the files on my cpu, there's like 50 files and 10.evo's in there. I tried to demux the 2 larger evo's and play the file but I had no luck.

Im going to get the newest version of evodemux and try again, but Im at work and wont be able to try again until tonight. Just wondering if anyone had seen a dumuxed hddvd with so many files?

Those are all the extras. You shouldn't have to demux the evos, just throw it into Graphedit and if it doesn't connect then you're missing some filter.

twan69666
18th May 2007, 21:42
I give it a shot later tonight, thanks!

twan69666
19th May 2007, 07:43
Well no luck. Using the latest evodemux, I can only open each main .evo individually. Once I reubuild them or dumux them, haali's will not take them in my graph. Actually I cant get any program to take them, let alone play the demuxed/rebuilt evo's. Ive had 0 problems with any other movies so far. ideas?

The_Keymaker
19th May 2007, 18:20
Seems to be an issue with EVOdemux and the movie "The Fountain".

EVOdemux will properly rebuild the EVO (after I rename them) but upon playing, the rebuilt EVO has the wrong running time (Zoom Player shows 50min vs 1:36).

Any ideas?

EDIT: Are there any other programs which can rebuild or join EVOs so I can help isolate the problem??

ACrowley
20th May 2007, 10:07
Now I'am transcoding the Perfume - Story of a murderer, to x264, but I don't know the FPS of the DTS-HD soundtrack (or the movie). This is a german HD-DVD.

Thanks for the help.

Dchard


All HDDVD andBluRAys are at 23.976fps. So the Audio is too

Or Your Problem is that the DTS HD has wrong Runtime ?

Note :
The single extracted DTS core has wrong runtime and is async. Its normal ,dont know why....

After muxing in mkv its sync

When youve Problmes with a cracking Sound in the DTScore ,demux the DTSHD with Graphedit and use it to extract the 1536kbps 5.1 core

Taktaal
20th May 2007, 15:50
The weird thing is that chapter information in the XPL seems to be stored based on a 24 fps movie. Because if you mux chapters into an mkv file, they constantly start 0.1% too early.

i.e. in Children of Men chapter 19 is supposed to start at 01:34:43.550 according to the exported chapter list. And if you play the movie from disc in PowerDVD, it actually starts at that time too. But if you recode it to a MKV, the chapter mark is almost 6 seconds before the actual scene cut.

Yet Evodemux clearly says
VC-1 video stream 0 found!
First PTS = 00000DBF
Substream id = 55
Profile = Advanced
Level = 3
Chroma Format = 4:2:0
Size = 1920x1080
Display size = 1920x1080
Aspect ratio = 1:1 (square samples)
Frame Rate = 23.976 (24000/1001)

I'm going to try to reencode the movie at AssumeFPS(24) just on a hunch.

cwm9
20th May 2007, 23:50
The weird thing is that chapter information in the XPL seems to be stored based on a 24 fps movie. Because if you mux chapters into an mkv file, they constantly start 0.1% too early.

I think the problem you are bumping into is the NTSC drop frame issue. HDDVD does not allow 30 fps, they only allow 29.97FPS. The video is actually stored at 23.976fps and a pulldown flag is set to pull down the video to 29.97fps. (If you look in Scenarist, 30fps is not an option, and it is easy enough to look up the HDDVD spec.)

NTSC time codes do not run in real time.. they are nominal. (To be clear: nominal means "in name only.") "NTSC 30" video "defines" a frame as 1/30 sec, even though it is really 1/29.97 seconds. (The use of 29.97 fps is for really nasty technical and historical reasons. It was done to make color TV transmission backwards compatible with B/W TVs way back when.) They do this so every thirty frames the time code goes up by one second. Otherwise timecodes would look like "00:00:10.00.3003003003003003003003003003" at frame 300 instead of just "00:00:10.00".

If you let NTSC video run for a while, it slowly becomes "mis-synced" from real time. If you just let that happen, it's known as "non-drop". To make the two match, they use what's known as "drop frame". Drop frame is badly named because you don't actually drop any frames, you just drop time codes. Every minute you skip time codes x:x:x:00 and x:x:x:01, unless it's an even ten minutes. This fixes the drift by letting the NTSC time code "catch up" to real time.

The PTS (presentation time stamp) stored in the subtitles, and I assume the xpl, are real times. Thus the "time stamp" of the video when encoded with a pulldown flag and interpreted at NTSC non-drop (which is pretty typical) runs too slowly (after 30 frames it thinks the time is 1 second instead of what it really is, 30/29.97 seconds.), while the PTS runs in real time. The HDDVD player understands drop-frame timecodes, and has no problem converting back and forth.

There are a few solutions to this. You can either use software which understands NTSC drop-frame timecode (but you have to convert the PTS time stamps to NTSC drop frame by assuming 29.97 fps but adding two frames if the timestamp is on an even minute, unless it's on an even 10 minute boundary), or (easiest) you can simply multiply every PTS by 29.97/30 so that the PTS time codes line up with their NTSC non-drop counterparts which is what most software is going to expect anyway.

If you actually try to encode the video as 24fps it will no longer line up with the audio, because the audio has been encoded at 23.97fps. Alternatively, you could change the playback rate of the audio so that it "becomes" 24fps and lines up with video encoded at 24fps.

Blame NTSC and the transition from B/W to color.

IanD
22nd May 2007, 02:01
Blame NTSC and the transition from B/W to color.
Thanks for that historical explanation. However, was there any point in dragging that archaic arrangement into a completely new format, which uses new players, new encoders, new displays (to get the best compatibility with native format) and theoretically is divorced from NTSC? I don't see why it was made backward compatible.

kornesque
22nd May 2007, 11:14
for those having problems rebuilding EVOs...i forget where i read it, but many EVOs seems to rebuild correctly if you simply don't read XPL. in other words, load EVO, read XPL, pick out what you want/don't want, reload EVO, don't read XPL and repick video/audio/subpicture based on what you know from the XPL. happy feet and smoking aces worked for me so far. please try and post if it works for you.

Pelican9
22nd May 2007, 13:05
for those having problems rebuilding EVOs...i forget where i read it, but many EVOs seems to rebuild correctly if you simply don't read XPL. in other words, load EVO, read XPL, pick out what you want/don't want, reload EVO, don't read XPL and repick video/audio/subpicture based on what you know from the XPL. happy feet and smoking aces worked for me so far. please try and post if it works for you.

Read XPL is absolutely not necessary for demux or rebuild. It's do nothing, except reads the names of the streams.
It's good to check the streams recognized by Read EVO when you use fast EVO checking.

twan69666
22nd May 2007, 15:57
for those having problems rebuilding EVOs...i forget where i read it, but many EVOs seems to rebuild correctly if you simply don't read XPL. in other words, load EVO, read XPL, pick out what you want/don't want, reload EVO, don't read XPL and repick video/audio/subpicture based on what you know from the XPL. happy feet and smoking aces worked for me so far. please try and post if it works for you.


OMG Im trying this tonight. The Matrix HDDVD's have been driving me crazy! I will let you know.

mlansell
22nd May 2007, 17:32
Read XPL is absolutely not necessary for demux or rebuild. It's do nothing, except reads the names of the streams.

But doing a "Read XPL" does modify the stream lists under the video, audio and subtitle tabs - it seems to remove the last entry from each list.

You can't then uncheck those streams, so I think they may then be included in the rebuilt evo, causing it not to play back properly.

Pelican9
22nd May 2007, 18:38
But doing a "Read XPL" does modify the stream lists under the video, audio and subtitle tabs - it seems to remove the last entry from each list.

You can't then uncheck those streams, so I think they may then be included in the rebuilt evo, causing it not to play back properly.

It's never happened for me.
It would happen if you create an xpl, which is not match with the EVO file.

cwm9
22nd May 2007, 19:09
...was there any point in dragging that archaic arrangement into a completely new format...and is divorced from NTSC? I don't see why it was made backward compatible.

It was made backward compatible so HDTV could coexist with SDTV. If you want to be able to downconvert from HDTV to SDTV for broadcast to old televisions, the two standards must have the same framerate. (ugh.) Since 23.976 is so close to 24, it hardly seems worth it to go about fixing this.

There's no pretty way to convert from 24fps to 23.976fps without dropping a frame now and then, and that wouldn't be pretty. Can you imagine trying to design simulcast equipment that can broadcast 24fps video on one channel for HDTV digital and 23.976fps video for SDTV analog?

Maybe once analog TV transmissions have been dead and gone for 10 years we can finally do away with that stupid framerate. Once EVERYONE is digital it shouldn't be hard to switch to 24fps.

Rectal Prolapse
22nd May 2007, 21:04
You can't then uncheck those streams, so I think they may then be included in the rebuilt evo, causing it not to play back properly.

This should be easy to test - do two rebuilds with and without XPL, and then do a binary compare (you can use the DOS prompt command "comp").

twan69666
22nd May 2007, 22:36
And sure enough, my rebuild Matrix HDDVD's now work! I rebuilt without reading the xpl's and now Haali's will accept the evo, where before it wouldnt. Kinda strange, but now I have an easy solution if a rebuild doesnt work. :thanks:

chros
23rd May 2007, 08:55
@Pelican9: Thanks for the xpl chapter extractor.
1 question: can you make it work if only the xpl file is present, so there's no evo files (in this case the Write Chapters button is disabled now) ?

Pelican9
23rd May 2007, 09:53
@Pelican9: Thanks for the xpl chapter extractor.
1 question: can you make it work if only the xpl file is present, so there's no evo files (in this case the Write Chapters button is disabled now) ?

The program searches the filename in the xpl, that's why it have to be filled.
But, you can make a dummy, zero size EVO file (e.g PEVOB_1.EVO, the file name depends on your xpl).

mlansell
24th May 2007, 13:26
It's never happened for me.
It would happen if you create an xpl, which is not match with the EVO file.

I finally got a few minutes to test this, using the UK edition of Harry Potter and the Goblet of Fire.

Opening the pevob_1.evo file, EvoDemux shows two video, 5 audio and 4 subpicture streams. If I then read the XPL, I lose the last video and audio streams (even though they are listed in the XPL)

The rebuilt evo (without reading the XPL) is ~15Gb. If I read the XPL it is ~20Gb. That difference is about the size of the second video stream.

The XPL is attached.

Pelican9
24th May 2007, 15:24
Opening the pevob_1.evo file, EvoDemux shows two video, 5 audio and 4 subpicture streams. If I then read the XPL, I lose the last video and audio streams (even though they are listed in the XPL)

Interesting. I'm waiting for the XPL.
The rebuilt evo (without reading the XPL) is ~15Gb. If I read the XPL it is ~20Gb. That difference is about the size of the second video stream.

I don't understand why bigger the second (less stream, less size), but I'll check it.

chros
25th May 2007, 05:58
The program searches the filename in the xpl, that's why it have to be filled.
But, you can make a dummy, zero size EVO file (e.g PEVOB_1.EVO, the file name depends on your xpl).
Thanks...

mlansell
25th May 2007, 10:46
Interesting. I'm waiting for the XPL.

I don't understand why bigger the second (less stream, less size), but I'll check it.

For the first evo, I selected just the first video and audio streams (and no subtitles). This is the version that plays back ok.

After reading the XPL, the last video and audio streams are missing, so I can't uncheck them. The file is bigger presumably because it now contains two video and two audio streams (the first one that I checked, and the last one that had vanished from the list). That's why it won't play, and why it is 5Gb bigger.

If you PM me with an email address, I can send you the XPL directly.

Mal

Pelican9
25th May 2007, 12:51
For the first evo, I selected just the first video and audio streams (and no subtitles). This is the version that plays back ok.

After reading the XPL, the last video and audio streams are missing, so I can't uncheck them. The file is bigger presumably because it now contains two video and two audio streams (the first one that I checked, and the last one that had vanished from the list). That's why it won't play, and why it is 5Gb bigger.

If you PM me with an email address, I can send you the XPL directly.

Mal
Turn on PMs or send the XPL to my mail (you can find on my site). Thanks.

starkhouse33
26th May 2007, 07:27
Hi
first I wanted to say thanks for evodemux.
Im having a problem with evodemux and the film The Fountain. Its the same problem another person had a few posts back but never got resolved. The two evos im trying to rebuild are feature_fountainn6ff1_hd.EVO
feature_fountainn6ff1_hd_Divide.EVO
evodemux will only rebuild one at a time unless I rename them to PEVOB_1.EVO and PEVOB_2.EVO which gives me a rebuilt evo but the running time is wrong and only 50 minutes long. Help please
Thanks

Pelican9
26th May 2007, 08:01
Hi
first I wanted to say thanks for evodemux.
Im having a problem with evodemux and the film The Fountain. Its the same problem another person had a few posts back but never got resolved. The two evos im trying to rebuild are feature_fountainn6ff1_hd.EVO
feature_fountainn6ff1_hd_Divide.EVO
evodemux will only rebuild one at a time unless I rename them to PEVOB_1.EVO and PEVOB_2.EVO which gives me a rebuilt evo but the running time is wrong and only 50 minutes long. Help please
Thanks
Read the evos and copy the text of the status window to here.

starkhouse33
26th May 2007, 08:23
This is first evo for the fountain

Opening file feature_fountainn6ff1_hd.EVO
Reading...
File size: 6974 Mbytes.
VOB number 0 contains 1 video , 2 audio and 4 subpicture streams.
PTM of first video frame = 00001603
PTM of last video frame = 0ED4AE00
Duration = 0:46:04.595
VC-1 video stream 0 found!
First PTS = 00001603
Substream id = 55
Profile = Advanced
Level = 3
Chroma Format = 4:2:0
Size = 1920x1080
Display size = 1920x1080
Aspect ratio = 1:1 (square samples)
Frame Rate = 23.976 (24000/1001)
Dolby Digital Plus audio stream 1 found!
First PTS = 00001603
Substream id = C1
Stream 1 is Dolby Digital Plus
frame size = 1280 bytes, number of blocks per frame = 3
Sampling frequency = 48 kHz
Transmission bitrate = 640 kbit/s
Channel arrangement = L + R + C + Ls + Rs, bsid = 16
LFE channel = present
Dolby Digital Plus audio stream 0 found!
First PTS = 00001603
Substream id = C0
Stream 0 is Dolby Digital Plus
frame size = 1280 bytes, number of blocks per frame = 3
Sampling frequency = 48 kHz
Transmission bitrate = 640 kbit/s
Channel arrangement = L + R + C + Ls + Rs, bsid = 16
LFE channel = present
Subpicture stream 3 found!
First PTS = 002F8EC7 (+34567ms)
Substream id = 23
Format = 8bitRLE
Subpicture stream 2 found!
First PTS = 00324E9B (+36569ms)
Substream id = 22
Format = 8bitRLE
Subpicture stream 1 found!
First PTS = 00A68313 (+121187ms)
Substream id = 21
Format = 8bitRLE
Subpicture stream 0 found!
First PTS = 00A68313 (+121187ms)
Substream id = 20
Format = 8bitRLE
Done.

66307 counted frames (0:46:05.554) in video stream 0.
66284 calculated frames in video stream 0.


this is second evo

Opening file feature_fountainn6ff1_hd_Divide.EVO
Reading...
File size: 7149 Mbytes.
VOB number 0 contains 1 video , 2 audio and 4 subpicture streams.
PTM of first video frame = 000029EB
PTM of last video frame = 10410B22
Duration = 0:50:29.860
VC-1 video stream 0 found!
First PTS = 000029EB
Substream id = 55
Profile = Advanced
Level = 3
Chroma Format = 4:2:0
Size = 1920x1080
Display size = 1920x1080
Aspect ratio = 1:1 (square samples)
Frame Rate = 23.976 (24000/1001)
Dolby Digital Plus audio stream 1 found!
First PTS = 00000CAE (+47721775ms)
Substream id = C1
Stream 1 is Dolby Digital Plus
frame size = 1280 bytes, number of blocks per frame = 3
Sampling frequency = 48 kHz
Transmission bitrate = 640 kbit/s
Channel arrangement = L + R + C + Ls + Rs, bsid = 16
LFE channel = present
Dolby Digital Plus audio stream 0 found!
First PTS = 00000CAE (+47721775ms)
Substream id = C0
Stream 0 is Dolby Digital Plus
frame size = 1280 bytes, number of blocks per frame = 3
Sampling frequency = 48 kHz
Transmission bitrate = 640 kbit/s
Channel arrangement = L + R + C + Ls + Rs, bsid = 16
LFE channel = present
Subpicture stream 2 found!
First PTS = 00095FBE (+6706ms)
Substream id = 22
Format = 8bitRLE
Subpicture stream 3 found!
First PTS = 00097734 (+6773ms)
Substream id = 23
Format = 8bitRLE
Subpicture stream 1 found!
First PTS = 0012A14C (+13446ms)
Substream id = 21
Format = 8bitRLE
Subpicture stream 0 found!
First PTS = 0012A14C (+13446ms)
Substream id = 20
Format = 8bitRLE
Done.

72664 counted frames (0:50:30.694) in video stream 0.
72644 calculated frames in video stream 0.

here is the xpl

<Title id="feature" titleNumber="2" type="Advanced" selectable="true" titleDuration="01:36:51:55" onEnd="black" alternativeSDDisplayMode="letterbox" >
<PrimaryAudioVideoClip titleTimeBegin="00:00:00:00" clipTimeBegin="00:00:00:00" titleTimeEnd="00:46:01:50" src="file:///dvddisc/HVDVD_TS/feature_fountainn6ff1_hd.MAP" seamless="false" description="" >
<Video track="1" mediaAttr="1" />
<Audio track="1" streamNumber="1" mediaAttr="1" />
<Audio track="2" streamNumber="2" mediaAttr="1" />
<Subtitle track="1" streamNumber="1" mediaAttr="1" />
<Subtitle track="2" streamNumber="2" mediaAttr="1" />
<Subtitle track="3" streamNumber="3" mediaAttr="1" />
<Subtitle track="4" streamNumber="4" mediaAttr="1" />
</PrimaryAudioVideoClip>
<PrimaryAudioVideoClip titleTimeBegin="00:46:01:50" clipTimeBegin="00:00:00:00" titleTimeEnd="01:36:28:40" src="file:///dvddisc/HVDVD_TS/feature_fountainn6ff1_hd_Divide.MAP" seamless="true" description="" >
<Video track="1" mediaAttr="1" />
<Audio track="1" streamNumber="1" mediaAttr="1" />
<Audio track="2" streamNumber="2" mediaAttr="1" />
<Subtitle track="1" streamNumber="1" mediaAttr="1" />
<Subtitle track="2" streamNumber="2" mediaAttr="1" />
<Subtitle track="3" streamNumber="3" mediaAttr="1" />
<Subtitle track="4" streamNumber="4" mediaAttr="1" />
</PrimaryAudioVideoClip>
<PrimaryAudioVideoClip titleTimeBegin="01:36:28:40" clipTimeBegin="00:00:00:00" titleTimeEnd="01:36:51:55" src="file:///dvddisc/HVDVD_TS/Interpol_16x9.MAP" seamless="false" description="" >
<Video track="1" mediaAttr="1" />
</PrimaryAudioVideoClip>
<ChapterList>
<Chapter titleTimeBegin="00:00:00:00" />
<Chapter titleTimeBegin="00:06:58:00" />
<Chapter titleTimeBegin="00:10:17:00" />
<Chapter titleTimeBegin="00:14:39:10" />
<Chapter titleTimeBegin="00:20:03:40" />
<Chapter titleTimeBegin="00:23:19:00" />
<Chapter titleTimeBegin="00:27:23:30" />
<Chapter titleTimeBegin="00:30:16:00" />
<Chapter titleTimeBegin="00:35:04:30" />
<Chapter titleTimeBegin="00:37:52:00" />
<Chapter titleTimeBegin="00:43:45:30" />
<Chapter titleTimeBegin="00:46:01:50" />
<Chapter titleTimeBegin="00:50:21:40" />
<Chapter titleTimeBegin="00:53:29:30" />
<Chapter titleTimeBegin="00:59:10:40" />
<Chapter titleTimeBegin="01:01:37:10" />
<Chapter titleTimeBegin="01:06:37:00" />
<Chapter titleTimeBegin="01:10:11:10" />
<Chapter titleTimeBegin="01:14:56:20" />
<Chapter titleTimeBegin="01:19:48:30" />
<Chapter titleTimeBegin="01:23:31:10" />
<Chapter titleTimeBegin="01:26:54:20" />
<Chapter titleTimeBegin="01:29:59:00" />
</ChapterList>
<TrackNavigationList>
<AudioTrack track="1" selectable="true" langcode="en:00" />
<AudioTrack track="2" selectable="true" langcode="fr:00" />
<SubtitleTrack track="1" selectable="true" forced="false" langcode="*:00" />
<SubtitleTrack track="2" selectable="true" forced="false" langcode="*:00" />
<SubtitleTrack track="3" selectable="true" forced="false" langcode="*:00" />
<SubtitleTrack track="4" selectable="true" forced="false" langcode="*:00" />
</TrackNavigationList>
</Title>

Pelican9
26th May 2007, 08:45
This is first evo for the fountain

Opening file feature_fountainn6ff1_hd.EVO
Reading...
File size: 6974 Mbytes.
VOB number 0 contains 1 video , 2 audio and 4 subpicture streams.
PTM of first video frame = 00001603
PTM of last video frame = 0ED4AE00
Duration = 0:46:04.595

66307 counted frames (0:46:05.554) in video stream 0.
66284 calculated frames in video stream 0.


this is second evo

Opening file feature_fountainn6ff1_hd_Divide.EVO
Reading...
File size: 7149 Mbytes.
VOB number 0 contains 1 video , 2 audio and 4 subpicture streams.
PTM of first video frame = 000029EB
PTM of last video frame = 10410B22
Duration = 0:50:29.860

72664 counted frames (0:50:30.694) in video stream 0.
72644 calculated frames in video stream 0.

here is the xpl

<Title id="feature" titleNumber="2" type="Advanced" selectable="true" titleDuration="01:36:51:55" onEnd="black" alternativeSDDisplayMode="letterbox" >
<PrimaryAudioVideoClip titleTimeBegin="00:00:00:00" clipTimeBegin="00:00:00:00" titleTimeEnd="00:46:01:50" src="file:///dvddisc/HVDVD_TS/feature_fountainn6ff1_hd.MAP" seamless="false" description="" >
</PrimaryAudioVideoClip>
<PrimaryAudioVideoClip titleTimeBegin="00:46:01:50" clipTimeBegin="00:00:00:00" titleTimeEnd="01:36:28:40" src="file:///dvddisc/HVDVD_TS/feature_fountainn6ff1_hd_Divide.MAP" seamless="true" description="" >
</PrimaryAudioVideoClip>
</Title>

As you can see these are two independent EVOs. The PTS values in the second EVO started again from zero not continued from the last PTS of the first EVO.
You cannot merge these files without adjusting all PTS/DTS values in all PES headers of the second EVO.
I have to figure out something...

mlansell
26th May 2007, 11:06
Turn on PMs or send the XPL to my mail (you can find on my site). Thanks.

I sent you mail (so I hope you got it!)

Mal

Zagolski
26th May 2007, 14:06
Perfect lossless LPCM 5.1 to FLAC conversion
It's really easy but has taken me quite a few hours to get it all right.

Programs needed:
xport by drmpeg @doom9
http://www.w6rz.net/xport.zip

sox v13.0.0
http://sourceforge.net/projects/sox

Wavewizard 0.45b
http://www.rarewares.org/wavewiz/wavewizardv0.54b.zip

MediaCoder 0.5.1
http://mediacoder.sourceforge.net/download.htm

flac 1.1.4
http://flac.sourceforge.net/download.html


Step 1 - Extract the LPCM stream from Blu-ray
xport -h movie.m2ts 1 3 2

Explaination:
"1 3 2" selects program 1, video stream 3 and audio stream 2.
Since video stream 3 does not exist you will only demux audio (change to 1 if you want video as well).
The LPCM stream should most often be number 2.


Step 2 - Map channels
sox -B -r48000 -t .raw -c 6 -2 -s bits0001.mpa file.wav

Start Wavewizard and enter channel mapping (F2).
- Create a new mapping "0 1 2 5 3 4".
- Select your new mapping.
- Click "Enable channelmapping"
- Click "Convert" and create a new file.

Explaination:
The channels in the LPCM file are mapped "L,R,C,BL,BR,LFE" as opposed to "L,R,C,LFE,BL,BR". This is corrected with Wavewizard but in order for it to accept the file you need to use sox first.


Step 3 - Encode your FLAC
- Install MediaCoder 0.5.1. Make sure you replace "flac.exe" under the "codecs" directory so you get version 1.1.4.
- Drag and drop your file(1).wav to the MediaCoder window.
- Under Audio select "FLAC" as Encoder and press F5 to start the encode.

Explanation:
FLAC doesn't like 4+ GB wave files but somehow it works with MediaCoder.


Step 4 - Enjoy your FLAC
Enjoy your new FLAC!

May I sugest using mkvmerge (http://www.bunkus.org/videotools/mkvtoolnix/) to mux your FLAC with your video stream to a Matroska container.

Help!
I did everything as here napimano, but at pressure on the button Convert an error is given out in Wavewizard, that pizdets (step 2) - this file is not recognized by wavewizard... :(

tebasuna51
26th May 2007, 16:32
Help!
I did everything as here napimano, but at pressure on the button Convert an error is given out in Wavewizard, that pizdets (step 2) - this file is not recognized by wavewizard... :(

Yes, seems sox have a little bug writing the WAVE_FORMAT_EXTENSIBLE header:
D:\Programa\Audio\0\file.wav 11520080 bytes
----------------------------------------------------------------------
ChunkID .....: RIFF
ChunkSize ...: 11520060 Error: must be FileLength - 8 = 11520072
Format ......: WAVE
...

But, don't worry, WaveWizard can be instructed to ignore the error:
Edit -> Preferences -> Ignore size in header -> Always

Zagolski
27th May 2007, 02:39
tebasuna51
Thanks!


If to play one file .m2ts, the choice of DTS is inaccessible... Why does it take place? How to do, that was DTS accessible? Help!

qubic
28th May 2007, 10:53
Hi

I have a strange problem.

I'm rebuilding the Manchurian Candidate, under Linux. That meens EVOdemux (v.0.262) under wine. And use Mplayer.
So fare, there is only DTS(-HD), but no DD+ codec for Linux. VC-1 is fine too.

If I play the full movie (all sub-streams), I hear the Commentary track (which should be DD+ acording to XPL).
If I remove everything in EVOdemux, except VC-1 and the first english track (DD+). I get the usual sound glitches, when there is no DD+ codec(it tries the incompatible DD codec).
If I remove everything but VC-1 and the second english track (DTS-HD). I get this error:

[root@dhcppc0 film]# mplayer FEATURE_1_FEATURE_2.rebuilt.EVO
MPlayer dev-SVN-r23390-4.1.1 (C) 2000-2007 MPlayer Team
CPU: AMD Sempron(tm) Processor 3400+ (Family: 15, Model: 44, Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2

Playing FEATURE_1_FEATURE_2.rebuilt.EVO.
MPEG-PS file format detected.
Searching for VC1 sequence header... found
VIDEO: VC-1 1920x1080, 29.970 fps, header len: 33
==========================================================================
Requested video codec family [wmvvc1dmo] (vfm=dmo) not available.
Enable it at compilation.
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffvc1] vfm: ffmpeg (FFmpeg M$ WVC1)
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 6 ch, s16le, 1536.0 kbit/33.33% (ratio: 192000->576000)
Selected audio codec: [ffdca] afm: ffmpeg (FFmpeg DTS)
==========================================================================
AO: [oss] 48000Hz 6ch s16le (2 bytes per sample)
Starting playback...
[dca @ 0xe16f20]Not a valid DCA frame
[dca @ 0xe16f20]Not a valid DCA frame
[dca @ 0xe16f20]Not a valid DCA frame000 1/ 1 ??% ??% ??,?% 0 0
VDec: vo config request - 1920 x 1080 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [xv] 1920x1080 => 1920x1080 Planar YV12
[ASPECT] Warning: No suitable new res found!
[ASPECT] Warning: No suitable new res found!
[ASPECT] Warning: No suitable new res found!
[dca @ 0xe16f20]Not a valid DCA frame001 2/ 2 ??% ??% ??,?% 0 0
[dca @ 0xe16f20]Not a valid DCA frame000 3/ 3 ??% ??% ??,?% 0 0
[dca @ 0xe16f20]Not a valid DCA frame000 4/ 4 ??% ??% ??,?% 0 0
[dca @ 0xe16f20]Not a valid DCA frame000 4/ 4 ??% ??% ??,?% 0 0
[dca @ 0xe16f20]Not a valid DCA frame000 4/ 4 ??% ??% ??,?% 0 0
.
.
[dca @ 0xe16f20]Not a valid DCA frame000 4/ 4 ??% ??% ??,?% 0 0
[dca @ 0xe16f20]Not a valid DCA frame000 4/ 4 ??% ??% ??,?% 0 0
[dca @ 0xe16f20]Not a valid DCA frame000 4/ 4 ??% ??% ??,?% 0 0
[dca @ 0xe16f20]Not a valid DCA frame000 4/ 4 ??% ??% ??,?% 0 0
A: 0.5 V: 0.1 A-V: 0.349 ct: -0.000 4/ 4 ??% ??% ??,?% 0 0
Exiting... (Quit)
[root@dhcppc0 film]#

Which just continous, with counting frames.

Has anybody seen this before???


regards qub

qubic
28th May 2007, 11:58
Hi again

I went into WinXP and tried to remove everything, except vc-1 and the first english track.
I don't see anything in PowerDVD 6.5 (I guess the parser in PDVD is not good enough), but I hear the Commentary, which should be the fifth track?!?!?

I parse the rebuilded .EVO file in EVOdemux, but can't (un)select anything. Everything is grey, with no checkmark.
Is this normal?

regards qub.

Badness
29th May 2007, 07:00
Is there a filter to load a eac3 file directly into a avisynth script without using graphedit?

SpAwN_gUy
29th May 2007, 08:35
Is there a filter to load a eac3 file directly into a avisynth script without using graphedit?I guess not..
well.. i think no .dll, that reads eac3-fileand decodes it internally..

if your DShowFilters are installed correctly,.. you can try DirectShowSource()
you can test that in graphedit ( ;) ) .. by "Render Media file" option. if the proper chain of filters will connect automatically and you will hear Sound ... so then.. you have installed everything right :)
i think..

Warren
29th May 2007, 12:30
Hi

I have a strange problem.

I'm rebuilding the Manchurian Candidate, under Linux. That meens EVOdemux (v.0.262) under wine. And use Mplayer.
So fare, there is only DTS(-HD), but no DD+ codec for Linux. VC-1 is fine too.

If I play the full movie (all sub-streams), I hear the Commentary track (which should be DD+ acording to XPL).
If I remove everything in EVOdemux, except VC-1 and the first english track (DD+). I get the usual sound glitches, when there is no DD+ codec(it tries the incompatible DD codec).
If I remove everything but VC-1 and the second english track (DTS-HD). I get this error:



Which just continous, with counting frames.

Has anybody seen this before???


regards qub

FFMPEG's VC-1 decoder is not ready for primetime yet.

Requested video codec family [wmvvc1dmo] (vfm=dmo) not available.
Enable it at compilation.

Recompile mplayer with the referrred codec enabled and it might work.

qubic
29th May 2007, 16:44
FFMPEG's VC-1 decoder is not ready for primetime yet.



Recompile mplayer with the referrred codec enabled and it might work.

Sorry, if I didn't explain myself well.

VC-1 is working fine. I was talking about the sound.
It just depends which sound type I use. Which I think is strange.

And what is a DCA frame??

--qub

Warren
30th May 2007, 00:23
Sorry, if I didn't explain myself well.

VC-1 is working fine. I was talking about the sound.
It just depends which sound type I use. Which I think is strange.

And what is a DCA frame??

--qub

Just so you know, you will get artifacting with FFMPEG's VC-1 decoder, generally in the form of incorrect macroblocks (you'll know what I'm talking about when you see it).

As for audio, there are no opensource decoders for the codecs commonly in use on HD DVDs and BLU Ray discs (Dolby TruHD, Dolby Digital Plus aka E-AC3, and DTS HD)

akatitan
31st May 2007, 22:49
first of all hi to everyone as this is my first post.

Pelican9,

Can you help me? when i use evodemux to demux .vob files it will only demux the first two .vob files. i have tried renaming the files, and even renamed them .evo files. i am using the latest build .626.

starkhouse33
2nd June 2007, 08:33
any updates for the issues with evodemux and the fountain.
thanks

qtx999
3rd June 2007, 15:11
Hello,


I reencoded the DTS HD into AC3 using tranzcode and Sonic Foundry.


can you describe this method? I am trying to convert a dts-hd track to ac3 without much success...
I used tsremux to isolate the dts-hd track (it was around 4GB when done), then tranzcode which recognized the stream and extracted 6 separate wavs all around 1.1GB...The resultant data doesn't seem like it's correct, when I convert these to ac3 (I have several methods, sonic foundry, wav to ac3) all I get are squeeks and static...did I miss a step?

TIA!

Chumbo
3rd June 2007, 19:12
You can use BeHappy with aften to easily convert a dts track to ac3. For dts-hd, just get the core dts and then feed it into BeHappy using either directshow via avs script or directly using NicDtsSource.

qtx999
3rd June 2007, 21:09
[QUOTE=Chumbo;1010431]
For dts-hd, just get the core dts
QUOTE]


ahhhh...this would be what I need, can you explain how? sorry for my ignorance, when I use tranzcode, it gave me the full stream (as it was about 4GB) ...how to strip just the core stream?

thanks again!

Chumbo
5th June 2007, 18:12
[QUOTE=Chumbo;1010431]
For dts-hd, just get the core dts
QUOTE]


ahhhh...this would be what I need, can you explain how? sorry for my ignorance, when I use tranzcode, it gave me the full stream (as it was about 4GB) ...how to strip just the core stream?

thanks again!
Did you try using the SEARCH and search for "dts core?" I believe the utility is mentioned earlier in this thread.

DeepBeepMeep
14th June 2007, 22:28
Does EVODemux support rewriting PMT timestamps when rebuilding the parts of an EVO file like TSRemux? It seems the two EVO files are merged but only half of the movie can be watched because there isn't any continuity between the two files .

dmz01
15th June 2007, 00:25
Does EVODemux support rewriting PMT timestamps when rebuilding the parts of an EVO file like TSRemux? It seems the two EVO files are merged but only half of the movie can be watched because there isn't any continuity between the two files .

This is more likely due to sequence_end_code (MPEG2), end_of_stream_rbsp() (AVC), or end_of_sequence start code (VC-1) being present rather than the clock change.

3ngel
19th June 2007, 12:41
I can do two little suggestions for the program:

1) Add a copy (to clipboard) contextual menu on the main window (althougt it already does with CTRL+C)

2) Add an option to add to the filename the number of calculated frames (needed in the script). This is useful because it can happen someone forget to write down the number after closing program.

Chumbo
19th June 2007, 18:30
...
2) Add an option to add to the filename the number of calculated frames (needed in the script). This is useful because it can happen someone forget to write down the number after closing program.
I think it would be more useful to have a new option checkbox to log to file and an edit box to enter the log file location and name like the current Output folder. Or, automatically name the log file and use the current Output folder as the log location. Something like that.

3ngel
20th June 2007, 08:17
Personally i wouldn't need a log, and for me it would be more comfortable to take the number directly from the filename (less files in the dir without the log and no need to open an additional program to read the number from the log), but as an optional addiction to my proposed option, for me it would be fine.

Pelican9
20th June 2007, 10:46
Good ideas.... :)

Wilbert
23rd June 2007, 22:37
@Pelican9,

I'd like to ask some questions about your EVOdemux (i'm using 0.626). I've a bunch of AOBs (accordingly to EVOdemux it contains a MLP track):

Opening file ATS_01_1.AOB
Reading...
File size: 1023 Mbytes.
It contains 1 audio stream.
MLP audio stream 1 found!
First PTS = 00000294 (+7ms)
Substream id = A1
Standard MLP stream (up to 6 channels)
Quantization length = 24 bits
Sampling frequency = 96 kHz
Channel arrangement = Lf + Rf + Ls + Rs + C + LFE
Dynamic range control = -10,6371 dB .. 8,4282 dB
Standard MLP stream (up to 6 channels)
Quantization length = 24 bits
Sampling frequency = 96 kHz
Channel arrangement = Lf + Rf + Ls + Rs + C + LFE
Dynamic range control = -10,6371 dB .. 8,4282 dB


1) If I demux it, it is demuxed as "ATS_01_1_ATS_01_2.LPCM.stream.01.mpa". Is the MLP converted to LPCM or MPA or is the extension wrong and is it just the MLP file?

2) Does LPCM demuxing from AOB files work correctly?

3) Could you make EVOdemux open source? I've been talking with neuron2 lately, and he's willing to add AOB support to DGIndex, but he has no specs, nor any samples. (I've seen some specs, and will send him a few samples once i bought a dvd-writer to burn them) It would be great if you can work together.

Pelican9
24th June 2007, 01:09
1) If I demux it, it is demuxed as "ATS_01_1_ATS_01_2.LPCM.stream.01.mpa". Is the MLP converted to LPCM or MPA or is the extension wrong and is it just the MLP file?

2) Does LPCM demuxing from AOB files work correctly?

3) Could you make EVOdemux open source? I've been talking with neuron2 lately, and he's willing to add AOB support to DGIndex, but he has no specs, nor any samples. (I've seen some specs, and will send him a few samples once i bought a dvd-writer to burn them) It would be great if you can work together.

1) It's just an untouched MLP stream.
2) I can't do that.
3) You can see my code, but I don't know anything about MLP->LPCM converting.

madshi
24th June 2007, 08:21
MLP->LPCM needs a fully featured MLP decoder! Which is not available today in open source. It's only available if you pay a license for it.

Wilbert
24th June 2007, 13:31
1) It's just an untouched MLP stream.
Ok. But why has it LPCM in its filename?

2) I can't do that.
Just to be clear. I'm not asking about a MLP->LPCM conversion. AOBs contain either MLP or LPCM. Does it demux LPCM correctly?

3) You can see my code, but I don't know anything about MLP->LPCM converting.
Where is the code? I just see the exe in your signature.

Pelican9
24th June 2007, 14:13
Ok. But why has it LPCM in its filename?
It's a bug. I'll fix it.

Just to be clear. I'm not asking about a MLP->LPCM conversion. AOBs contain either MLP or LPCM. Does it demux LPCM correctly?
If the DVD Audio contains MLP track only I cannot demux LPCM from it.

Where is the code? I just see the exe in your signature.I share the source in private if I could help something.

woah!
4th July 2007, 06:01
a question to Pelican9.

i just bought battle of the bulge hd-dvd and it seems to have 3 evobs not the usual 2. your great program only reads a max of 2 evobs tho :(

is it possible to change that as it might be something that is going to happen on more disc's maybe?

dont know of the techical side of doing that tho..

thx anyways as i have had great success with it and have backed up about 5 hd-dvd's now onto dvd-rdl discs to save the originals..... which by the way i find do scratch very easy and i lost disc 2 of planet earth due to this already.

Pelican9
4th July 2007, 07:57
i just bought battle of the bulge hd-dvd and it seems to have 3 evobs not the usual 2. your great program only reads a max of 2 evobs tho :(

is it possible to change that as it might be something that is going to happen on more disc's maybe?


Hmm, what are the file names?

woah!
4th July 2007, 08:16
Feature_1.EVO 10.7GB in size

Feature_2.EVO 4.87GB in size

Feature_3.EVO 6.04GB in size

so nothing unusual with the naming its maybe a mastering error, or a 1 off thing?

madshi
4th July 2007, 08:49
Feature_1.EVO 10.7GB in size

Feature_2.EVO 4.87GB in size

Feature_3.EVO 6.04GB in size

so nothing unusual with the naming its maybe a mastering error, or a 1 off thing?
I'm happy, now Pelican finally has a motivation to implement support for more than 2 EVO/VOB files. Was hoping for that for a while... :p

Pelican9
4th July 2007, 10:39
:)

New version coming soon with .VTI reading capability.

Pelican9
5th July 2007, 23:46
The new version has not finished yet, but you can try the multi EVO reading.
It's a beta, so keeping the old exe (0.626) could be useful.

madshi: sent PM

madshi
14th July 2007, 11:24
Hi guys,

I was desperate to combine the EVO files of some movies which cannot be successfully combined with the current version of EvoDemux because the timestamps of the 2nd EVO file are "strange". So I've written a little tool which corrects the timestamps of the 2nd EVO file. After running this tool, EvoDemux can successfully join the EVO files.

http://madshi.net/OffsetPTS.zip

OffsetPTS v1.0, freeware by madshi.net
Offsets the time stamps in an evo/vob file.

Usage:
(1) OffsetPTS some.evo offset
(2) OffsetPTS some1.evo some2.evo

If you enter two files, OffsetPTS will adjust the time stamps of the 2nd file
so that it begins where the first file ends.
The tool seems to work fine for me. Tested on Rambo First Blood and The Fugitive. But still: Use it at your own risk... :)

kkeller20
16th July 2007, 19:16
Madshi, thanks for the program. I had a problem with the HD DVD version of Planet Earth since the EVOs are named diffferently, PEVOB001.EVO, PEVOB002.EVO, etc, where B001 is one episode, B002 and B003 are another, and B004 is the 3rd.

I was having a lot of problems joining B002 and B003 with EVODemux even though I edited the disc structure but your program made it easy.

madshi
16th July 2007, 19:35
Madshi, thanks for the program. I had a problem with the HD DVD version of Planet Earth since the EVOs are named diffferently, PEVOB001.EVO, PEVOB002.EVO, etc, where B001 is one episode, B002 and B003 are another, and B004 is the 3rd.

I was having a lot of problems joining B002 and B003 with EVODemux even though I edited the disc structure but your program made it easy.
Thanks for the feedback! :) Glad to be of service. But my thanks also go (once again) to Pelican. My little tool would be of little use without his very nice EvoDemux... :)

Schmendrick
16th July 2007, 21:13
The offset value which can be entered in case just a single evo-file is given is based on the 90 kHz-PTS clock so 1/90th of a millisecond.

Does offsetPTS also can be used for bluray m2ts files? as this is also packaged with 192 byte ts-packets?

It would be very useful if offsetPTS could also be used to concetenate ts-file-clips of AVC/H264-AC3-satellite recordings.

madshi
16th July 2007, 22:10
Does offsetPTS also can be used for bluray m2ts files? as this is also packaged with 192 byte ts-packets?
No, it's strictly only for PS (VOB/EVO) files at this point in time. I don't even know how TS/M2TS files work internally, so I don't know how to change timecodes there. What exactly would you need that for, anyway? To remove ads? Have you tried the "H264 Cutter"? I think it can already rewrite timecodes.

dmz01
19th July 2007, 19:54
No, it's strictly only for PS (VOB/EVO) files at this point in time. I don't even know how TS/M2TS files work internally, so I don't know how to change timecodes there. What exactly would you need that for, anyway? To remove ads? Have you tried the "H264 Cutter"? I think it can already rewrite timecodes.

Madshi, PM me if you want to add support for TS/M2TS files. Remember that ISO 138181-1 covers both PS and TS. and the PES headers are exactly the same in both. :)

madshi
19th July 2007, 21:32
Madshi, PM me if you want to add support for TS/M2TS files. Remember that ISO 138181-1 covers both PS and TS. and the PES headers are exactly the same in both. :)
Oh, that's cool - didn't know that! Will PM you - thanks!

ByeByeBluRay
19th July 2007, 23:44
Great job, madshi. My previously unseekable evo of The Fugitive now works perfectly :-)

Perhaps your timestamp fix technique could be built into Evodemux, so it does it automatically when needed?

madshi
20th July 2007, 08:32
Perhaps your timestamp fix technique could be built into Evodemux, so it does it automatically when needed?
That's Pelican's decision, of course! The source code of OffsetPTS is contained in the zip. And I've no objection whatsoever to have it included in EvoDemux. Actually I'd like that cause it should save a processing step if it's done on the fly during "rebuild".

honai
20th July 2007, 16:14
Hm, doesn't "Adjust PTS of the EVOs to follow" in EVOdemux do the same?

madshi
20th July 2007, 16:20
Hm, doesn't "Adjust PTS of the EVOs to follow" in EVOdemux do the same?
I've no idea!! :eek: How long has that been there!? Never noticed that...

honai
20th July 2007, 16:39
If I remember correctly Pelican9 mentioned the option in this thread a few pages ago.

It's not checked by default, that's why people seem to run into those time timestamp problems ...

madshi
20th July 2007, 17:13
If I remember correctly Pelican9 mentioned the option in this thread a few pages ago.

It's not checked by default, that's why people seem to run into those time timestamp problems ...
Hmmmm, just did a search for "follow" and didn't find any posts from Pelican.

@Pelican, are you listening? What exactly does that EvoDemux option do? Did I write OffsetPTS in vain? :(

Pelican9
20th July 2007, 18:59
Hm, doesn't "Adjust PTS of the EVOs to follow" in EVOdemux do the same?
Yes, that option will do the same, but it has not finished yet.

Hmmmm, just did a search for "follow" and didn't find any posts from Pelican.

@Pelican, are you listening? What exactly does that EvoDemux option do? Did I write OffsetPTS in vain? :(

Yes, I'm here now. Sorry guys, I have no time at all, but I will work on my three sws after the next week.

honai
20th July 2007, 19:21
that option will do the same, but it has not finished yet.

Does that mean it's erroneous, or that it doesn't do anything yet?

Pelican9
20th July 2007, 20:53
It doesn't do anything until not finished.

madshi
23rd July 2007, 09:43
It doesn't do anything until not finished.
Ah ok, then OffsetPTS was not in vain, at least for a while... :)

steefler
23rd July 2007, 15:31
hi,

Anyone here know an utility to mux h.264 & ac3 streams to an evo file ?

thx !

d0ORk
27th July 2007, 21:31
I got a problem with the framerate...
I got a movie that is 1h, 17min and 7seconds long = 4627 seconds.
4627 * 23.976fps = 110937

And the avs looks like this:

DirectShowSource ("q:\test\PEVOB_1_MERGED.VC-1.s0.vc1",video=true,audio=false,fps=23.976,framecount=110937)
LanczosResize(1280,720)
ConvertToYV12 ()

But that is way to short, it's about 1/4 of the movie.
Could someone help about that?

d0ORk
28th July 2007, 14:45
Q:\tets\test_HDDVD\HVDVD_TS>offsetpts pevob_1.evo pevob_2.evo
Last timestamp in the first source file is 0A195669.
First timestamp in the second source file is 0A195669.
The files already have perfect timestamps.

But it still doesn't work.
When I make an avs file, the movie begins again in the middle... :(

When I open the .vc1 file that Evodemux made, it shows a runtime of over 5h in PowerDVD, but the movie is only 1h 17mins long

Tried many times again, but it just makes the first evo when I open it in MeGui. When the first evo should be over and the second should begin, the first evo just starts again.
When I open the .vc1 that evodemux made, I have the full movie, but PowerDVD shows the wrong runtime with 5h...

In EVODemux it looks like this:

Opening file PEVOB_1.EVO
Reading...
File size: 5059 Mbytes.
VOB number 1 contains 1 video , 5 audio and 5 subpicture streams.
PTM of first video frame = 00000D5D
PTM of last video frame = 0A195669
Duration = 0:31:22.547
VC-1 video stream 0 found!
First PTS = 00000D5D
Substream id = 55
Profile = Advanced
Level = 3
Chroma Format = 4:2:0
Size = 1920x1080
Display size = 1920x1080
Aspect ratio = 1:1 (square samples)
Frame Rate = 23,976 (24000/1001)
Dolby Digital Plus audio stream 4 found!
First PTS = 00000D5D
Substream id = C4
Stream 4 is Dolby Digital Plus
frame size = 1280 bytes, number of blocks per frame = 3
Sampling frequency = 48 kHz
Transmission bitrate = 640 kbit/s
Channel arrangement = L + R + C + Ls + Rs, bsid = 16
LFE channel = present
Dolby Digital Plus audio stream 3 found!
First PTS = 00000D5D
Substream id = C3
Stream 3 is Dolby Digital Plus
frame size = 1280 bytes, number of blocks per frame = 3
Sampling frequency = 48 kHz
Transmission bitrate = 640 kbit/s
Channel arrangement = L + R + C + Ls + Rs, bsid = 16
LFE channel = present
Dolby Digital Plus audio stream 2 found!
First PTS = 00000D5D
Substream id = C2
Stream 2 is Dolby Digital Plus
frame size = 1280 bytes, number of blocks per frame = 3
Sampling frequency = 48 kHz
Transmission bitrate = 640 kbit/s
Channel arrangement = L + R + C + Ls + Rs, bsid = 16
LFE channel = present
Dolby Digital Plus audio stream 1 found!
First PTS = 00000D5D
Substream id = C1
Stream 1 is Dolby Digital Plus
frame size = 768 bytes, number of blocks per frame = 6
Sampling frequency = 48 kHz
Transmission bitrate = 192 kbit/s
Channel arrangement = L + R, bsid = 16
LFE channel = not present
Dolby Digital Plus audio stream 0 found!
First PTS = 00000D5D
Substream id = C0
Stream 0 is Dolby Digital Plus
frame size = 1280 bytes, number of blocks per frame = 3
Sampling frequency = 48 kHz
Transmission bitrate = 640 kbit/s
Channel arrangement = L + R + C + Ls + Rs, bsid = 16
LFE channel = present
Subpicture stream 4 found!
First PTS = 00503DAF (+58391ms)
Substream id = 24
Format = 8bitRLE
Subpicture stream 3 found!
First PTS = 00503DAF (+58391ms)
Substream id = 23
Format = 8bitRLE
Subpicture stream 2 found!
First PTS = 00503DAF (+58391ms)
Substream id = 22
Format = 8bitRLE
Subpicture stream 1 found!
First PTS = 0082D41F (+95228ms)
Substream id = 21
Format = 8bitRLE
Subpicture stream 0 found!
First PTS = 009A1B33 (+112178ms)
Substream id = 20
Format = 8bitRLE
.
Opening file PEVOB_2.EVO
Reading...
File size: 6984 Mbytes.
VOB number 2 contains 1 video , 5 audio and 5 subpicture streams.
PTM of first video frame = 0A195669
PTM of last video frame = 18D8AB76
Duration = 0:45:49.113
VC-1 video stream 0 found!
First PTS = 0A1973BC (+1882630ms)
Substream id = 55
Profile = Advanced
Level = 3
Chroma Format = 4:2:0
Size = 1920x1080
Display size = 1920x1080
Aspect ratio = 1:1 (square samples)
Frame Rate = 23,976 (24000/1001)
Dolby Digital Plus audio stream 4 found!
First PTS = 0A192DDD (+1882432ms)
Substream id = C4
Stream 4 is Dolby Digital Plus
frame size = 1280 bytes, number of blocks per frame = 3
Sampling frequency = 48 kHz
Transmission bitrate = 640 kbit/s
Channel arrangement = L + R + C + Ls + Rs, bsid = 16
LFE channel = present
Dolby Digital Plus audio stream 3 found!
First PTS = 0A192DDD (+1882432ms)
Substream id = C3
Stream 3 is Dolby Digital Plus
frame size = 1280 bytes, number of blocks per frame = 3
Sampling frequency = 48 kHz
Transmission bitrate = 640 kbit/s
Channel arrangement = L + R + C + Ls + Rs, bsid = 16
LFE channel = present
Dolby Digital Plus audio stream 2 found!
First PTS = 0A192DDD (+1882432ms)
Substream id = C2
Stream 2 is Dolby Digital Plus
frame size = 1280 bytes, number of blocks per frame = 3
Sampling frequency = 48 kHz
Transmission bitrate = 640 kbit/s
Channel arrangement = L + R + C + Ls + Rs, bsid = 16
LFE channel = present
Dolby Digital Plus audio stream 0 found!
First PTS = 0A192DDD (+1882432ms)
Substream id = C0
Stream 0 is Dolby Digital Plus
frame size = 1280 bytes, number of blocks per frame = 3
Sampling frequency = 48 kHz
Transmission bitrate = 640 kbit/s
Channel arrangement = L + R + C + Ls + Rs, bsid = 16
LFE channel = present
Dolby Digital Plus audio stream 1 found!
First PTS = 0A19445D (+1882496ms)
Substream id = C1
Stream 1 is Dolby Digital Plus
frame size = 768 bytes, number of blocks per frame = 6
Sampling frequency = 48 kHz
Transmission bitrate = 192 kbit/s
Channel arrangement = L + R, bsid = 16
LFE channel = not present
Subpicture stream 3 found!
First PTS = 0A1A1219 (+1883081ms)
Substream id = 23
Format = 8bitRLE
Subpicture stream 4 found!
First PTS = 0A1A354A (+1883181ms)
Substream id = 24
Format = 8bitRLE
Subpicture stream 2 found!
First PTS = 0A1A354A (+1883181ms)
Substream id = 22
Format = 8bitRLE
Subpicture stream 1 found!
First PTS = 0A1A354A (+1883181ms)
Substream id = 21
Format = 8bitRLE
Subpicture stream 0 found!
First PTS = 0A1A354A (+1883181ms)
Substream id = 20
Format = 8bitRLE
Done.

111101 counted frames (1:17:13.838) in video stream 0.
111049 calculated frames in video stream 0.


OffsetPTS says everything is perfect

Mangekyou_S
31st July 2007, 14:40
Haven't had the time to read the entire thread, but has anyone else encountered audio/video sync problems between the demuxed audio file (from the EVO) and the rebuilt EVO video file?

The problem persists after I converted the file with x264 (in MeGUI). The audio is in sync in the beginning but starts to become out of sync partway into the film.

It's not an issue with lengths either. Both the audio and the video are exactly the same length, but yet there is still a syncing problem. This occurs whether I use the original DD+ track or the converted AC3 track (using eac3to; incidentally I converted the track to DTS also but that track seems even more out of sync).

Anyone know what might be causing this? And any way to fix it?

EDIT: NVM. Found the solution in another thread. The problem is due to the Sonic Video Decoder. Switched to Haali --> WMV Decoder DMO and things work flawlessly now. Just have to wait 10 hours to reencode the video. XD

xxx666yyy777
31st July 2007, 15:27
I have opened the first EVOB from Happy Feet in EVODemux 0627 and get the results shown below. My concern is the extremely high audio delay shown - is this correct? Any ideas?

Thanks a lot!

ACrowley
31st July 2007, 16:07
Q:\tets\test_HDDVD\HVDVD_TS>offsetpts pevob_1.evo pevob_2.evo
Last timestamp in the first source file is 0A195669.
First timestamp in the second source file is 0A195669.
The files already have perfect timestamps.

But it still doesn't work.
When I make an avs file, the movie begins again in the middle... :(

When I open the .vc1 file that Evodemux made, it shows a runtime of over 5h in PowerDVD, but the movie is only 1h 17mins long

Tried many times again, but it just makes the first evo when I open it in MeGui. When the first evo should be over and the second should begin, the first evo just starts again.
When I open the .vc1 that evodemux made, I have the full movie, but PowerDVD shows the wrong runtime with 5h...



You know that you cant seek the grf with SonicVideodecoder?
Its normal and no Problem for encoding when you use the Framcountvalue

When you want to seek you have to remux VC1 into mkv first.

1.mux evo into mkv with gdsmux (from Haali)
2.remux mkv with mkvmerge and 23.976 Timecode

Also i noticed a many Times that Cyberlink shows wrong runtime on demuxed vc1...i dont care about

Encoding is always fine....

d0ORk
31st July 2007, 19:51
What filters do you use?
Or do you just make an avs with DirectShowSource ("q:\test\test.vc1") ?

Pelican9
31st July 2007, 20:01
I'm working on VTI reading in EVOdemux.
You can check this function in latest beta.

d0ORk
31st July 2007, 20:28
i'm using 0.627b2.
I never get it sync
not even the departed trailer evo :(

d0ORk
1st August 2007, 09:49
maybe there's something wrong with my filters.
when I try
File async (blabla.ts) -> Elecard Mpeg2 Demultiplexer -> MainConcept H264/AVC Decoder

I'm getting : These Filters cannot agree on a connection...

A filterpack would be useful. Just the .ax and the .dll's if needed :)

d0ORk
1st August 2007, 10:00
maybe there's something wrong with my filters.
when I try
File async (blabla.ts) -> Elecard Mpeg2 Demultiplexer -> MainConcept H264/AVC Decoder

I'm getting : These Filters cannot agree on a connection...

A filterpack would be useful. Just the .ax and the .dll's if needed :)

ACrowley
2nd August 2007, 11:43
Dont use mainconcept H264/AVC Decoder on Bluray/HDDVD H264

I made A few encodes with the SonicH264/AVC Decoder ,which is a newer Buld from the Maincincept SDKs..
i had always Problems

Use ffdshow/DGAVC ,or better SonicCinemasterVideoDecoder 4.2 or on Problematic Streams Cyberlinks Decoder

Demux the EVO with Evodemux
Create a grf on the demuxed .264

Filesource(Async)-SonicHDDemuxer-SonicCinemasterVideoDecoder

And as i say, when the grf outputs 29.976 fps use fps=23.976,Framecount=xxxxxx

Nikos
7th August 2007, 17:03
I have:
a. The SonicCinemasterVideoDecoder 4.2 (.DLL) and SonicHDDemuxer 4.2 (.DLL) from Sonic Cineplayer 4.2 package.

b. The sonicmpgdmx.ax, SonicVC1vd.ax and sonicavcvd.ax filters from CineVision 2.0.2 Beta package.

Which of the above is preferable for decoding vc1 or AVC/h264 video through graphedit/avisynth?

The SonicVC1vd.ax give me an option in graphedit to output in YV12. I must use it or i must convert to YV12 in avisynth?

Momber
7th August 2007, 23:55
EVOdemux 0.627b4 doesn't continue with the second EVO, although the option is checked. It neither reads it, nor attempts to rebuild it but instead stops after the first EVO.

S.

Nikos
8th August 2007, 06:13
Rename the two .evo files to Feature_1.evo and Feature_2.evo.

Pelican9
8th August 2007, 10:17
EVOdemux 0.627b4 doesn't continue with the second EVO, although the option is checked. It neither reads it, nor attempts to rebuild it but instead stops after the first EVO.

S.

What are the file names?

Momber
8th August 2007, 15:04
What are the file names?
L0_mainMovie.EVO and L1_mainMovie.EVO.
I went back to 0.625b (the only older version I have archived) and it immediately worked, without changing anything.
However, it didn't actually rebuild the EVO's PTS. Then I did a copy /b and let 0.627b4 rebuild the merged EVO and it also failed to rebuild the PTS. The rebuilt EVO is playable, but I cannot seek in the timeline (PowerDVD 7.3 Ultra).
The HD-DVD is Terminator 2 Director's Cut (French release).

S.

madshi
8th August 2007, 15:30
L0_mainMovie.EVO and L1_mainMovie.EVO.
I went back to 0.625b (the only older version I have archived) and it immediately worked, without changing anything.
However, it didn't actually rebuild the EVO's PTS. Then I did a copy /b and let 0.627b4 rebuild the merged EVO and it also failed to rebuild the PTS. The rebuilt EVO is playable, but I cannot seek in the timeline (PowerDVD 7.3 Ultra).
The HD-DVD is Terminator 2 Director's Cut (French release).
Hey you!! :)

You need to rename the files to FEATURE_1.EVO and FEATURE_2.EVO, like Nicos said. Furthermore, before running EvoDemux, you need to adjust the PTS of the 2nd EVO by running my little tool "OffsetPTS", which you can download here:

http://forum.doom9.org/showpost.php?p=1024365&postcount=1671

Afterwards you can join the EVOs with EvoDemux and seeking should work fine. "OffsetPTS" is necessary for almost every HD DVD which comes from a European studio or distributor (e.g. Studio Canal).

Momber
8th August 2007, 16:35
Hey madshi! So you are alive after all :)

Thanks for your suggestions - I will try them asap.
Just wondering why it wasn't necessary to rename the EVOs in previous versions... seems like the development of EVOdemux is going backwards, no?

S.

madshi
8th August 2007, 16:51
Hey madshi! So you are alive after all :)
More or less... :)

Just wondering why it wasn't necessary to rename the EVOs in previous versions... seems like the development of EVOdemux is going backwards, no?
Well, I don't see it as that much of a problem, if I have to rename two files... :p

onlym3
8th August 2007, 17:55
I've been reading this thread to learn how to encode Blurays HDDVDs to x264. For VC1 the recommended way seems to be: FEATURE.EVO (Haali Media Splitter) -> WMVideo Decoder DMO
However i got a Bluray with VC1, so no .evo . After demuxing with xport i got an mpa and mpv file. Is there any way to build an .evo from them? Or another way to use the above mentioned method with Haali and WMVideo?
Thanks

Pelican9
8th August 2007, 17:59
seems like the development of EVOdemux is going backwards, no?

Thanks!
That was a bug (I've rewritten the next evo find part of the program to handle more than two files).
b5 works fine, but still doesn't offset the wrong PTSs.

Madshi:
Is your OffsetPTS handle the DSI packets?
I mean change them or not?

madshi
8th August 2007, 19:14
Is your OffsetPTS handle the DSI packets?
I mean change them or not?
That is the packet where you're getting the "first/last video PTS" information from, right? Yes, I'm changing these, too. These, and of course the PTS/DTS of every audio/video/subtitle packet.

Momber
8th August 2007, 19:37
Well, I did like you said (renamed, re-worked evo2 with Offsetpts, rebuilt with EVOdemux) but the rebuilt EVO stops at the point where the EVOs were joined. PowerDVD simply stops playback, the last frame of evo1 is frozen on the screen like a wallpaper.

S.

dmz01
8th August 2007, 19:55
Well, I did like you said (renamed, re-worked evo2 with Offsetpts, rebuilt with EVOdemux) but the rebuilt EVO stops at the point where the EVOs were joined. PowerDVD simply stops playback, the last frame of evo1 is frozen on the screen like a wallpaper.

S.

This is due to the "sequence_end_code" (for MPEG2) "end_of_stream_rbsp" (for H264) or "End-of-Sequence" (for VC1) being present at the end of the first EVO file. This has to be removed prior to joining the two files. Pelican9 or Madshi - you have access to TsRemux sources. See how I do it there. :)

dmz

Momber
8th August 2007, 20:07
Seems if we threw TSRemux, EVOdemux and OffsetPTS into one big pot and simmered it for a while, we'd have one heck of a useful software on our hands :)
[hint, hint,...]

Ciao
S.

Pelican9
8th August 2007, 20:22
I've just finished the PTS adjusting function during Rebuild.
But before I upload it I want to fix this end-of-... problem.

madshi:
Thanks!

dmz:
It could be more comfortable for me if you write here these end-codes.
Or insert here the right part of your source code, you can find it faster than me.
Anyway, where can I find the source code?

Momber:
If this new version has finished, you don't need the OffsetPTS anymore. :)

madshi
8th August 2007, 21:02
This is due to the "sequence_end_code" (for MPEG2) "end_of_stream_rbsp" (for H264) or "End-of-Sequence" (for VC1) being present at the end of the first EVO file.
That's interesting! I've never had any problems with joined EVOs yet. But I'm not playing them, I'm always muxing them to MKV. Maybe that's why it works for me. Anyway, having the "End-of-Sequence" removed would be great, of course!

dmz01
8th August 2007, 22:13
dmz:
It could be more comfortable for me if you write here these end-codes.
Or insert here the right part of your source code, you can find it faster than me.


You will have to remove a couple of bytes from the PES packet's data portion and adjust the packet's size if it's not zero.


// checks for end of stream headers
switch (VideoType)
{
case (byte)ElementaryStreamTypes.VIDEO_STREAM_VC1:
for (; i < data.Length; i++)
{
marker <<= 8;
marker |= data[i];
if (marker == Constants.VC1_END_OF_STREAM)
break;
}
if (i < data.Length)
{
// we have an end of stream marker
i -= 3;
PesPacket pnew = new PesPacket(data, 0, i, pp.PID);
i += 4;
pnew.AddData(data, i, data.Length - i);
pp = pnew;
ph = pp.GetHeader();
data = pp.GetData();
}
break;
case (byte)ElementaryStreamTypes.VIDEO_STREAM_MPEG2:
for (; i < data.Length; i++)
{
marker <<= 8;
marker |= data[i];
if (marker == Constants.MPEG2_SEQ_END)
break;
}
if (i < data.Length)
{
// we have an end of stream marker
i -= 3;
PesPacket pnew = new PesPacket(data, 0, i, pp.PID);
i += 4;
pnew.AddData(data, i, data.Length - i);
pp = pnew;
ph = pp.GetHeader();
data = pp.GetData();
}
break;
case (byte)ElementaryStreamTypes.VIDEO_STREAM_H264:
for (; i < data.Length; i++)
{
marker <<= 8;
marker |= data[i];
if ((marker & 0xffffff9f) == Constants.H264_END_OF_STREAM)
break;
}
if (i < data.Length)
{
// we have an end of stream marker
i -= 3;
PesPacket pnew = new PesPacket(data, 0, i, pp.PID);
i += 4;
pnew.AddData(data, i, data.Length - i);
pp = pnew;
ph = pp.GetHeader();
data = pp.GetData();
}
break;
}

public const UInt32 H264_END_OF_STREAM = 0x0000010b;
public const UInt32 VC1_END_OF_STREAM = 0x0000010a;
public const UInt32 MPEG2_SEQ_END = 0x000001b7;


dmz

madshi
8th August 2007, 22:16
Pelican, I think we need to join our forces to convince everybody to use Delphi... :) Just joking, of course! :p

Thanks to dmz01 for sharing your code!

:thanks:

Pelican9
8th August 2007, 23:39
dmz:
Thank you for sharing your code.
Unfortunately I don't understand how it works.
I've checked some VC-1 evo files and many of them contain 0000010a many times inside, but never at the end (or near).

madshi:
One Language to rule them all...

Momber:
Could you try the b6 version with those EVOs?
Thanks in advance.

Momber
9th August 2007, 01:52
Momber:
Could you try the b6 version with those EVOs?
Thanks in advance.
OK, I just did. No joy. Seems the end-of-file marker was not removed. It stops at the exact same frame as before. Only that the playing time for that frame now shows 1hr16min and change, before it was 1hr24min. So something about the PTS-rebuilding also appears to be fishy.

S.

dmz01
9th August 2007, 02:37
dmz:
Thank you for sharing your code.
Unfortunately I don't understand how it works.
I've checked some VC-1 evo files and many of them contain 0000010a many times inside, but never at the end (or near).


The EVO file will contain 0000010a in many places, but never in the VC-1 elementary stream (inside the data portion of the PES packets containing VC-1) except at the end of the stream. No EVO-1 file will contain the end-of... sequence if the PTS clock is continuous in EVO-2, so that's why you don't see it in your cases. The only time you will see the end-of... sequence in EVO-1 is if EVO files do not have continuous PTS and then only in some cases. Regardless, if you look at the end of the last EVO file (EVO-2 as I call it) you might see it there.

Pelican9
9th August 2007, 09:06
It makes sense. Thanks!

Edit:
I've checked all of my second EVOs, but none of them contain end of sequence code.

heat.dll
9th August 2007, 16:58
Is it a must for your PC to view HD DVDs to be able to demux them? I tried to demux one (Interlaced VC-1?) with EVODemux (newest), but I'm getting this error:
http://www.freepicshost.net/public/46ace2284383d525926215.jpg

Anyone know how I can fix it, or is there anything else I could try?

dmz01
9th August 2007, 22:47
I've checked all of my second EVOs, but none of them contain end of sequence code.

Perhaps Momber can help us out. Momber, can you provide a small sample of the end of your EVO-1 file? Say the last 25MB?

Momber
9th August 2007, 23:16
Sure. Hang on.

Momber
9th August 2007, 23:58
OK, here is the last 24 MB of the first EVO as requested. Taken from the original, untouched EVO with HDBDSplitGUI 1.0.0.2.

http://www.sendspace.com/file/yhui3t

Later
S.

Pelican9
10th August 2007, 01:37
Thank you Momber.
It has a VC-1 and a DTS (HD) stream. Is it correct?
It contains '0000010a' two times at d32d22 and at 170be56.
None of them are in the video stream.
What am I doing wrong?

Momber
10th August 2007, 03:02
It has a VC-1 and a DTS (HD) stream. Is it correct?
Yes, that's all there is.

S.

madshi
10th August 2007, 07:10
Maybe it would help to also have the first 25MB of the 2nd EVO? Then Pelican could try to reproduce the freezing problem by joining the two 25MB chunks into one EVO.

Momber
10th August 2007, 14:53
OK, here it is: http://www.sendspace.com/file/u0fsib

S.

Pelican9
10th August 2007, 16:02
I can play the rebuilt evo almost smoothly (only one little freezing (0.1s) occur when the second part starts) with the newest powerdvd (7.3.3104a.), the displayed playing time is invalid (122:22:55)

Momber
10th August 2007, 19:05
I also have the latest PDVD patch installed and it freezes (permanently) at the point of joining.
Then again "only one little freezing (0.1s)" would be inacceptable to me, too. It indicates that something is wrong.

S.

madshi
11th August 2007, 12:54
I also have the latest PDVD patch installed and it freezes (permanently) at the point of joining.
Then again "only one little freezing (0.1s)" would be inacceptable to me, too. It indicates that something is wrong.
There definitely is something strange with these EVOs. When I try to join them and mux them to MKV, the resulting MKV only contains the first EVO. So it really seems as if there's some kind of "end here" flag in the first EVO. I've never encountered this before. All the other European discs I've seen to far (e.g. Rambo I) where I've had to use OffsetPTS, worked just fine and didn't show this problem. Strange.......

Pelican9
11th August 2007, 15:32
There definitely is something strange with these EVOs. When I try to join them and mux them to MKV, the resulting MKV only contains the first EVO. So it really seems as if there's some kind of "end here" flag in the first EVO. I've never encountered this before. All the other European discs I've seen to far (e.g. Rambo I) where I've had to use OffsetPTS, worked just fine and didn't show this problem. Strange.......

Could you try the new PTS adjusting function of evodemux?

tonwon
13th August 2007, 14:23
im new to the whole hd thing so pls excuse me if this is a dumb question. im unable to watch evo or m2ts files in powerdvd ultra, but i can watch m2ts in zoomplayer (no sound). when i try to open a evo file in powerdvd and enable information it shows the audio bitrate but just shows vc1 and no video bitrate, just a black screen. with m2ts it doesnt even open. all i have are the evo files no other one that were on the disk, is this the problem? any help is appreciated, thanks.

madshi
13th August 2007, 15:33
Could you try the new PTS adjusting function of evodemux?
It's the same. The MKV contains only the first EVO file.

Btw, two little things (they're not new in your new build, they've always been that way) :

(1) If the output directory doesn't exist, there's an access violation, as soon as I press "demux" or "rebuild".
(2) It would be very helpful if there was a way to tell EvoDemux to put the demuxed/rebuilt files into the same folder where the source files are. Currently it doesn't seem to be possible. Leaving the output directory edit box empty results in the files being written to the EvoDemux folder. Maybe if the output directory edit box is empty you could write the demuxed/rebuilt files to the source directory? Or maybe if the output directory edit box is "."?

Pelican9
13th August 2007, 15:33
check your video card driver, be sure you use the latest one.
If you use XP and nvidia graphic card it should be work.

Pelican9
13th August 2007, 15:35
It's the same. The MKV contains only the first EVO file.

Btw, two little things (they're not new in your new build, they've always been that way) :

(1) If the output directory doesn't exist, there's an access violation, as soon as I press "demux" or "rebuild".
(2) It would be very helpful if there was a way to tell EvoDemux to put the demuxed/rebuilt files into the same folder where the source files are. Currently it doesn't seem to be possible. Leaving the output directory edit box empty results in the files being written to the EvoDemux folder. Maybe if the output directory edit box is empty you could write the demuxed/rebuilt files to the source directory? Or maybe if the output directory edit box is "."?

It works for me definitely that way as you described. If I leave the output dir empty, the files written to the folder of the source file.

tonwon
13th August 2007, 15:40
check your video card driver, be sure you use the latest one.
If you use XP and nvidia graphic card it should be work.
if that was to me, i have ati 2600 pro latest drivers and up to date powerdvd.

Pelican9
13th August 2007, 17:51
if that was to me, i have ati 2600 pro latest drivers and up to date powerdvd.

I don't know the ati cards but I've heard a lot of trouble about HD playing in powerdvd with those cards.

tonwon
13th August 2007, 17:56
forgot to add; that i can watch vc1 and mpv files. it just when i play evo it plays audio but no video. if i use evodemux and get mpv it plays perfect but of course no audio. if i deumux and remux i get audio and no video. so thats where i stand. but plays vc1 and mpv perfect with no audio track.

onlym3
21st August 2007, 09:39
Could you try the new PTS adjusting function of evodemux?I tested that, its not working for me. When i adjust an Evo with OffsetPTS and then have evodemux rebuild it everything is fine. When i let evodemux adjust the PTS the rebuilt evo is not working. When i build a graph to open it with vdub or megui all i get is grey. A graph with a rebuilt evo that has been adjusted with OffsetPTS works fine though, so i must be the PTS adjusting routine in evodemux that isnt working.

Pelican9
21st August 2007, 09:51
Thanks.

Snowknight26
22nd August 2007, 04:18
The help string for Rebuild ADV_PCKs is "Rebuild the adcanced packs".

Also, one of the audio tracks on an EVO I have shows up as DD+ when its only DD 5.1. A quick check with eac3to shows that it is indeed DD, not DD+.


Dolby Digital Plus audio stream 0 found!
First PTS = 00001603
Substream id = C0
Stream 0 is Dolby Digital


Video/Audio tab shows DD+.stream.00, shouldn't it be DD.stream.00?

onlym3
22nd August 2007, 12:30
I got a strange problem: When i use a graph Haali Media Splitter -> WMO Video Decoder on an .evo and then add the .grf as directshow source in an .avs and open the .avs with vdub or megui i get this:

URL=http://www.directupload.com/]http://www.directupload.com/files/c1jyy1ymjzzyqu3jkwnm.bmp[/URL]

The same procedure works fine with other EVOs, this is the only one that gives me green all over the picture.
Anyone have an idea what the problem could be?

Rectal Prolapse
22nd August 2007, 22:23
It's probable (actually very likely) that Haali Media Splitter just can't play back some .EVO files properly.

onlym3
23rd August 2007, 12:13
Question regarding xport: Is it possible to demux audio only?

drmpeg
23rd August 2007, 13:36
Question regarding xport: Is it possible to demux audio only?
Only if the audio is Blu-ray LPCM. However, this request comes up pretty often, so it's probably time to add this feature. I'll have something later today (Silicon Valley time).

Ron

madshi
23rd August 2007, 13:48
@Ron, you said earlier than Blu-Ray discs shouldn't have discontinuities. But xport reports them on almost any Blu-Ray disc I tried it on. Does that make any sense to you?

Another question: Do you happen to have access to Casino Royale? I've tried to extract the LPCM track with xport, but it comes out too short (1,5 hours only).

honai
23rd August 2007, 16:47
I've extracted the LPCM track from Casino Royale, no problems. Did you check disk usage? ;)

madshi
23rd August 2007, 17:10
I've extracted the LPCM track from Casino Royale, no problems. Did you check disk usage? ;)
Might have been my fault. I think I forgot the TsRemux pass. Will retry.

madshi
24th August 2007, 09:48
P.S: The Casino Royale problem was my fault. xport works perfectly fine. However, I do get discontinuity warnings with virtually any Blu-Ray I throw at xport.

honai
24th August 2007, 17:12
Same here, but so far I didn't notice any actual stream errors during playback.

sl1pkn07
30th August 2007, 12:57
is possible compiling evodemux for linux?

ACrowley
1st September 2007, 14:12
I've extracted the LPCM track from Casino Royale, no problems. Did you check disk usage? ;)


yes..no Problmes here too with with US or EU Version.

onlym3
1st September 2007, 15:06
Has anyone ripped a Blu-Ray with seemless branching (if there are any yet)? I wonder how it would work. Would the different scenes be on the disc as separate files or integrated into the main m2ts?

DreckSoft
2nd September 2007, 14:59
I don't think there are any discs out there using seamless branching. Even on DVD there where only a handfull of releases.

tomos
2nd September 2007, 16:23
alien versus predator does i believe - on BD.

3ngel
3rd September 2007, 20:10
Yes, i confirm AVP in that way.

I have two questions on EvoDemux:

- What is "Adjust PTS of the EVOs to follow"?
- Can i join two EVOs and demux 1 joined .mpv?

drmpeg
7th September 2007, 03:04
Question regarding xport: Is it possible to demux audio only?
Sorry for the long delay. I was just a little too busy with work related activities. I've updated xport to version 0.98 for audio only demuxing.

http://www.w6rz.net/xport.zip

Audio only demuxing is accomplished by setting the video channel to zero. Like so:

xport clip.ts 1 0 1

Ron

drmpeg
7th September 2007, 03:08
@Ron, you said earlier than Blu-Ray discs shouldn't have discontinuities. But xport reports them on almost any Blu-Ray disc I tried it on. Does that make any sense to you?
Are you combining all the .m2ts files into one giant .m2ts before demuxing? If yes, then the discontinuities are probably at the concatenation points.

Ron

madshi
7th September 2007, 07:31
Are you combining all the .m2ts files into one giant .m2ts before demuxing? If yes, then the discontinuities are probably at the concatenation points.
I believe I have discontinuities for non-seamless-branching movies, too, but I'm only 95% sure right now. I'll double check that next time.

maya
7th September 2007, 19:17
After I have used orbitlee's DTScore application to get the DTS core out of a DTS HD track on a blu ray rip, how do I put that DTS audio back into the .M2TS movie file? I am using TSremux to strip out the DTS HD stream initially. Any help would be greatly appreciated.

tvjunky
8th September 2007, 12:20
Sorry, wrong thread. Please delete.

juzzy999
15th September 2007, 03:00
Actually, i got it. I needed to get nero/blu-ray/hd-dvd plugin.. All good!!!

madshi
15th September 2007, 08:53
Ive successfully encoded the video from an .evo to a mkv/avi file using megui, but i cant re-encode the audio.

Using evodemux demuxes the audio to a mpa file, which is fine.
Then i rename it to a .ddp

Im using eac3to to convert it, it wont work. I've used about 15-20 programs to convert it, and still no luck.

How do i successfully convert the demuxed mpa/ddp file to a commonly readable audio track like mp3/wav?


PS: Im trying to convert the original .evo with video and audio to a 10-15gb avi or wmv file to watch on the pc via media player or something simple like that.. WHY IS THIS SO HARD?
Please ask this question in the eac3to thread and post there the full eac3to output text.

idbirch2
19th September 2007, 16:23
Are you combining all the .m2ts files into one giant .m2ts before demuxing? If yes, then the discontinuities are probably at the concatenation points. Is there a good way to merge m2ts files yet? EVODemux does a great job of merging .evo files into one file for easy editing\re-encoding but I can't find any way of doing the same with m2ts. I know of the copy /b method but this is shoddy at best.

madshi
19th September 2007, 22:55
Is there a good way to merge m2ts files yet? EVODemux does a great job of merging .evo files into one file for easy editing\re-encoding but I can't find any way of doing the same with m2ts. I know of the copy /b method but this is shoddy at best.
TsRemux can join m2ts files just fine.

nowhere2007
19th September 2007, 23:27
TsRemux can join m2ts files just fine.

It can? That's a feature I wasn't aware of. How do you enable/use it?

idbirch2
19th September 2007, 23:31
Yeah, I wasn't aware of that either. I have 0.0.18 which as far as I'm aware is the latest version. If I open an m2ts file that is part of a set, with sequential filenames, TSRemux only displays the video length of the single file I have opened. I would expect to see the total film duration if it was going to merge the files. What am I missing?

madshi
20th September 2007, 08:07
You copy those m2ts files together with "copy source1.m2ts+source2.m2ts final.m2ts /b". And then you run TsRemux over the result to rewrite the timestamps and remove the "sequence end of code" chunks.

ByeByeBluRay
20th September 2007, 10:16
You copy those m2ts files together with "copy source1.m2ts+source2.m2ts final.m2ts /b". And then you run TsRemux over the result to rewrite the timestamps and remove the "sequence end of code" chunks.

Doesn't work for me. When I play the final movie it goes into high speed for a few seconds after the join.

I also find that the playback time values as displayed in PowerDVD are wrong (up to 50% too high) in any m2ts that has been through TsRemux.

madshi
22nd September 2007, 15:44
Doesn't work for me. When I play the final movie it goes into high speed for a few seconds after the join.
Strange, it worked for me everytime. I only own a few Blu-Rays movies yet, though.

ByeByeBluRay
24th September 2007, 14:54
Strange, it worked for me everytime. I only own a few Blu-Rays movies yet, though.

I found a solution yesterday. I have to put all the pieces through TSRemux, join them with the copy / b and then run the completed file through TSRemux again.

This fixes the fast forward issue, but not the time values.

BBBR

maya
2nd October 2007, 03:31
This is the first time I have had this problem, but I ripped Troy the Directors Cut HD DVD and tried to use Evodemux to join the 2 main feature files, but it won't automatically read the second evo file. All it appears I can do is demux the two files separately. Any ideas?

idbirch2
2nd October 2007, 07:06
Rename your two EVOs to FEATURE_1.EVO and FEATURE_2.EVO. Evodemux only seems to recognise this file pattern.

maya
5th October 2007, 17:23
Rename your two EVOs to FEATURE_1.EVO and FEATURE_2.EVO. Evodemux only seems to recognise this file pattern.

Thanks-did the trick.

3ngel
6th October 2007, 18:27
I've found a bug in analyzing.

The video is a H264, NTSC, 1920*1080, Interlaced, but it's analyzed as

H.264 (AVC) video stream 0 found!
First PTS = 0E54B911 (+2671201ms)
Substream id = E2
Profile = High
Level = 4.1
Chroma format = 4:2:0 (l, c) = 8, 8 bit
Size = 1920x536
Aspect ratio = 1:1 (square samples)
Video format = NTSC
Time scale = 0 MHz
Frame rate = 62,467 fps


You can see the size and the FrameRate is uncorrect (i think this errors are related to the Interlaced property of the video).

HD-DVD±RW
8th October 2007, 16:17
Received my first EVOdemux.exe error today. I opened an EVO file for reading and it threw an error (I've attached it for review). All buttons after the error are greyed out. The infomation screen shows this:

.
Opening file EVOB002.EVO
Reading...
File size: 17239 Mbytes.
VOB number 3 contains 1 video and 2 audio streams.
PTM of first video frame = 0000184D
PTM of last video frame = 27E01F7A
Duration = 2:03:53.259
VC-1 video stream 0 found!
First PTS = 0000184D
Substream id = 55
Profile = Advanced
Level = 3
Chroma Format = 4:2:0
Size = 1280x1080
Display size = 1920x1080
Aspect ratio = 2:1
Frame Rate = 23.976 (24000/1001)
Dolby Digital Plus audio stream 1 found!
First PTS = 0000184D
Substream id = C1
Stream 1 is Dolby Digital
Sampling frequency = 48 kHz
Transmission bitrate = 192 kbit/s
Channel arrangement = L + R, bsid = 8, bsmod =0
Dolby Digital Plus audio stream 0 found!
First PTS = 0000184D
Substream id = C0
Stream 0 is Dolby Digital
Sampling frequency = 48 kHz
Transmission bitrate = 192 kbit/s
Channel arrangement = L + R, bsid = 8, bsmod =0
H.264 (AVC) video stream 1 found!
First PTS = 00034D6F (+2335ms)
Substream id = E3
Profile = Unknown
Level = 3.1


MediaInfo reports this:


General #0
Complete name : C:\movie\EVOB002.EVO
Format : MPEG-2 Program
Format/Family : MPEG-2
File size : 16.8 GiB
PlayTime : 2h 3mn
Bit rate : 19 Mbps

Video #0
Codec : VC-1
PlayTime : 2h 3mn
Bit rate : 19 Mbps
Width : 1280 pixels
Height : 1080 pixels
Aspect ratio : 1.185
PixelAspectRatio : 2.000

Audio #0
Codec : AC3
PlayTime : 2h 3mn
Bit rate : 192 Kbps
Bit rate mode : CBR
Channel(s) : 2 channels
Channel positions : L R
Sampling rate : 48 KHz

Audio #1
Codec : AC3
PlayTime : 2h 2mn
Bit rate : 192 Kbps
Bit rate mode : CBR
Channel(s) : 2 channels
Channel positions : L R
Sampling rate : 48 KHz


Let me know if I can help further in analyzing this problem.

calinb
10th October 2007, 18:39
Originally Posted by idbirch2 View Post
Rename your two EVOs to FEATURE_1.EVO and FEATURE_2.EVO. Evodemux only seems to recognise this file pattern.

Thanks-did the trick.Yeah--until it gets to FEATURE_10.EVO (or PEVOB_10.EVO) and quits. :(

Swede
15th October 2007, 21:48
Received my first EVOdemux.exe error today. I opened an EVO file for reading and it threw an error (I've attached it for review). All buttons after the error are greyed out.
Just uncheck 'Detailed info' for that Debbie Does Dallas-disk. ;)

sk11vengeance
16th October 2007, 05:04
Hi, im having trouble converting DTS-HD from a m2ts file to wav. Ive tried using xport from the m2ts file, then sox, then messing around in wavewizard. If I do it in that order, no matter what options i specify in xport and sox, wavewiz doesnt recognize the wav. If I split them up using tranzcode wavwiz recognizes them but I still get static, just like when I have the full wav file from converting it from .raw in sox. The most I know about the audio is its DTS-HD 5.1 48hkz (powerdvd) so ive tried those and all other format options from 2ch to 6ch and 16 to 32bit in sox for the wav. Ive also used tsremux to cut the file short so it doesnt take as long, I only want part of it which is at the very end anyway, and played around with that 195mb raw file which tsremux said was about 5.54mins worth. when I use sox on that file with options 48khz 6ch 16bit the wav length is 5.56 which is about as close as I can get it which hopefuly tells me im close but I dont know for sure. Another weird thing is wavwiz will recognize the file if I sox it to 96000khz 2ch 16bit but all I hear is static still no matter what I do.

Anyway Ive spent days on this trying to get it to work and trying this and that but I just cant figure out whats wrong. Any ideas? :confused:

madshi
16th October 2007, 08:23
Hi, im having trouble converting DTS-HD from a m2ts file to wav. Ive tried using xport from the m2ts file, then sox, then messing around in wavewizard. If I do it in that order, no matter what options i specify in xport and sox, wavewiz doesnt recognize the wav. If I split them up using tranzcode wavwiz recognizes them but I still get static, just like when I have the full wav file from converting it from .raw in sox. The most I know about the audio is its DTS-HD 5.1 48hkz (powerdvd) so ive tried those and all other format options from 2ch to 6ch and 16 to 32bit in sox for the wav. Ive also used tsremux to cut the file short so it doesnt take as long, I only want part of it which is at the very end anyway, and played around with that 195mb raw file which tsremux said was about 5.54mins worth. when I use sox on that file with options 48khz 6ch 16bit the wav length is 5.56 which is about as close as I can get it which hopefuly tells me im close but I dont know for sure. Another weird thing is wavwiz will recognize the file if I sox it to 96000khz 2ch 16bit but all I hear is static still no matter what I do.

Anyway Ive spent days on this trying to get it to work and trying this and that but I just cant figure out whats wrong. Any ideas? :confused:
xport does only *demux* the audio, it doesn't *decode* it. That means the file you get from xport is still DTS-HD. Sox cannot handle DTS-HD. It doesn't have a DTS-HD decoder built in.

You can use the "eac3to" tool to convert the DTS-HD track (which you demuxed with xport) to WAV, AC3, DTS or FLAC.

sk11vengeance
17th October 2007, 04:49
xport does only *demux* the audio, it doesn't *decode* it. That means the file you get from xport is still DTS-HD. Sox cannot handle DTS-HD. It doesn't have a DTS-HD decoder built in.

You can use the "eac3to" tool to convert the DTS-HD track (which you demuxed with xport) to WAV, AC3, DTS or FLAC.


Thanks for that info. I was beginning to think that. About the eac3to tool, Ive downloaded that now and try to decode the file but it says it needs:

For decoding DTS-HD files you need these filters:
(1) "Sonic HD Demuxer"
(2) "Sonic Cinemaster Audio Decoder 4.3"
(3) "Dump" filter

Ive been on the sonic.com website trying to figure out which programs include these things so I can purchase but its hard to figure out. Lastly what is the Dump filter? Is that included in the Sonic software stuff? Thanks.

Edit: Ive figured out the command lines in eac3to, its outputting a file but I dont know why im still hearing static. Im guessing because of the missing filters, I dunno. Here are my steps ive done so far:

1. demux the dts-hd track from m2ts file
2. rename extension to pcm
3. convert pcm to wav in eac3to
4. get unplayable wav.

madshi
17th October 2007, 08:19
Ive been on the sonic.com website trying to figure out which programs include these things so I can purchase but its hard to figure out.
The filter it part of Scenarist. But maybe you can also purchase it separately to save some (a lot of) money. You'd have to ask Sonic about that.

Lastly what is the Dump filter?
The Dump filter is shipping with GraphEdit. So you need to download GraphEdit and then register the Dump filter by executing "regsvr32 dump.ax".

Edit: Ive figured out the command lines in eac3to, its outputting a file but I dont know why im still hearing static. Im guessing because of the missing filters, I dunno. Here are my steps ive done so far:

1. demux the dts-hd track from m2ts file
2. rename extension to pcm
3. convert pcm to wav in eac3to
4. get unplayable wav.
Just because you rename a file to PCM doesn't make the file PCM. It's a DTS-HD file and not a PCM file. So renaming it to PCM doesn't make any sense. It only results in eac3to handling the file incorrectly.

sk11vengeance
17th October 2007, 11:04
Ok, I got the Graphedit and dump filter. One of my Irc buddies sent me the CinemasterAudio.dll and SonicHDDemuxer.dll file but when I try to register it I get an Error 0x80004005. Is there anyway to register this file? If not is there another way of decoding this DTS-HD track so I can convert it to wav? Also how do i graph the HDDemuxer? Its only got an input and no output? :thanks:

madshi
17th October 2007, 11:14
One of my Irc buddies sent me the CinemasterAudio.dll and SonicHDDemuxer.dll
I'm sorry but I won't help with pirating commercial software.

is there another way of decoding this DTS-HD track so I can convert it to wav?
Not that I knew of. Of course most DTS decoders can decode the DTS Core just fine, but the additional DTS-HD information would be lost.

sk11vengeance
17th October 2007, 11:19
I'm sorry but I won't help with pirating commercial software.


Not that I knew of. Of course most DTS decoders can decode the DTS Core just fine, but the additional DTS-HD information would be lost.


He actualy owns it, otherwise I dont think I could have gotten it. I just want to see if this actualy works before I spend money on the program. So I dont really consider it piracy. Too bad about the HD info being lost from the core.

madshi
17th October 2007, 11:23
Too bad about the HD info being lost from the core.
Only if you use a conventional DTS decoder. It's not being lost if you use the Sonic decoder.

sk11vengeance
17th October 2007, 11:37
Only if you use a conventional DTS decoder. It's not being lost if you use the Sonic decoder.

Edit: Ok. I got the Sonic dll's working finally I think. I created a graph m2ts > Sonic HD Demuxer > Sonic Audio Decoder 4.2 (4.3) > Dump. Im not sure what type of file it is when the dump is complete. The extension is .wav because I selected that in the file types when I typed a name for the dump but when I try to convert it in eac3to I get different errors like it has a bitdepth of 0 and has 0 channels. I tried renaming the file to .raw, dtshd, etc.. but no luck. The dump is DTS-HD 6ch 48khz 24bit though. So im confused on how to turn the file into a working wav. Whatever I do I just end up getting static again.


k I give up. I tried messing around more and I think all the dumping is doing is outputting a mpeg 1 2 channel file because when I go back and add that file I dumped in graph thats what sonic hd dmuxer says it is. On top of that it wont play and that would explain why I cant convert it into anything. I believe all of this is due to the .dll's not being registered correctly. So, if anyone is willing, could I just crop out the 5 or so minutes worth of the m2ts file and have someone demux the file for me thats able to do it? I can upload it to somewhere if someone can please let me know, thanks.

berndy2001
18th October 2007, 20:35
How do I calculate the Subtitle Delay?

the first line (when i open the demuxed Subtitle in Supread) is 05:43:13,052 --> 05:43:15,578; there schould be a delay for about 5:43:00,000

I tried different ways, but i never come near the value it should be.

Opening file feature_300INT6LF1VC1_HD.EVO
Reading...
File size: 8811 Mbytes.
VOB number 0 contains 2 video , 4 audio and 5 subpicture streams.
PTM of first video frame = 6E19147E
PTM of last video frame = 800035FA
Duration = 0:55:37.334
VC-1 video stream 0 found!
First PTS = 2E19147E (+35791394ms)
Substream id = 55
Profile = Advanced
Level = 3
Chroma Format = 4:2:0
Size = 1920x1080
Display size = 1920x1080
Aspect ratio = 1:1 (square samples)
Frame Rate = 23,976 (24000/1001)
VC-1 video stream 1 found!
First PTS = 2E19147E (+35791394ms)
Substream id = 56
Profile = Advanced
Level = 2
Chroma Format = 4:2:0
Size = 720x480
Display size = 720x480
Aspect ratio = 40:33 (704x480 16:9)
Frame Rate = 23,976 (24000/1001)
Dolby Digital Plus audio stream 3 found!
First PTS = 6E19147E
Substream id = C3
Stream 3 is Dolby Digital Plus
frame size = 768 bytes, number of blocks per frame = 6
Sampling frequency = 48 kHz
Transmission bitrate = 192 kbit/s
Channel arrangement = L + R, bsid = 16
LFE channel = not present
Dolby Digital Plus audio stream 2 found!
First PTS = 6E19147E
Substream id = C2
Stream 2 is Dolby Digital Plus
frame size = 1280 bytes, number of blocks per frame = 3
Sampling frequency = 48 kHz
Transmission bitrate = 640 kbit/s
Channel arrangement = L + R + C + Ls + Rs, bsid = 16
LFE channel = present
Dolby Digital Plus audio stream 0 found!
First PTS = 6E19147E
Substream id = C0
Stream 0 is Dolby Digital Plus
frame size = 1280 bytes, number of blocks per frame = 3
Sampling frequency = 48 kHz
Transmission bitrate = 640 kbit/s
Channel arrangement = L + R + C + Ls + Rs, bsid = 16
LFE channel = present
Dolby TrueHD audio stream 1 found!
First PTS = 2E191AF0 (+35791412ms)
Substream id = B1
Subpicture stream 4 found!
First PTS = 6E2754AB (+10377ms)
Substream id = 24
Format = 8bitRLE
Subpicture stream 3 found!
First PTS = 6E2754AB (+10377ms)
Substream id = 23
Format = 8bitRLE
Subpicture stream 2 found!
First PTS = 6E6A75CE (+59259ms)
Substream id = 22
Format = 8bitRLE
Subpicture stream 1 found!
First PTS = 6E7863DE (+69402ms)
Substream id = 21
Format = 8bitRLE
Subpicture stream 0 found!
First PTS = 6E7863DE (+69402ms)
Substream id = 20
Format = 8bitRLE

Darth Pinous
19th October 2007, 10:22
k I give up. I tried messing around more and I think all the dumping is doing is outputting a mpeg 1 2 channel file because when I go back and add that file I dumped in graph thats what sonic hd dmuxer says it is. On top of that it wont play and that would explain why I cant convert it into anything. I believe all of this is due to the .dll's not being registered correctly. So, if anyone is willing, could I just crop out the 5 or so minutes worth of the m2ts file and have someone demux the file for me thats able to do it? I can upload it to somewhere if someone can please let me know, thanks.

Why not just :
1) Use xport to dump the DTS-HD file or build a graph like this : m2ts > Sonic HD Demuxer > Dump (no need for Audio Decoder here, but name your file .wav to obtain the dump).
2) Rename your dumped DTS-HD file with .dts extension
3) Pass it through Tranzcode. Tranzcode will read only the DTS core and give you a valid 32 bits WAV output (or less, if you want 16 or 24 bits output).

saint-francis
28th October 2007, 05:52
I have just encountered a situation which is entirely new to me with EVODemux. I have 2 video sources. One is h.264 and the other is VC.1. When I merge the two EVOBs I get a file that graphedit doesn't like. I can't connect the rebuilt EVOB to the WMVideo Decoder DMO. I have rebuilt the EVOB with both video streams and rebuilt them separately. When I only rebuild the VC.1 video I get a small (600 MB or so) file that I can connect with the graph. I also couldn't help but notice that the resolution of the VC.1 stream was 720/480 at 23.976 fps while the H.264 stream is 1920/1080 @ 60 fps. Naturally this is very confusing to me since I don't understand how one video can have two different resolutions and frame rates. This is a new HD DVD which I was just able to decrypt tonight after having it for about a week and not being able to watch it on my non HDCP compliant monitor; so maybe this is some new arrangement never before seen?


Opening file FEATURE_1.EVO
Reading...
File size: 12903 Mbytes.
VOB number 1 contains 2 video , 5 audio and 8 subpicture streams.
PTM of first video frame = 00001282
PTM of last video frame = 1723D82F
Duration = 1:11:53.559
H.264 (AVC) video stream 0 found!
First PTS = 00002FD6 (+83ms)
Substream id = E2
Profile = High
Level = 4.1
Chroma format = 4:2:0 (l, c) = 8, 8 bit
Size = 1920x1080
Aspect ratio = 1:1 (square samples)
Video format = Component
Time scale = 0 MHz
Frame rate = 60 fps
VC-1 video stream 1 found!
First PTS = 00001282
Substream id = 56
Profile = Advanced
Level = 2
Chroma Format = 4:2:0
Size = 720x480
Display size = 720x480
Aspect ratio = 40:33 (704x480 16:9)
Frame Rate = 23.976 (24000/1001)
Dolby Digital Plus audio stream 3 found!
First PTS = 00001282
Substream id = C3
Stream 3 is Dolby Digital Plus
frame size = 768 bytes, number of blocks per frame = 6
Sampling frequency = 48 kHz
Transmission bitrate = 192 kbit/s
Channel arrangement = L + R, bsid = 16
LFE channel = not present
Dolby Digital Plus audio stream 2 found!
First PTS = 00001282
Substream id = C2
Stream 2 is Dolby Digital Plus
frame size = 1536 bytes, number of blocks per frame = 3
Sampling frequency = 48 kHz
Transmission bitrate = 768 kbit/s
Channel arrangement = L + R + C + Ls + Rs, bsid = 16
LFE channel = present
Dolby Digital Plus audio stream 1 found!
First PTS = 00001282
Substream id = C1
Stream 1 is Dolby Digital Plus
frame size = 1536 bytes, number of blocks per frame = 3
Sampling frequency = 48 kHz
Transmission bitrate = 768 kbit/s
Channel arrangement = L + R + C + Ls + Rs, bsid = 16
LFE channel = present
Dolby Digital Plus audio stream 0 found!
First PTS = 00001282
Substream id = C0
Stream 0 is Dolby Digital Plus
frame size = 1024 bytes, number of blocks per frame = 1
Sampling frequency = 48 kHz
Transmission bitrate = 1536 kbit/s
Channel arrangement = L + R + C + Ls + Rs, bsid = 16
LFE channel = present
Dolby Digital Plus audio stream 8 found!
First PTS = 00001444 (+5ms)
Substream id = C8
Stream 8 is Dolby Digital Plus
frame size = 768 bytes, number of blocks per frame = 6
Sampling frequency = 48 kHz
Transmission bitrate = 192 kbit/s
Channel arrangement = L + R, bsid = 16
LFE channel = not present
Subpicture stream 4 found!
First PTS = 00489BD7 (+52819ms)
Substream id = 24
Format = 8bitRLE
Subpicture stream 3 found!
First PTS = 00489BD7 (+52819ms)
Substream id = 23
Format = 8bitRLE
Subpicture stream 2 found!
First PTS = 00489BD7 (+52819ms)
Substream id = 22
Format = 8bitRLE
Subpicture stream 1 found!
First PTS = 00489BD7 (+52819ms)
Substream id = 21
Format = 8bitRLE
Subpicture stream 0 found!
First PTS = 00489BD7 (+52819ms)
Substream id = 20
Format = 8bitRLE
Subpicture stream 7 found!
First PTS = 004B5BAB (+54821ms)
Substream id = 27
Format = 8bitRLE
.
Opening file FEATURE_2.EVO
Reading...
File size: 12761 Mbytes.
VOB number 2 contains 2 video , 5 audio and 8 subpicture streams.
PTM of first video frame = 1723D82F
PTM of last video frame = 2E2C5A3A
Duration = 1:11:33.706
H.264 (AVC) video stream 0 found!
First PTS = 1723F582 (+4313642ms)
Substream id = E2
Profile = High
Level = 4.1
Chroma format = 4:2:0 (l, c) = 8, 8 bit
Size = 1920x1080
Aspect ratio = 1:1 (square samples)
Video format = Component
Time scale = 0 MHz
Frame rate = 60 fps
Dolby Digital Plus audio stream 8 found!
First PTS = 1723A4C4 (+4313413ms)
Substream id = C8
Stream 8 is Dolby Digital Plus
frame size = 768 bytes, number of blocks per frame = 6
Sampling frequency = 48 kHz
Transmission bitrate = 192 kbit/s
Channel arrangement = L + R, bsid = 16
LFE channel = not present
Dolby Digital Plus audio stream 2 found!
First PTS = 1723AE42 (+4313440ms)
Substream id = C2
Stream 2 is Dolby Digital Plus
frame size = 1536 bytes, number of blocks per frame = 3
Sampling frequency = 48 kHz
Transmission bitrate = 768 kbit/s
Channel arrangement = L + R + C + Ls + Rs, bsid = 16
LFE channel = present
Dolby Digital Plus audio stream 1 found!
First PTS = 1723AE42 (+4313440ms)
Substream id = C1
Stream 1 is Dolby Digital Plus
frame size = 1536 bytes, number of blocks per frame = 3
Sampling frequency = 48 kHz
Transmission bitrate = 768 kbit/s
Channel arrangement = L + R + C + Ls + Rs, bsid = 16
LFE channel = present
Dolby Digital Plus audio stream 0 found!
First PTS = 1723AE42 (+4313440ms)
Substream id = C0
Stream 0 is Dolby Digital Plus
frame size = 1024 bytes, number of blocks per frame = 1
Sampling frequency = 48 kHz
Transmission bitrate = 1536 kbit/s
Channel arrangement = L + R + C + Ls + Rs, bsid = 16
LFE channel = present
VC-1 video stream 1 found!
First PTS = 1723D82F (+4313559ms)
Substream id = 56
Profile = Advanced
Level = 2
Chroma Format = 4:2:0
Size = 720x480
Display size = 720x480
Aspect ratio = 40:33 (704x480 16:9)
Frame Rate = 23.976 (24000/1001)
Dolby Digital Plus audio stream 3 found!
First PTS = 1723D002 (+4313536ms)
Substream id = C3
Stream 3 is Dolby Digital Plus
frame size = 768 bytes, number of blocks per frame = 6
Sampling frequency = 48 kHz
Transmission bitrate = 192 kbit/s
Channel arrangement = L + R, bsid = 16
LFE channel = not present
Subpicture stream 4 found!
First PTS = 1724A577 (+4314143ms)
Substream id = 24
Format = 8bitRLE
Subpicture stream 3 found!
First PTS = 1724A577 (+4314143ms)
Substream id = 23
Format = 8bitRLE
Subpicture stream 2 found!
First PTS = 1724A577 (+4314143ms)
Substream id = 22
Format = 8bitRLE
Subpicture stream 1 found!
First PTS = 1724B132 (+4314176ms)
Substream id = 21
Format = 8bitRLE
Subpicture stream 0 found!
First PTS = 1724B132 (+4314176ms)
Substream id = 20
Format = 8bitRLE
Subpicture stream 7 found!
First PTS = 1773819A (+4371567ms)
Substream id = 27
Format = 8bitRLE
Done.

5224 counted frames (0:03:37.884) in video stream 0.
206368 calculated frames in video stream 0.
6522 counted frames (0:04:32.022) in video stream 1.
206368 calculated frames in video stream 1.

Reading HVA00001.VTI
8 VTS_EVOB_ATRs found.
12 VTS_EVOBIs found.
Done.

Thunderbolt8
28th October 2007, 12:24
look at the resolution of both video streams: the other stream with 720*480 belongs to the extras, it has nothing to do with the 1st stream, which belongs to the main movie

saint-francis
28th October 2007, 14:33
Makes sense. But when I rebuild the .EVO with only the avc stream I can't connect it in graphedit the normal way. Is there a separate procedure for loading h.264 streams? Could I just use DGavcdecode?

superx
29th October 2007, 13:48
is there a way to remove the flags from a AVC HD-DVD to make it complient with blu-ray. Trying to get the video to stream to my PS3 over the network. Thanks

Thanks.

saint-francis
29th October 2007, 18:35
I have tried ripping and re ripping this movie with no luck. I have found no way to decode the .EVO rebuilt with only the h.264 at all. I have tried to remux to .mkv with GDSmux and every time I try GDSmux crashes at 9.2%. If I render the rebuilt .EVO with graphedit it gives me .EVO -> Sonic HD Demuxer -> ffdshow video decoder. I tried to load that graph and that doesn't work either. All of the searching of this forum and all of the Googling I have done reveals nothing overtly helpful to me in this instance. Can anyone please help shed some light on this?

tomos
29th October 2007, 19:00
strange, works fine on mine with AVC vids - via the EVO or just raw AVC.

you tried whatever.h264 -> sonic demux -> sonic video decoder?

raw AVC is read fine by DGAVC for me also (most recently for transformers)

saint-francis
29th October 2007, 19:50
It's not raw AVC. It's a rebuilt EVO. I don't know how to handle it. Can I extract the AVC from the .EVO somehow? I assume so. Using DGAVCDecode would be excellent.

tomos
29th October 2007, 19:54
of course, just use evodemux and just choose demux instead of rebuild.

evo's work fine too if you have haalis stuff installed.

in graphedit iirc its

haalis media splitter and choose your file. - link to whatever decoder you prefer. coreavc, ffdshow etc.

also works fine for me.

saint-francis
29th October 2007, 20:11
Sorry I must have spaced when reading your 2nd to last post. Transformers? The HD DVD? That's what I'm trying to tackle. I'm demuxing the AVC as I type (thanks for the tip btw). So you just loaded the AVC with DGAVCDecode in your AVS script?

tomos
29th October 2007, 20:32
yep. no probs.

superx
30th October 2007, 01:17
Error : FilePath: F:\t\join\transformers1.avc.ves
Error Content: Value of Gaps_in_frame_num_value_allowed_flag is not supported in the BD standard

getting this error in scenarist any help to remove the flags.

Thanks

Konstantin
1st November 2007, 07:21
You can demultiplex EVO file with Elecard XMuxer.
www.elecard.com

Taktaal
2nd November 2007, 22:05
You can demultiplex EVO file with Elecard XMuxer.
www.elecard.com

Yes let's pay $60 for a DirectShow GUI because we're all retarded.

Or you can do it for free with Evodemux.

Creator1
4th November 2007, 21:48
Error : FilePath: F:\t\join\transformers1.avc.ves
Error Content: Value of Gaps_in_frame_num_value_allowed_flag is not supported in the BD standard

getting this error in scenarist any help to remove the flags.

Thanks

Same problem here. Would appreciate any help to get around this without recompressing.

doccabet
8th November 2007, 05:46
Error : FilePath: F:\t\join\transformers1.avc.ves
Error Content: Value of Gaps_in_frame_num_value_allowed_flag is not supported in the BD standard

getting this error in scenarist any help to remove the flags.

Thanks

Well, I was able to remove the gaps flag from the transformers h264 stream, but more problems arose. In the h264 stream, if you use a hex editor to change 81 E0 08 to 01 E0 08, you will change the gaps header flag from 1 to 0. Note that this header flag is repeated ~19,000 times in the stream. I think you only need to change the first couple, but I changed them all.

However, once this is done, scenarist complains that FrameRateCode is not BD compliant. Im not exactly sure what FrameRateCode is, as it doesnt appear to be a part of the header structure. I used h264info to force a 30fps frame rate with no effect. same with 60fps. Also, playing the raw stream gave some dropout frames and some garbled frames.

Not sure where to go from here to fix the timing issues.

drmpeg
8th November 2007, 08:32
Well, I was able to remove the gaps flag from the transformers h264 stream, but more problems arose. In the h264 stream, if you use a hex editor to change 81 E0 08 to 01 E0 08, you will change the gaps header flag from 1 to 0. Note that this header flag is repeated ~19,000 times in the stream. I think you only need to change the first couple, but I changed them all.

However, once this is done, scenarist complains that FrameRateCode is not BD compliant. Im not exactly sure what FrameRateCode is, as it doesnt appear to be a part of the header structure. I used h264info to force a 30fps frame rate with no effect. same with 60fps. Also, playing the raw stream gave some dropout frames and some garbled frames.

Not sure where to go from here to fix the timing issues.Does scenarist complain about "FrameRateCode" or is it really "fixed_frame_rate_flag" (which must be 1 for Blu-ray)?

Ron

d0ORk
8th November 2007, 11:05
Now I'm getting errors when I want to load the demuxed and rebuild evo into the haali media splitter in the Graphedit, but the original evos work...

Filter failed to load file. Der Medientyp dieser Datei ist unbekannt (Return Code: 0x80040240) (Mediatype is unknown)

doccabet
8th November 2007, 15:45
Does scenarist complain about "FrameRateCode" or is it really "fixed_frame_rate_flag" (which must be 1 for Blu-ray)?

Ron


I looked into that. Scenarist complains about "FrameRateCode". I checked the fixed_frame_rate_flag and it was set properly. Elecard makes a nice utility to display the current state of all the header flags (Stream Analyzer).

Creator1
9th November 2007, 19:40
Well, I was able to remove the gaps flag from the transformers h264 stream, but more problems arose. In the h264 stream, if you use a hex editor to change 81 E0 08 to 01 E0 08, you will change the gaps header flag from 1 to 0. Note that this header flag is repeated ~19,000 times in the stream. I think you only need to change the first couple, but I changed them all.

However, once this is done, scenarist complains that FrameRateCode is not BD compliant. Im not exactly sure what FrameRateCode is, as it doesnt appear to be a part of the header structure. I used h264info to force a 30fps frame rate with no effect. same with 60fps. Also, playing the raw stream gave some dropout frames and some garbled frames.

Not sure where to go from here to fix the timing issues.

Thanks a lot for this. I tried what you did and I have the same result of course. I wonder if this is the end of the road. I am no expert but it seems that FrameRateCode is just a number to indicate what is the framerate of the encoded video. It seems like the Transformers avc stream is encoded in a framerate that is compliant HD-DVD but not compliant BD. I don't think we can do much without recompressing everything? Unless some 3:2 pulldown thing can help?

Anybody knows what are the BD compliant frame rates. A program to see the framerate of a avc elementary stream would also help. Seems like stream analyzer does indeed not show this.

doccabet
11th November 2007, 07:32
Thanks a lot for this. I tried what you did and I have the same result of course. I wonder if this is the end of the road. I am no expert but it seems that FrameRateCode is just a number to indicate what is the framerate of the encoded video. It seems like the Transformers avc stream is encoded in a framerate that is compliant HD-DVD but not compliant BD. I don't think we can do much without recompressing everything? Unless some 3:2 pulldown thing can help?

Anybody knows what are the BD compliant frame rates. A program to see the framerate of a avc elementary stream would also help. Seems like stream analyzer does indeed not show this.


I am pretty sure transformers is 1080p60. I tried to force 30 and 60fps using h264info, with and without 3:2 pulldown, but it continued to be noncompliant.

One thing was curious - after forcing different frame rates, the frame related headers always stayed the same:

timing_info_present_flag = 1
num_units_in_tick = 1001
time_scale = 60000
fixed_frame_rate_flag = 1

Maybe if these were changed using a hexeditor... I just dont know exactly what the values mean.

honai
11th November 2007, 10:33
There is only one Blu-ray release so far (The Lives of Others/Das Leben der Anderen) which uses 24fps, all others are 23.976fps.

Rectal Prolapse
11th November 2007, 11:16
honai, I heard that Infernal Affairs blu-ray (from Asia I think) uses 24 fps.

Phorze
12th November 2007, 15:54
I am pretty sure transformers is 1080p60. I tried to force 30 and 60fps using h264info, with and without 3:2 pulldown, but it continued to be noncompliant.

One thing was curious - after forcing different frame rates, the frame related headers always stayed the same:

timing_info_present_flag = 1
num_units_in_tick = 1001
time_scale = 60000
fixed_frame_rate_flag = 1

Maybe if these were changed using a hexeditor... I just dont know exactly what the values mean.

Anyone found out more about this? Ofcourse the track is clearly 1080p24, yet every app reports 60fps.

I've been struggling for some time now trying to feed MeGui this track using evodemux and evo-demux. Also, evodemux doesnt seem to rebuild the track correctly (when merging the two evobs)

honai
12th November 2007, 16:47
Didn't have any problems remuxing Transformers HD-DVD. What errors are you running into?

Phorze
12th November 2007, 21:02
Didn't have any problems remuxing Transformers HD-DVD. What errors are you running into?
I'll have to check later what's exactly going wrong but it seems only the cyberlink filters will connect to the haali source (merged evo) and it does play (very slow!) then Megui fails to import the avs.

Ill have to get back here to give full detail about the connections that fail and the megui error.

Creator1
12th November 2007, 21:12
I am pretty sure transformers is 1080p60. I tried to force 30 and 60fps using h264info, with and without 3:2 pulldown, but it continued to be noncompliant.

One thing was curious - after forcing different frame rates, the frame related headers always stayed the same:

timing_info_present_flag = 1
num_units_in_tick = 1001
time_scale = 60000
fixed_frame_rate_flag = 1

Maybe if these were changed using a hexeditor... I just dont know exactly what the values mean.

Well, seems like others says the movie is 1080p/24fps, so I don't know what to say. As for the hex editing, I am no master in finding out values to replace. Maybe somebody can help us here in this thread? The goal is to make Scenarist HDMV recognize the avc elementary stream from Transformers as compliant.

One thing that is "special" about this release is that there is an VC-1 imbedded for the picture in picture stuff but it is seen as a separate track in evodemux so when you extract only the main AVC movie there should be nothing left out of the VC-1 720x480 PIP stream but who knows?

fbd
14th November 2007, 11:54
Doesn't work for me. When I play the final movie it goes into high speed for a few seconds after the join.

I also find that the playback time values as displayed in PowerDVD are wrong (up to 50% too high) in any m2ts that has been through TsRemux.

Hi,

I have the same issue with 4 mixed m2ts.
My SetTopBox played only the first .ts and stop after.

In the m2ts, there are MPEG2 and DD5.1.

kornesque
14th November 2007, 21:59
it's been a while since i've toyed with manipulating evo files...could someone refresh my memory on which filter one should use as source before say, the sonic HD demuxer? file source (async) isn't it, is it? thanks for the assist.

Chumbo
15th November 2007, 01:51
...file source (async) isn't it, is it?...
Did you try to answer your own question by actually trying it?

kornesque
15th November 2007, 12:18
chumbo, no, i did not. i'm trying to help a buddy throw his EVOs to mkv to play on his NMT (http://www.popcornhour.com) - like i said, i haven't toyed wih this stuff in quite a few months, and have not had the time to rip any content for testing, as this just came up yesterday. BUT...i did have the presence of mind to take a quick gawk thru this thread after my last post, and determined the filter combination he should try is simply haali matroska splitter (the excellent source input filter - thank you haali)>haali media muxer. i'll not bother the forum again for help until we run into an actual roadblock. thanks.

MarkRy
24th November 2007, 18:59
Thanks to this thread I have demuxed an m2ts file, converted the LPCM file to AC3, and remuxed it to an mpg for my media server. Brilliant. Thank you.

puppydg68
26th November 2007, 22:00
Didn't have any problems remuxing Transformers HD-DVD. What errors are you running into?


Has anyone successfully done this? I would love to stream transformers to PS3. I'm getting the same non-compliance message when importing the video.

If you google transformers and remux, you will find some chinese stuff, but I don't know if this version will stream to PS3. So it looks like there is a successful remux out there, the question is how, and will it play on ps3 or as a BD

superx
27th November 2007, 17:43
is there any way to get transformers to ps3 that would be awsome.

has anyone done this

The_Keymaker
30th November 2007, 03:21
I just ripped "Return to House on Haunted Hill" HD-DVD and it has 14 feature EVOs(!).

It appears my version of EVOdemux only handles the first 9 EVOs (It stops at Feature_10.EVO). What is the best way to join EVO files? Is there a program available?

I hope this is not too far off thread topic and apologize in advance if it is.

Regards,
The_Keymaker

Chumbo
30th November 2007, 03:57
I just ripped "Return to House on Haunted Hill" HD-DVD and it has 14 feature EVOs(!).

It appears my version of EVOdemux only handles the first 9 EVOs (It stops at Feature_10.EVO). What is the best way to join EVO files? Is there a program available?

I hope this is not too far off thread topic and apologize in advance if it is.

Regards,
The_Keymaker
For now, you can rebuild the first 9 into one target. Then rename the rest so they start at 1 sequentially (after you renamed the existing files that start/end the range you want) and then rebuild those. Now you have two output files, i.e., part 1 and part 2. Now name those parts as features 1 and 2 and then rebuild them into one.

It's a pain, but it works. Not all titles use known naming either, so you have to rename in those cases too.

The_Keymaker
30th November 2007, 08:03
Thanks for the suggestion Chumbo.

Yeah, I tried what you suggested and it looks like all the timing information gets screwed up doing it that way.

What i will try next is:
- Rebuild the first nine files in one EVO
- Using GDSmux convert that EVO to a MKV and call it Part 1
- Do the same with the remaining EVOs and call it Part 2
- Merge the two using MKVtoolnix.

I'll report back if it works...

The_Keymaker

Chumbo
30th November 2007, 19:56
Thanks for the suggestion Chumbo.

Yeah, I tried what you suggested and it looks like all the timing information gets screwed up doing it that way.

What i will try next is:
- Rebuild the first nine files in one EVO
- Using GDSmux convert that EVO to a MKV and call it Part 1
- Do the same with the remaining EVOs and call it Part 2
- Merge the two using MKVtoolnix.

I'll report back if it works...

The_Keymaker
Actually, that's even better. :) That's what I do with multi EVOs, i.e., use gdsmux and then merge them using mkvtoolnix. I figured you'd probably not want to do that with 14 of them. ;) Would be nice to hear your results.

vwpassion
21st December 2007, 23:09
How do I get Evodemux to read a main feature that consists of 11 EVOs? The files are named HV007T01.EVO, HV007T02.EVO, ..., HV007T11.EVO. So its 11 files. Evodemux only parses the first 9. Is there a workaround?

ByeByeBluRay
22nd December 2007, 18:16
How do I get Evodemux to read a main feature that consists of 11 EVOs? The files are named HV007T01.EVO, HV007T02.EVO, ..., HV007T11.EVO. So its 11 files. Evodemux only parses the first 9. Is there a workaround?

Use EvoDemux to rebuild half of the files into one new evo, and the other half into another new evo, and then run it again to join the two parts.

You might need to rename the files to get EvoDemux to read them in.

Chumbo
23rd December 2007, 04:35
How do I get Evodemux to read a main feature that consists of 11 EVOs? The files are named HV007T01.EVO, HV007T02.EVO, ..., HV007T11.EVO. So its 11 files. Evodemux only parses the first 9. Is there a workaround?
Did the three posts right before yours not provide any insight? ;)

bond
23rd December 2007, 13:05
moved to hddvd/bluray forum, as i think this fits better there

maya
23rd December 2007, 16:11
How do I get Evodemux to read a main feature that consists of 11 EVOs? The files are named HV007T01.EVO, HV007T02.EVO, ..., HV007T11.EVO. So its 11 files. Evodemux only parses the first 9. Is there a workaround?

You can use Tssplitter to join all the files first, and then use evodemux. I have done this before. Tssplitter is free. Just make sure that when you click on file, then join, make sure to allow "all files" to be shown. And the program will join any file extension, they don't have to be .ts files.

Kurgan
6th January 2008, 17:58
Hello,
I've been having a bunch of trouble demuxing evo.
For some reason, I just can't get the full feature.
If I demux a feature with 2 parts (feature_1 and feature_2) - it seems to work and join into a file the size expected. (With continue to next evo and count frames checked).
The probelm is that if I drag the vc1 stream into a meda player, the time is wacked, and more importantly, the video is not complete (end of the vc1 stream is not the end of the movie). I've tried this on a rebuild joined stream and without rebuilding as well. I have tried adjust PTS and Rebuild ADV_PCKS as well (what are they by the way)). These did not make a difference.
Am I missing something? I would expect that even with just the vc1 stream, i could at least see the video of the whole movie.
The other odd thing is if I demux each part of the feature (1 and 2) seperately (no continue on evo), feature 1 ends before my joined one does, but feature 2 starts well after my joined one ends..... In other words, the supposed whole movie ends at a spot before the starting scene of feature 2, and feature 1 ends at a scene prior to the end of the joined feature?
Could anyone help me out on what I'm doing wrong? I've tried this with a few different movies with the same issue.

EVOdemux 0.627 b7, ripped with dvdfab hd decrypter.

madshi
6th January 2008, 21:34
Hello,
I've been having a bunch of trouble demuxing evo.
For some reason, I just can't get the full feature.
If I demux a feature with 2 parts (feature_1 and feature_2) - it seems to work and join into a file the size expected. (With continue to next evo and count frames checked).
The probelm is that if I drag the vc1 stream into a meda player, the time is wacked, and more importantly, the video is not complete (end of the vc1 stream is not the end of the movie). I've tried this on a rebuild joined stream and without rebuilding as well. I have tried adjust PTS and Rebuild ADV_PCKS as well (what are they by the way)). These did not make a difference.
Am I missing something? I would expect that even with just the vc1 stream, i could at least see the video of the whole movie.
The other odd thing is if I demux each part of the feature (1 and 2) seperately (no continue on evo), feature 1 ends before my joined one does, but feature 2 starts well after my joined one ends..... In other words, the supposed whole movie ends at a spot before the starting scene of feature 2, and feature 1 ends at a scene prior to the end of the joined feature?
Could anyone help me out on what I'm doing wrong? I've tried this with a few different movies with the same issue.

EVOdemux 0.627 b7, ripped with dvdfab hd decrypter.
I'm not sure but I guess you're simply stumbling over a limitation of the splitter you're using to play the raw VC-1 file. VC-1 is a variable bitrate stream and there's no way for the splitter to know how long the stream really is (without reading and parsing the whole file). Consequently seeking doesn't work as expected and the runtime may be shown longer or shorter than it really is. You need to mux the demuxed VC-1 stream to a container (e.g. AVI or MKV). Then you should get playback working correctly.

Kurgan
8th January 2008, 02:12
Thanks for the thoughts on what to try.
I tried to put into an mkv container to view by dropping the evo file in gsmux. If i drop the resulting mkv file into mkvsplitter it correctly identifies the vc1 and ddp stream inside of the container.
My problem is i can't seem to playback the mkv now...it shows up as pure black in media player classic. I even tried remuxing from mkvsplitter to force the framerate to 24 as i read in some posts. I'm sure I'm still doing something wrong, any suggestions would be appreciated.

madshi
8th January 2008, 09:27
Thanks for the thoughts on what to try.
I tried to put into an mkv container to view by dropping the evo file in gsmux. If i drop the resulting mkv file into mkvsplitter it correctly identifies the vc1 and ddp stream inside of the container.
My problem is i can't seem to playback the mkv now...it shows up as pure black in media player classic. I even tried remuxing from mkvsplitter to force the framerate to 24 as i read in some posts. I'm sure I'm still doing something wrong, any suggestions would be appreciated.
Try vc12avi to mux the VC1 raw stream to AVI. Alternatively instead of demuxing the VC-1 track you could try to remux it directly from from EVO to MKV by using Haali's filters or by using eac3to.

Kurgan
12th January 2008, 05:23
Had issues with that. Still not sure what is going on, but VLC Player plays it fine so I know the rip is good and can proceed. Thanks for the assistance.

leonowski
26th January 2008, 16:16
Hi All,

I just want to post thanks to everyone in this thread. It has helped (along with the EAC3TO thread) me backup my personal collection.

I have been able to successfully mux a VC-1 stream plus a lossless 5.1 WMA stream (converted from one of the available audio tracks) into WMV files. These files play in the Xbox 360 Dashboard player just fine (unfortunately, they don't play in the Media Center Extender Interface).

I use the Solveig ASF multiplexer (the demo version seems to work fine) in graphedit from the MKV source with the VC-1 stream. This MKV is easily created by EAC3TO. I then take the best audio track available and convert it to WMA 9.2 Lossless 5.1. Once I have the WMV and WMA file, I combine them with the Windows Media Stream editor. At the end of the day, I have a nice WMV file.

With H.264 video, I use the MKV container with AC3 audio.

Again - thanks to all for your posts! :thanks:

IanD
27th January 2008, 03:46
Any possibility the developers of eac3to and evodemux could merge the functionality?

I would really like to be able to take an evo and directly convert it into another evo, whilst stripping out all but selected video, audio and subtitle streams PLUS stripping pulldown flags for the video stream.

I know evodemux already does the stuff before PLUS, but it's the functionality after PLUS that I would find of great additional benefit.

Of course it would be even better still if evodemux was able to transcode audio formats ala eac3to as part of the evo->evo conversion process.

madshi
27th January 2008, 10:21
Any possibility the developers of eac3to and evodemux could merge the functionality?
I don't think so. For one, Pelican is on journey for months and we don't know when he's coming back. Furthermore although eac3to and EvoDemux share some functionality, they differ quite a lot in what they aim to do. EvoDemux doesn't have anything to do with audio conversion/processing or MKV muxing. And those are the main targets of eac3to.

tteich
31st March 2008, 16:05
I don't think so. For one, Pelican is on journey for months and we don't know when he's coming back. Furthermore although eac3to and EvoDemux share some functionality, they differ quite a lot in what they aim to do. EvoDemux doesn't have anything to do with audio conversion/processing or MKV muxing. And those are the main targets of eac3to.
madshi,

thank you for the great work you've been putting into this software. Any chance that EVOB/HDDVD file muxing is added to eac3to? I've been looking around for a while now to find a tool which accepts my h264 and DTS/AC3 streams, which I'd like to mux into a HDDVD compliant (standard content) structure. Commercial software seem to limit the support to a few audio / video codecs (e.g. Toast 9 does not accept DTS streams and VC-1 video, afaik).

madshi
31st March 2008, 16:57
thank you for the great work you've been putting into this software. Any chance that EVOB/HDDVD file muxing is added to eac3to? I've been looking around for a while now to find a tool which accepts my h264 and DTS/AC3 streams, which I'd like to mux into a HDDVD compliant (standard content) structure. Commercial software seem to limit the support to a few audio / video codecs (e.g. Toast 9 does not accept DTS streams and VC-1 video, afaik).
I'm not planning to add EVOB muxing support to eac3to, sorry. Maybe Pelican wants to add that in EvoDemux? But I rather don't think so, either, cause it would be a really big task.

mpiper
11th April 2008, 21:17
I was really hoping to see remuxing EVO files added to EvoDemux or EAC3to.

Is there a way to manually mux or "rename" an MP4 with h264 and AC3 into an HD-DVD compliant EVO? All the existing software seem to insist on having an 1080-based resolution, while I want to create a mini HD-DVD on a DVD-R using the smaller 1280x720 resolution.

Alternatively, is there a way to "trick" the various encoders (Nero, Cyberlink, etc.) into accepting the 720 file without re-encoding? Supposedly, someone found a way to patch mpg2 HD files so that nero wouldn't recode (set header to read 1080) and then patch the finished format file back to the right resolution immediately before the burn. Can something like this be done for VC-1 or h264 files?

mpiper
14th April 2008, 19:49
Quick question. Is an EVO file nothing but a VOB with a different extension (i.e. EVOB = Extended VOB, like EC3 is Extended AC3)

If so, can I use a musing program to create a VOB from the MKV and then rename to VOB and re-author from there?

mpiper
14th April 2008, 20:59
Any chance that this tool: mkv2vob http://www.videohelp.com/tools/mkv2vob

might be our solution?

tteich
15th April 2008, 14:35
Any chance that this tool: mkv2vob http://www.videohelp.com/tools/mkv2vob

might be our solution?
This tool generates DVD containers (VOBs) which contain video with higher resolution and size and advanced audio codecs than specified in the DVD standard. The PS3 seems to be able to play those vobs, but I doubt that a HDDVD-player will. Although... it's worth a try...

xrated
22nd April 2008, 09:11
madshi, I want to confirm your requirement and my understanding. Currently this DD+ only source filter will refuse to open any AC3/DTS audio files, it only open DD+ audio. But it may connect to any downstream audio decoder filter, including ac3filter(not working of course) or sonic audio decoder 4.2(will work), unless you raise sonic audio decoder's merit or force DD+ source filter to connect to sonic audio decoder. I still don't know how to query the name of downstream audio decoder.

Here is another update, I included both version, DD+ only and full functiontional DTS/AC3/DD+. If you want to compile by yourself, use preprocessor macro DDPLUS_ONLY.
For the full functional version, I tested ac3filter and sonic audio decoder, with the following samples: AC3 192K, 384K, 448K, 640K, DTS 768K, 1536K, and some DD+. All samples work, and the runtime are also correct, at least on my system.

http://www.sendspace.com/file/ce77vr

That dtsac3source version, is it used to passthrough DDP over spdif or transcode the signal on the fly to DD ?

I tried it and get only Stereo. My receiver is not able to DDP, maybe thats the reason.

nwg
12th July 2008, 10:21
Hi

I got a problem with Evodemux and Fearless HD DVD UK. I just keep the Mandarin audio and combine the two evo's. The result is only 40 minutes long and the subtitles are also wrong when I demux them. It crashes supread at 10% OCRing.

I am not sure what it does but if I adjust PTS to follow it looks i get the whole film but is still 25 minutes short on the time counter.

What does rebuild adv packs do?