View Full Version : EVOB De/Multiplexers
Warren
13th January 2007, 10:22
evdberg we need a demuxer for evobs, do you know anything about the format?
evdberg
13th January 2007, 10:29
I normally do not point out to progs of the competition, but you might want to look here: http://www.dvd-logic.com/hddemuxer.htm
Personally I find it highly overpriced, but it might sell as long as there is nothing else. But maybe you can also simply demux using the good old VobEdit, I did not try this yet (I just have my Xbox360 drive!)
But yes, I do know a lot of the HD-DVD format, simply because it looks a lot like the DVD format. I always considered this a major advantage over BluRay. There are a lot of people out here that know the DVD format, and it will not take much time for them to master the HD-DVD format. At least not the basic format (as used for instance by Video Studio 10), the advanced format as used on commercial titles may be more work.
Warren
13th January 2007, 10:39
dvd-logic's demuxer doesn't seem to actually be for hd dvd's. It wants to open an IFO file which doesn't exist on HD DVD's
evdberg
13th January 2007, 11:24
dvd-logic's demuxer doesn't seem to actually be for hd dvd's.
It most likely only works with home made HD-DVDs, so disks of the 'basic' type. But why do you want to demux the stream?
theturtle
13th January 2007, 11:52
It most likely only works with home made HD-DVDs, so disks of the 'basic' type. But why do you want to demux the stream?
to convert to x264 or w/e I imagine
evdberg
13th January 2007, 12:29
to convert to x264 or w/e I imagine
Is there already a VC-1 decoder then?
Warren
13th January 2007, 13:50
so bbdmux seems to be able to demux the evo's into elementary streams of vc-1 and dolby digital plus. I have yet to find anything that will play a VC-1 elementary stream or a DDPlus elementary stream.
Any ideas?
moshmothma
13th January 2007, 19:24
so bbdmux seems to be able to demux the evo's into elementary streams of vc-1 and dolby digital plus. I have yet to find anything that will play a VC-1 elementary stream or a DDPlus elementary stream.
Any ideas?
I would imagine you could mux them into a wmv and then play. Although, I can get bbdmux to identify the streams it won't parse any out for me.
pack header field flag value not allowed in program streams
Have you actually been able to demux the streams?
Easy123
13th January 2007, 19:42
If you have Scenarist 4 installed you´ll be able to play at least the vc-1 stream and with the help of graphedit you can render the .evo with direct show filters..
He-Man
13th January 2007, 19:43
deleted
Warren
13th January 2007, 21:56
You can't use the PowerDVD or WinDVD filters in graphedit :( At least they wouldn't work for me.
Isochroma
13th January 2007, 22:01
http://isochroma.com/Testfiles/Misc/doom9/EVOB-graphedit-1-sm.png (http://isochroma.com/Testfiles/Misc/doom9/EVOB-graphedit-1.png)
Click image for full size
This thread has been split from the BackupHDDVD thread, in order to keep that one on topic, and to provide a thread dedicated to the research, development, and testing of EVOB multiplexers and demultiplexers.
Background
▪ BackupHDDVD, a tool to decrypt AACS protected movies (http://forum.doom9.org/showthread.php?t=119871)
Current Status
EVOB demultiplexers available:
Sonic Scenarist 4.1 (http://www.sonic.com/products/Professional/Scenarist/quicklook.aspx) (DirectShow filters)
License: Commerical Software
Capabilities: EVOB demux, audio problems
HD DVD Demuxer (http://www.dvd-logic.com/hddemuxer.htm)
License: Commercial software, $99.95 USD to buy
Capabilities: M2V, M1V, AC3, WAV, DTS, MPA, MLP, M4V
bbDMUX (http://members.cox.net/beyeler/bbmpeg.html)
License: free
Capabilities: MPEG 1,2 PS/TS demux (commandline only)
Verification:
▪ (extenal forum) Post 1
"buddies, the evo file is actually mpeg2 program stream.
bbdmux can demux it into vc1 ES and ddplus ES
bbdmux mainintro.evo 0xfd test.vc1
bbdmux mainintro.evo 0xbd test.ddp
bbdmux is a cmd line tool in bbtools with bbmpeg
anybody have vc1 and ddplus spec ?"
Success Stories
▪ (extenal forum) Posts (in chronological order)
McOnyx: YESSSS I DID IT!!! I've gotten this to play in MPC (Media Player Classic). The video plays perfectly the only thing is the Dolby DD Plus, that doesn't play. Have tried with the Cyberlink Audio Decoder Filter, but no success, maybe a WinDVD Audio can play the Dolby Plus stream! Maybe someone else will have more luck! I used the DShow filters from Sonic Scenarist 4.1, which come bundled with the prog. The right filters are: Sonic HD Demuxer and Sonic Cinemaster Video Decoder 4.1! From here i don't think it should be problem to use it in AVISynth, with DirectShowSource, but haven't tried it!
ArieW: Sonic HD-DVD DShow Filter dll's work pretty good. insane resolution/quality. this is a good step forward. thanks for the effort
svizzle: reencoding the mainintro.evo right now with graphedit
orbitlee: About the Sonic HDDemuxer, since nobody get audio, is it possible that this demux does not support DD+ ? Anybody have success on other demuxer?
hdtau: 1. yeah, sonic decoders work with mpc, at least video, but no audio, with sonic audio it freezes, with power dvd audio it plays, but still no sound..
McOnyx: Well i tried few more times but can't get the audio working through MPC with Sonic Decoders. I wonder does anyone know if these decoders even support Dolby Digital Plus? And is there any Dolby Plus decoder, other than PowerDVD and WinDVD. It would be awesome if someone would work on DD+ in FFDShow, maybe now when HD-DVD is cracked, someone will...
moshmothma
13th January 2007, 23:16
bbDMUX definitely did not work for me. Sonic looks great. However, the audio stream is only understood as 2 channel 35000khz.
tonyp12
14th January 2007, 00:56
On emule this 112mb EVO file shows how good a mpeg4 AVC
at 6Mbps encode can look like.
A 100 minute movie would fit on a 4.7GB DVD
ed2k://|file|Departed%20Trailer.EVO|118069248|454C310BC7DB35BF8C69E3AB7300507A|h=IJR3G253NYOBRDD2ALTGIXLTAWYLGCIW|/
This also a good file to play around with if you do not have a HDDVD drive to get access to EVO files.
blutach
14th January 2007, 02:16
I think you should start a new topic about demuxing etc. and keep it separate from this discussion about decryption.Done
Regards
He-Man
14th January 2007, 02:47
Done
Regards
Maybe you should merge this topic with the new topic already created by Isochroma (see his post with link above your post).
http://forum.doom9.org/showthread.php?p=933891#post933891
bond
14th January 2007, 03:24
as .evo is .mpg what about all the freeware .mpg muxers/demuxer out there?
like ffmpeg or mplayer?
Warren
14th January 2007, 03:35
They try to demux it but don't do it properly since they don't fully understand EVOBs since EVOB is an extended/enhanced VOB
Easy123
14th January 2007, 08:39
BBDemux did work for me. I have two seperate streams, but the problem is handling vc-1 in order to reencode it and the dd plus stream, no app recognizes it properly.
Warren
14th January 2007, 08:59
BBDemux will leave all of the IME stuff in the video stream when you demux it - or at least that's what it seemed to me. It was corrupted none the less, but only for EVOBs with IME in it.
bond
14th January 2007, 13:17
They try to demux it but don't do it properly since they don't fully understand EVOBs since EVOB is an extended/enhanced VOBin what way does evo differ from mpg?
Olebrumm71
14th January 2007, 13:28
Hi!
@tonyp12: What audio-stream is in the departed.evo trailer you posted an eMule-hash for?
I downloaded the departed.evo trailer and it worked very well to play the file with both video and audio in graphedit, using the Sonic 4.1 DirectShowFilters
(the graph uses the Sonic HD Demuxer , Sonic Cinemaster VideoDecoder 4.1 and Sonic Cinemaster MCE Audio Decoder 4.1 - it also worked for this EVO file to use the Cyberlink Audio Decoder (PDVD7) instead)
(I have Cyberlink PowerDVD 7.2 Ultra HD-DVD version installed if it should make any difference )
orbitlee
14th January 2007, 13:52
BBDemux will leave all of the IME stuff in the video stream when you demux it - or at least that's what it seemed to me. It was corrupted none the less, but only for EVOBs with IME in it.
For the m*.evo file, I made a compare as following
1. Use bbdmux to demux video to file
2. In graphedit, use Sonic HDDemux and file sink filter to save video to file
Two files are 100% match.
orbitlee
14th January 2007, 13:57
Hi!
@tonyp12: What audio-stream is in the departed.evo trailer you posted an eMule-hash for?
I downloaded the departed.evo trailer and it worked very well to play the file with both video and audio in graphedit, using the Sonic 4.1 DirectShowFilters
(the graph uses the Sonic HD Demuxer , Sonic Cinemaster VideoDecoder 4.1 and Sonic Cinemaster MCE Audio Decoder 4.1 - it also worked for this EVO file to use the Cyberlink Audio Decoder (PDVD7) instead)
(I have Cyberlink PowerDVD 7.2 Ultra HD-DVD version installed if it should make any difference )
Could you please use PDVD 7.2 to playback the departed.evo and enable "Show information"? PDVD will display the video and audio format.
For m*.evo. In PDVD7.2, playback OK, it is VC1+DD Plus 768Kbps. In graphedit, with Sonic HD Demux, video is ok, graphedit hangs with sonic audio decoder, no audio at all with other audio decoder.
Olebrumm71
14th January 2007, 16:46
When playing back the 'departed trailer.evo' file in PowerDVD 7.2 using 'show information' it shows: DDPlus 5.1 448 kbps
For this file it also works fine to use ffdshow audio-decoder, and when playing the clip, the ffdshow audio-decoder reports 48Khz, 6 channel AC3 (maybe there is some sort of "backwards compatibility" in DD Plus letting older DD decoders also decode DD Plus streams but with "lower quality" ?? )
When playing the clip in fullscreen using PowerDVD 7.2 and hardware-acceleration enabled, the clip plays reasonable smooth on my AMD X2 3800+ with a Geforce 7300Gt graphics card.
But when I build a simple graph using the Cyberlink decoders in graphedit playback is no longer smooth. I guess this may be due to buffering issues or something, especially since I am experiencing stuttering with low CPU-usage. The graph I have used uses a simple File (Async) DirectShow filter. Any recommendations to what else I could use ?
orbitlee
14th January 2007, 18:00
When playing back the 'departed trailer.evo' file in PowerDVD 7.2 using 'show information' it shows: DDPlus 5.1 448 kbps
For this file it also works fine to use ffdshow audio-decoder, and when playing the clip, the ffdshow audio-decoder reports 48Khz, 6 channel AC3 (maybe there is some sort of "backwards compatibility" in DD Plus letting older DD decoders also decode DD Plus streams but with "lower quality" ?? )
When playing the clip in fullscreen using PowerDVD 7.2 and hardware-acceleration enabled, the clip plays reasonable smooth on my AMD X2 3800+ with a Geforce 7300Gt graphics card.
But when I build a simple graph using the Cyberlink decoders in graphedit playback is no longer smooth. I guess this may be due to buffering issues or something, especially since I am experiencing stuttering with low CPU-usage. The graph I have used uses a simple File (Async) DirectShow filter. Any recommendations to what else I could use ?
Which ffdshow version you are using? Which demux you are using? I can't hear anything with ffdshow audio decoder. :-(
Olebrumm71
14th January 2007, 18:34
For demuxing I am using the 'Sonic HD Demuxer' from Scenarist 4.1.
For ffdshow I am using 'ffdshow version Nov 8 2006'
(I also tested a graph using AC3Filter v1.01a instead of ffdshow Audio, and that worked as well )
NOTE: I have only tested this using the 'departed trailer.evo' file, which tonyp12 posted an eMule hash for earlier in this thread.
I do not own a hddvd-drive, so I am not able to use HDDVDBackup myself.
@tonyp12: Is the departed trailer.evo file you referred to earlier produced by HDDVDBackup?
Dethis
14th January 2007, 19:58
........
@tonyp12: Is the departed trailer.evo file you referred to earlier produced by HDDVDBackup?
http://forum.doom9.org/showthread.php?p=923593#post923593
Isochroma
14th January 2007, 21:02
New posts from some forum somewhere:
Somebody on silu found a solution to playback both vc1 video and dd+ audio in graphedit.
video: evo->sonic hd demux->sonic video decoder->video renderer
audio: evo->intervideo demux->intervideo audio decoder-audio renderer.
intervideo filters are from windvd 8 hd
I tried, it works.
Now the problem is, there are two file sources and two demuxers. if we have a tee fiter which support file source tee, it will looks like
evo->tee->sonic hd demux->...
|---->intervideo demux->...
We should be able to construct this in player instead of graphedit.
I tried windows built-in tee filters, they don't support file source. Any suggestions?
----------------------------------
yup, the Intervideo Demux filter works for the audio part.
This should work in ZoomPlayer if we managed to create a new profile. You just have to create a profile for VC-1 and tell the program to use Sonic Demux + Sonic Video DEcoder and a DDPlus profile and tell the program to use Intervideo Demux + Intervideo Audio Decoder. It should work!
----------------------------------
Holy shit! I got the video part working in Zoomplayer!
----------------------------------
I can also play the audio part in Zoomplayer... but we still have the same problem: I can't make the 2 demuxers work at the same time. That is, I can play audio or video, but not both at the same time. I'm sure it will be solver sooner or later, though.
pyrates
15th January 2007, 03:17
anyone managed to get the sound working yet in windows media player classic?
UPDATE: I downloaded the iso that was linked here of the departed and it played just fine in windvd 8. If I try to play the evo file directly, it seems to only play the video and not the audio, same as mpc. But if I open one of the ifo files, then it does play properly.
Isochroma
15th January 2007, 09:34
Note: If you have a VC-1 EVOB, see my Tutorial: Perfect VC-1 EVOB to .AVS Conversion (http://forum.doom9.org/showthread.php?p=939698#post939698) for a frame-accurate method to demux, decode and serve VC-1 EVOBs into Avisynth.
All of you will be very pleased to know that I have in my posession a MKV file with both the original video stream of an .EVO (EVOB) in native AVC1 and audio in AC3. The avc plays with CoreAVC, and the audio with ffdshow.
There are no problems, seeking works absolutely perfectly, everything is a-ok with the streams. Oh, and playback uses at least 30-40% less CPU than playing the .EVO directly!
I will guide all those interested in replicating this achievement.
0. First, we need some software:
1. Graphedit (http://www.digital-digest.com/dvd/downloads/showsoftware_graphedit_141.html#downloads)
2. Elecard MPEG-2 Decoder and Streaming Pack (http://www.elecard.com/products/product.php?product_id=149)
3. DVBPortal HDTV Reference Dump Filter (http://www.dvbportal.de/projects/hdtvdump/)
4. Yamb 1.6.0 (http://yamb.unite-video.com/download.html)
5. MKVToolnix 2.0.0 (http://www.bunkus.org/videotools/mkvtoolnix/win32/mkvtoolnix-2.0.0-setup.exe)
(Important! You must update your MKVToolnix installation by copying the new files from the latest update package (http://www.bunkus.org/videotools/mkvtoolnix/win32/pre/mkvtoolnix-unicode-2.0.0-build20070117-1.rar) into your MKVToolnix folders, or the output fps will be wrong due to a bug in the 2.0.0 release)
1. We start by demultiplexing the AVC video stream to an elementary .264 file:
http://www.isochroma.com/Testfiles/Misc/doom9/V-Step-01.png
To the left, we see the property sheet for the Elecard MPEG Demultiplexer which, while not capable of reading the audio stream, can see the video stream. Connected to its output pin we find the secret sauce for my processes: the magic DVBPortal HDTV Dump filter. Make sure you name the file with a .264 extension.
2. Now we want to get that .264 Elementary Stream into a nice MKV. So the first thing one might do, is test the newly minted MKVToolnix Matroska Muxer 2.0.0, which is freshly imbued with AVC-ES support.
Alas, it works but the resultant MKV file is partially broken, and plays with all kinds of weird artifacts. So we are left with the tried and true Yamb, which does not disappoint!
http://www.isochroma.com/Testfiles/Misc/doom9/V-Step-02.png
First and most importantly, we have to make sure to check the Enable Import Settings box, because the AVC-ES doesn't have a framerate. You'll have to have some idea what it is, because in the next step we'll enter it. A good place to start is always 23.976.
http://www.isochroma.com/Testfiles/Misc/doom9/V-Step-03.png
In the above picture, in the Mux tab the Add button has been clicked, and the saved .264 file opened from a generic Open dialog window. After that happens, you are presented with the MP4Box Import Settings window, where you must enter a number in the Force FrameRate box; pictured here a value of 23.976 has been entered.
Press Ok on that button, then in the main window set a path/filename.mp4 in the Ouput line (last field). Then click Mux. An .mp4 file should appear in the location specified.
3. Next we grab the audio stream, using the Sonic demuxer this time:
http://www.isochroma.com/Testfiles/Misc/doom9/A-Step-01.png
Again, we use the magic DVBPortal HDTV Dump Filter to write the .ac3 file. Remember, this is something a bit more than normal AC3, it is really Dolby Digital Plus (http://en.wikipedia.org/wiki/Dolby_Digital_Plus). Strangely, this is the only way to make ffdshow or Gabest's internal (MPC) filter work perfectly. Believe me, I tried every other way - even the Sonic audio decoder wouldn't work with other methods.
Notice the little yellow clock inside the DVBPortal filter box. The Sonic HD Demuxer doesn't set timestamps on the frames it delivers, so you can't yet properly use it to demux video. Presumeably, it won't do this for audio either; smart sabotage or corner-cutting minimalist programming? I'll let you be the judge. Yet, the DVBPortal filter somehow manages to do without; perhaps it is adding the missing timestamps? Those in the know may reply to enlighten me on the topic.
4. Mux.
http://www.isochroma.com/Testfiles/Misc/doom9/Final-Mux.png
Congratulations, you're done! Now pop some popcorn and watch the flick...
This method was easy because there's lots of support for de/remultiplexing AVC streams in free and paid software.
However, VC-1 remains the gaping hole in this process; the example trailer used here is atypical. MPEG-2 should be pretty easy, at least.
To finish, some links to the development processes which are most likely to yield a VC-1 bridge:
▪ How to demux VC1 elementary stream from WMV file? (http://forum.doom9.org/showthread.php?t=119102)
▪ Mux VC1 on WMV (http://forum.doom9.org/showthread.php?t=119785)
▪ Muxing VC-1 in ASF ("http://forum.doom9.org/showthread.php?t=120407)
▪ Muxing and demuxing vc-1 ("http://forum.doom9.org/showthread.php?t=119246)
The first idea is to use the DVBDF to get a VC-1 ES, then using the nascent tool(s), mux to wmv. Then once we have WMV, either Gabest's or Haali's MKV DS muxers will put it into MKV. Now is the time to visit the threads below and help/encourage the developers to move in this direction; also, I will suggest to the developer of MKVToolnix to add VC-1 support.
The benefits of MKV encapsulation are significant: greater compatibility, smaller size, far better performance, easy manipulation, etc. Matroska is ultimately the Main St. of containers, so if we can get those juicy streams out of their cliquey container and into the common man's space, then many more possibilities will open up.
PS. Please PM me if you need more detailed instructions/help with the software used in this guide.
woah!
15th January 2007, 10:29
the elecard demultiplexer might work on that rogue evo trailer, but it doesnt work here on any evo dumped from a proper disc. is there anywhere else other than emule i can try out that file to see if that is correct?
Isochroma
15th January 2007, 19:16
When posting problems, please, please provide more detailed references!
When you say it 'doesn't work' what do you mean? Exactly what happens in GraphEdit?
Also, what's the video stream format, AVC, VC-1 or MPEG-2? The process above will only work for AVC video streams.
mixanobios
15th January 2007, 19:21
as i see it the problem now is muxing vc-1 to mkv. i have been able to demux vc-1 with bbdemux and audio with sonic hd demuxer but i cannot mux vc-1 into mkv. i hope mkv developers have some free time :D
DeathMonk
15th January 2007, 20:06
Hmm.. Why not just convert the vc-1, etc to an uncompressed format with graphedit, the do what you want with it.
[first post yay]
madshi
15th January 2007, 21:17
Hmm.. Why not just convert the vc-1, etc to an uncompressed format with graphedit, the do what you want with it.
Because uncompressed is much too space hungry. You would have to reencode the video in the end. And reencoding is always a bad idea for image quality. VC-1 is a quite good encoder. So there's no real reason to reencode except if you want to have a smaller file size with less image quality.
Warren
15th January 2007, 23:09
Again, we use the magic DVBPortal HDTV Dump Filter to write the .ac3 file. Remember, this is something a bit more than normal AC3, it is really Dolby Digital Plus (http://en.wikipedia.org/wiki/Dolby_Digital_Plus). Strangely, this is the only way to make ffdshow or Gabest's internal (MPC) filter work perfectly. Believe me, I tried every other way - even the Sonic audio decoder wouldn't work with other methods.
Are you sure this trailer actually uses DD+? Trying your steps here doesn't produce an ac3 file that is compatible with ac3filter.
Isochroma
15th January 2007, 23:25
Please, reread my guide. I'm using ffdshow's ac3 decoder... your statement is itself revealing. If the file was a normal AC3, it would be compatible with AC3Filter, wouldn't it?
So yes, the file produced is an E-AC3, and it so happens that ffdshow audio decoder filter can handle it, while AC3Filter cannot.
Gradius
16th January 2007, 00:14
What about subtitles? They're a must to me.
Any solution for Dolby DD Plus too ? I believe any 6.1, 7.1 (DTS HD too), will have some problem, right?
mixanobios
16th January 2007, 00:55
i think mkv format must be able to mux all hddvd-blueray formats
Warren
16th January 2007, 01:06
Isochroma: Can you build a graph in graphedit to play the .ac3 file you demuxed?
Warren
16th January 2007, 01:16
Can anyone confirm any part of isochroma's howto? I've tried it exactly but with an EVOB containing VC-1 & DDPlus and nothing works. When muxing into an mkv it says the ac3 is in an unknown format and won't mux it.
honai
16th January 2007, 01:40
Yes, I can confirm it. Here's the chain:
*.EVO -> Sonic HD Demuxer -> ffdshow Audio Decoder
Alternatively:
*.EVO -> MPEG-2 Demultiplexer -> ffdshow Audio Decoder
Make sure to set "Output -> AC3 [640]" in ffdshow Audio Decoder.
As far as I understand the technical documentation at Dolby Labs E-AC3 contains an AC3-compatible core, and ffdshow doesn't seem to have constraints regarding input bitrate, so it just recodes to AC3@640kbit.
CORRECTION:
Checked the output of a well-known movie's DD+ track, contains only garbage, so it seems that while ffdshow may be able to transmux the audio it doesn't do anything meaningful with it.
Isochroma
16th January 2007, 01:44
Yes, MKV can hold any format, but the available muxers cannot necessarily deal with certain streams.
First, there are three muxers that can put streams into MKV:
1. Gabest's DirectShow muxer
2. Haali's Directshow muxer
3. MKVToolnix
HD-DVD can store three types of video stream:
MPEG-2: MKVToolnix may be able to mux MPEG-2 ES, but probably not yet. Gabest & Haali are untested.
VC-1: MKVToolnix does not yet support VC-1. Gabest & Haali are untested.
H264: Theoretically all three muxers could do it. But in my experiments, the output of the Elecard MPEG demuxer dumped with the DVB dump filter, could only be successfully muxed by first muxing into MP4 using Yamb, then using MKVToolnix. Mosu is looking at the issue and so MKVToolnix might soon be able to handle this type of ES, which would eliminate the Yamb step.
Haali's should take the Yamb MP4 and mux it ok, Gabest's is probably a bit too old to mux AVC natively.
As for audio, the Sonic demuxer and DVB dump filter work OK, and the stream muxes with MKVToolnix just fine. But: the decoder matters, since this is an E-AC3. It looks like AC3Filter won't work, so you need to be using ffdshow's AC3 decoder filter.
Isochroma
16th January 2007, 01:51
http://www.isochroma.com/Testfiles/Misc/doom9/ac3-t1.png
http://www.isochroma.com/Testfiles/Misc/doom9/ac3-t2.png
@Warren: Yes, it plays perfectly. Remember, I have ffdshow set to decode AC3, and no other AC3 decoder is installed.
@honai: My ffdshow is decoding straight to raw stereo audio, no transcoding is involved.
honai
16th January 2007, 02:05
Here's what my graphedit looks like:
http://img244.imageshack.us/img244/434/screenshotoa8.th.png (http://img244.imageshack.us/my.php?image=screenshotoa8.png)
The input stream isn't being properly recognized: "stereo 192kbps ac3". So I wonder how you extracted the 6 channel stream in your example. Or did you use Cyberlink's Audio Decoder in there somewhere to do the downmixing?
Warren
16th January 2007, 02:09
What is that ac3 parser filter you're using?
Isochroma
16th January 2007, 02:11
@honai: you're trying to play the audio portion directly. Use the DVB dump filter as in the example. Then see how it renders the AC3 file produced.
@Warren: when you render an AC3 file in graphedit, the system's AC3 parser filter is used. It comes with Windows.
honai
16th January 2007, 02:13
@Isochroma
No, I'm using the DVB HDTV Dump filter, it's the box to the right. ffdshow says "S/PDIF" only because it doesn't know how to parse the input.
Which movie audio streams did you successfully convert using your method?
Warren
16th January 2007, 02:14
Hrm i don't seem to have it, what is the filename listed as?
Isochroma
16th January 2007, 02:17
@honai: You've made a TERRIBLE mistake!
Looking over your graph, I realize what you've done... you're using the DVB filter to write ffdshow's output!
That is not what we're supposed to be doing.
The correct graph looks like this:
filename.EVO -> Sonic HD Demuxer -> filename.ac3
the filters used for that chain are:
File Source (Async.) -> Sonic HD Demuxer -> DVB Dump Filter
When that process is done, we'll have a filename.ac3 file, which can then be rendered in a new GraphEdit session or played in MPC, provided that ffdshow is set to decode AC3.
ffdshow should be set to output AC3 as fully decoded raw audio to start with, to verify that the AC3 is playing ok, then start playing with other options.
OK, I just tested your graph setup, and it work fine with my file, so there's a format difference. Still, give the AC3 file output method a test, it may just work.
Also keep in mind, that ffdshow wasn't even built to do this job, so it's pretty nice that it works on any streams. Now's the time to encourage the ffdshow devs to add E-AC3 support.
You might also try using the Sonic HD Audio decoder, since it's built for this anyway.
On my system, the Sonic decoder won't decode the AC3 file produced, when played in MPC. The playback state never moves forward. However, when the file is muxed into a MKV, it plays just fine! So using this filter is the recommended way of doing the audio decoding.
Warren
16th January 2007, 02:26
I figured out why I didn't have the ac3 parser filter
honai
16th January 2007, 02:27
@Isochroma
Just tested it, doesn't work, ffdshow doesn't recognize/parse that *.AC3 either. It's from "Chronicles of Riddick". Maybe the audio part in there is mastered differently than in your *.EVO sample.
Warren
16th January 2007, 02:33
Ok so I finally figured out why everything is working for you isochroma and not for real HD DVD content.
You're using Saggitaire's homemade HD DVD (http://forum.doom9.org/showthread.php?p=923593#post923593) that uses H264 and AC3. Retail HD DVD streams are almost exclusively VC-1 and DD+ aka E-AC3
I really wish this all worked in practice.
Isochroma
16th January 2007, 02:38
@Warren: damn, you're right! So, we will now test the Sonic audio decoder filter in MPC/Graphedit...
@honai: Ok, forget ffdshow for now. Register the Sonic audio decoder filter:
1. copy CinemasterAudio.dll into your system32 dir
2. cd into system32 in the cmdline
3. regsvr32 CinemasterAudio.dll
Now close GraphEdit, take the AC3 file produced and mux it into MKV with MKVToolnix 2.0.0.
Then, in the ffdshow audio decoder config, in the Codecs list, set AC3 to DISABLED.
Then, in MPC, Options -> External Filters -> Add Filter...
Add the Sonic Cinemaster MCE Audio Decoder 4.1, and set it to Prefer, then hit OK, close and reload MPC, then open the MKV. We need to set it to Prefer, because there's probably other AC3 decoders on the system that will pick up the stream.
Before reporting your results, right-click in MPC and make sure there's only the Cinemaster filter.
Finally, Cinemaster should be able to decode ALL AC3, ie. standard too, so it would make a passable replacement for ffdshow/AC3Filter until they get E-AC3 capability.
honai
16th January 2007, 02:42
@Isochroma
What Warren said. That method won't work for actual HD-DVDs. Sonic's Audio filter won't expose any interface to select downmixing to DD 5.1, so I won't ever get DD 5.1 out of DD+ by way of that method. The only filter so far which could do the downmix is PowerDVD 7.2's internal audio decoder, but it's not available as a DirectShow filter. WinDVD 8 also comes with a downmixer, but it can only render to sound devices directly.
Isochroma
16th January 2007, 02:43
Downmix? What do you mean? If you have less than 5.1 on your soundcard, or have it configured for 2.0/4.0/etc. then just set ffdshow to intercept raw and get it to do the downmix for you.
Ah, I see... looks like I can't get audio output using CineMaster from the Sonic HD Demuxer...
Even worse, that terrible filter won't connect to the MKV's audio out pin when rendering using MKV source!
honai
16th January 2007, 02:50
Seems there's a misunderstanding here. My "sample EVO file" contains a DD+ audio stream, not a DD audio stream. No consumer a/v device can handle those yet, so you *will* need a way to downmix from DD+ to DD (i.e. in this case reduce the bitrate from 1536 to 640 kbps) in order to be able to route the audio signal via S/PDIF to the receiver. In other words, since DD+ right now and in the foreseeable future is useless for all consumers (even the XBOX360 downmixes to DD/DTS at standard bitrates) we have to find a way to convert the DD+ to a usable format, and then put that converted stream together with the elementary video stream (VC-1 or h.264) into a usable container, i.e. MKV.
Or am I missing something here?
Warren
16th January 2007, 02:55
Sonic's audio decoder seems to only output 2.0 stereo. WinDVD's audio filter + their demuxer can also play the audio (you have to manually register the filters from WinDVD HD directory) but they depend on windows audio config to determine how many channels to output. I set the windows output to 5.1 and hit play and using infinite tee I connect the first output to directsound and the second to wave dest and then a file. 6 channels are recorded to the file but only the L&R channels have audio.
DeathMonk
16th January 2007, 03:02
I may be confused about what you guys are trying to accomplish here.
I got some audio [king kong menu] today using intervideo's filters.. converted to wav.. works fine.
honai
16th January 2007, 03:02
@Isochroma
No, "downmixing" is the accurate term, used for example here:
http://en.wikipedia.org/wiki/Dolby_Digital_Plus
Happy to correct you. ;o)
@Deathmonk
You mean you converted the DD+ track from King Kong into 6 separate channels stored in a file? How did you do that?
VistaVick
16th January 2007, 03:22
Keep up the good work people, Im sure we will find a somewhat doable solution soon to convert the evo images to a more popular format...perhaps it will even become the common standard around the world for converting and storing hd dvd images
DeathMonk
16th January 2007, 03:55
@Isochroma
No, "downmixing" is the accurate term, used for example here:
http://en.wikipedia.org/wiki/Dolby_Digital_Plus
Happy to correct you. ;o)
@Deathmonk
You mean you converted the DD+ track from King Kong into 6 separate channels stored in a file? How did you do that?
Probably just 2 channel for now...
Isochroma
16th January 2007, 03:57
Well, remember we have AVC demux working, and MPEG-2 will probably work too. Remux should be ok on these as well.
This leaves two major problems:
1. VC-1 (demux/mux)
2. DD+ (demux probably works, decoder won't work in 3rd party apps)
These are the big ones, and if they can be licked we're homefree.
Janvitos
16th January 2007, 05:17
One other problem i have encountered with 2 movies:
- Mi3: The only audio stream i was able to get was a dolby 2.0 stream consisting of the director's comments and no audio of the movie it-self.
- KingKong: No audio at all. The video plays fine but no audio can be heard.
It seems as if the EVO files contain more than one audio / video streams.
We have been working on this different people and me on the #doom9 channel on EFNet and have figured we will be needing a proper splitter to be able to choose the matching audio / video streams.
DeathMonk
16th January 2007, 05:31
I'm playing audio from king kong right now...
same way i've been doing audio for everything:
graphedit:
feature_1.evo>intervideo demultiplexer>intervideo audio decoder>cyberllink audio renderer
im rollin along... rollin alongggggggg
Janvitos
16th January 2007, 05:43
Alright, audio is there both for KingKong and MI3, but is it possible to play Audio / Video at the same time ?
I believe i got it working with two seperate filters, but is there a way to use just one ?
Have you been able to multiplex both audio / video from kingkong into another format ?
I would be curious to know how, if so.
DeathMonk
16th January 2007, 06:22
I got both the audio and video in separate formats, but the results sucked.. none of the encoders really give you any control just using the direct codec settings.
Warren
16th January 2007, 07:14
So I just recorded an ac3 audio stream from a HD DVD EVOB. Basically I played it in powerdvd with the output set to spdif, hooked an optical cable to my output and then plugged it into the optical input on my soundcard and recording it using a sound editor at 48khz, 16 bit stereo. Afte it was done I ran besplit -core( -input ac3.wav -prefix hddvd -type ddwav -fix ) which gave me hddvd01.ac3 which was plane 5.1 ac3 file.
Golgot13
16th January 2007, 10:48
Alright, audio is there both for KingKong and MI3, but is it possible to play Audio / Video at the same time ?
I believe i got it working with two seperate filters, but is there a way to use just one ?
Yes, it is possible...
Have you been able to multiplex both audio / video from kingkong into another format ?
Yes
I would be curious to know how, if so.
PM, me.
For DolBy TrueHD there is too some directshow filter compatible.
Golgot13
Warren
16th January 2007, 10:58
I haven't been able to find a ds filter that will allow me to capture > 2 channels from DD+/TrueHD
Easy123
16th January 2007, 11:00
Hm, i would be curious too :D Which direct-show filter is it? I can only capture 2 channels with intervideo.. Would be hell of interesting to know..
honai
16th January 2007, 20:48
Ok, here's a way to demultiplex the DTS audio stream from a harddrive-copy for personal backup purposes of "Chronicles of Riddick":
http://img19.imageshack.us/img19/1749/capdtsna8.th.png (http://img19.imageshack.us/my.php?image=capdtsna8.png)
Filters: File Source -> Gabest's Mpeg Splitter -> DVB HDTV Reference Dump
All open-source/freeware, so no need to fiddle with expensive Intervideo/Cyberlink software.
Warren
16th January 2007, 22:00
That's fine for normal DTS but most of the movies are using E-AC3 aka DDPlus for which there are no opensource decoders yet.
getnate
16th January 2007, 22:29
Just rip the audio from the DVD version of the movie and use that.
moshmothma
16th January 2007, 22:35
Just rip the audio from the DVD version of the movie and use that.
Yeah, and use the dvd video as well :sly:
Just kidding but seriously - I think most would prefer to get the full rez audio and video.
Warren
16th January 2007, 22:44
There are issues with using DVD audio, one of them being that it is sync'd to a different framerate than HD DVD (24 fps).
bond
17th January 2007, 00:31
guys, .evo files are basically .mpg files. for getting nice demuxers the easiest way is to send sample files to the opensource mpg demuxer/muxer coders
i did that and sent a sample to mplayer and ffmpeg devs, which i hope will add support for it to their tools soon
someone could do the same and send a sample to gabest to add support to his .mpg directshow parsers
once we are having nice opensource support, we dont need to mess around with strange commercial apps anymore
SeeMoreDigital
17th January 2007, 11:15
guys, .evo files are basically .mpg files. for getting nice demuxers the easiest way is to send sample files to the opensource mpg demuxer/muxer codersDo you know if some samples have been sent to the MP4Box guys?
Cheers
chros
17th January 2007, 13:05
I know it's demultiplexer thread, but can anyone managed to do a perfect graph and avisynth script to produce 23.976 fps without TIVTC?
I only achieved this with TIVTC...
Graph: MAININTRO.grf
--------
mainintro.evo -> Sonic HD Demuxer -> Sonic Cinemaster VideoDecoder 4.1
Avs script: 720p.avs
-------------
DirectShowSource("MAININTRO.grf",audio=false,convertfps=true)
# TIVTC - Bottom field first
tfm(order=0).tdecimate()
ConvertToYV12()
LanczosResize(1280,720)
The strange thing is, that if I don't use the convertfps=true option (and use the fps=29.97 option), avisynth can't connet to the graph or can just no picture ...
Thanks
honai
17th January 2007, 16:53
@chros
Just as I pointed out in the other forum, it's the Sonic filters that mess around with telecine/pulldown flags. The VC-1 decoder itself will output 24fps progressive.
Have you tried AssumeFPS() ?
chros
17th January 2007, 21:06
...it's the Sonic filters that mess around with telecine/pulldown flags. The VC-1 decoder itself will output 24fps progressive.
Have you tried AssumeFPS() ?
AssumeFPS is totally wrong here with the Sonic filters. It gives 1 min 20 sec video besides the 1 min 04 sec video.
AssumeFPS("ntsc_film") as with v2.5.7
From the doc:
The AssumeFPS filter changes the frame rate without changing the frame count (causing the video to play faster or slower).
bond
18th January 2007, 00:52
Do you know if some samples have been sent to the MP4Box guys?
Cheersi didnt
tomos
18th January 2007, 02:41
I know it's demultiplexer thread, but can anyone managed to do a perfect graph and avisynth script to produce 23.976 fps without TIVTC?
I only achieved this with TIVTC...
Graph: MAININTRO.grf
--------
mainintro.evo -> Sonic HD Demuxer -> Sonic Cinemaster VideoDecoder 4.1
Avs script: 720p.avs
-------------
DirectShowSource("MAININTRO.grf",audio=false,convertfps=true)
# TIVTC - Bottom field first
tfm(order=0).tdecimate()
ConvertToYV12()
LanczosResize(1280,720)
The strange thing is, that if I don't use the convertfps=true option (and use the fps=29.97 option), avisynth can't connet to the graph or can just no picture ...
Thanks
hmm, i'm using a similar script.
mine is EVO -> sonic HD demuxer -> sonic video decoder -> VMR renderer 9.
this plays the video fine in the preview but when trying to open the avs file i get this err
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
(H:\clip.avs, line 1)
this is the same whether i have ConvertToYV12 - in there or not, the same for convertfps
oddly, the demuxed video stream (VC-1) opens fine
Isochroma
18th January 2007, 03:29
@tomos: AVISynth connects to one output pin in the graph, so if you have all the pins already connected, how can it connect?
Like a little pig, you must save a teat on mother for it to suckle.
Remove the video renderer, then AVISynth will be able to connect to the video output pin of Sonic Video Decoder.
drmpeg
18th January 2007, 10:41
Here's a stand-alone command line EVOB demuxer for folks to try:
http://www.w6rz.net/evob_demux.zip
Usage is:
demux <-p> <infile> <video outfile> <audio outfile> <audio track>
typically:
demux movie.evo bits.mpv bits.mpa 0
The -p option dumps the PES header PTS values.
Unfortunately, I have only one .evo sample file that bond pointed me to. So it's not very well tested. However, if folks could PM me with samples (of all flavors, VC-1, H.264, DD, DD+, etc.), it should be fairly easy to add stream types.
Ron
SeeMoreDigital
18th January 2007, 10:46
Unfortunately, I have only one .evo sample file that bond pointed me to. So it's not very well tested. However, if folks could PM me with samples (of all flavors, VC-1, H.264, DD, DD+, etc.), it should be fairly easy to add stream types.Indeed.... I would not mind some samples too!
tomos
18th January 2007, 13:27
@tomos: AVISynth connects to one output pin in the graph, so if you have all the pins already connected, how can it connect?
Like a little pig, you must save a teat on mother for it to suckle.
Remove the video renderer, then AVISynth will be able to connect to the video output pin of Sonic Video Decoder.
thanking you - works :)
chros
18th January 2007, 13:34
Is it right that movies on HD-DVD are 24 fps and not 23.976 ???
regarding to the avs script:
I have done some test and calculation.
I have opened the 2 feature file in PowerDVD, and the durations:
f1: 01:09:13 , f2: 00:49:47 , so overall: 01:59:00
I have tried 3 version of the avs script:
1. no ivtc (none) , 2. TIVTC (as posted) , 3. TIVTC and AssumeFPS(24)
The results (by avisynth):
None: TIVTC: TIVTC+24
-------------------------------------------------
frames: 214035 171228 171228
time: 01:59:01:620 01:59:01:620 01:58:54:500
fps: 29.9701 23.9761 24.0000
fps: 5000000/166833 4000000/166833 24/1
As the time displayed by PowerDVD (of course it's just a rough value, but defenetly not 01:58:54:500 :) ), the TIVTC+24 method is totally wrong. The TIVTC method is the closest one, but the question is whether HD-DVDs store the movies with this fps (23.976). If not then the Sonic Video filter is wrong in the chain ...
juhu
18th January 2007, 15:00
Unfortunately, I have only one .evo sample file that bond pointed me to. So it's not very well tested. However, if folks could PM me with samples (of all flavors, VC-1, H.264, DD, DD+, etc.), it should be fairly easy to add stream types.
Ron
I saw that on the mule :
[link removed]
VC1 encoded, high bitrate (around 20mb/sec !). Sound is DDplus 5.1 according to Powerdvd
Just tried your lovely exe on it. Seems to work for video, but not for audio (0k file, tried with audio track 0 & 1)
asasadad_1
18th January 2007, 15:33
@drmpeg
wvc1.dd plus.evo(15.0 MB) (http://www.rogepost.com/n/7492649086) is a small sample.
lordx
18th January 2007, 15:41
I've tried demux.exe on a decrypted backup of my HD-DVD .
Seems to demux video but audio is 0 Ko ... tried 0 or 1, same result.
holzi
18th January 2007, 16:05
Yes Video demuxx seems to work.
Well at least it wirtes some data :)
What graph to use to playback the demux video?
Kind of stuck atm
Edit: Ok forgot the Sonic HD Demuxer now it works so video is demuxed
MrDVD
18th January 2007, 16:33
The demuxed video plays also in Powerdvd without Sonic HD Demuxer.
moshmothma
18th January 2007, 16:46
I managed to get playback of evo files in zoom player and theatetek. It's really a bit of kludge but both audio and video works. The big problem. I cannot seek. Also, both files must begin at the same time so you cannot resume. Please take special note of the filter chain and ensure all are installed.
For zoom player use the following:
1. Create a file called evo.mediagraph
2. paste the following into the file:
LoadFilter({9DC15360-914C-46B8-B9DF-BFE67FD36C6A},ReClock_Audio_Renderer)
LoadFilter({51B4ABF3-748F-4E3B-A276-C828330E926A},Video_Mixing_Renderer_9)
LoadFilter({7E2E0DC1-31FD-11D2-9C21-00104B3801F6},InterVideo Audio Decoder)
LoadFilter({317DDB73-870E-11D3-9C32-00104B3801F7},InterVideo_Demultiplexer)
LoadFilter({D7D50E8D-DD72-43C2-8587-A0C197D837D2},Sonic_Cinemaster®_VideoDecoder_4.1)
LoadFilter({250D7B7D-4344-41FD-A284-7299B7765F18},Sonic_HD_Demuxer_0001)
LoadFilter({E436EBB5-524F-11CE-9F53-0020AF0BA770},Source File_0)
LoadFilter({E436EBB5-524F-11CE-9F53-0020AF0BA770},Source File_1)
SetFilterFileName(Source File_0,<FileName>)
SetFilterFileName(Source File_1,<FileName>)
ConnectPin(Source File_0,Output,Sonic_HD_Demuxer_0001,Input)
ConnectPin(Source File_1,Output,InterVideo_Demultiplexer,Input)
ConnectPin(InterVideo_Demultiplexer,Audio,InterVideo Audio Decoder,In)
ConnectPin(Sonic_HD_Demuxer_0001,Video Out,Sonic_Cinemaster®_VideoDecoder_4.1,Video in)
ConnectPin(InterVideo Audio Decoder,Out,ReClock_Audio_Renderer,In)
ConnectPin(Sonic_Cinemaster®_VideoDecoder_4.1,Video Out,Video Mixing Renderer 9,VMR Input0)
3. Save file in zoomplayer\mediagraph folder
4. In Zoom player (latest version) - go to system - filter management - manual fitlers and choose 'auto by extension'
5. Play file
You can also use graphedit to export an xml file to use in theatertek. The problem I encountered with theatertek was that it would not except two blank source pins. Using the graph I created in Graphedit I could export it and use it solely in theatertek. Maybe someone can figure out a tweak.
Have fun.
holzi
18th January 2007, 17:11
The demuxed video plays also in Powerdvd without Sonic HD Demuxer.
Ok nice I don't have it installed so can't check.
I thought I could play it with fddshow but that just crashed graph edit :)
Isochroma
18th January 2007, 19:18
Thanks drmpeg! Using the departed trailer EVO, I can successfully demux the H264 video track; it muxes just fine in the latest MKVToolnix 2.0.0 (with first update installed too).
However, the audio track does not work (it's regular AC3), the output file is created but it is 0 bytes.
Warren
18th January 2007, 19:39
Guys please do not use the Departed trailer to validate anything. It is a homemmade EVOB and has next to nothing in common with HD DVD EVOBs.
honai
18th January 2007, 19:43
@moshmothma
tried your graph on three movies:
- Pitch Black: no sound at all
- Serenity: no sound at all
- Chronicles of Riddick: the Intervideo Audio Decoder downmixes to stereo, no sound if I switch to S/PDIF output
It seems that Intervideo doesn't decode DD+ at all, but in case of Riddick simply downmixes the DTS track in there. Tried putting in the Cyberlink Audio Decoder, but won't work either.
honai
18th January 2007, 20:01
The commercial HD-DVD rips I have here use 0xc0 .. 0xc2.
However, two unsolved problems remain:
* we can't mux VC-1 elementary streams because the tech spec is payware
* we can't mux/decode DD+ (other than proprietary playback/downmixing inside PowerDVD) because there's no DirectShow decoder for it
KhasMek
18th January 2007, 21:24
Here's a stand-alone command line EVOB demuxer for folks to try:
http://www.w6rz.net/evob_demux.zip
Usage is:
demux <-p> <infile> <video outfile> <audio outfile> <audio track>
typically:
demux movie.evo bits.mpv bits.mpa 0
The -p option dumps the PES header PTS values.
Unfortunately, I have only one .evo sample file that bond pointed me to. So it's not very well tested. However, if folks could PM me with samples (of all flavors, VC-1, H.264, DD, DD+, etc.), it should be fairly easy to add stream types.
Ron
worked great on the video for me, but nothing from the audio tracks (i have tried 0-3)
cheers on the great work so far btw....
madshi
18th January 2007, 21:59
The MPEG Tools of TMpgEnc seem to be able to extract all streams just fine. Stream ID "0xBF" seems to be Dolby Digital Plus and stream ID "0xFD" seems to be VC-1.
Isochroma
18th January 2007, 22:14
@asasadad_1: The download link for your sample EVOB seems to be nonfunctional: the hoster's link doesn't work.
Could you upload the file to another hoster? There's lots of them - I use MegaUpload.
_xxl
18th January 2007, 22:31
Sample files:
ftp://mplayerhq.hu/MPlayer/samples/evob/
Isochroma
18th January 2007, 22:43
@madshi: TMpgEnc tool extracts the H.264 in my EVOB ok, but the audio stream, once extracted, shows up in mkvmerge as video. When muxed, it plays a few seconds of audio in MPC then locks.
madshi
18th January 2007, 22:47
@madshi: TMpgEnc tool extracts the H.264 in my EVOB ok, but the audio stream, once extracted, shows up in mkvmerge as video. When muxed, it plays a few seconds of audio in MPC then locks.
What audio format is that? DD+? The question is: Who is responsible for the MPC lock? Is it the AC3 decoder? Or did muxing do something wrong? Or did TMpgEnc demux incorrectly? Maybe muxing DD+ must use a different stream indicator than DD? I've no idea...
Isochroma
18th January 2007, 23:06
Using the BLACK.EVO file...
First, using the Sonic HD demuxer and Sonic A/V filters, the file seems to play OK in MPC, but of course the screen is black. Seeking works. The audio stream shows up as Dolby Stereo.
TMPGENC's tool demuxes the video 'correctly', producing the exact same size file as using graphedit, Elecard MPEG Demultiplexer, and DVB dump filter.
However, this .vc1 file will only play in MPC using the Sonic decoder; if it is disabled and we hope that the WMT Advanced Profile decoder works, it doesn't - MPC report a pin failing to render.
MKVMerge won't mux it "file identification error", but using Haali's MKV muxer in Graphedit, it works...
The MKV file plays in MPC using Sonic's decoder, but plays as fast as it can decode (MPC's Properties report no framerate).
Disabling the Sonic decoder and using the WMT decoder, the file opens but won't play. Properties again shows 1920x1080 WVC1 but no framerate.
It is clear that the WVC1 extracted is a raw stream, which is missing framerate and keyframe data, and thus requires muxing to make it work properly.
The DVBPortal WMV Muxer/Encoder won't touch it, reports this:
"BLACK-0xFD.vc1 rejected due to no video or unknown codec"
Now for the audio:
Using TMPGEnc's MPEG Tools, the audio (private_stream_1 (0xC0) is extracted. However, the file fails to render in MPC unless BOTH the Sonic HD Demuxer and the Sonic audio decoder are enabled. Even then, it hangs on frame 0 and uses 100% CPU.
madshi
18th January 2007, 23:19
Just found out that by "prefer"ing Cyberlink's MPEG Splitter and Cyberlink's Demultiplexer, MPC seems to "understand" the EVO correctly. It tries to play the VC1 stream directly from the EVO file. Unfortunately I don't have the Sonic filters, so I can't check whether there's actually a valid picture. The Cyberlink VC-1 decoder complains about not being able to connect the output pin.
honai
18th January 2007, 23:57
Since you can't render the demuxed streams there's no indication that Cyberlink's demuxer actually produce any meaningful streams. It may just be garbage.
mikeathome
19th January 2007, 01:48
Hi,
good old VStrip + Gui is able to demux something. It's nice because you can do a short start and then stop which will list you found streams easy enough. These can than be used for the stripping setup in output tab.
BUT can't do anything with these. Something's really wrong here, looks like the audiostream is still encrypted, no way to play back with anything. KK e.g. has it audio streams in
0xbd 0xc0
0xbd 0xc2
0xbd 0xc1
0xbd 0xc8
Video 0xfd
Subs
0xbd 0x22
0xbd 0x21
0xbd 0x20
Video demux does not work.
The real shit is that Intervideos iviaudio does not produces anything but 2 ch stereo since it is the only one which demux from EVO. Btw. any idea how to save this as an wav?
mike
drmpeg
19th January 2007, 06:39
I've updated my demuxer to fix the audio problems. You now have to select the audio format (DD, DD+, etc.).
http://www.w6rz.net/evob_demux.zip
EVOB Demuxer = Version 0.1
Usage:
demux <-p> <infile> <video outfile> <audio outfile> <audio format> <audio track>
Typically:
demux movie.evo bits.mpv bits.mpa 1 0
Audio formats:
0 = DD
1 = DD+
2 = DTS-HD
3 = LPCM
4 = MLP
Ron
drmpeg
19th January 2007, 06:52
It is clear that the WVC1 extracted is a raw stream, which is missing framerate and keyframe data, and thus requires muxing to make it work properly.
I can decode the raw VC-1 streams. All the required information is present.
Here's a dump of the sequence header for asasadad_1's stream:
SeqHeader: 1
+->Offset: 0
+->Size: 22
+->PROFILE: 3 (Advanced)
+->LEVEL: 3 (AP@L3)
+->COLORDIFF_FORMAT: 1 (4:2:0)
+->FRMRTQ_POSTPROC: 7 (30 frm/s)
+->BITRTQ_POSTPROC: 31 (2016 kbps)
+->POSTPROCFLAG: 0 (FALSE)
+->MAX_CODED_WIDTH: 959 (1920)
+->MAX_CODED_HEIGHT: 539 (1080)
+->PULLDOWN: 1 (TRUE)
+->INTERLACE: 1 (TRUE)
+->TFCNTRFLAG: 0 (FALSE)
+->FINTERPFLAG: 0 (FALSE)
+->RESERVED: 1 (TRUE)
+->PSF: 0 (FALSE)
+->DISPLAY_EXT: 1 (TRUE)
+->DISP_HORIZ_SIZE: 1919 (1920)
+->DISP_VERT_SIZE: 1079 (1080)
+->ASPECT_RATIO_FLAG: 1 (TRUE)
+->ASPECT_RATIO: 1 (1:1)
+->FRAMERATE_FLAG: 1 (TRUE)
+->FRAMERATEIND: 0 (FALSE)
+->FRAMERATENR: 3 (30*1000)
+->FRAMERATEDR: 2 (1001)
+->COLOR_FORMAT_FLAG: 0 (FALSE)
+->HRD_PARAM_FLAG: 1 (TRUE)
+->HRD_PARAM
| +->HRD_NUM_LEAKY_BUCKETS: 1
| +->BIT_RATE_EXPONENT: 3 (9)
| +->BUFFER_SIZE_EXPONENT: 4 (8)
| +->HRD_RATE: 46874
| +->HRD_BUFFER: 57599
Ron
orbitlee
19th January 2007, 07:57
@drmpeg, thanks a lot for your evob_demux tool. The output is 100% match with my result, for both video and audio. My process is more troublesome, though. I use graphedit to demux the VC1 video and DTS/DD+ audio. For DD+ audio, since intervideo demux outputs MPEG2_PES, I had to write another tool to strip the PES packet header and leading 4 bytes(timestamp?).
For the demuxed VC1 raw stream and DTS/DD+ audio, I'm pretty sure they are legitimate. VC1 video stream can be analyzed with elecard stream analyzer(drmpeg, which tool you are using to dump VC1?), can be imported into sonic scenarist, can be played in graphedit(with elecard demultiplexer and Sonic video decoder). DTS/DD+ audio stream also can be imported into sonic scenarist.
A feature request, is it possible to show how many audio tracks(and their format) in EVO, or, at least, a wildcard audio format can be used for <audio format> parameter?
_xxl
19th January 2007, 10:44
demux.exe mainintro.evo bits.mpv bits.mpa 1 0
I can't play bits.mpv.
kurt
19th January 2007, 11:01
demux.exe mainintro.evo bits.mpv bits.mpa 1 0
I can't play bits.mpv.
I tried to demux delscene1.evo from your ftp and it worked great with demux.exe delscene1.evo bits.mpv bits.mpa 1 0
Muxed the ouptut in mkvtoolnix together and it plays fine with Intervideo Video Decoder (ffdshow produces interlaced artifacts, same as gabest mpeg2 decoder) and AC3filter. Trying to deinterlace in ffdshow doesn't help so far.
But that delscene1.evo doesn't contain a vc-1 stream, does it?
Do you have a mirror for black.evo?
Edit: TomSMocomp deinterlacer did the trick in ffdshow :)
Edit2: nevermind, I could download black.evo with leechftp in the meantime
holzi
19th January 2007, 11:43
the delscene1.evo contains a MPEG2 Video Stream.
vsv
19th January 2007, 11:56
If evob preserve a few audio streams and subtitles?
What syntax for demux? Thanks.
SeeMoreDigital
19th January 2007, 12:27
the delscene1.evo contains a MPEG2 Video Stream.DGIndex seems to have no problems de-muxing the MPEG-2 video streams out of .EVO files.... Sadly, it's unable to detect and de-mux the audio streams though...
orbitlee
19th January 2007, 17:19
Hi,
PLEASE, a step by step howto get a DD+ into Scenarist. I am trying this badly now since days!
mike
check PM since this is off-topic.
DeathMonk
19th January 2007, 18:21
Has anyone tried to mux the HDDVD content after demux in scenarist?
It plays all jittery... And whats really wierd, even content that I encoded myself into AVC (from a panasonic 720p varicam) and authored in scenarist does the same thing.
SeeMoreDigital
19th January 2007, 18:30
I'm struggling....
By any chance, could somebody de-mux the audio stream from drevil_xxl's DELSCENE1.EVO sample and post a link to it please?
Many thanks
Isochroma
19th January 2007, 20:44
After demuxing a VC-1 track, I can only get it to play using Sonic's filter - even though I have the wvc1dmo installed.
This occurs using both the Elecard MPEG Demultiplexer and the Sonic HD Demux.
The Sonic gives me this error in MPC:
Media Type 0:
--------------------------
Video: WVC1 1920x1080 29.97fps
AM_MEDIA_TYPE:
majortype: MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71}
subtype: Unknown GUID Name {31435657-0000-0010-8000-00AA00389B71}
formattype: FORMAT_VideoInfo2 {F72A76A0-EB0A-11D0-ACE4-0000C0CC16BA}
bFixedSizeSamples: 0
bTemporalCompression: 1
lSampleSize: 0
cbFormat: 146
And the Elecard gives me almost the same:
Media Type 0:
--------------------------
Video: WVC1 1920x1080 29.97fps
AM_MEDIA_TYPE:
majortype: MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71}
subtype: Unknown GUID Name {31435657-0000-0010-8000-00AA00389B71}
formattype: FORMAT_VideoInfo2 {F72A76A0-EB0A-11D0-ACE4-0000C0CC16BA}
bFixedSizeSamples: 1
bTemporalCompression: 0
lSampleSize: 65535
cbFormat: 146
The only differences are bFixedSizeSamples and lSampleSize.
And finally, the most annoying thing is that the MS WVC1 DMO is fully registered and handles the exact Major and MinorTypes that MPC/Graphedit says it can't connect:
http://isochroma.com/Testfiles/Misc/doom9/vc1-dmo-1.gif
http://isochroma.com/Testfiles/Misc/doom9/vc1-dmo-2.gif
MajorType: 73646976-0000-0010-8000-00AA00389B71 [Video]
MinorType: 31435657-0000-0010-8000-00AA00389B71 [WVC1]
kurt
19th January 2007, 21:07
I'm struggling....
By any chance, could somebody de-mux the audio stream from drevil_xxl's DELSCENE1.EVO sample and post a link to it please?
Many thanks
here you are: http://home.arcor.de/kurdt/divers/delscene.mpa
with this commandline: demux delscene1.evo delscene.mpv delscene.mpa 1 0
Isochroma
19th January 2007, 21:19
Ok, I just figured it out!
Here is the Sonic Cinemaster decoder filter's MediaTypes:
http://isochroma.com/Testfiles/Misc/doom9/sonic-vdec-1.gif
Note that the WVC1's Minor Mediatype is not present in either two of the "Video" Designation types! Indeed, in order to accept VC1 streams, the Designation is listed as WVC1.
So the MS VC1 filter will work, but the VC1 must be inside a container whose splitter reports its Designation as Video.
Playing a raw VC1 stream directly, it is reported as type "WVC1", rather than type "Video", fourcc "WVC1"!
By muxing the VC1 stream into an MKV using Haali's muxer, the stream now 'plays' in MPC, using the MS VC1 decoder. However, it doesn't actually play properly because the framerate hasn't been set (it shows as 0), and sadly mkvmergegui won't let us set framerate on this type of stream.
http://isochroma.com/Testfiles/Misc/doom9/vc1-graph-1.png
SeeMoreDigital
19th January 2007, 21:20
here you are: http://home.arcor.de/kurdt/divers/delscene.mpa
with this commandline: demux delscene1.evo delscene.mpv delscene.mpa 1 0
Many thanks...
I'm curious though. How come the file carries a .MPA when it's an AC3 stream?
Cheers
honai
19th January 2007, 21:27
Uhm .. because you told the demuxer to write that extension?
holzi
19th January 2007, 22:06
well lets wait for a update for mkvmerge. :)
Because the headers according to:
http://forum.doom9.org/showpost.php?p=939290&postcount=112
are pressent.
BTW how did you muxx the VC-1 with graph-edit and hali muxxer?
I have never done that
honai
19th January 2007, 22:25
Doesn't DVBportal HDTV Reference Dump add timestamps?
frogman
19th January 2007, 22:45
Hi .. First post here.
I backup my KingKong movie. And following along I tried my hand in demux just a small sample file. Delogo.evo.
M:\movies\kingkong]demux delogo.evo bits.mpv bits.mpa 1 0
The demuxing went fine, byte count is good.
The bits.mpv play back in powerdvd hddvd but I can't find any apps out there that support playback of "bits.mpa".
Question is what multimedia applications playback ".mpa" !
holzi
19th January 2007, 22:48
it dosn't matter how you call that file.
It's important whats in it. And it is DD+ for witch there is no filter yet.
SeeMoreDigital
19th January 2007, 22:48
The demuxing went fine, byte count is good.
The bits.mpv play back in powerdvd hddvd but I can't find any apps out there that support playback of "bits.mpa".
Question is what multimedia applications playback ".mpa" !Hi and welcome to the forum...
Did you see my previous post?
honai
19th January 2007, 23:15
@Isochroma
Great work! Which files did you test this on? Commercial HD-DVD? I have a couple of them here as backups, containing VC-1 video streams, so I'll try your method later.
holzi
19th January 2007, 23:40
take a look @ http://forum.doom9.org/showpost.php?p=939034&postcount=104
for more samples the mainintro.evo is VC-1 too.
I'm still not able to muxx the VC-1 raw stream with hali muxxer :)
Pls give me a short how to ;)
Isochroma
20th January 2007, 00:27
Note: If you have an H264 (AVC) EVOB, see my Tutorial: Perfect AVC EVOB to MKV Remuxing (http://forum.doom9.org/showthread.php?p=935396#post935396)
for how to transmux to MKV. Decode is a snap after that.
To recap from my previous posts, here is the path for processing VC-1 video from an EVOB:
0. Obtain an EVOB (.EVO file) containing a VC-1 encoded video stream.
Samples for testing: UNILOGO.EVO (http://rapidshare.com/files/12467866/UNILOGO.EVO) (78 MB), wvc1.dd plus.evo (http://www.rogepost.com/n/7492649086) (15 MB)
1. Demux the VC-1 track using the latest demux.exe (http://www.w6rz.net/evob_demux.zip) posted by drmpeg, name it with a .vc1 extension.
2. Using GraphEdit, mux the VC-1 stream into an MKV using the Haali Matroska Muxer (contained in the
Haali Media Splitter (http://haali.cs.msu.ru/mkv/MatroskaSplitter.exe)). You must also have the Elecard MPEG Demultiplexer (part of the
Elecard MPEG-2 Decoder and Streaming Pack (http://www.elecard.com/products/product.php?product_id=149)).
Special Note on the Elecard Demuxer: The version included in the older 3.0 release will crash when connected
to a VC-1 EVO. The bad version is 1.0.19, the working version is 1.0.47 build 60321 (or later). See this post (http://forum.doom9.org/showthread.php?p=941246#post941246)
for more details; contact me by Private Message (http://forum.doom9.org/private.php?do=newpm&u=73458) if you have this problem.
Here is the graph:
http://isochroma.com/Testfiles/Misc/doom9/vc-1-mux-1.png
Note that the Elecard Demuxer's Ouput Pin is labelled 'VC-1'. This means the demuxer understands the format;
right now it is the only one, besides the Sonic, that does. It also 'understands' H264. Thus it can correctly deliver
elementary streams in either of these two formats, as well as good old fashioned MPEG-1/2, which covers all video
formats available in the HD-DVD and Blu-Ray specifications.
3. The resulting MKV file will not be properly valid;
checking its properties (install the Matroska Pack (http://packs.matroska.org/1.1.2/Matroska_Pack_Full.exe) to get this shell extension) we see:
http://isochroma.com/Testfiles/Misc/doom9/mkv-h-prop-1.png
Note the framerate of 0.000000 fps.
4. Create a file named time.txt (name doesn't matter but it should end in .txt), and into the file put these lines:
# timecode format v1
assume 24.000
5. Now run the latest MKVMerge GUI (http://www.bunkus.org/videotools/mkvtoolnix/win32/mkvtoolnix-unicode-2.0.0-setup.exe)
(be sure to update it by copying the new files from the latest update package (http://www.bunkus.org/videotools/mkvtoolnix/win32/pre/mkvtoolnix-unicode-2.0.0-build20070117-1.rar))
Drop the .mkv file produced by Haali's muxer in MKVMergeGUI, then click on the video track.
In the Timecodes field, click the Browse button and select the .txt file made in step 4.
Finally, give the output filename some new name and click Start Muxing:
http://isochroma.com/Testfiles/Misc/doom9/vc-1-mux-2.png
6. Checking the Properties on this new MKV file shows us, to great delight and surely also
wonderment, that it has a real framerate with normal timecodes:
http://isochroma.com/Testfiles/Misc/doom9/mkv-prop-1.png
7. Now we can use MKVExtract GUI (http://download.videohelp.com/download/MKVExtractGUI-1.6.4.zip) to extract the VC-1 track to AVI:
http://isochroma.com/Testfiles/Misc/doom9/mkvextract-1.png
8. We can see that this AVI, though not openable with VCM-based software
(no VC-1 VCM codec exists right now), looks normal in Avicodec (http://avicodec.duby.info/ftp/AVIcodec_1.2_b110.exe):
http://isochroma.com/Testfiles/Misc/doom9/vc1-avi-1.png
9. For some unknown reason, the file won't play using the Microsoft VC-1 DirectShow filter,
but works just fine using the Sonic Cinemaster VideoDecoder 4.1.
Gabest's splitter won't work at all on this AVI, BUT both the Haali Media Splitter and System AVI splitter do!
So if you disable Gabest's internal in MPC, you can get playback just fine.
In my case, GraphEdit uses the System AVI splitter, but you should also be able to use the Haali Media Splitter:
http://isochroma.com/Testfiles/Misc/doom9/vc1-avi-graph.png
10. Now for the final, and might I say most delicious step: make an .avs file in the same folder as the AVI,
and into it put these lines:
directshowsource("wvc1.ddp.avi",fps=24)
trim(0,200)
You might ask, why the trim? And why fps=24? To answer these questions in reverse order:
1. It turns out this file's correct framerate is 24fps, determined by playing the .evo directly in MPC
and observing its playback length. And it also turns out that due to some oddness, the fps value
of the .avi, though it appears to be 24.0, will actually be 29.970 when opened via .avs.
2. For some reason the number of frames in the AVI exceeds the true number of frames by (29.970 / n),
where n is the real framerate. The original in this example has a framerate of 24fps, and there are
243 frames in the avi, so only the range 0-200 is valid (good idea to step thru to make sure,
theoretically it should be 195). The extra frames are (thankfully) all at the end in a contiguous
chunk, so it is easy to trim() them off.
Opening the AVI with VirtualDub (http://sourceforge.net/project/showfiles.php?group_id=9649&package_id=9727) (I use 1.5.10), we are pleased to observe:
http://isochroma.com/Testfiles/Misc/doom9/vc1-avi-vdub.png
The end result of this process is two files: an AVI and an AVS. The AVS file, when opened in VirtualDub, has these properties:
1. If the source is film, the served stream is always progressive, not requiring any IVTC, deinterlace, or decimation (duplicate removal)
2. Frame Size: Original Frame Size
3. Framerate: user calculated rate, should be accurate
4. Number of Frames: user calculated and trimmed()
5. Is seekable (all timestamps present), and decodes every frame within the valid range without error.
honai
20th January 2007, 00:48
Hmm. But isn't much of the process superfluous? If your goal is to play the file via DirectShowSource() why don't you just feed the EVO into the Sonic HD Demuxer (as you have the Sonic Video Decoder you also have the Demuxer) and then to the Video Decoder?
I think the target should be playback from an MKV/AVI container using Microsoft's VC-1 DMO. That way you also won't need the IVTC because telecine is only introduced by Sonic's Decoder. The source itself contains pure 24fps progressive, and Microsoft's decoder can output it as such.
EDIT:
According to another forum InterVideo's VC-1 Decoder also doesn't telecide the video but outputs pure 24fps.
Isochroma
20th January 2007, 01:40
@honai: after analyzing the frames, I've found that each one is unique, which means Sonic's filter is outputting pure progressive too! So the right thing to do is to create that timecode file (step 4) and set it to 23.976 or 24.
There are several problems with doing directshowsource() on the .evo:
1. Using directshowsource("filename.evo") fails:
http://isochroma.com/Testfiles/Misc/doom9/dss-fails-1.png
We next build a test graph to find out why it is failing:
http://isochroma.com/Testfiles/Misc/doom9/evo-graph-sysdemux.png
Aha! The System MPEG Demux is putting itself in there because it has higher merit, and not providing an output pin.
So let's make the graph manually, using the Sonic HD Demuxer this time:
http://isochroma.com/Testfiles/Misc/doom9/evo-graph-sonicdemux-1.png
Plays just fine in graphedit, but let's save the graph and try directshowsource("graph.GRF"):
http://isochroma.com/Testfiles/Misc/doom9/evo-graph-error-1.png
Ah! We must remember that AviSynth needs one (and only one!) video or audio pin in the graph open, so that it can connect.
Looking back at the graph, we see a number of open pins, and the video we want is blocked by the greedy Video Renderer. Let's enumerate the pins, and what we have to do to them to make this work:
1. Audio Out: must be closed
2. ~SPU Out: must be closed
3. ~CC Out: must be closed
4. Video Out: must be opened
We'll connect all those unconnected pins to the magic Null Renderer, which is very promiscuous (it connects to anything), and sends any samples straightaway to Hell, and then we'll delete the Video Renderer and then we'll have it working, right?
http://isochroma.com/Testfiles/Misc/doom9/evo-graph-error-2.png
Oh darn! Seems that nasty ~SPU pin won't connect to anything... and believe me, I've tried everything. Game over or restart?
Xplode
20th January 2007, 02:04
@honai: after analyzing the frames, I've found that each one is unique, which means Sonic's filter is outputting pure progressive too! So the right thing to do is to create that timecode file (step 4) and set it to 23.976 or 24.
There are several problems with doing directshowsource() on the .evo:
1. Using directshowsource("filename.evo") fails:
http://isochroma.com/Testfiles/Misc/doom9/dss-fails-1.png
We next build a test graph to find out why it is failing:
http://isochroma.com/Testfiles/Misc/doom9/evo-graph-sysdemux.png
Aha! The System MPEG Demux is putting itself in there because it has higher merit, and not providing an output pin.
So let's make the graph manually, using the Sonic HD Demuxer this time:
http://isochroma.com/Testfiles/Misc/doom9/evo-graph-sonicdemux-1.png
Plays just fine in graphedit, but let's save the graph and try directshowsource("graph.GRF"):
http://isochroma.com/Testfiles/Misc/doom9/evo-graph-error-1.png
Ah! We must remember that AviSynth needs one (and only one!) video or audio pin in the graph open, so that it can connect.
Looking back at the graph, we see a number of open pins, and the video we want is blocked by the greedy Video Renderer. Let's enumerate the pins, and what we have to do to them to make this work:
1. Audio Out: must be closed
2. ~SPU Out: must be closed
3. ~CC Out: must be closed
4. Video Out: must be opened
We'll connect all those unconnected pins to the magic Null Renderer, which is very promiscuous (it connects to anything), and sends any samples straightaway to Hell, and then we'll delete the Video Renderer and then we'll have it working, right?
http://isochroma.com/Testfiles/Misc/doom9/evo-graph-error-2.png
Oh darn! Seems that nasty ~SPU pin won't connect to anything... and believe me, I've tried everything. Game over or restart?
You don't need to use the null renderer on open pins to make it work in avisynth
honai
20th January 2007, 02:08
Well, my bet is on trying a different video renderer than Sonic's. That wasn't meant for standalone playback, anyway, but rather for internal use in their mastering solution.
The most promising path so far seems to be waiting for one of the devs to write a VC1->WMV/AVI muxer. crypto or Dmitry (SolveigMM) are working on this already.
Isochroma
20th January 2007, 02:48
@Xplode: AviSynth requires one and only one open pin to connect to a filter graph. I chose the null renderers because they're the most efficient way to dispose of pins.
If there was more than one open pin in the graph, how is AviSynth supposed to know where to connect? Read the error message carefully: "Only 1 stream supported for .GRF files..."
@honai: First, Sonic doesn't make a video renderer, they make a demuxer and two decoders.
Second, waiting for someone to write a VC-1 muxer could test your patience. I for one, will not wait - it could take months or years, maybe never... the method outlined above will get you an .avs that works, right now.
Until the much-anticipated bridge software arrives, let's try the proposed method, and maybe even think up some new ones and test them as well. That way we can continue to make progress, while others work on programming splitters/demuxers/muxers.
I will be testing further .evo files to verify that it works on all of them (encouraging others to do the same), and will report back shortly.
honai
20th January 2007, 02:56
Yep, I did mean video decoder and have used that term before.
I for one, will not wait - it could take months or years, maybe never...
Dmitry said it would take him a week, so ...
Xplode
20th January 2007, 03:24
@Xplode: AviSynth requires one and only one open pin to connect to a filter graph. I chose the null renderers because they're the most efficient way to dispose of pins.
If there was more than one open pin in the graph, how is AviSynth supposed to know where to connect? Read the error message carefully: "Only 1 stream supported for .GRF files..."
Avisynth opens the .GRF file without problems here without connecting ~SPU Out and ~CC Out to null renderer or some other renderer.
Do you use "audio=false" in your avisynth script?
Isochroma
20th January 2007, 03:40
@Xplode: Thanks for the idea! I didn't know about audio=false.
Nonetheless, using this on the .evo, vdub opens the avs and shows frame 0, but selecting File->Information, the number of keyframes increases continuously, and furthermore, seeking or even stepping to frame 1 doesn't work.
In other news, I've now tested my method against the second VC-1 EVOB (UNILOGO.EVO (http://rapidshare.com/files/12467866/UNILOGO.EVO)) (seems the originating post was removed) and found that it works perfectly.
My previous guide (Tutorial: Perfect VC-1 EVOB to .AVS Conversion (http://forum.doom9.org/showthread.php?p=939698#post939698)) has been updated to reflect various changes in methodology, mostly cleanup. I hope it becomes a useful reference for others.
I will also continue testing any .evo sample files posted to verify the accuracy and reliability of the method, so keep 'em coming!
crypto
20th January 2007, 09:48
@Isochroma
Great job. You are nearly there. When you have a playable VC-1 AVI, did you try to mux it into WMV using the dvbportal wmvmuxer or solveig asfwriter?
honai
20th January 2007, 10:35
When you have a playable VC-1 AVI, did you try to mux it into WMV using the dvbportal wmvmuxer?
Tried it with a sample:
File ...\out2_Track1.avi rejected due to no audio or unknown codec
EDIT:
Stuffed in some AC3 audio data, now the .AVI is correctly parsed and identified (correct framerate, no. of frames, resolution, etc), but conversion stalls at 99%, and only 66K are written to disk.
crypto
20th January 2007, 10:53
honai, Don't get confused by the error/warning you got first. It means, there is no audio in the avi, which is correct. Just use the video direct stream copy setting, an advanced [WVC1] 1920 x 1080 profile and save to wmv. Sorry for the confusing GUI, there is still work to do.
honai
20th January 2007, 11:07
Thanks for that hint, yes, that did it.
Now I got the same test file as an AVI and WMV, but ... it doesn't render properly when the WMV9 Advanced Profile Decoder is used. All I get is seemingly random colored blocks all over the place.
Here's the filter info from MPC:
- Connected to:
CLSID: {187463A0-5BB7-11D3-ACBE-0080C75E246E}
Filter: F:\_ Incoming\Pitch Black\HVDVD_TS\test.wmv
Pin: Raw Video 0
- Connection media type:
Video: WVC1 1920x1080 23.97fps 12583Kbps
AM_MEDIA_TYPE:
majortype: MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71}
subtype: Unknown GUID Name {31435657-0000-0010-8000-00AA00389B71}
formattype: FORMAT_VideoInfo2 {F72A76A0-EB0A-11D0-ACE4-0000C0CC16BA}
bFixedSizeSamples: 0
bTemporalCompression: 1
lSampleSize: 0
cbFormat: 134
VIDEOINFOHEADER:
rcSource: (0,0)-(1920,1080)
rcTarget: (0,0)-(1920,1080)
dwBitRate: 12583214
dwBitErrorRate: 0
AvgTimePerFrame: 417188
VIDEOINFOHEADER2:
dwInterlaceFlags: 0x00000000
dwCopyProtectFlags: 0x00000000
dwPictAspectRatioX: 1920
dwPictAspectRatioY: 1080
dwControlFlags: 0x00000000
dwReserved2: 0x00000000
BITMAPINFOHEADER:
biSize: 62
biWidth: 1920
biHeight: 1080
biPlanes: 1
biBitCount: 24
biCompression: WVC1
biSizeImage: 65536
biXPelsPerMeter: 0
biYPelsPerMeter: 0
biYPelsPerMeter: 0
biClrUsed: 0
biClrImportant: 0
pbFormat:
0000: 00 00 00 00 00 00 00 00 80 07 00 00 38 04 00 00 ........€...8...
0010: 00 00 00 00 00 00 00 00 80 07 00 00 38 04 00 00 ........€...8...
0020: 2e 01 c0 00 00 00 00 00 a4 5d 06 00 00 00 00 00 ..Ŕ.....¤]......
0030: 00 00 00 00 00 00 00 00 80 07 00 00 38 04 00 00 ........€...8...
0040: 00 00 00 00 00 00 00 00 3e 00 00 00 80 07 00 00 ........>...€...
0050: 38 04 00 00 01 00 18 00 57 56 43 31 00 00 01 00 8.......WVC1....
0060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0070:|27 00 00 01 0f e3 7e 3b f2 1b 88 80 00 00 01 0e '....ă~;ň.ˆ€....
0080: 10 44 ef c8 6c 80 .DďČl€
- Enumerated media type 0:
Video
AM_MEDIA_TYPE:
majortype: MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71}
subtype: Unknown GUID Name {31435657-0000-0010-8000-00AA00389B71}
formattype: TIME_FORMAT_NONE {00000000-0000-0000-0000-000000000000}
bFixedSizeSamples: 0
bTemporalCompression: 1
lSampleSize: 0
cbFormat: 0
However, Sonic Video Decoder *does* render it correctly.
madshi
20th January 2007, 11:28
I'm a bit confused. Isochroma, would you mind explaining why you aren't happy with the mkv file? I mean shouldn't everything be just fine once you have the mkv with a 24fps VC-1 stream inside? Why the AVS stuff? What purpose does it have? Thanks!
Daodan
20th January 2007, 11:32
@Isochroma
The muxing into mkv part doesn't work on ANY of the vc1 evos I have. I only get a mkv of a few kb, and that's it. Yes, tried your method and also other deviations and nothing. Is there something I also need that you did not specify?
honai
20th January 2007, 12:05
I just now realized something. Cyberlink ships their own VC-1 decoder w/ PowerDVD: %ProgramFiles%\CyberLink\PowerDVD\VideoFilter\vc1dc.dll
Could it be possible that all VC-1 video streams authored for HD-DVD aren't meant to be played by Microsoft's DirectShow filters? And because of that Cyberlink didn't just ship the WV9 runtime but had to write their own decoder? Same for InterVideo, they also have their own VC-1 decoder.
EDIT:
I also noticed that in the above dump biSizeImage = 65536, whereas in all other WVC1 sample files I have it's a value around 318603. What does that parameter do, and how is it derived?
crypto
20th January 2007, 12:37
@honai
Interesting thought. The same is true for Sonic.
drmpeg
20th January 2007, 12:38
@drmpeg, thanks a lot for your evob_demux tool.
No problemo. I had actually written this utility long ago. It just needed a little work to do .evo files.
A feature request, is it possible to show how many audio tracks(and their format) in EVO, or, at least, a wildcard audio format can be used for <audio format> parameter?
I had the same thought myself, so I'll probably add that feature (of reporting all the available audio streams).
A couple of notes for Version 0.1:
1) LPCM audio extraction is not finished. Not a big issue, since there are no (or very few) HD-DVD's with LPCM tracks.
2) The same tool works with regular SD DVD .vob files.
Ron
honai
20th January 2007, 12:51
A feature request, is it possible to show how many audio tracks(and their format) in EVO
I'm also working on a similar feature, but my implementation will extract the information from the XPL document. I'll probably include an invokation of demux.exe (if present) to demux the streams.
@drmpeg
Do you mind if I package your tool with mine for that purpose?
SeeMoreDigital
20th January 2007, 13:18
No problemo. I had actually written this utility long ago. It just needed a little work to do .evo files.I wonder if there's somebody here who could make a user-friendly GUI
drmpeg
20th January 2007, 14:09
@drmpeg
Do you mind if I package your tool with mine for that purpose?
Not at all. That's why I include the source code in the .zip file. It's there for others to use as the core for their own package.
However, I almost have stream reporting and LPCM finished, so there will be a new release soon.
Ron
drmpeg
20th January 2007, 14:21
I wonder if there's somebody here who could make a user-friendly GUI
Sorry about that. It's just that I've never done much GUI work professionally, so it's a bit beyond my programming skills. I'm much more of an embedded systems programmer (where a serial port is the main user interface). Also, I'm way more comfortable with Unix, so command line is familiar territory. BTW, for you Linux folks out there, dumux.c should compile no problem with the GNU C compiler.
Ron
BigBoss
20th January 2007, 15:14
I have tried the method outlined here and have the same problem that Daodan has. The mux step in graph edit produces a mkv file that's a few bytes long only.
I have some further comments though. I have no problems getting DirectShowSource("file.evo", audio=false) to open in AVS. On small samples, it is easy to load and even convert the EVO without issues. But there are problems doing full movies. I am testing with Superman Returns. Here are the observations I have:
1) I can use Sonic's filters and get true 24 fps progressive frames without duplicates. This is based on the length of the film based on the number of frames returned.
2) I can load the directshowsource with the EVO directly into AVS - or use the graph edit .grf file method. In either case, the frame rate returned is 29.97. I have been using fps=23.976 to correct this.
3) If I do not use convertfps parameter to directshowsource, the frame count returned is wrong. Therefore, I am also using framecount= to correct this.
Here is my full script:
DirectShowSource("SupermanReturns1.evo", framecount=111265, audio=false, fps=23.976) + DirectShowSource("SupermanReturns2.evo", framecount=110723, audio=false, fps=23.976)
ConvertToYv12()
When I run this and encode, I get a video file with perfectly smooth video that runs at 24fps as expected. However, when I mux in the 24fps audio track from the DVD, it is out of sync gradually in various places. It starts out fine but sync loss is gradual until the second segment, then it syncs fine again and there is more gruadual sync loss until the end.
If I add convertfps=true to the script, the sync is not better and the video is extremely jumpy. If I remove the fps= and decimate the video, it is extremely jumpy and I lose a lot of footage at the end of the movie because the source is really 24fps.
I have tried fps=24, fps=23.976, fps=24.0/1.001 all are out of sync after several minutes of video footage pass.
It seems the purpose of Isochromas steps were because he indicated that he could not load the EVO with directshowsource directly, that using directshowsource with the .grf files did not work for him, and that the sonic output was not 24fps but instead 29.97fps. None of these are the case for me. Therefore, loading the EVO directly or using the grf seems equivalent.
Am I missing something here? Could it be perhaps that no one here has tested using a full 2 1/2 hour movie?
MrDVD
20th January 2007, 15:45
BTW, for you Linux folks out there, dumux.c should compile no problem with the GNU C compiler.
Ron
Hallo, tested and it works:
./demux
usage: demux <-p> <infile> <video outfile> <audio outfile> <audio format> <audio track>
# ./demux wvc1.dd+plus.evo wvc1.dd+plus.mpv wvc1.dd+plus.dd+ 1 0
# ll
-rwxr-xr-x 1 root root 11664 Jan 20 15:33 demux
-rw-r--r-- 1 root root 8760 Jan 20 15:31 demux.c
-rw-r--r-- 1 root root 615456 Jan 20 15:38 wvc1.dd+plus.dd+
-rwxrw-rw- 1 root root 15792128 Jan 18 15:56 wvc1.dd+plus.evo
-rw-r--r-- 1 root root 14905875 Jan 20 15:38 wvc1.dd+plus.mpv
Zero1
20th January 2007, 16:31
Hey guys, interesting stuff.
Sorry if this is a "repost" of someone elses findings (to be honest I just skimmed through and was eager to test and report back), but I've found a little quicker method.
This is for owners of InterVideo WinDVD 8, and the filewriters are still using HDTVdump.
http://img99.imageshack.us/img99/984/evodemux0wl.th.png (http://img99.imageshack.us/my.php?image=evodemux0wl.png)
orbitlee
20th January 2007, 17:21
For NTSC video, I don't believe every video stream(either AVC or VC1) are always CFR encoded(23.976, 24, 29,97, or whatever), even in HD DVD. Just like MPEG2, both AVC and VC1 support hard telecine and soft telecine. We have tff/rff flag in MPEG2, pic_timing SEI in AVC, and I see tff/rff flag in VC1 video stream(somebody have VC1 spec please confirm). Why we should believe AVC or VC1 encoder will always handle film source and generate 100% soft telecine stream? According to murphy's law, Anything that can go wrong, will go wrong.
If there are very small percentage of hard telecine encoding in somewhere, in nature this stream is VFR encoded. Any attempts to use CFR container(AVI) or directshowsource, will meet AV sync trouble sooner or later, especially when handle full length movie.
vsv
20th January 2007, 17:31
@drmpeg
Ron, thanks for a nice demuxer! I hope you can implement new feature for BD's m2ts demultiplexing in future releases:)
chros
20th January 2007, 18:42
@orbitlee: are you sure that vc-1 video on HD-DVD can be vfr ?
If is this the case (like in wmv), we need another util to extract the timecodes from evo ... :(
@BigBoss: It happened to me also with Serenity movie (audio problem)...
1) I can use Sonic's filters and get true 24 fps progressive frames without duplicates.
How? I'm getting 29.97 too ...
Have you got the whole application or just the filters?
Is there some registry hack to for the sonic filters to not produce 29.97 instead of 24 fps?
@drmpeg: we don't need the gui now ... :) maybe later :)
Can you extract the subtitles from the evo? (Is it plaintext or picture?)
@honai: it's a very good idea! Congratulation! (XPL)
Though there can be problems with that:
- what if this file is missing?
- what if this file is corrupted or includes invalid data?
So the direct mode (within the util) is always the best method.
holzi
20th January 2007, 18:58
@ Isochroma
I too have problem with the elcard mpeg demuxxer.
When I connect it with Graphedit to the VC-1 stream it just crashes. I can demux it though if I use the sonic demuxxer.
But I don't know if that produces a good stream :)
Isochroma
20th January 2007, 19:17
@holzi: What version of the Elecard streaming pack are you using? I'm using the latest - Elecard MPEG-2 Decoder & Streaming Pack 3.0. Previous versions probably don't support VC-1.
Please check your private messages for a more detailed description of the correct installation method.
Also, today I will be testing the Sonic HD Demuxer's ability to substitute for the Elecard, and will report back on whether it works.
Isochroma
20th January 2007, 19:23
@madshi: I'm 'not happy' with the MKV file because, while it plays OK in MPC, it hangs directshowsource().
Isochroma
20th January 2007, 19:25
@Daodan: Are you using the exact filters and steps? In particular, the regular Matroska Muxer DOES NOT WORK: it produces an almost-empty MKV just as you describe.
You MUST use the Haali Matroska Muxer, and the latest (3.0) Elecard MPEG Demultiplexer.
Daodan
20th January 2007, 19:59
Unfortunately..yes. I tried both Haali and matroska muxer with same insucces. I had the elecard demultiplexer from before from some other elecard product, but installed the one you said just to be sure, and still nothing. However, i was finally able to demux something using the sonic demuxer and haali muxer, but it stopped at less then half way, but at least te result was indeed a working vc1 in mkv.
From what I tried things are VERY dependat on the track you are woking with, especially if they are the big files. For example one of my tries left me with a demuxed video stream that had 20% less frames (but te ending was there) so the decoder for some reason just skips some frames, because I think the demuxer couldn't have just removed them.
Isochroma
20th January 2007, 20:03
I tested the Sonic HD Demuxer very carefully. It appears to work, but both the MKV and AVI file produced at the end of my process have far in excess of 25% extra frames, and seem to be missing frames from the beginning.
Isochroma
20th January 2007, 20:31
OK, just found out the problem! I tested the process on my server downstairs, and installed the version I had. It crashed!
So I checked the version against mine upstairs, and found it was older than the working version!
The BAD version is 1.0.19, the GOOD version is 1.0.47 build 60321. The newer version file is larger by about 100k; they added VC-1 support, obviously. There is an even newer build that I haven't tested yet: 60526.
So I overwrote the older file with my newer one from upstairs, popped up GraphEdit, and she works like a charm!
Here is the CORRECT version (make an empty graph, insert the filter by itself, right-click, Filter Properties...
http://isochroma.com/Testfiles/Misc/doom9/ele_demux_good_version.png
The previous version of the Elecard MPEG Demultiplexer will always crash.
Anyone who's had the crashing problem, please Private Message (http://forum.doom9.org/private.php?do=newpm&u=73458) me for technical assistance.
Finally, I'd like to add that the Elecard Demultiplexer is really powerful: it can properly recognize and demux both VC-1 and H264. Its output pin actually says "VC-1" and "H264" when its input is connected to the respective sources, which means its internal code is actually recognizing the formats and handling them correctly.
holzi
20th January 2007, 21:52
ok elcard works now for me.
But muxing a big file with hali mkv muxxer files. Just like someone else reported.
drmpeg
21st January 2007, 00:05
@drmpeg
Ron, thanks for a nice demuxer! I hope you can implement new feature for BD's m2ts demultiplexing in future releases:)
I already have a BD .m2ts demuxer. See:
http://www.w6rz.net/xport.zip
Use the -h option for BD files.
(from the readme file)
h = input file is in HDMV (AVCHD) format (192 byte packets)
BD = HDMV = AVCHD.
Ron
ape
21st January 2007, 00:16
here's what i used as a test for reencoding an .evo to x264/HE-AAC. you can also do AC3 using the FFMPEG encoder megui comes with.
some problems i had are you have to specify the number of frames manually (you can determine this using virtualdub) and seeking with large files takes ages (hence disabling the preview in megui). to get 5.1 output you need to set your speakers to 5.1 in windows audio properties and then set it to 5.1 in the intervideo decoder in the graph.
there might be some avisynth settings to fix this, or maybe a better demuxer.
http://img211.imageshack.us/img211/2826/hddvdencoding4du.png
Rufus210
21st January 2007, 00:58
Anyone tried the FFMPEG patches that add EVBO and E-AC3 (DD+) support?
http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2007-January/051024.html
http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2007-January/051073.html
honai
21st January 2007, 01:12
Nope, but wow! That is great news.
@Isochroma
See, it didn't take "months or years". ;-)
Zero1
21st January 2007, 02:05
This is so awesome, it's all finally coming together
Isochroma
21st January 2007, 02:56
@ape: Thanks for the graphs! Unfortunately, your video graph just hangs vdub with 100% CPU usage on my machine, then closes after about 30 seconds.
woah!
21st January 2007, 03:29
Anyone tried the FFMPEG patches that add EVBO and E-AC3 (DD+) support?
http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2007-January/051024.html
http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2007-January/051073.html
anyone here able to compile a version with these patches for us please??
drmpeg
21st January 2007, 03:30
I've updated my demuxer to add LPCM extraction and stream detection and reporting.
http://www.w6rz.net/evob_demux.zip
EVOB Demuxer = Version 0.2
Changes for Version 0.2
1) Added correct LPCM extraction
2) Added audio and video stream detection and reporting
Usage:
demux <-p> <infile> <video outfile> <audio outfile> <audio format> <audio track>
Typically:
demux movie.evo bits.mpv bits.mpa 1 0
Audio formats:
0 = DD
1 = DD+
2 = DTS-HD
3 = LPCM
4 = MLP
-p option dumps both audio and video PTS values
LPCM extraction was tested with an SD DVD, "The Cure Trilogy".
C:\xfer>demux d:\video_ts\vts_01_5.vob bits.mpv bits.mpa 3 0
MPEG-2 Video Stream found!
LPCM Audio Stream number 0 found!
DD Audio Stream number 1 found!
C:\xfer>
BTW, the extracted LPCM format for this title is PCM signed 16 bit, big endian, stereo, 48000 Hz.
Ron
Isochroma
21st January 2007, 03:53
@drmpeg: Thanks so much for the continued work on demux.exe, it is an invaluable tool.
Here's a useful link (http://www.freepatentsonline.com/search.pl?p=1&srch=xprtsrch&sf=1&query=evob&uspat=on&usapp=on&eu=on&date_range=all&stemming=on&sort=chron) to a series of patents on EVOBs, full of nice technical details.
Badness
21st January 2007, 04:14
Whenever I try to drop the vc1 file into graphedit, graphedit just hangs and does nothing. I am using the current version of elecard.
Isochroma
21st January 2007, 09:01
@Badness: When you drop a media file into GraphEdit, it tries to do a full render using the default chain. Instead, you have to build it yourself, to avoid GraphEdit hanging because it is 'automatically' selecting incompatible filters.
First, startup graphedit with an empty graph. Next, add a filter: expand the DirectShow Filters Section, and select File Source (Async.). It will pop up a window so you can select your .vc1 file.
Then, hit ok on that window and you will see the filename in a new box in the main window.
Now, scroll down the filter list and add the Elecard demuxer, then add the Haali Matroska Muxer, then close the Add Filter window.
Now you can manually connect the pins and you're done!
If it crashes anywhere during this process, please reply with your results in detail.
BigBoss
21st January 2007, 09:17
The commercial HD-DVD rips I have here use 0xc0 .. 0xc2.
However, two unsolved problems remain:
* we can't mux VC-1 elementary streams because the tech spec is payware
* we can't mux/decode DD+ (other than proprietary playback/downmixing inside PowerDVD) because there's no DirectShow decoder for it
How much is the tech spec and what do you have to do to get it?
plonk420
21st January 2007, 10:43
is anyone else getting 2GB files when feeding a large EVO thru evo_demux? (2.07 GB to be exact) someone else i'm talking with is getting the same as well...
edit: well, now i have a decent sized VC1 file (courtesy of TMPGEnc), and Elecard will output VC1, but Haali seems to be outputting a file just a few dozen MB... :/
at least i can now PLAY the file (audio and video) in PowerDVD 7.2 (used to crash unless i was playing SD MPEG2 material...
foxyshadis
21st January 2007, 11:11
How much is the tech spec and what do you have to do to get it?
$300: http://www.smpte.org/shopping_cart/cart.cfm?function=add&productid=1767
3ngel
21st January 2007, 11:27
@Isochroma
I've lost some posts, i saw in the past you used Sonic Demuxer. Now you're using Elecard demuxer. What are the differences? The sonic has problems and the Elecard not?
Okraml
21st January 2007, 11:30
@drmpeg
I got problems with your demuxer. The videofile that is demultiplexed is too short. I tryed 2 different files both around 10gig and the resulting vc1-videofiles are too short (the second is 4,35 gig and there is a huge segment missing in the middle of the file)
When i demux it with graphedit
file source async -> sonic hd demuxer -> dump
it works and plays in mpc.
@Isochroma
i can't mux the vc1 to mkv too.
I have Elecard Mpeg Demultiplexer Version 1.0.77 Build 60823 and Haali Matroska Muxer Version 1.6.400.11 and my harddrive stops working after some seconds. When i stop graphedit then, i got a file thats only 1.06 MB. When i open it in MPC it shows me in preferences, that it is video WVC1 with 1920x1080. But it doesn't process the whole file.
Maybe i need a programm like h264tsto.exe but for vc1 to mkv instead of ts to mkv, cause that works sometimes, when graphedit won't.
:-) Okraml
Fels
21st January 2007, 12:08
here's what i used as a test for reencoding an .evo to x264/HE-AAC. you can also do AC3 using the FFMPEG encoder megui comes with.
some problems i had are you have to specify the number of frames manually (you can determine this using virtualdub) and seeking with large files takes ages (hence disabling the preview in megui). to get 5.1 output you need to set your speakers to 5.1 in windows audio properties and then set it to 5.1 in the intervideo decoder in the graph.
there might be some avisynth settings to fix this, or maybe a better demuxer.
I can't get it to work at all.
Video crashes while starting encoding (the sonic filter plays fine in mpc)
Audio is totally silent.
Which exact WinDVD version have you used? The hd dvd one? I just downloaded the trial version from Intervideo website.
orbitlee
21st January 2007, 14:37
@drmpeg,
I tried demux 0.2, the result
D:\>demux.exe FEATURE_1.EVO NUL a0.ddp 1 0
VC-1 Video Stream found!
DD+ Audio Stream number 4 found!
DD+ Audio Stream number 3 found!
DD+ Audio Stream number 2 found!
DTSHD Audio Stream number 1 found!
DD+ Audio Stream number 0 found!
MLP Audio Stream number 5 found!
MLP Audio Stream number 3 found!
MLP Audio Stream number 7 found!
MLP Audio Stream number 1 found!
The result makes me confused. Anything wrong with the MLP stuff?
drmpeg
21st January 2007, 16:06
@drmpeg,
I tried demux 0.2, the result
D:\>demux.exe FEATURE_1.EVO NUL a0.ddp 1 0
VC-1 Video Stream found!
DD+ Audio Stream number 4 found!
DD+ Audio Stream number 3 found!
DD+ Audio Stream number 2 found!
DTSHD Audio Stream number 1 found!
DD+ Audio Stream number 0 found!
MLP Audio Stream number 5 found!
MLP Audio Stream number 3 found!
MLP Audio Stream number 7 found!
MLP Audio Stream number 1 found!
The result makes me confused. Anything wrong with the MLP stuff?
Yes. There was a bug in the MLP stream detection. I've created version 0.3 which fixes this bug and also attempts to fix the problems reported by plonk420 and Okraml (although I can't really be sure). I've also changed the audio format selection from a number (which I could never remember) to a text string.
http://www.w6rz.net/evob_demux.zip
EVOB Demuxer = Version 0.3
Changes for Version 0.3
1) Change audio format entry to text instead of number (can't remember numbers!)
2) Fixed bug with short audio packets
3) Fixed MLP stream reporting
Changes for Version 0.2
1) Added correct LPCM extraction
2) Added audio and video stream detection and reporting
Usage:
demux <-p> <infile> <video outfile> <audio outfile> <audio format> <audio track>
Typically:
demux movie.evo bits.mpv bits.mpa dd+ 0 <----------- Note audio format change!
Supported audio format strings:
DD, DD+, DTS, DTSHD, LPCM, MLP
dd, dd+, dts, dtshd, lpcm, mlp
Note: dts and dtshd are equivilent
-p option dumps both audio and video PTS values
Ron
kolak
21st January 2007, 16:34
Nice tool Ron.
Audio works perfectly: I've tried DD+ and DDTrueHD. Scenarist imports them properly.
I have problem with demuxed video track (VC1). I can't import it into Scenarist.
Scenarist complain that GOP size are eg. 2000 frames.
It plays properly with Sonic decoder, but not with PowerDVD ultra.
I've tried to import VC1 demuxed with Sonic Hd demuxer and
saved with DVBP. Everything fine, but video played to fast when I muxed new evo file with Scenarist and play it with PowerDVD Ultra.
There seams to be missing information about pulldown.
There is something wrong with demuxed files (or with Scenarist). You can't make from demuxed files exactly the same new evo file. Scenarist shows that bitrate is to high or video plays to fast (instead of 23.976fps it plays 29.97). It seams to that this disck hasn't been made with Scenarist.
Any idea how to fix that?
Zerofool
21st January 2007, 17:31
@Isochroma
i can't mux the vc1 to mkv too.
I have Elecard Mpeg Demultiplexer Version 1.0.77 Build 60823 and Haali Matroska Muxer Version 1.6.400.11 and my harddrive stops working after some seconds. When i stop graphedit then, i got a file thats only 1.06 MB. When i open it in MPC it shows me in preferences, that it is video WVC1 with 1920x1080. But it doesn't process the whole file.
Exactly the same versions and problem. I tested 120 mb .vc1 (from one of the mainintro.evo files) and the resulting mkv (stopped the process after 20 mins of waiting) was 20kb. Am I doing something wrong? After building the graph I just push the "play" button and wait until it finishes (the stop button would be grey, and the play button would be pushable again). But that doesn't happen, as if it is still playing/working. Then I left it for the night, and that morning (after more than 10 hours of muxing) it wasn't finished yet, I stopped it, and the resulting file was 62MB, still not playable of course. Ideas?
I can't get it to work at all.
Video crashes while starting encoding (the sonic filter plays fine in mpc)
Audio is totally silent.
Which exact WinDVD version have you used? The hd dvd one? I just downloaded the trial version from Intervideo website.
I get the same. When I build the graph for the video and try to play it a black window opens (not even 1920x1080, but something like 640x480) and I get only black frames for 3-4 seconds and than finishes, the same result if I try to play the files (the demuxed .vc1 or the original .evo) in WinDVD. I'll try the BD HD edition now.
Okraml
21st January 2007, 18:05
@Ron
Version 0.3 works! THX.
The demultiplexed file with demux.exe is 7.949.260KB
The file demuxed with graphedit (sonic hd demuxer) is 7.950.147KB
Both play fine and show a length of 46.37 minutes (don't know whats the difference between them.
But even with this file muxing in graphedit with Haali Matroska Muxer doesn't work.
:-) Okraml
kolak
21st January 2007, 19:59
Ron,
maybe it will be interesting (or not) for you, but I compared VC1 demuxed files with Elecard Stream Analyzer.
One file is from your's demuxer and second from Sonic HD Demuxer.
There are big differents in these two files.
Types of the frames doesn't much each other. Your file seams to have much more P frames.
In Sonic file all the frames have Progressive flag, but in yours there are sometimes progressive sometimes interlaced.
These two files look totally different.
I'm not sure what does it mean, but you may know.
Orkam,
what do you use to play these files?
Okraml
21st January 2007, 20:11
Orkam,
what do you use to play these files?
I think, you mean me.
I use Media Player Classic (that uses Elecard Mpeg Demultiplexer and Sonic Cinemaster Video Decoder).
:-) Okraml
kolak
21st January 2007, 20:22
Okraml
Sorry I've totally changed your nick:)
Ron,
I found unswer.
I've done test with different file (xxx.evo, which plays fine with PowerDVD). Both metods gave me exactly the same result.
This problematic file is a main feature file and I can't play it with PowerDVD (IME problem?). It seams to that your demuxer doesn't like these kind of files.
I have still problem with to fast playing evo files created with SCenarist.
chros
21st January 2007, 23:11
...
some problems i had are you have to specify the number of frames manually (you can determine this using virtualdub)
Thanks for this post!
1 question: how can you determine the correct number of frames in VirtualDub? Which file must be opened?
The audio part is working here !!!! :) (apart from the framecount)
3ngel
22nd January 2007, 00:17
I'm trying to test the evob_demux.
With the command "demux.exe test.evo test.vc1" it simply doesnt' start returning the prompt. The evo runs fine with sonic hd demuxer
What's the problem?
desta
22nd January 2007, 01:54
From what I gather you have to specify an audio stream to demux, as well as video.
plonk420
22nd January 2007, 08:17
Yes. There was a bug in the MLP stream detection. I've created version 0.3 which fixes this bug and also attempts to fix the problems reported by plonk420 and Okraml (although I can't really be sure). I've also changed the audio format selection from a number (which I could never remember) to a text string.
thanks! looks good. it's size-identical to what TMPGEnc output (not sure about bit identical). now if only i could get a useful .MKV out of Graphedit... (i'm stuck like at the 2nd step before even getting an AVI out of the MKV)
3ngel
22nd January 2007, 10:19
From what I gather you have to specify an audio stream to demux, as well as video
I see. Can't be added an option to demux only the video?
Thanks
mixanobios
22nd January 2007, 12:22
i've got a problem with a movie called Equilibrium i just backed up. Its a H264 DD+ HD DVD. I have been able to demux the video track and remux it into a mkv following Isochroma's guide. I have also managed to demux Audio tracks 2 and 3, which are directors comments, and they play and mux into mkv correctly.
The problem is that i cannot correctly demux the main movie audio track, or the second audio track. although demux.exe finds 4 audio tracks, and demuxes all of them, only the last two are playable (the directors comments ones).the 2 first ones (900+mb and 200mb, from a 10G .evo), seem to be video tracks, and when imported into graphedit, sonic demuxer comes in, connects with ffdshow and outputs direct show audio, which doesnt play anything.
furthermore, i have been unable to demux main audio by using Intervideo Demultiplexer, because it is unable to connect with intervideo audio decoder, and if i connect it to HDTV dump it spits out the directors comments audio.
Edit: i can upload samples if you want, just pm me
Eastermeyer
22nd January 2007, 13:16
I demuxed a vc1-stream with the demux tool offered here,then i try to mux it into mkv with Haali , but this process is taking a incredible long time , is that normal ?
Ginsonic
22nd January 2007, 13:21
Is it only possible to play the mkv-files (video only) created with isochromas method with Sonic filters or do other working DirectShow filters (e.g. from WinDVD, PowerDVD) exist ?
Eastermeyer
22nd January 2007, 18:41
Anyone managed to compile ffmpeg with the E-AC3 Patch ?
Warren
22nd January 2007, 19:21
Yes but it only allows for detection and demuxing of an E-AC3 stream, not decoding.
planet1
22nd January 2007, 19:45
@drmpeg
Thx for this great tool :) .
Since it already supports EVOBs and VOBs, how about adding the capability to demux AOBs as found on DVD-Audio ?
regards
chros
23rd January 2007, 13:22
here's what i used as a test for reencoding an .evo to x264/HE-AAC. you can also do AC3 using the FFMPEG encoder megui comes with.
some problems i had are you have to specify the number of frames manually (you can determine this using virtualdub) and seeking with large files takes ages (hence disabling the preview in megui). to get 5.1 output you need to set your speakers to 5.1 in windows audio properties and then set it to 5.1 in the intervideo decoder in the graph.
there might be some avisynth settings to fix this, or maybe a better demuxer.
http://img211.imageshack.us/img211/2826/hddvdencoding4du.png
Can anyone confirm the correct channel number/mapping in the audio conversion part?
holzi
23rd January 2007, 14:13
I didn't get any audio out of it. :)
So I don't know. I just wait until a better demuxxer and decoder comes around.
mixanobios
23rd January 2007, 14:47
the above audio graph does not work for Movie Equilibrium. Just sent a sample to demux author for him to have a look :)
lordx
23rd January 2007, 15:45
When using a graph or player to render evo files, how to choose audio track ? If we have 2 or 3 audio tracks on the evo file, how to select track 2 or 3 ?
I've the same problem using software when playing decrypted evo files, PDVD6.5 for exemple, unable to select audio track .... :confused:
chros
23rd January 2007, 16:50
@lordx: you can't that's why we need demux ...
I have been playing around Serenity' mianintro.evo and ape's idea, and it seems that Sonic filters is defenetly output 24 fps !
graph:
mainintro.evo -> sonic demuxer -> sonic video decoder
avs:
DirectShowSource("MAININTRO.grf", audio=false, fps=24, seek=true, seekzero=false, framecount=1550)
LanczosResize(1280,720)
ConvertToYV12()
Info()
So it gives the 01:04:528 time, which is good.
Q: How do we know if it produce the correct frames?
A: try a larger framecount value (eg: 2300), and see that after the intro (01:04:528) it gives us grey color picture !!!
So the tricky part is how we get the correct framecount ! Maybe ape can help us in this.
If you give smaller framecount value it cuts the stream at the given point... It's okay with single files, but not with multiple evos :( So we must know the correct framecount ...
I'll try this method with Serenity feauture_1.evo to see if it's correct ...
honai
23rd January 2007, 17:14
I don't quite see the problem. The framecount is simply calculated from the .XPL timestamps and the framerate, or am I missing something here?
chros
23rd January 2007, 22:36
The framecount is simply calculated from the .XPL timestamps and the framerate ...
How ?
if an XPL file contains this:
...
<TitleSet timeBase="60fps" tickBase="24fps" ...
...
<Title titleNumber="1" alternativeSDDisplayMode="letterbox" titleDuration="01:58:54:22" ...
What is the framecount?
honai
23rd January 2007, 22:48
257638 frames.
EDIT:
Doh. Should've used Google calc right away. See below.
mixanobios
23rd January 2007, 23:00
if it is 1h, 58m, 54s, 220ms then its 7134.22sec
@24fps, thats 171221,8 frames (give or take :P)
for 257638 frames we need a movie of 2 h, 58m, 54s, 916ms, which is about an hour less than titleduration.
so please stop using Calc for windows!!!
Rufus210
23rd January 2007, 23:18
Anyone tried the FFMPEG patches that add EVBO and E-AC3 (DD+) support?
http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2007-January/051024.html
http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2007-January/051073.html
I finally got around to trying these patches (just grab the SVN of ffmpeg and then apply the 3 patches). They work, mostly. Here's one working output:
$ ./ffmpeg -i DELSCENE1.EVO -acodec copy -vcodec copy DELSCENE1.avi
FFmpeg version SVN-r7676, Copyright (c) 2000-2006 Fabrice Bellard, et al.
configuration:
libavutil version: 49.2.0
libavcodec version: 51.29.0
libavformat version: 51.8.0
built on Jan 23 2007 17:04:42, gcc: 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
Input #0, mpeg, from 'DELSCENE1.EVO':
Duration: 00:00:29.8, start: 0.037278, bitrate: 7487 kb/s
Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 720x480, 9800 kb/s, 29.97 fps(r)
Stream #0.1[0xc1]: Audio: 0x0000, 48000 Hz, stereo, 192 kb/s
Stream #0.2[0xc0]: Audio: 0x0000, 48000 Hz, stereo, 192 kb/s
Stream #0.3[0x22]: Subtitle: dvdsub
Stream #0.4[0x21]: Subtitle: dvdsub
Output #0, avi, to 'DELSCENE1.avi':
Stream #0.0: Video: mpeg2video, yuv420p, 720x480, q=2-31, 9800 kb/s, 29.97 fps(c)
Stream #0.1: Audio: ac3, 48000 Hz, stereo, 192 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Press [q] to stop encoding
frame= 896 q=1141135.2 Lsize= 25845kB time=29.9 bitrate=7089.7kbits/s
video:25092kB audio:700kB global headers:0kB muxing overhead 0.204367%
The resulting AVI plays fine with mplayer and can be re-encoded to whatever you want.
It can parse EVOs with VC1 streams in it, but it can't write them properly. This is the output from an EVO with VC1:
$ ./ffmpeg -i sample.evo -acodec copy -vcodec copy sample.avi
FFmpeg version SVN-r7676, Copyright (c) 2000-2006 Fabrice Bellard, et al.
configuration:
libavutil version: 49.2.0
libavcodec version: 51.29.0
libavformat version: 51.8.0
built on Jan 23 2007 17:04:42, gcc: 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
Seems stream 0 codec frame rate differs from container frame rate: inf (1/0) -> 90000.00 (90000/1)
Input #0, mpeg, from 'sample.evo':
Duration: 00:00:10.6, start: 0.038278, bitrate: 11808 kb/s
Stream #0.0[0xfd55]: Video: vc1, 90000.00 fps(r)
Stream #0.1[0xc3]: Audio: 0x0000, 48000 Hz, stereo, 192 kb/s
Stream #0.2[0xc2]: Audio: 0x0000, 48000 Hz, 5:1, 768 kb/s
Stream #0.3[0xc1]: Audio: 0x0000, 48000 Hz, 5:1, 768 kb/s
Stream #0.4[0xc0]: Audio: 0x0000, 48000 Hz, 5:1, 1536 kb/s
Output #0, avi, to 'sample.avi':
Stream #0.0: Video: 0x0000, q=2-31, 90000.00 fps(c)
Stream #0.1: Audio: ac3, 48000 Hz, stereo, 192 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
[avi @ 0x843f914]dimensions not set
Could not write header for output file #0 (incorrect codec parameters ?)
@drmpeg: do you think you can look at this a bit since you have a fully working decoder? Once ffmpeg (libavcodec) fully supports EVOs it'll propagate out to a huge number of other project (mplayer, xine, ffdshow, etc). Thanks!
edo1080
24th January 2007, 00:29
Just to unterstand: does the demux process cause any losso of video quality in the file? Is the video stream left unaltered by this process? How to join the 2 video files coming from demuxing?
toxik
24th January 2007, 01:59
hey guys is installing scenarist the only way you can get the codecs to work? I'm having trouble installing the program, as soon as I open setup.exe it gives me an error saying that my configuration does not support any of the included products.
oberon
24th January 2007, 02:37
Toxik
Are you trying to install under vista. When I tried I got the same error so I just installed it on an other box
toxik
24th January 2007, 03:29
no, xp media center.... what's more odd is that I had it installed before, under this system. I uninstalled it later and want to get it again just for the codecs.
moshmothma
24th January 2007, 04:53
no, xp media center.... what's more odd is that I had it installed before, under this system. I uninstalled it later and want to get it again just for the codecs.
I couldn't install on media center either.
Normal Xp worked fine.
Badness
24th January 2007, 06:27
I finally got around to trying these patches (just grab the SVN of ffmpeg and then apply the 3 patches). They work, mostly. Here's one working output:
[code]$ ./ffmpeg -i DELSCENE1.EVO -acodec copy -vcodec copy DELSCENE1.avi
In order to compile this you need a c compiler dont you? I doubt most of the people trying to test this have a compiler installed.
Eastermeyer
24th January 2007, 06:30
Rufus210 can you upload the binaries for us ?
drmpeg
24th January 2007, 09:40
i've got a problem with a movie called Equilibrium i just backed up. Its a H264 DD+ HD DVD. I have been able to demux the video track and remux it into a mkv following Isochroma's guide. I have also managed to demux Audio tracks 2 and 3, which are directors comments, and they play and mux into mkv correctly.
The problem is that i cannot correctly demux the main movie audio track, or the second audio track. although demux.exe finds 4 audio tracks, and demuxes all of them, only the last two are playable (the directors comments ones).the 2 first ones (900+mb and 200mb, from a 10G .evo), seem to be video tracks, and when imported into graphedit, sonic demuxer comes in, connects with ffdshow and outputs direct show audio, which doesnt play anything.
furthermore, i have been unable to demux main audio by using Intervideo Demultiplexer, because it is unable to connect with intervideo audio decoder, and if i connect it to HDTV dump it spits out the directors comments audio.
Edit: i can upload samples if you want, just pm me
I've taken a look at the demuxed audio files, and they look okay to me. However, I don't have a DD+ decoder to verify them with. The two tracks that do work, seem to be normal 192 kbps AC-3 that decode fine with whatever AC-3 decoder I have on my Windows XP box (I'm not really sure which one it is!).
The bitrate for track 1 is 448 kbps. The bitrate for track 0 (the primary audio) is 2.048 Mbps.
Ron
chros
24th January 2007, 10:20
if it is 1h, 58m, 54s, 220ms then its 7134.22sec
@24fps, thats 171221,8 frames (give or take :P)
Are you sure that the last part of the timecode ( titleDuration="01:58:54:22" ) (the 22) is milliseconds?
see this quetion, and the following answer ... (I haven't got any answer regarding this question)
http://forum.doom9.org/showthread.php?p=942481#post942481
Thanks
honai
24th January 2007, 10:27
The last part is rather a fraction of the timeBase attribute, i.e. in this case 22/60 seconds.
mikeathome
24th January 2007, 15:56
hey guys is installing scenarist the only way you can get the codecs to work? I'm having trouble installing the program, as soon as I open setup.exe it gives me an error saying that my configuration does not support any of the included products.
Hi,
Scenarist does not allow install on XP Home (MCE ?). Send me a PM and I will give you a workarround).
mike
holzi
24th January 2007, 16:58
JFYI
E-AC3 demux patch included in ffmpg.
http://svn.mplayerhq.hu/ffmpeg?view=rev&revision=7687
Sirber
24th January 2007, 19:38
the EVO patches posted earlier are .obj. Cannot compile that under win32 no?
chros
24th January 2007, 19:39
The last part is rather a fraction of the timeBase attribute, i.e. in this case 22/60 seconds.
Well, I think not so: 22/60 = 0,36667
But: 22/60*24 = 8,8 , but in this case the given number isn't integer too ... :)
I have viewed some XPL file, and the last part (22) never went above 60 ... (of course it can be coincidence)
I have asked it, because Serenity's XPL file reports it as : 01:58:54:22 , but if I'm playing just the decrypted 2 evos in PowerDVD 6.5:
feature_1.evo duration: 01:09:13
feature_1.evo duration: 00:49:47
sum: 01:59:00
So there is something really strange going on here ...
Rufus210
24th January 2007, 20:01
Rufus210 can you upload the binaries for us ?
Sorry, I'm using Linux and I assume most of you are on Windows, so my binaries wouldn't do you much good.
JFYI
E-AC3 demux patch included in ffmpg.
http://svn.mplayerhq.hu/ffmpeg?view=rev&revision=7687
Cool, but it doesn't seem like the EVBO patch was accepted, so you'll still need the first patch I linked to.
the EVO patches posted earlier are .obj. Cannot compile that under win32 no?
That's just an artifact of the mailing list. They're actually just standard text .diff's. I'm pretty sure you can compile ffmpeg under windows, but I've never done it so I'm not much help.
3ngel
24th January 2007, 20:30
A little recap about the audio.
Actually the only decoder capable of decoding DD+ is PowerDVD (either in 2.0 and 5.1)?
Sirber
24th January 2007, 20:40
http://arrozcru.no-ip.org/ffmpeg_builds/
C:\Documents and Settings\berste01\Bureau\ffmpeg>ffmpeg.exe -i INTRO.EVO
FFmpeg version SVN-r7409, Copyright (c) 2000-2006 Fabrice Bellard, et al.
configuration: --extra-cflags=-I/static/include --extra-ldflags=-L/static/lib
--enable-memalign-hack --enable-shared --disable-static --enable-mp3lame --enab
le-xvid --enable-a52 --enable-libogg --enable-vorbis --enable-faac --enable-faad
--enable-x264 --enable-pp --enable-amr_wb --enable-amr_nb --enable-avisynth --e
nable-dts --enable-libgsm --enable-swscaler --enable-libnut --enable-gpl --enabl
e-w32threads
libavutil version: 49.1.0
libavcodec version: 51.28.0
libavformat version: 51.7.0
built on Jan 6 2007 14:07:22, gcc: 3.4.6
Input #0, mpeg, from 'INTRO.EVO':
Duration: N/A, start: 0.037600, bitrate: N/A
Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 720x480, 9800 kb/s, 29.97 fps(
r)
Stream #0.1[0x22]: Subtitle: dvdsub
Stream #0.2[0x21]: Subtitle: dvdsub
Must supply at least one output file
:D
ffplay.exe: works
PowerDVD: invalid drivers
mixanobios
24th January 2007, 22:50
I've taken a look at the demuxed audio files, and they look okay to me. However, I don't have a DD+ decoder to verify them with. The two tracks that do work, seem to be normal 192 kbps AC-3 that decode fine with whatever AC-3 decoder I have on my Windows XP box (I'm not really sure which one it is!).
The bitrate for track 1 is 448 kbps. The bitrate for track 0 (the primary audio) is 2.048 Mbps.
Ron
the problem with track 0 and 1 is that they are recognised as video tracks in mkvmerge gui, and are not decoded by anything i got. Also when i import them into graphedit they are treated like evo's without a video part(sonic hd demuxer pops in, gives only an audio output that is given to ffdshow, that of cource doenst output any audio when i press play)
Can you confirm that they are in fact legitimate dd+ audio tracks that are not recognised correctly, or there is some other problem here?
woah!
25th January 2007, 02:40
http://arrozcru.no-ip.org/ffmpeg_builds/
C:\Documents and Settings\berste01\Bureau\ffmpeg>ffmpeg.exe -i INTRO.EVO
FFmpeg version SVN-r7409, Copyright (c) 2000-2006 Fabrice Bellard, et al.
configuration: --extra-cflags=-I/static/include --extra-ldflags=-L/static/lib
--enable-memalign-hack --enable-shared --disable-static --enable-mp3lame --enab
le-xvid --enable-a52 --enable-libogg --enable-vorbis --enable-faac --enable-faad
--enable-x264 --enable-pp --enable-amr_wb --enable-amr_nb --enable-avisynth --e
nable-dts --enable-libgsm --enable-swscaler --enable-libnut --enable-gpl --enabl
e-w32threads
libavutil version: 49.1.0
libavcodec version: 51.28.0
libavformat version: 51.7.0
built on Jan 6 2007 14:07:22, gcc: 3.4.6
Input #0, mpeg, from 'INTRO.EVO':
Duration: N/A, start: 0.037600, bitrate: N/A
Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 720x480, 9800 kb/s, 29.97 fps(
r)
Stream #0.1[0x22]: Subtitle: dvdsub
Stream #0.2[0x21]: Subtitle: dvdsub
Must supply at least one output file
:D
ffplay.exe: works
PowerDVD: invalid drivers
doesnt work here on king kong feature evo. i dont see how a build from 6th jan can work? would be nice to get a compiled version 7687, but it seems no-one can help most of us who arent compilers.
Sirber
25th January 2007, 03:08
dunno why the old build worked. Audio didn't work, but image did :)
Neo Fagin
25th January 2007, 05:32
For what it's worth, the DTSHD track on Sleepy Hollow demuxed as just regular 1.5mbps DTS-ES. I believe Chronicles of Riddick also demuxes in a similar manner.
Z:\demux>demux z:\sleepyhollow\HDDVD_TS\FEATURE_1.EVO nul g:\audio.dts dtshd 1
VC-1 Video Stream found!
DTSHD Audio Stream number 1 found!
DD+ Audio Stream number 4 found!
DD+ Audio Stream number 3 found!
DD+ Audio Stream number 2 found!
DD+ Audio Stream number 0 found!
01/24/2007 10:53 PM 530,367,224 audio.dts
This audio plays back through AC3filter fine and is detected as regular old DTS. Dunno what other discs this works on. Perhaps DTSHD is not yet implemented and the DTSHD track is just regular DTS, or demux is intelligently picking the 1.5mbps elementary DTS stream that's supposed to be in all DTSHD tracks for backwards compatibility out.
Either way there's working audio that muxes into any container fine and is already synced to 24fps.
drmpeg
25th January 2007, 07:21
For what it's worth, the DTSHD track on Sleepy Hollow demuxed as just regular 1.5mbps DTS-ES. I believe Chronicles of Riddick also demuxes in a similar manner.
Z:\demux>demux z:\sleepyhollow\HDDVD_TS\FEATURE_1.EVO nul g:\audio.dts dtshd 1
VC-1 Video Stream found!
DTSHD Audio Stream number 1 found!
DD+ Audio Stream number 4 found!
DD+ Audio Stream number 3 found!
DD+ Audio Stream number 2 found!
DD+ Audio Stream number 0 found!
01/24/2007 10:53 PM 530,367,224 audio.dts
This audio plays back through AC3filter fine and is detected as regular old DTS. Dunno what other discs this works on. Perhaps DTSHD is not yet implemented and the DTSHD track is just regular DTS, or demux is intelligently picking the 1.5mbps elementary DTS stream that's supposed to be in all DTSHD tracks for backwards compatibility out.
Either way there's working audio that muxes into any container fine and is already synced to 24fps.
The HD-DVD specification doesn't distinguish between normal DTS and DTSHD in the multiplexed stream. The sub_stream_id is 10001xxxb (where xxx is the track number) for all types of DTS.
demux is definitely not smart enough to pick out core audio from advanced audio codecs (although that would be a nice feature!).
Ron
holzi
25th January 2007, 07:43
dunno why the old build worked. Audio didn't work, but image did :)
I guess the old build works because the evo contains a mpeg2 Video.
Neo Fagin
25th January 2007, 08:03
I do get a lot of "short audio packet" errors with demux, not sure if these are semifatal errors that affect the quality of the stream or not.
JnZ
25th January 2007, 11:17
Today I just converted DD+ audio to 6ch WAVE. Procedure is very simple.
Note: You need Intervideo Dshow filters (I use from WinDVD 8).
In graphedit, put file source(async) and open EVO. Next, drag this dshow filters: Intervideo Demultiplexer, Intervideo Audio decoder, Intervideo Video Decoder, and last thing, you need Dump.ax. It can be found, just use method like gugling. :-) Place Dump filter and select file for output audio.
Next connect pin from EVO to Demultiplexer, from Demultiplexer video pin to Video decoder and audio pin to audio decoder. From audio decoder you've got pure PCM signal (2ch or 6ch, depends on setting). Last thing, connect out from audio decoder to dump file.
Switch Intervideo audio decoder to 6ch mode.
Important thing: You need switch you soundcard to 6-channel mode to got 6ch audio (coz Intervideo Audio decoder can be switched to 6ch mode only if soundcard is set to 6ch).
Press play btn to render audio file.
At now You have 6ch raw PCM audio file. Rename it to something like "xxx.pcm". Open this PCM in besweet and select output 16-bit 6ch wave. Convert it and you have 6ch WAVE. :)
And at the end, convert this WAVE to the format you like (AC3, DTS, AAC, OGG, etc...)
EDIT: After many tests I discovered serious bug in IVI decoder, it decodes stereo and clones to all channels... so don't take this post serious. :(
drmpeg
25th January 2007, 11:39
I do get a lot of "short audio packet" errors with demux, not sure if these are semifatal errors that affect the quality of the stream or not.
It's a debug message I left in for the version 0.3 release. It fixes the problems folks reported where there was huge chunks of video missing, or it created a 2 Gbyte file.
It has to do with short audio PES packets that don't have a PES header and don't have a sub_stream_id. Discarding these packets appears to be the correct thing to do.
I've noticed that some titles have this and some don't, which makes me think it's some kind of authoring issue. It may also have to do with DTS being present. The DVD that I debugged the issue on was "Hedwig and the Angry Inch", which also had a DTS track
Do you only see the "short audio packet" message on titles with DTS?
Ron
Fels
25th January 2007, 12:07
Today I just converted DD+ audio to 6ch WAVE. Procedure is very simple.
Note: You need Intervideo Dshow filters (I use from WinDVD 8).
Are you sure it works properly?
It surely is a 6ch output, but (at least here) it seems like an upcoverted 2ch signal.
I can here voices coming from all the speakers...
JnZ
25th January 2007, 12:29
Are you sure it works properly?
It surely is a 6ch output, but (at least here) it seems like an upcoverted 2ch signal.
I can here voices coming from all the speakers...
EDIT3: I take back every I wrote here. It seems that Intervideo decode only stereo, and clone it to all channels. I discovered this after comparing levels of sound in Cyberlink PowerDVD and this.
Hvidgaard
25th January 2007, 15:30
not having read every post, am I correct if we are as far as we can demux video and audio, but need VC-1 and DD+ decoders?
And what about subs? can they be extracted and made to subpictures that can be muxed into an mkv?
I'm watching this tread closely as I would love to make some full 720p backups of my HD-DVDs :D
holzi
25th January 2007, 16:02
not having read every post, am I correct if we are as far as we can demux video and audio, but need VC-1 and DD+ decoders?
And what about subs? can they be extracted and made to subpictures that can be muxed into an mkv?
I'm watching this tread closely as I would love to make some full 720p backups of my HD-DVDs :D
Subs are not demuxxed yet. And Yes we need a VC-1 and DD+ decoder.
dchard
25th January 2007, 17:11
I tried 0,3 on Batman Begins.
The program identifies the one VC-1, the three DD+, and the one MLP stream correct.
I extracted all the streams in the first main evob.
I tried to play it in PDVD 7.2 and MPC as well, but I can't got any of them working.
I think I try graphedit later.
Dchard
kuklitis
25th January 2007, 17:17
What is the easiest way to tell about video codecs that is applied to HD-DVD *.EVOB file (VC-1 or AVC) and Blu-Ray *.m2ts file (MPEG2 or AVC) ?
I there some freeware or small utility that can find out these things ?
Rufus210
25th January 2007, 19:50
not having read every post, am I correct if we are as far as we can demux video and audio, but need VC-1 and DD+ decoders?
And what about subs? can they be extracted and made to subpictures that can be muxed into an mkv?
I'm watching this tread closely as I would love to make some full 720p backups of my HD-DVDs :D
Initial FFMPEG patches for subtitle support: http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2007-January/051403.html
Once these ffmpeg patches are finalized players like VLC will be able to directly play the EVO, with subtitles and switching audio tracks working natively.
Sirber
25th January 2007, 20:00
Nice work guys! :D
sjchmura
25th January 2007, 22:05
Has anyone compiled these patches into an "unofficial" FFMPEG release?
ArcticFox
26th January 2007, 10:23
Cant seem to get demux.exe to work, no matter what channel i choose it just demuxes a 360mb file that i cant get to play anywhere.
Deckard2019
26th January 2007, 12:48
@ape :
As you explained on page 9, do you really succeed in reencoding using your graph ?
Could you explain your DirectShowSource parameters ? Why "framecount" ? And why "111360" ?
Why ConvertToYV12 and why these Crop values ?
Thank you.
Neo Fagin
26th January 2007, 20:22
Continuing work on getting real 24fps video out of these..
The method Isochroma detailed doesn't work for me. Haali Matroska Muxer and Elecard's demuxer can't agree on a connection in graphedit (latest versions of both).
However, Elecard -> Sonic Cinemaster Decoder does produce video playback which looks fine.
Creating a graph with whatever.vc1 -> elecard -> sonic decoder and loading it into avisynth via directshowsource does work, however the framecount is 4661327 and seeking is useless. BUT, when played back linearly (without seeking) it serves the frames in the correct order.
info() shows the stream as 29.97fps, but it's producing 24fps video. Adding fps=24 to directshowsource corrects this and doesn't alter the order of frames.
Running this avs:
directshowsource("sa1.GRF",audio=false,fps=24,seek=true,seekzero=false) + directshowsource("sa2.GRF",audio=false,fps=24,seek=true,seekzero=false)
trim(0,10000)
..into x264 produced a 10,000 frame file which appears to have no duplicate frames, is 24fps, and has no framedrops (source was Sahara's FEATURE_1).
I compared this to a 10,000 frame file produced with the other 24fps method, which was using a graph of FEATURE_1.EVO -> Sonic demuxer -> Sonic decoder, loaded into avisynth with directshowsource and specifying an exact framecount, and the two files differ.
EVO -> Sonic Demuxer -> Sonic Decoder: x264 [info]: slice P:5954 Avg QP:18.66 size: 32553
VC1 -> Elecard Demuxer -> Sonic Decoder: x264 [info]: slice P:5932 Avg QP:18.54 size: 32606
Playing back the two files, the file produced with the other method has a few duplicate frames. Not many, but about one every ~1 minute of video, and entirely at random. This causes progressive audio desync which cannot be corrected by stretching audio or whatnot, since the desync is entirely random.
I'm next going to try encoding an entire full-length feature via the elecard -> sonic decoder method, and to get past the "infinite frames being reported" error, I will just put trim (0, [number of minutes of movie * 60 * 24]) at the end of the avs. As long as I don't try to seek in the avs or in vdub, x264 just encodes the frames as they're served until the frameserver stops serving them, so if I tell avisynth to serve say 178560 frames with trim(), it'll play the movie back frame for frame in the correct order with no drops or dupes up to that mark, which'll result in an x264 encode with the proper length and no framedrops/errors.
gooki
26th January 2007, 23:11
I tried 0,3 on Batman Begins.
The program identifies the one VC-1, the three DD+, and the one MLP stream correct.
I extracted all the streams in the first main evob.
I tried to play it in PDVD 7.2 and MPC as well, but I can't got any of them working.
I managed to get King Kong demuxed to play in PowerDVD 7.2 buy renaming the demuxed video file to .vc1 allowed it to play.
However the playback was extreemly choppy 10 black frames to one video frame.
Would love to find a way to playnack these .vc1 strems directly with a media player.
Deckard2019
27th January 2007, 00:17
Thanks for your feedback Neo Fagin. I tried the Elecard method and it's working.
I'm using MeGUI to test x264 conversion and I have messages about converting the source to YV12 and resolution not multiple of 16.
Do you have them too ?
I used ConvertToYV12() for the first error.
For the other, I don't know what is the best method to be 16-multiple-resolution compliant. Crop or Resize ?
For the audio part, do you think I can keep the track as it came from demux process and mux it directly with h264 video track ?
Neo Fagin
27th January 2007, 01:46
Well, thus far I've encoded a 20 minute sample with my "method" (just a combination of other people's partially working methods).
DTS Audio (demuxed right from the same hd-dvd) desynced but linearly.
Setting audio stretching to a factor of 0.999 in mkvmerge produced a 20 minute mkv with audio perfectly synced to the video, running at 24fps. Don't ask me why. Perhaps the audio in the HD-DVD is meant to go with 23.976fps video after all.
The issue with this method is that there is no reliable method of getting the exact framecount of the first part. This will become an issue, because when you use directshowsource() + directshowsource, both sources have an unreadable framecount, so you end up with the movie playing through the first part then producing grey frames forever and never starting the second part. Thusly,
a = directshowsource("feature1.grf",fps=24,framecount=whatever)
b = directshowsource("feature2.grf",fps=24,framecount=whatever)
unalignedsplice(a,b)
is the only way to make this work properly. The "framecount" value is unobtainable, and a few frames will be lost at the junction point between the two parts. The framecount for the second part can just be calculated by its length in seconds and rounded down to the second, because you'll just be losing blackscreen or a few frames off the studio logo. It's the framecount for the first part that matters, to avoid a glitch between the two parts, dropped frames, and audio desync. As of yet I haven't come up with a solution except literally loading the avs in virtualdub, playing it back realtime until it gets within a few seconds of the end, then playing it frame by frame until you hit a grey screen, giving you the exact frame count down to one frame.
Deckard: The mod16 error would be caused if you leave the video at 1920x1080 (1080 is not mod16), you can do crop (0,0,0,-8) to make it 1920x1072 and mod16, or better yet just crop all the letterboxing off altogether.
drmpeg
27th January 2007, 07:37
I managed to get King Kong demuxed to play in PowerDVD 7.2 buy renaming the demuxed video file to .vc1 allowed it to play.
However the playback was extreemly choppy 10 black frames to one video frame.
Would love to find a way to playnack these .vc1 strems directly with a media player.
There's a problem with demux version 0.3 if the title has IME or U-control and the primary video stream and the secondary video stream are both VC-1 (like on King Kong). It will demux both video streams into the same video output file, which is not good.
However, not only do I have a fix, but you'll also be able to optionally demux the IME video and audio streams. Stay tuned, I have to go do some drinking right now, but there will be an update of demux soon.
Ron
Neo Fagin
27th January 2007, 08:24
Oh, drmpeg: I get the short audio packet error on movies with DTSHD, yes. Fearless (the only movie I have here without dtshd) did not generate the error. I don't have enough discs available to really do a scientific test.
Deckard2019
27th January 2007, 09:44
Did you try last HD-DVD Demuxer (http://www.dvd-logic.com/hddemuxer.htm) version (1.2 beta) ? It handles EVOB files and HD-DVD structure ...
lordx
27th January 2007, 11:37
Testing it now :
Opening evo files and demux
FEATURE_1_55.vc1
FEATURE_1_c0.ac3
FEATURE_1_c1.ac3
FEATURE_1_c2.ac3
FEATURE_1_20.sup
FEATURE_1_21.sup
FEATURE_1_22.sup
Now must do a mux but ... with what ?
And 100$ is too expensive for that ...
ape
27th January 2007, 12:09
@ape :
As you explained on page 9, do you really succeed in reencoding using your graph ?
Could you explain your DirectShowSource parameters ? Why "framecount" ? And why "111360" ?
Why ConvertToYV12 and why these Crop values ?
Thank you.
yes i succeeded in reencoding a few evo's using similar graphs to that. i had to specify the framecount because if you do not, then avisynth keeps serving up gray frames after the end of the video and you will never finish encoding. converttoyv12 was so that megui stopped bitching (can't remember why). i was cropping off the black bars on the top and bottom of superman returns.
drmpeg
27th January 2007, 14:00
I've created version 0.4 which adds demuxing of secondary (IME or U-control) streams. This also fixes a bug with demuxing VC-1 video on titles where both the primary and secondary video is VC-1 (King Kong).
http://www.w6rz.net/evob_demux.zip
EVOB Demuxer = Version 0.4
Changes for Version 0.4
1) Add -s option to demux secondary video stream (IME or U-control)
2) Fixed bug with titles that have both primary and secondary VC-1 streams
3) Report secondary DD+ audio streams
Changes for Version 0.3
1) Change audio format entry to text instead of number (can't remember numbers!)
2) Fixed bug with short audio packets
3) Fixed MLP stream reporting
Changes for Version 0.2
1) Added correct LPCM extraction
2) Added audio and video stream detection and reporting
Usage:
demux <-ps> <infile> <video outfile> <audio outfile> <audio format> <audio track>
Typically:
demux movie.evo bits.mpv bits.mpa dd+ 0
or typically for secondary (IME or U-control) streams:
demux -s movie.evo bits.mpv bits.mpa dd+ 8
Supported audio format strings:
DD, DD+, DTS, DTSHD, LPCM, MLP
dd, dd+, dts, dtshd, lpcm, mlp
Note: dts and dtshd are equivilent
-p option dumps both audio and video PTS values
-s option demuxes secondary video instead of primary video
Note: secondary DD+ streams will have audio track numbers 8 thru 15
Ron
Okraml
27th January 2007, 14:30
Is it possible, to add a an option which demuxes all found streams (maybe demux.exe -all) or an "only report found streams" option?
:-) Okraml
Deckard2019
27th January 2007, 14:42
Is it possible, to add a an option which demuxes all found streams (maybe demux.exe -all) or an "only report found streams" option?
And what about subtitles ?
drmpeg
27th January 2007, 14:55
Is it possible, to add a an option which demuxes all found streams (maybe demux.exe -all) or an "only report found streams" option?
:-) Okraml
Sounds like folks would like a -all option. In the meantime, there's a way to do a manual "only report found streams". You can type Ctrl-C to abort the program after the streams are found, and then restart with the desired audio track.
You can also speed up audio demuxing dramatically by specifying the nul device for the video stream. Like this:
demux feature.evo nul bits.ac3 dd+ 0
Ron
drmpeg
27th January 2007, 15:17
And what about subtitles ?
I'll see what I can do. I'm not exactly sure how to test subtitles yet.
Ron
tomos
27th January 2007, 16:38
Well, thus far I've encoded a 20 minute sample with my "method" (just a combination of other people's partially working methods).
DTS Audio (demuxed right from the same hd-dvd) desynced but linearly.
Setting audio stretching to a factor of 0.999 in mkvmerge produced a 20 minute mkv with audio perfectly synced to the video, running at 24fps. Don't ask me why. Perhaps the audio in the HD-DVD is meant to go with 23.976fps video after all.
The issue with this method is that there is no reliable method of getting the exact framecount of the first part. This will become an issue, because when you use directshowsource() + directshowsource, both sources have an unreadable framecount, so you end up with the movie playing through the first part then producing grey frames forever and never starting the second part. Thusly,
a = directshowsource("feature1.grf",fps=24,framecount=whatever)
b = directshowsource("feature2.grf",fps=24,framecount=whatever)
unalignedsplice(a,b)
is the only way to make this work properly. The "framecount" value is unobtainable, and a few frames will be lost at the junction point between the two parts. The framecount for the second part can just be calculated by its length in seconds and rounded down to the second, because you'll just be losing blackscreen or a few frames off the studio logo. It's the framecount for the first part that matters, to avoid a glitch between the two parts, dropped frames, and audio desync. As of yet I haven't come up with a solution except literally loading the avs in virtualdub, playing it back realtime until it gets within a few seconds of the end, then playing it frame by frame until you hit a grey screen, giving you the exact frame count down to one frame.
Deckard: The mod16 error would be caused if you leave the video at 1920x1080 (1080 is not mod16), you can do crop (0,0,0,-8) to make it 1920x1072 and mod16, or better yet just crop all the letterboxing off altogether.
ok, i have something different.
i was following your guide and afterwards tested how things worked out in graphedit
i demultiplexed supes returns (1st mov evo) and dropped the vc1 into graphedit.
this connects - vc1 -> elecard demulti -> sonic vid decoder -> video renderer
i didnt use a grf file, i directshowsourced the vc1 and opened in vdub. that works. i can seek to the end and point to a specific frame without a prob. the fps is at the mo 29.970 (although, playing the vc1 file direct in mpc shows 24 fps)
have i done (or left out) something stupid, since this is looking good to me at the mo.
Pelican9
27th January 2007, 17:22
Hi all!
I've created a demux program based on drmpeg's demux 0.3.
It has GUI and capable save all streams. It can read infos from XPL file or from the EVO. You can drag and drop the file, etc.
http://pel.hu/down/EVOdemux.exe
Save the subpicture streams doesn't work yet.
I guess the subpictures streams are the 0x20, 0x21, 0x22, ....
Pelican9
27th January 2007, 17:24
I'll see what I can do. I'm not exactly sure how to test subtitles yet.
Ron
If you download this (http://www.dvd-logic.com/hddemuxer.htm) you can get the subpictures...
Neo Fagin
27th January 2007, 17:57
have i done (or left out) something stupid, since this is looking good to me at the mo.No, that's correct, just put fps=24 in directshowsource and it'll give you 24fps.
I have gotten a reencode working, but had to reencode the first part to a huffyuv avi then manually seek to the break point in order to get the framecount value for it, after that the second part can just be rounded down to the nearest second and calculated. There is no error/problem I can see at the split point, so all that's left for me to do is mux the audio, make sure it syncs, and there's a demonstratably working valid solution for pure 24fps.
The1n
27th January 2007, 18:16
Hi all!
I've created a demux program based on drmpeg's demux 0.3.
It has GUI and capable save all streams. It can read infos from XPL file or from the EVO. You can drag and drop the file, etc.
http://pel.hu/down/EVOdemux.exe
Save the subpicture streams doesn't work yet.
I guess the subpictures streams are the 0x20, 0x21, 0x22, ....
Great work , will try it.
tomos
27th January 2007, 18:38
No, that's correct, just put fps=24 in directshowsource and it'll give you 24fps.
I have gotten a reencode working, but had to reencode the first part to a huffyuv avi then manually seek to the break point in order to get the framecount value for it, after that the second part can just be rounded down to the nearest second and calculated. There is no error/problem I can see at the split point, so all that's left for me to do is mux the audio, make sure it syncs, and there's a demonstratably working valid solution for pure 24fps.
i suppose you could resize the input video so something tiny to get max speed out of the encode to get a frame count.
havent messed around with audio yet. that'll be fun :D
Pelican9
27th January 2007, 19:21
I've finished updating my sw (based on drmpeg's version 0.4) but I need an EVO which contains more than one video streams.
Could anybody make me a little one (10-20 MB) to test?
I've uploaded v0.4
superx
27th January 2007, 19:43
hey guys I was able to get Serenity ripped but was wondering how I can get this to play on my ps3 also I need to split the files into 4 gig chunks because of the fat32 requirements.
Any help thanks
holzi
27th January 2007, 20:04
JFYI FFDSHOW-Tryouts ( http://ffdshow-tryout.sourceforge.net/ )
Do have the E-AC3 filters included now to. Put I wasn't able to render a graph with ffdshow audio filter. Maybe you can't do it right now anyway. But if someone is able to let us know.
tomos
27th January 2007, 20:05
No, that's correct, just put fps=24 in directshowsource and it'll give you 24fps.
I have gotten a reencode working, but had to reencode the first part to a huffyuv avi then manually seek to the break point in order to get the framecount value for it, after that the second part can just be rounded down to the nearest second and calculated. There is no error/problem I can see at the split point, so all that's left for me to do is mux the audio, make sure it syncs, and there's a demonstratably working valid solution for pure 24fps.
getting some bizarre results now
did the same thing for a test on 2 vc1 clips. 1 from supes, and 1 from the mummy. the superman one plays fine and opens in vdub (with DSS) fine. the clip from the mummy, plays fine, but seems to loop and jump in vdub. e.g scanning through (or encoding) plays half the frames of whatever timeframe you're on at the mo and the other half are from the beginning of the clip? :confused:
Neo Fagin
27th January 2007, 20:45
getting some bizarre results now
did the same thing for a test on 2 vc1 clips. 1 from supes, and 1 from the mummy. the superman one plays fine and opens in vdub (with DSS) fine. the clip from the mummy, plays fine, but seems to loop and jump in vdub. e.g scanning through (or encoding) plays half the frames of whatever timeframe you're on at the mo and the other half are from the beginning of the clip? :confused:It is bizarre.
When you open the clip in vdub without a framecount, vdub will see 4,000,000 or so frames (probably because the vc1 has no timecodes) and the video will be stretched over those frames, so seeking to frame 2,000,000 will put you halfway through the clip.
When you play the clip back, it will play back 24fps video perfectly and have no trouble.
If you stop the playback or attempt to seek, the stream continuity is off and vdub seeks assuming 4,000,000 frames again, so frame 70,000 is "right at the beginning of the clip" because it thinks the clip is 4m frames long.
What I have done to get around this is loaded the avs in vdub, then set compression to huffyuv (any fast codec would do, really), and saved an avi. What this does is it gets avisynth/vdub to play the clip back from frame 0, causing it to play the clip's real 70,000 or so frames in perfect order, then once it reaches the end of those 70,000 it'll play the clip in order again infinitely to 4,000,000 frames. It'll loop at 70,000 so it'll start 1 minute in because vdub still thinks the clip is 4m frames long.
I then loaded the avi with avisource in a separate avs and seeked around to find the spot where the original 70,000 or so frames ended and it started playing the clip back from the beginning again, got the exact number of frames, then added that number to the final avs. Then when reencoding, avisynth will first play the 70,000 frames from feature_1, then play the 100,000 or so frames from feature_2, in proper order without any grey/glitched/off frames at the spot where the two feature clips join up, resulting in a perfect 24fps reencode without issues.
Obviously better tools will be released that get around the need to go through all this crap eventually, but for now this is all I've got.
Deckard2019
27th January 2007, 20:57
Do you use MeGUI for your x264 tests ? If so, what profile do yo use ?
I use SA-HD-DVD but don't know if it's a good choice.
Also, do you use custom quantization matrix ?
TNHitokiRi
27th January 2007, 21:25
The SA-HD-DVD profiles are outdated. I personally use the nwgat profiles, http://nwgat.net/Nwgat.HighProfile.rar.
Neo Fagin
27th January 2007, 21:49
I use my own profiles that I've made myself. I don't use any premade guides or frontends.
ArcticFox
27th January 2007, 22:20
JFYI FFDSHOW-Tryouts ( http://ffdshow-tryout.sourceforge.net/ )
Do have the E-AC3 filters included now to. Put I wasn't able to render a graph with ffdshow audio filter. Maybe you can't do it right now anyway. But if someone is able to let us know.
Where did you read that it included E-AC3?
TNHitokiRi
27th January 2007, 22:28
yea, ffdshow most definately does not have E-AC3 decoding capabilities yet. (might not even be possible)
http://forum.doom9.org/showthread.php?p=944523#post944523
gooki
28th January 2007, 04:25
drmpeg
EVOB Demuxer Version 0.4 is working well for me now - thanks.
Isochroma
28th January 2007, 04:48
drmpeg: Your work on demux.exe is greatly appreciated!
Using the basic .grf/.avs combination, I've been able to get nice 23.976fps from .evo files directly.
It has been mentioned elsewhere that the Cinemaster decoder outputs RGB32. It may do so under some circumstances, but using info() in the .avs indicates YUY2 output.
However, for those that like to force things, GSpot can be used to remove output formats. It lists only RGB32 and YUY2 for this filter. I found the registry entries, and created two .reg files. One restores the default caps (RGB32 & YUY2), while the other makes the filter output YUY2 only, by destroying its RGB32 output capability.
It should be remembered that even if Cinemaster can only output YUY2, if the graph-building application sets the downstream filter/renderer to require something other than YUY2, the graph constructor will insert the Color Space Converter filter after Cinemaster - delivering the required color space format.
However, if the downstream accepts YUY2 then it will be provided as default.
Both the .reg files have been tested and work perfectly:
CineMaster Video Decoder Output Changer (http://isochroma.com/Testfiles/Software/CineMaster Video Decoder Output Changer.rar)
Alternately, can just add pixel_format="YUY2" to your directshowsource() to force the input colorspace.
drmpeg
28th January 2007, 04:57
drmpeg
EVOB Demuxer Version 0.4 is working well for me now - thanks.
Cool. I'm just curious, can you play the demuxed dd+ audio files in PowerDVD 7.2? Possibly by using the same renaming trick you used for VC-1 files?
Ron
gooki
28th January 2007, 05:55
No luck playing the DD+ in power DVD 6.5. will try PowerDVD 7.2 soon.
Power DVD6.5 does however play the elementary .vc1 video stream.
drmpeg - one quick request. Is it possible to build a EVOB muxer? I want to strip the IME out of a evob then rebuild it - however i do not have scenartist or any other pro apps once i've got the elementary streams out of EVOB Demuxer.
thnaks.
TNHitokiRi
28th January 2007, 06:23
i havent had any luck playing back DD+ in powerdvd 7.2..
gooki
28th January 2007, 06:26
Just to confirm a few things.
VC1 PowerDVD 7.1/7.2 Playback file must be renamed .mpv
VC1 PowerDVD 6.5 Playback file must be renamed .vc1
No luck on the DD+ streams yet.
Rufus210
28th January 2007, 10:30
yea, ffdshow most definately does not have E-AC3 decoding capabilities yet. (might not even be possible)
http://forum.doom9.org/showthread.php?p=944523#post944523
FFmpeg (which FFdshow is based off of) is working on E-AC3, but it'll be just a bit: http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2007-January/051381.html
Basically FFmpeg is the heart of most of the non-proprietary media world. Once they implement something (or you submit a patch to them implementing something) everyone else (vlc, ffdshow, mplayer, etc) will get it in due turn.
Pelican9
28th January 2007, 14:50
I've finished updating my sw.
It has the functionality of drmpeg's demux version 0.4
It can handle two video streams and 16 audio streams now.
The demuxed video is playable with pdvd 7.2.
Download: http://pel.hu/down/EVOdemux.exe
drmpeg:
Thanks for the test files!
mosb3rg
28th January 2007, 19:22
Just wanted to say thank you very very much for showing me how to load a .grf directly into the .avs, i was driving myself crazy trying to get it into avisynth via matroksa, and it just is the slowest process on earth at least now i can do things directly, nice work everyone in getting us to this point so quickly, we couldnt do it without you.
Mosb3rg
toxik
28th January 2007, 20:49
I still can't get to load a .grf in an .avs. I keep getting an error saying something like graph filter won't talk to me. Also commands like framcount aren't recognized. I need some help.
menlvd
28th January 2007, 21:42
I've finished updating my sw.
It has the functionality of drmpeg's demux version 0.4
It can handle two video streams and 16 audio streams now.
The demuxed video is playable with pdvd 7.2.
Download: http://pel.hu/down/EVOdemux.exe
drmpeg:
Thanks for the test files!
:thanks:
Neo Fagin
29th January 2007, 01:12
drmpeg: I get "short audio packet" on non-DTS titles too, it seems. Confirmed with V For Vendetta, which is only DD+/MLP.
drmpeg
29th January 2007, 03:56
drmpeg: I get "short audio packet" on non-DTS titles too, it seems. Confirmed with V For Vendetta, which is only DD+/MLP.
It's a bit of a mystery as to what these packets are for. Here's a debug version of demux 0.4 that prints more information when a short packet is detected.
http://www.w6rz.net/debug_version.zip
Could you run your clips through and post the results here?
The new debug message should look like this:
short audio packet, 0x05810000, 2, 0x20, 0xff
but may have different values.
Ron
Neo Fagin
29th January 2007, 04:49
Alright, next movie I dump (Jarhead) I'll post the results and results for a few others. I dump over a network and the whole network's saturated writing a huffyuv avi right now.
TNHitokiRi
29th January 2007, 06:52
I have
short audio packet, 0x05810000, 2, 0x20, 0xff
short audio packet, 0x07810000, 4, 0x22, 0x02
in Fearless, which has chinese and english audio
seeing as you had the same value, it seems this part of the DD+ standard? as a reference or something?
drmpeg
29th January 2007, 07:23
I have
short audio packet, 0x05810000, 2, 0x20, 0xff
short audio packet, 0x07810000, 4, 0x22, 0x02
in Fearless, which has chinese and english audio
seeing as you had the same value, it seems this part of the DD+ standard? as a reference or something?
Thanx. I know what's going on now. They are subtitle packets. The good news is that demux 0.4 will correctly demux all audio streams (at least AFAIK). The "short audio packet" message can be safely ignored.
I probably would have found this when I added subtitle demuxing, but it's always better to know ahead of time.
Ron
Pelican9
29th January 2007, 10:35
I'm lazy, so I'm waiting for demux 0.5 which can demux subtitles too. :-)
drmpeg
29th January 2007, 11:38
I'm lazy, so I'm waiting for demux 0.5 which can demux subtitles too. :-)
It's more or less ready. However, I'm not sure if it's useful, since all it does is demux the raw subtitle data.
I downloaded the DVDLogic HD-DVD demuxer as you suggested, and it does several different things with subtitles. You can demux the raw data or create bitmaps (plus a third option that I really didn't understand). The raw data has two parts, a .dat file and a .sup file.
The subtitle file created by demux matches the .sup file, but I'm not sure what the format of the .dat file is (although is must be some kind of timestamp and hold time).
So the question is, what do folks really need for subtitle files?
Ron
madshi
29th January 2007, 12:08
So the question is, what do folks really need for subtitle files?
I'm not an expert in this at all, but I guess people who demux HD DVD EVO files probably want to mux the stuff into a different container like e.g. MKV or TS (either with or without reencoding). Why else would you demux the EVO files? So I guess what we need is a way to convert the subtitles to a format that works well with MKV/TS. Probably that would be some kind of text based format? I'm thinking about something like SubRip or HD DVD. But I'm very much aware that this is a major task to do, if the subtitles in EVO files are actually bitmaps. So I'm not sure what to say...
Warren
29th January 2007, 12:11
I think it would be very useful. Other folks can work on tools to transform .sup files into more useful formats (if they don't exist already).
Pelican9
29th January 2007, 12:15
So the question is, what do folks really need for subtitle files?
Good question...
My original idea was add a hungarian subtitle (demux, get the timings, add the subtitle, and mux back), but I've found an easier way to do it (with XMF, XAS files).
Anyway, if you don't want to make v0.5 please send me the actual c source.
Thanks in advance.
Pelican9
29th January 2007, 12:19
But I'm very much aware that this is a major task to do, if the subtitles in EVO files are actually bitmaps. So I'm not sure what to say...
It isn't so hard, there are some tool which converts bitmap sup to srt and vice versa.
holzi
29th January 2007, 12:35
Where did you read that it included E-AC3?
Just check out the svn changelog. It's included with one of the ffmpeg pachtes. I quoted that ffmpeg patch somewhere in this thread :)
holzi
29th January 2007, 12:38
I downloaded the DVDLogic HD-DVD demuxer as you suggested, and it does several different things with subtitles. You can demux the raw data or create bitmaps (plus a third option that I really didn't understand). The raw data has two parts, a .dat file and a .sup file.
The subtitle file created by demux matches the .sup file, but I'm not sure what the format of the .dat file is (although is must be some kind of timestamp and hold time).
Ron
Since Evo files are somwhat related to vob files this sounds like something like vobsubs. So I would compare the structure of the evo subs with the some vobsubs files.
I might be wrong. But why invent a new structure if the old one works pretty good.
drmpeg
29th January 2007, 12:50
Here's the version 0.5 release. Adds subtitle demuxing and gets rid of the bogus "short audio packet" message.
http://www.w6rz.net/evob_demux.zip
Changes for Version 0.5
1) Add -t option to demux subtitle streams
2) Report subtitle streams
3) Remove superfluous "short audio packet" message
Changes for Version 0.4
1) Add -s option to demux secondary video stream (IME or U-control)
2) Fixed bug with titles that have both primary and secondary VC-1 streams
3) Report secondary DD+ audio streams
Changes for Version 0.3
1) Change audio format entry to text instead of number (can't remember numbers!)
2) Fixed bug with short audio packets
3) Fixed MLP stream reporting
Changes for Version 0.2
1) Added correct LPCM extraction
2) Added audio and video stream detection and reporting
Usage:
demux <-pst> <infile> <video outfile> <audio outfile> <audio format> <audio track> <subtitle outfile> <subtitle track>
Typically:
demux movie.evo bits.mpv bits.mpa dd+ 0
or typically for secondary (IME or U-control) streams:
demux -s movie.evo bits.mpv bits.mpa dd+ 8
or typically for subtitle streams:
demux -t movie.evo bits.mpv bits.mpa dd+ 0 bits.sup 0
Supported audio format strings:
DD, DD+, DTS, DTSHD, LPCM, MLP
dd, dd+, dts, dtshd, lpcm, mlp
Note: dts and dtshd are equivilent
-p option dumps both audio and video PTS values
-s option demuxes secondary video instead of primary video
-t option demuxes subtitles
Note: secondary DD+ streams will have audio track numbers 8 thru 15
Ron
clsid
29th January 2007, 13:06
FFmpeg is an all-in-one solution. It can parse and decode files. It can encode and mux.
But if FFmpeg supports E-AC3, that doesn't mean that ffdshow will too. ffdshow indeed uses code from FFmpeg, but only to decode various audio and video formats. For splitting/parsing ffdshow relies on other DirectShow filters.
VLC on the other hand will soon be able to play it.
Pelican9
29th January 2007, 13:32
Here's the version 0.5 release. Adds subtitle demuxing and gets rid of the bogus "short audio packet" message.
Yessss! :)
Thanks!
muterobert
29th January 2007, 14:54
VLC on the other hand will soon be able to play it.
Fantastic news. Unfortunately the inevitable question must follow: Any idea when? ;)
holzi
29th January 2007, 15:19
it's more or less already there :)
http://trac.videolan.org/vlc/changeset/18642
If you get the newst night build: (http://nightlies.videolan.org/)
you can play evo files. Of cause no picture yet for VC-1 streams. And I didn't get sound either yet but that might be just a config error.
Pelican9
29th January 2007, 15:35
The raw data has two parts, a .dat file and a .sup file.
The subtitle file created by demux matches the .sup file, but I'm not sure what the format of the .dat file is (although is must be some kind of timestamp and hold time).
Do you have any idea, how we can get the .dat file from the EVO? I think the .dat is more important than the .sup itself because it contains the timing information what I need to sync my subtitle to the movie.
I've upgraded may sw too (working :) ), and I will upload it tonight.
Pelican9
29th January 2007, 15:40
it's more or less already there :)
http://trac.videolan.org/vlc/changeset/18642
If you get the newst night build: (http://nightlies.videolan.org/)
you can play evo files. Of cause no picture yet for VC-1 streams. And I didn't get sound either yet but that might be just a config error.
Yes, it can play EVO, but no video, no audio... :rolleyes:
muterobert
29th January 2007, 15:49
Yes, it can play EVO, but no video, no audio... :rolleyes:
Damn! :)
I hate being on the cutting edge. ;)
vitodeluca
29th January 2007, 20:15
Has anyone tried this program: (HD DVD Demuxer)
http://www.softpedia.com/get/CD-DVD-Tools/CD-DVD-Rip-Other-Tools/HD-DVD-Demuxer.shtml
I was just wondering if it offered any advantages over the command line option? They claim that it produces streams that can be used in an hd dvd authoring program like scenarist, but since I can't get scenarist installed on my PC (mce problem?) I haven't tested it.
Pelican9
29th January 2007, 20:26
Has anyone tried this program: (HD DVD Demuxer)
http://www.softpedia.com/get/CD-DVD-Tools/CD-DVD-Rip-Other-Tools/HD-DVD-Demuxer.shtml
I was just wondering if it offered any advantages over the command line option? They claim that it produces streams that can be used in an hd dvd authoring program like scenarist, but since I can't get scenarist installed on my PC (mce problem?) I haven't tested it.
Yes, we've tried. First, it's hundred bucks, second, I would like to make my own sw. :)
Warren
29th January 2007, 20:42
it's more or less already there :)
http://trac.videolan.org/vlc/changeset/18642
If you get the newst night build: (http://nightlies.videolan.org/)
you can play evo files. Of cause no picture yet for VC-1 streams. And I didn't get sound either yet but that might be just a config error.
As I have said many times before, ffmpeg DOES NOT support decoding E-AC3, it only supports demuxing E-AC3. The only code that has been added is a fix to the mpeg demux code to identify E-AC3 by its stream ID. That is all.
muterobert
29th January 2007, 21:08
Has anyone tried this program: (HD DVD Demuxer)
http://www.softpedia.com/get/CD-DVD-Tools/CD-DVD-Rip-Other-Tools/HD-DVD-Demuxer.shtml
I was just wondering if it offered any advantages over the command line option? They claim that it produces streams that can be used in an hd dvd authoring program like scenarist, but since I can't get scenarist installed on my PC (mce problem?) I haven't tested it.
It's probably not to do with MCE, more than likely some aspect of your hardware spec doesn't meet the minimum requirements.
See the bottom of this thread: http://www.abhdtv.net/forum/showthread.php?t=3796
..for a workaround.
muterobert
29th January 2007, 22:13
Still can NOT get an .EVO file to play using Graphedit even with Sonic's DS Filters. The furthest I get is:
"The graph could not change state. Cannot play back the video stream: The video format is not supported."
Grrrrrrrrrrrrrr! :confused:
vitodeluca
29th January 2007, 22:41
Still can NOT get an .EVO file to play using Graphedit even with Sonic's DS Filters. The furthest I get is:
"The graph could not change state. Cannot play back the video stream: The video format is not supported."
Grrrrrrrrrrrrrr! :confused:
Is your evo h264 or VC1? There are different methods of handling these when contained in the evo... (see page 7 of this thread)
Pelican9
29th January 2007, 23:14
I've uploaded the new version of my sw: EVOdemux.exe (http://pel.hu/down/EVOdemux.exe)
Changes for v0.5
- Demux subtitle streams (max 16) to .sup files
Changes for v0.4
- Demux secondary video stream (IME or U-control)
- Fixed bug with titles that have both primary and secondary VC-1 streams
- Demux secondary DD+ audio streams (max 16 audio streams)
- Read VPLST000.XPL (get stream infos)
- 'Fast EVO checking' option (checks only the first 300 MB of the file)
- Cancel options for reading and demuxing
- Display estimated remaining time during reading and demuxing
EVO demux v0.3
This is the first version based on drmpeg's demux.c program
Features:
- Windows GUI
- Demux multiple audio (max 8) and video (max 1) streams
- 'Continue with second EVO' option (if the movie is splitted into FEATURE_1.EVO and FEATURE_2.EVO you can demux it in one step)
- Configurable file extensions and output folder
- Drag and drop file handling
muterobert
29th January 2007, 23:36
Is your evo h264 or VC1? There are different methods of handling these when contained in the evo... (see page 7 of this thread)
Thanks for the pointer - I'd completely forgotten what I should be doing. :)
I have now demuxed using drmpeg's tool, but during the mkv remux stage graphedit seems to take an absolute age to get anywhere. My test file (HDIntro.EVO) is only around 280MB and 2minutes in length. How long should this take? This problem is reported by a few others in this thread with no response as yet.
Incidentally - the video stream is VC-1 and the audio DD+.
Any ideas?
misdecrypt
29th January 2007, 23:51
It's probably not to do with MCE, more than likely some aspect of your hardware spec doesn't meet the minimum requirements.
See the bottom of this thread: http://www.abhdtv.net/forum/showthread.php?t=3796
..for a workaround.
I have MCE and wasnt able to install it either. I cheated the installer by firing up one of my virtual XP machines and installing it. Then I took the installed DLLs and copied them to my MCE machine. Once there I used regsvr32 to register them. Works great. Someone could post a zip of the dll's but that maybe against forum rules?
muterobert
30th January 2007, 00:49
I have MCE and wasnt able to install it either. I cheated the installer by firing up one of my virtual XP machines and installing it. Then I took the installed DLLs and copied them to my MCE machine. Once there I used regsvr32 to register them. Works great. Someone could post a zip of the dll's but that maybe against forum rules?
If you'd followed the link you'd have seen both methods described. ;) It's not specifically MCE - the MSI file has a pre-requisite checklist that fails if certain hardware / software critieria is not met. Removing this restriction via an MSI editor allows you to install the program.
As you can see from the link, I'd already done it the quick and dirty way as you did. :)
Deckard2019
30th January 2007, 00:50
I've uploaded the new version of my sw: EVOdemux.exe
Thanks. Just finished some tests on a movie. Almost 1 hour for full demux.
All audio tracks are empty (0KB) and none of my usual subtitle tools can handle the .sup files created ...
Opening file FEATURE_1.EVO
File size: 11629 Mbytes.
It contains 1 video stream and 4 audio streams.
VC-1 video stream 0 found!
DD+ audio stream 0 found!
DD+ audio stream 2 found!
DD+ audio stream 1 found!
DD+ audio stream 3 found!
Subtitle stream 4 found!
Subtitle stream 2 found!
Subtitle stream 1 found!
Done.
Opening file FEATURE_1.EVO
File size: 11629 Mbytes.
Creating FEATURE_1.VC-1.stream.0.mpv
Creating FEATURE_1.DD+.stream.00.mpa
Creating FEATURE_1.DD+.stream.01.mpa
Creating FEATURE_1.DD+.stream.02.mpa
Creating FEATURE_1.DD+.stream.03.mpa
Creating FEATURE_1.Subpicture.01.sup
Creating FEATURE_1.Subpicture.02.sup
Creating FEATURE_1.Subpicture.04.sup
It contains 1 video stream and 4 audio streams.
Continue on FEATURE_2.EVO
It contains 1 video stream and 4 audio streams.
Done.
Why do you use .mpv and .mpa file extension ?
I know I can change that but I'm just wondering why these values by default.
mpv and mpa stands for MPEG video and audio but there's nothing relative to MPEG in most HD-DVD.
It's just a question, as I don't think it can interfere on further processes ...
TNHitokiRi
30th January 2007, 01:04
yup... i have been unsuccessful in decoding the DD+ audio and the subtitles..
I think the subtitles should be .XAS extension, but im not sure
I dont even know if DD+ exists as a format for computers yet..
misdecrypt
30th January 2007, 02:05
As you can see from the link, I'd already done it the quick and dirty way as you did. :)
Oops, a little over zealous I guess.
On the DD+ note, I am not having much success either. pdvd, intervideo, or sonic is a no go. I can make graphs but I cant hear anything nor can I feed them into megui or ffmpeg. I doubt Ill have better success with MLP either.
Well wait I can play the demuxed audio in Windvd, so I must be doing something wrong somewhere.
Video however I am having no issues dealing with.
misdecrypt
30th January 2007, 02:30
I have success building a graph from just an EVO file. I followed the procedure shown earlier in this thread for superman. No luck with audio already demuxed, perhaps I need a different demuxer in my graph.
TNHitokiRi
30th January 2007, 03:38
Oops, a little over zealous I guess.
On the DD+ note, I am not having much success either. pdvd, intervideo, or sonic is a no go. I can make graphs but I cant hear anything nor can I feed them into megui or ffmpeg. I doubt Ill have better success with MLP either.
Well wait I can play the demuxed audio in Windvd, so I must be doing something wrong somewhere.
Video however I am having no issues dealing with.
I dont think windvd demuxed the audio properly.. Ive heard it demuxes 2ch and clones it to the rest of the channels or something along those lines.
edit.. Pelican9, it seems that your GUI is dumping 0kb audio tracks.. I'll check with the CLI demux.exe later to see if I am getting the same results.
misdecrypt
30th January 2007, 04:41
I dont think windvd demuxed the audio properly.. Ive heard it demuxes 2ch and clones it to the rest of the channels or something along those lines.
Yeah, I think thats the case too. I converted a clip to ac3 and played it back on my HT. It sounds like the center is L+R and the rears are lower versions of L+R. So close, yet so far...
Pelican9
30th January 2007, 10:54
Thanks. Just finished some tests on a movie. Almost 1 hour for full demux.
All audio tracks are empty (0KB) and none of my usual subtitle tools can handle the .sup files created ...
Sorry, I've made a mistake. I've just uploaded the corrected version (v0.51) http://pel.hu/down/EVOdemux.exe
You can demux only the audio streams again (uncheck the others).
Why do you use .mpv and .mpa file extension ?
I know I can change that but I'm just wondering why these values by default.
mpv and mpa stands for MPEG video and audio but there's nothing relative to MPEG in most HD-DVD.
It's just a question, as I don't think it can interfere on further processes ...
.mpv: You can play with pdvd 7.2 with this extension
.mpa: I haven't got a better idea (ac3, dts, depending on the stream type)
.sup: I've checked Sofpedia's HD DVD demuxer and it uses the same (and my .sup is perfectly matching theirs)
Deckard2019
30th January 2007, 11:07
I've just uploaded the corrected version (v0.51) http://pel.hu/down/EVOdemux.exe
Thanks a lot !
and my .sup is perfectly matching theirs
Ok so I don't have to test this 99$ software :)
The question is what can I do with this .sup file.
I tested it with SubRip and DVDSupDecode but both don't create anything from it.
gooki
30th January 2007, 11:13
I'm not an expert in this at all, but I guess people who demux HD DVD EVO files probably want to mux the stuff into a different container like e.g. MKV or TS (either with or without reencoding). Why else would you demux the EVO files?
Personally i want to demux the raw streams, strip out the IME and secondary audio tracks, remux into a .evo file for streaming back to a HDDVD player.
Pelican9
30th January 2007, 15:48
I've found another bug and I've uploaded the corrected version again.
The actual version is 0.52
EVOdemux 0.52 (http://pel.hu/down/EVOdemux.exe)
Sorry for the mess.
CptAlex
30th January 2007, 19:00
i can't play the .mpa (DD+), need codec ?, i tried VLC, WMP, with no success... any idea ? i demux the batman evo, ( I had a problem with the frame), no I can play the .mpv with no problem ! i just need the sound ;)
Pelican9
30th January 2007, 19:11
i can't play the .mpa (DD+), need codec ?, i tried VLC, WMP, with no success... any idea ? i demux the batman evo, ( I had a problem with the frame), no I can play the .mpv with no problem ! i just need the sound ;)
Nobody can play. :(
Not yet.
CptAlex
30th January 2007, 19:46
ok, also, i tried to demux the King Kong evo, but unfortunately, I have still a black screen..., also with powerdvd with the original evo, even with the playlist edited, any idea ?
i haven't solve my problem with the other topics...
Deckard2019
31st January 2007, 12:24
Where can I find a DD+/E-AC3 sample file plz ?
Thank you ...
kurt
31st January 2007, 12:30
ftp://mplayerhq.hu/MPlayer/samples/evob/
Delscene1.evo contains for example an E-AC3 track...
Deckard2019
31st January 2007, 12:47
Thank you.
I can decode the DD+ track with any AC3-capable player/codec. But this is not what I'm interested in.
I'm looking for a track I can't play, as the ones on HD-DVD discs.
Don't know why this track is DD+ as it sounds like typical AC3.
Don't understand why this is ok and others not. Bitrate ?
Warren
31st January 2007, 12:53
Bitrate for E-AC3 should be 1500kbit/sec, If the sample you had was 448 or 640 it was probably normal AC3
JnZ
31st January 2007, 12:57
I can decode the DD+ track with any AC3-capable player/codec. But this is not what I'm interested in.....
Try MAININTRO.EVO, it contains DD+ track, can't be palyable...
Pelican9
31st January 2007, 13:51
I think, DD+ is backward compatible with DD. Your AVR can decode as normal DD.
Pelican9
31st January 2007, 13:54
Try MAININTRO.EVO, it contains DD+ track, can't be palyable...
I can play all of my hd dvd movies with both (DD+ and DTS HD) audio format. My AVR detect normal DD and DTS signals.
dchard
31st January 2007, 14:04
This is because these two format is backward compatible.
If the software recognises, that your AVR is only compatible with DD instead of DD+, it converts the DD+ track on the file to DD 640kbit/s and this goes to your AVR by SPDIF passthrough.
Same with DTS-HD --> DTS.
About on the fly conversion I'am not sure, but some type of conversion must done. Or another way: E-AC3 contains a main AC3 track and some collateral music infomation. If the receiver can decode E-AC3, the main track and the collateral info sent to it, but if not, just the main AC3 track will be sent.
I tried DD+ with spdif passthrough and with 2ch output, and the difference in CPU useage is far form a real Ac3 conversion, so I think the second case sould be the right way.
Dchard
Deckard2019
31st January 2007, 14:33
If the software recognises, that your AVR is only compatible with DD instead of DD+, it converts the DD+ track on the file to DD 640kbit/s and this goes to your AVR by SPDIF passthrough.
Is there a way to do it by graph ?
For DD+, PowerDVD outputs standard AC3 for my AVR so I may be able to do it with the filters ?
Standard AC3@640kbps would be nice as final audio track or input for MeGUI ;)
Pelican9
31st January 2007, 14:44
If the software recognises, that your AVR is only compatible with DD instead of DD+, it converts the DD+ track on the file to DD 640kbit/s and this goes to your AVR by SPDIF passthrough.
I don't think pdvd can recognize my avr's capabilities.
I think it's more simple, pdvd sends only the DD (or DTS) part of the signal to the spdif.
drmpeg
31st January 2007, 15:05
Bitrate for E-AC3 should be 1500kbit/sec, If the sample you had was 448 or 640 it was probably normal AC3
The bitrate for DD+ is unconstrained. I have seen 192, 768, 1536 and 2046 kbps (yes, 2046 kbps, not 2048).
Ron
drmpeg
31st January 2007, 15:10
This is because these two format is backward compatible.
Dchard
Not on HD-DVD. The bitstream must be at least partially decoded and re-encoded to create a normal AC-3 stream.
On Blu-Ray, it's different. The bitstream contains a core AC-3 bitstream that can be extracted.
Ron
drmpeg
31st January 2007, 15:55
Some DD+ links:
http://www.dolby.com/assets/pdf/tech_library/DDPlus_FAQ.pdf
http://en.wikipedia.org/wiki/Dolby_Digital_Plus
DD+ to DD conversion (and more):
http://www.transtec.nl/download.php?id=189&file=Pro%2Fdolby%2FDolbyDigitalPlusWhitePaper.pdf
The specification:
http://www.atsc.org/standards/a_52b.pdf
Ron
Deckard2019
31st January 2007, 16:05
PDVD performs this conversion. Really no chance to do it out of the player ?
Pelican9
31st January 2007, 16:26
Not on HD-DVD. The bitstream must be at least partially decoded and re-encoded to create a normal AC-3 stream.
Thanks!
So, that's why nothing can play the demuxed audio streams...
superx
31st January 2007, 17:49
this is more of a question then anything,
my computer isn't fast enough to play back these file I have backed up from my 360 addon, anyway to stream it, or even better get it on my ps3 and try and play it back this way.
Maybee some clues to help you guys. Warner uses the same vc-1 encode for hd-dvd and blu-ray, I believe they just strip the flags from the blu-ray version.
anyway to get this to play on the ps3?
Thanks.
Phluxed
31st January 2007, 22:53
Been following this thread along for a while now, page 3 or so. Haven't done much testing on my own, but the progress thus far has been outstanding. You guys are very close to some solutions it would seem.
Pelican9
1st February 2007, 01:23
I've just created a beta version of my EVO demuxer.
It can 'rebuild' the original EVO to a smaller one which contains only one video and one audio streams.
(If I finish this, you can choose which and how many streams...)
Is it a useful feature?
I don't want to waste my time with developing this if nobody wants it.
Download: http://pel.hu/down/EVOdemux.exe
russegb
1st February 2007, 05:28
Pelican9,
I just tested the .53 version (EVOdemux0.53.exe, note the missing "b") and it worked like a charm on my HD-DVD backup of Miami Vice.
Without editing the VPLST000.XPL file the original .EVO won't play correctly in Powerdvd 7.2, but the remuxed/rebuilt version (just the VC-1 nd main DD+) I made using your tool plays perfectly:D .
One quick point--you may want to either update your link or your filename on your server as I had to use http://www.pel.hu/down/EVOdemux0.53.exe, note the lack of a "b", to get a successful download, but the date of the .exe was from today, Feb 1st, so I suspect it was at least a recent if not the latest version.
Please keep up the great work and let me know if there's any other feedback/test results that I can help with.
russegb
LOGiC
1st February 2007, 09:07
Great work Pelican, thank you very much. I think this is very useful for a lot of people here.
By the way, as question to all. Is there any known way yet to "split" a HD-DVD to let's say 3-4 DL Discs? I would like to do it the following way: Buying a HD-DVD, demuxing it, syncing another language to it (just a normal DD5.1 ac3 track), rebuilding the evo editing the xpl to have a fully compliant structure and THEN bringing this to several DL discs.
Is this possible ?
Thank you in advance.
Pelican9
1st February 2007, 10:47
http://pel.hu/down/EVOdemux.exe
It's still beta, but you can choose the streams now.
I think it works well only if you check the video 0 and audio 0.
I will change the stream ids to solve this problem.
To be continued...
Deckard2019
1st February 2007, 11:25
Still looking for a conversion method for DD+ to DD.
If I use ffmpeg (http://arrozcru.no-ip.org/ffmpeg_builds/) on the source file :
FFmpeg version SVN-r7760, Copyright (c) 2000-2006 Fabrice Bellard, et al.
configuration: --enable-memalign-hack --enable-gpl --cpu=i686 --enable-swscaler --enable-pthreads
--enable-avisynth --enable-mp3lame --enable-xvid --enable-x264 --enable-libnut --enable-libogg
--enable-vorbis --enable-libtheora --enable-faad --enable-faac --enable-libgsm --enable-dts
--enable-a52 --enable-amr_nb --enable-amr_wb
libavutil version: 49.2.0
libavcodec version: 51.29.0
libavformat version: 51.8.0
built on Jan 29 2007 19:58:47, gcc: 3.4.6
Input #0, ac3, from 'FEATURE_1.DD+.stream.00.ac3':
Duration: 01:51:53.9, start: 0.000000, bitrate: 1535 kb/s
Stream #0.0: Audio: ac3, 48000 Hz, 5:1, 1536 kb/s
Information about the stream seem to be ok but when I try to convert to DD@640kbps, many decoding errors occur :
[ac3 @ 008FDF50]ac3dec: AC3 Source channels are less than specified: output to 3 channels.. (frmsize: 320)
[ac3 @ 008FDF50]Error decoding frame
[ac3 @ 008FDF50]ac3dec: AC3 Source channels are less than specified: output to 4 channels.. (frmsize: 1792)
[ac3 @ 008FDF50]Error decoding frame
[ac3 @ 008FDF50]ac3dec: AC3 Source channels are less than specified: output to 4 channels.. (frmsize: 576)
[ac3 @ 008FDF50]Error decoding frame
[ac3 @ 008FDF50]ac3dec: AC3 Source channels are less than specified: output to 4 channels.. (frmsize: 698)
[ac3 @ 008FDF50]Error decoding frame
[ac3 @ 008FDF50]ac3dec: AC3 Source channels are less than specified: output to 3 channels.. (frmsize: 1024)
Pelican9
1st February 2007, 12:17
Still looking for a conversion method for DD+ to DD.
If I use ffmpeg (http://arrozcru.no-ip.org/ffmpeg_builds/) on the source file :
...
Information about the stream seem to be ok but when I try to convert to DD@640kbps, many decoding errors occur :
ffmpeg doesn't recognize the correct stream type (it's not ac3, it's e-ac3)
Is there any sw which can record the spdif-in?
Because the pdvd reencode the dd+ stream to dd during the playback and it can send the audio to spdif.
CptAlex
1st February 2007, 12:39
it would be nice if we can choose the mpa + the mpv directly on the computer, (i've delete the original evo... and i no longer have the HDdvd to have a new one) ?
It'll be very great :D
(possible to have batman working with sound with this method ? :S)
Pelican9
1st February 2007, 13:08
it would be nice if we can choose the mpa + the mpv directly on the computer, (i've delete the original evo... and i no longer have the HDdvd to have a new one) ?
It'll be very great :D
Yes, it's a good idea, but I'm a newbie.
Give me a couple of weeks...
CptAlex
1st February 2007, 14:07
Take your time :), it's good i've refind the evo , but i'm still interested but what i said ^^, moreover i've remux batman, and no problem with the frame ! very good !, i've also chosen an audio track but can't hear any sound..., i think i've chosen the french track and it's not the default track... so if you can put in your program the possibility to change the default track, u are a champion ;)
I confirm what i said, i've now chosen the audio track 0 and it work fine !, i'll try with a playlist to watch i can choose the french track... but can you watch if it's possible to change an audio track to a default track ?
i'll tell you more in few hours about my tests ;)
Pelican9
1st February 2007, 14:55
o if you can put in your program the possibility to change the default track, u are a champion ;)
I've uploaded the new version which can renumber the streams
Download from here: http://pel.hu/down/EVOdemux.exe
Please test it.
CptAlex
1st February 2007, 17:21
when i launch the program, i have an error : rtl70.bpl is missing (in french : cette application n'a pas pu démarrer car rtl70.bpl est introuvable...)
Pelican9
1st February 2007, 17:59
Sorry, I'll upload it later.
Here it is: EVO demux (http://pel.hu/down/EVOdemux0.53b.exe)
tonyp12
1st February 2007, 22:14
You need to add a 'b' after 53
Pelican, could you included an option to slice output to 4.7GB or 8.5GB?
And the default destination should not be what the XPL file is at,
as sometimes I just read it from the dics directly.
Pelican9
1st February 2007, 22:52
You need to add a 'b' after 53
There was, I swear... :)
Pelican, could you included an option to slice output to 4.7GB or 8.5GB?
You can split the files with many software, (e.g. total commander).
And the default destination should not be what the XPL file is at,
as sometimes I just read it from the dics directly.
default destination: Options/Output folder
tomos
2nd February 2007, 03:42
i've been trying this with varying degrees of success since this thread started. i've been able to demux avc video (equilibrium) and mux to mp4, then to mkv as seen here (http://forum.doom9.org/showthread.php?p=935396#post935396). . this plays back perfectly in mpc with coreavc (fps specified in yamb)
vc1 vids (e.g supes returns) i have to re-encode due to probs with sonics codecs (with them being registered i cant play back avc video as they mess other codecs around). i tried microsofts vc1 decoder (linked to in another thread - no joy, back to sonics). this works (after some messing around due to a lack of a frame count). the main issue is getting sound. the method in the link above works but can result in getting the soundtrack or a commentary.
i figured demuxing all would be the best bet. now the problem is still the sound. video, whether avc or vc1 i can control to a point, but nothing will let me deal with the audio tracks. graphedit wont even recognise the dd+ file and wont let my try to set it up to be played with the sonic codecs.
anyone else in the same position?
mixanobios
2nd February 2007, 09:06
@tomos: me, exactly in the same position :D, also tried equilibrium but couldnt find a way to decode dd+
Deckard2019
2nd February 2007, 09:51
anyone else in the same position?
All of us. As written in previous posts ...
Pelican9
2nd February 2007, 11:33
Has anybody tried the Rebuild feature of EVOdemux (0.53b)?
LOGiC
2nd February 2007, 11:54
@Pelican9,
not yet as I have been quite busy all the week, but I will do some intensive testing this weekend and give you feedback. Thanks again for this functionality.
CptAlex
2nd February 2007, 12:37
i can't renumber the stream...
I have rebuilt the evo of batman, now i have a .evo file of 18go, with the english track by default (i can't have the french track by default...) and it work well. (video and english sound perfect)
LOGiC
2nd February 2007, 14:13
@all,
I know, this is not exactly the topic of this thread, but I am desperately looking for some answers and really beg for your help. What exactly is a fully hd-dvd compliant structure ? I am asking because,
I would like to do the following:
1) Demux .evo file
2) Bring a normal DD5.1 audio track lipsync
3) Rebuild the .evo file
4) Split the .evo file to 8,5GB parts to fit on DVD-DL
5) Reauthor every 8,5GB part as an independent HD-DVD
6) Watch the backup on XBox360 HD-DVD drive
Any chance this would be possible ?
Thank you all very much in advance.
tomos
2nd February 2007, 15:18
the furthest i've gotten so far with the audio (thanks to windvd) is to be able to play it back in graphedit and play via avs in mpc. problem is, whether the source is an evo file or the demuxed audio track - the length is 24 minutes roughly.
the same for the uncompressed wav written in an attempt to extract a usable audio track.
bizzare
CptAlex
2nd February 2007, 15:47
@all,
I know, this is not exactly the topic of this thread, but I am desperately looking for some answers and really beg for your help. What exactly is a fully hd-dvd compliant structure ? I am asking because,
I would like to do the following:
1) Demux .evo file
2) Bring a normal DD5.1 audio track lipsync
3) Rebuild the .evo file
4) Split the .evo file to 8,5GB parts to fit on DVD-DL
5) Reauthor every 8,5GB part as an independent HD-DVD
6) Watch the backup on XBox360 HD-DVD drive
Any chance this would be possible ?
Thank you all very much in advance.
I think you can't... and if the 360 can read evo on a dvd, you will have to change the playlist, and i think there'll be a problem with the .map... watch the movie on ur pc ;)
Pelican9
2nd February 2007, 16:54
i can't renumber the stream...
I have rebuilt the evo of batman, now i have a .evo file of 18go, with the english track by default (i can't have the french track by default...) and it work well. (video and english sound perfect)
If you check only the french audio (uncheck the others) and then rebuild the evo, you can get an evo with (renumbered) french audio only. It's working for me.
Do you have the latest version?
EVOdemux 0.54b makes a .pts file for every subtitle (It contains the timing information for the subtitle stream).
I've made another tool to process the demuxed subtitles (it's need the .pts file too).
It can make an .srt file, looks like this:
0:01:14,046 --> 0:01:18,608
line 1
2
0:01:18,684 --> 0:01:21,210
line 2
3
0:01:21,286 --> 0:01:24,586
line 3
...
enantiomer
2nd February 2007, 16:56
Long time lurker, first time poster. I have solved the E-AC3 audio problem for now by using this graphedit flow:
FEATURE_1.EVO -> Intervideo Demultiplexer -> Intervideo Audio Decoder
Then I use bepipe.exe, which calls an avisynth script that does a Directshowsource() on the .grf; the 2 channel wav output is piped into aften.exe and re-encoded as normal AC3.
So, it's only 2 channel for now, but the sound quality is very good, and if you setup the Intervideo Audio Decoder correctly I believe it will Pro Logic encode the surround sound. Note that the Intervideo demultiplexer retrieves the primary audio stream, which generally is the one you want. You can also substitute in the Sonic Demux and it will usually demux the audio commentary track. It will be nice to have Pelican9's stream re-numbering in the EVO since there is no direct control over which audio is demuxed in Graphedit, and there is no way to decode a demuxed E-AC3 file directly.
CptAlex
2nd February 2007, 17:25
i've the 0.53b not the 0.54b, and no link to download it...
Pelican9
2nd February 2007, 17:46
i've the 0.53b not the 0.54b, and no link to download it...
That's good.
Try to download again, there was 2 or 3 versions with the same version number...
The 0.54b not yet released, but coming soon... :-)
CptAlex
2nd February 2007, 18:19
ok, i'm trying with batman, i'll tell you more next.
but i've an another problem with other movie (equilibrium, pitch black and riddick), i've only the english track in the evo. However, i've those movies in dvd in french, i've taken the french track, but unfortunately, the frame for the movies aren't the same (i think in the .evo frame is around 30fps correct me if i'm wrong) and my french movies are around 25fps, so when i lauch the sound at the same time of the .evo, it's faster, if anyone as a solution ?
the problem is that i can't reduice the frame of the evo. and i don't know how reduice the speed of the audio track...
ok : batman works in french nowwww... yeah ! ;)
tonyp12
2nd February 2007, 22:14
You can split the files with many software, (e.g. total commander).
I want a split so each splitted evo is still playable.
If you have a PC with two DVD drives, you could put
both DL disc in and play movie from start to end with powerdvd playlist.
No need to merge files to HD from discs first.
default destination: Options/Output folder
How about using the folder Read EVO instead of XPL
ArcticFox
2nd February 2007, 22:21
Long time lurker, first time poster. I have solved the E-AC3 audio problem for now by using this graphedit flow:
FEATURE_1.EVO -> Intervideo Demultiplexer -> Intervideo Audio Decoder
Then I use bepipe.exe, which calls an avisynth script that does a Directshowsource() on the .grf; the 2 channel wav output is piped into aften.exe and re-encoded as normal AC3.
So, it's only 2 channel for now, but the sound quality is very good, and if you setup the Intervideo Audio Decoder correctly I believe it will Pro Logic encode the surround sound. Note that the Intervideo demultiplexer retrieves the primary audio stream, which generally is the one you want. You can also substitute in the Sonic Demux and it will usually demux the audio commentary track. It will be nice to have Pelican9's stream re-numbering in the EVO since there is no direct control over which audio is demuxed in Graphedit, and there is no way to decode a demuxed E-AC3 file directly.
Doesnt work for everyone, ive been messing with different decoders for days, ive not been able to get those combination of filters working.
enantiomer
2nd February 2007, 22:43
Slightly off topic, but I feel your pain. Imagine trying to re-encode VC-1 from a Blu-ray title. There is simply no working filter path for this. For starters, I'm not even sure if VC-1 is being demuxed properly (using TSReader). I'm hoping Drmpeg can modify his xport script to deal with BDMV encapsulated VC-1. Maybe someone can punch through, but it won't be me. I've wasted too much time in Graphedit.
Back to HD-DVD, I've only done the Intervideo filter trick on a few titles. I will show my bepipe and avisynth scripts when I'm posting from the right machine.
Pelican9
2nd February 2007, 23:51
EVOdemux 0.54b (http://pel.hu/down/EVOdemux.exe)
Change for v0.54
- Write PTS information to .pts file(s) for subtitle streams
Change for v0.53
- Renumber the streams during the Rebuild
Change for v0.52
- New feature: Rebuild. Make another .EVO file which contains only the selected streams
I want a split so each splitted evo is still playable.
If you have a PC with two DVD drives, you could put
both DL disc in and play movie from start to end with powerdvd playlist.
No need to merge files to HD from discs first.
I'm trying to figure out something...
How about using the folder Read EVO instead of XPL
What? I don't understand. What do you want with the folder?
(Sorry, my English is not perfect.)
tomos
3rd February 2007, 00:37
cant believe the speed of development of these tools versus original dvd ripping software.
i remember having to use some prog to take snapshots of a movie with power dvd and then record the audio in realtime
is HD-DVD/BD easier for you to write for? or is it dvd software did the goundwork?
anyways - appreciated :)
drmpeg
3rd February 2007, 00:40
For starters, I'm not even sure if VC-1 is being demuxed properly (using TSReader). I'm hoping Drmpeg can modify his xport script to deal with BDMV encapsulated VC-1.
Can do. A short sample stream would be nice.
Ron
TNHitokiRi
3rd February 2007, 00:56
great work Pelican9, now im just waiting for the subtitle decoder program you were talking about.. :D
mosb3rg
3rd February 2007, 05:49
Hey fellas, thanks again for all the great information i have been able to read up on over the last month or so here its been invaluable for sure. However, I have a question reguarding the framecount=000000 option in directshowsource() loading function in avisynth. Now, first i tested loading the hd dvd (.vc1) file through the graphedit application, and im able to see the video perfectly fine using avisynth 2.55 and virtualdubmod 1.5.10 to view but obviously the time line and the frame count are completely inaccurate, so i read what some of you suggested about adding the frame count into the directshowsource() function. Unfortunately, this avs wont work with the framecount option. This is the .avs i attempted to load and view once i gathered the correct frame count.
DirectShowSource("feature.grf",fps=23.976,framecount=269586)
Upon loading in virtualdubmod 1.5.10 I noticed the error "frame count isnt a valid direct show source function", so i figured maybe the latest avisynth is needed, specifically avisynth 2.57 well sure enough it seems after i switch over to the latest. the same .grf file even without framecount=??? will not load. The Error i see now is "you must have only 1 audio or video file present for this graph to work". Obviously its still just the video being fed through the graph. Can anyone share any ideas as to why this might be. Its the only reason i cannot encode another format. The frame count is 100% wrong and so is the time line, which i read in previous posts is normal, but there has to be a way to get this working so i can encode directly from the .avs file in any app i feel like using without having to convert to a raw format first. lossless or not its an extra step i would like to avoid if at all possible, clearly some of you have worked this out, can you share the combination of applications/filters used to make this happen. I figured out the math to determine the frame count based on exact time, not that its incredibly difficult.
Once i figure this small hang up out hopefully thanks to you guys, I'll ask a friend of mine to post a simple tool which will allow you to enter the exact time line (which you can get from powerdvd or windvd when you load the .vc1 file) and receive the correct frame count value so anyone can very easily without the need to encode to huffyuv or some other lossless codec just to get the accurate frame count. Thanks in advance for any information you can provide me and also again for all the work you guys have put into this format in its short existence your all invaluable to the cause.
Lastly, if i may make a suggestion to DRMPEG and Pelican, if the EVO demux command line/GUI application can rebuild an .evo again, is it possible for you to enable the tool to allow us to select the individual files we would like to remux because i have myself be attempting to downsample the hd dvd movies and redo them to fit on DVD9 media, now the debate here isnt weather or not thats a good idea, or worth doing, its just something im anxious to be capable of doing, and i read that alot of others are interested in some fashion of using dvd-9 media well a step in that direction would be enabling us to make new .evo files based on us choosing the elementary streams we would like to use. if this is possible let me know, it would greatly improve the speed in which we can begin reproducing HD DVD movies in the future.
Thanks again fellas,
Mosb3rg
drmpeg
3rd February 2007, 06:19
Hey fellas, thanks again for all the great information i have been able to read up on over the last month or so here its been invaluable for sure. However, I have a question reguarding the framecount=000000 option in directshowsource() loading function in avisynth. Now, first i tested loading the hd dvd (.vc1) file through the graphedit application, and im able to see the video perfectly fine using avisynth 2.55 and virtualdubmod 1.5.10 to view but obviously the time line and the frame count are completely inaccurate, so i read what some of you suggested about adding the frame count into the directshowsource() function. Unfortunately, this avs wont work with the framecount option. This is the .avs i attempted to load and view once i gathered the correct frame count.
DirectShowSource("feature.grf",fps=23.976,framecount=269586)
Upon loading in virtualdubmod 1.5.10 I noticed the error "frame count isnt a valid direct show source function", so i figured maybe the latest avisynth is needed, specifically avisynth 2.57 well sure enough it seems after i switch over to the latest. the same .grf file even without framecount=??? will not load. The Error i see now is "you must have only 1 audio or video file present for this graph to work". Obviously its still just the video being fed through the graph. Can anyone share any ideas as to why this might be. Its the only reason i cannot encode another format. The frame count is 100% wrong and so is the time line, which i read in previous posts is normal, but there has to be a way to get this working so i can encode directly from the .avs file in any app i feel like using without having to convert to a raw format first. lossless or not its an extra step i would like to avoid if at all possible, clearly some of you have worked this out, can you share the combination of applications/filters used to make this happen. I figured out the math to determine the frame count based on exact time, not that its incredibly difficult.
Once i figure this small hang up out hopefully thanks to you guys, I'll ask a friend of mine to post a simple tool which will allow you to enter the exact time line (which you can get from powerdvd or windvd when you load the .vc1 file) and receive the correct frame count value so anyone can very easily without the need to encode to huffyuv or some other lossless codec just to get the accurate frame count. Thanks in advance for any information you can provide me and also again for all the work you guys have put into this format in its short existence your all invaluable to the cause.
Lastly, if i may make a suggestion to DRMPEG and Pelican, if the EVO demux command line/GUI application can rebuild an .evo again, is it possible for you to enable the tool to allow us to select the individual files we would like to remux because i have myself be attempting to downsample the hd dvd movies and redo them to fit on DVD9 media, now the debate here isnt weather or not thats a good idea, or worth doing, its just something im anxious to be capable of doing, and i read that alot of others are interested in some fashion of using dvd-9 media well a step in that direction would be enabling us to make new .evo files based on us choosing the elementary streams we would like to use. if this is possible let me know, it would greatly improve the speed in which we can begin reproducing HD DVD movies in the future.
Thanks again fellas,
Mosb3rg
Would a demuxed frame count help? As it turns out, I've already written the code based on a request from the OP.
http://www.w6rz.net/evob_demux_frames.zip
Give it a try. It will report the the number of encoded frames. So for HD-DVD titles, the encoded frame rate is 23.976 fps.
If this works for you, it can be extended to report the exact running time based on repeat_first_field flags.
Ron
mosb3rg
3rd February 2007, 06:23
Tested this version (unfortunately only on feature_1.evo of king kong, i dont understand how note i want both files muxed together for one large movie, if you could in your response please fill me in on that so i can test properly on the entire movie, at least until the gui is updated) it provided me the frame count of 157806 now if there split right down the center like i assume they are exactly half of the time line then the frame count should be "315612" now the question is, why do i get a much lesser frame count when i encode an .avi (picvideo v3 m-jpeg) at first glance i would assume its due to the noting of the frame rate to 23.976 when its actually a 29.970 fps would be the reason for the for the following value i came up with to differ in my output. Heres an example of what I'm using:
DirectShowSource("feature.grf",fps=23.976,framecount=269586) *again this framecount loading doesnt work for me so im mainly trying to show thats the framecount i get when i load the .grf this way.*
Again i am open to the avisynth script opinions of others here. if theres a better way to do this i would love to know it because something about the method of loading for me isn't correct.
Mosb3rg
mosb3rg
3rd February 2007, 07:07
I have got the .grf to load in the latest avisynth now, but again that frame count concept doesnt work properly, it still tries to do it from a non-timestamped .vc1 without the frame count noted in the demuxed file whatsoever, it appears that when run through direct show source theres just honestly no way to note the correct frame count, and if there is it just completely eludes me, please feel free to give any input. but just incase its helpfuly to some who dont know heres the working method of loading the video in avisynth 2.57:
DirectShowSource("feature.grf",fps=29.970,framecount=324001,audio=false)
now again even if the frame count was slightly off, that total value is what i was provided by demux 0.5 with newly added frame count. when i combined both total frame values from the feature1 and feature2 that were individually demuxed. this method for some reason just counts on its own scale, i assume the same scale that is used even if you don't note the frame count, which right now is just disapointing. In any event anxious to hear any results fellas, later.
Mosb3rg
Pelican9
3rd February 2007, 09:14
Is this framecount feature useful or not?
Do you want it in the GUI version or not?
Edit: It's too late. I've done. :)
EVO demux 0.541 (http://pel.hu/down/EVOdemux.exe)
Neo Fagin
3rd February 2007, 09:35
ed: never mind, mistake on my end
holzi
3rd February 2007, 15:25
Thanks for the framecout option. This is very usefull.
JFYI:
http://ffdshow-tryout.svn.sourceforge.net/viewvc/ffdshow-tryout/trunk/?view=log
Revision 871 - Directory Listing
Modified Sat Feb 3 14:42:14 2007 UTC (58 minutes, 47 seconds ago) by drevil_xxl
added ms vc-1 codec
Revision 867 - Directory Listing
Modified Fri Feb 2 23:02:27 2007 UTC (16 hours, 38 minutes ago) by drevil_xxl
added libavcodec vc-1
Don't know if this changes are enough for playback yet but we get close I hope :)
mosb3rg
3rd February 2007, 17:04
i love this forum i wake up and you guys apply the changes to the gui and ffdshow very cool, well im gonna give it a whirl now on the entire movie and see if the frame count is identical to the split i attempted last evening should be the same hopefully. Either way the problem is still not being able to use the frame count effectively in avisynth as of right now. its most likely ffdshow that is not properly reading the time line and frame count as it should be read, if there was a way to get that happening, i believe this would all work perfectly, thanks for updating ffdshow though im going to try that aswell maybe it changes something :)
Mosb3rg
Warren
3rd February 2007, 17:12
The framecount is one frame too many because of the information frame (first frame in the VC-1 stream)
mosb3rg
3rd February 2007, 18:17
It seems its way more than 1 frame to many bud, i get like quadruple the correct amount of frames, if i negate noting any frame count. but again that doesn't work alone as we all now know. it is strange that someone posted that it was working, when it clearly does not, not sure what that was all about, but we can rest assure something else will be needed.
DRMpeg/Pelican, can you guys implement the ability to select individual streams video and audio i guess at first, so we can rebuild an .evo file with our elementary streams that would be fantastic and allow us to pretty much right away begin reproducing HD DVDs on whatever media we want, i've already tested CD/DVD/DL media in the 360 addon drive toshiba makes, and they all worked fine aslong as the file structure was properly setup. so thats great news definately. HD.DVD9 is possible once we can rebuild.
By the Way, if theres anything at all i can post to better assist you in your project to do anything were requesting please dont hesitate to ask, i am more than happy to produce whatever you need.
Lastly, anyone out there who can provide a .prx file used in windows media encoder, which has been set to the proper specs used on HD DVD that would be excellent i think a lot of us, are aware of how we need to get the VC1 files encoded but are unaware of how the settings need to be exactly to be able to pass all checks scenarist might look for, or any other authoring application for that matter
Mosb3rg
holzi
3rd February 2007, 19:48
xxl put a new ffdshow build only.
http://sourceforge.net/project/showfiles.php?group_id=173941&package_id=214245
But I'm not able to build a graph. I think libavcodec still needs some work :(
mosb3rg
3rd February 2007, 19:54
I have just finished demxuing the project, the total framecount differed in the gui than it did in the split project feature1 and feature2 respectively as follows:
GUI = 269227 frames count in video stream (using process both evos option)
CMD Line = 324001 frames count in video stream (demux features individually and combined .evo's framecount)
the concerned is that gui is outputing the frames based on 23.976 where the cmd line is outputing the frame rate for 29.970, if this is the case how do you guys not notice lol i figure the code would be different to make that happen but i dunno. in any event its neat to see both have different results, you guys can take it from there. or possibly have the option in the gui where it can tell us the frame count in both situations so depending on how we process the video were good either way maybe ? you guys let me know, thanks again for releasing the gui so fast for testing.
Mosb3rg
Pelican9
3rd February 2007, 22:29
My code is almost the same as drmpeg's, because I've used his code.
It doesn't depend on the frame rate.
I tested it yesterday and the two programs gave the same results.
I'll check it again, and come back.
Edit:
mosb3rg: I've found some EVOs that are counted differently by the two programs.
I don't now why, but I'm still working on it.
woah!
3rd February 2007, 23:23
i thought all hd-dvd disc's were 24fps pure progressive film ?
i see 29.97fps seems to be what is being detected when i play through MPC. i know 23.976fps isnt far off 24fps but over 2 hours it can add up.
CptAlex
4th February 2007, 00:17
pelican, could you see if it's possible to insert an audio track from a directory in the evo during the rebuilt, and make it to default track ?
it'll be very interesting if someone want to insert new languages there's not in the evo ;) (ndlr : me ? :D)
Pelican9
4th February 2007, 01:54
pelican, could you see if it's possible to insert an audio track from a directory in the evo during the rebuilt, and make it to default track ?
it'll be very interesting if someone want to insert new languages there's not in the evo ;) (ndlr : me ? :D)
Maybe. I mean I could change one audio stream to another one (if it's the same type), but I'm not sure that the result is playable. If the streams are different it's gonna be more difficult.
I'll try it anyway.
enantiomer
4th February 2007, 07:19
Can do. A short sample stream would be nice.
Ron
Thanks for the fast response. I'm currently travelling but in a few days I will post a clip.
juhu
4th February 2007, 13:56
My code is almost the same as drmpeg's, because I've used his code.
It doesn't depend on the frame rate.
I tested it yesterday and the two programs gave the same results.
I'll check it again, and come back.
Edit:
mosb3rg: I've found some EVOs that are counted differently by the two programs.
I don't now why, but I'm still working on it.
(v 0.541) tested framecount on Fearless. Seems to work on small files but stops to count long before the end on the 2 large feature files. kind of "Auto-abortion" around 284MBs...
SeeMoreDigital
4th February 2007, 14:07
Well this is fun....
I re-named some .VOB and .MPG files to .EVO and ran them thru' EVO_Demux_0.542 to see what would happen.... and EVO_Demux_0.542 was able to de-mux them!
Although the de-muxed AC3 streams are reported as being "not valid" (without header info)... they seem to play okay ;)
vsv
4th February 2007, 16:47
Well this is fun....
I re-named some .VOB and .MPG files to .EVO and ran them thru' EVO_Demux_0.542 to see what would happen.... and EVO_Demux_0.542 was able to de-mux them!
Although the de-muxed AC3 streams are reported as being "not valid" (without header info)... they seem to play okay ;)
.VOB and .MPG and .EVO is PS(Program Stream)
lenn0x
4th February 2007, 18:43
If anyone is curious ive been following the development over at ffmpeg, and they just released a draft EVO/VC1-parser for video streams. After patching together some things that havent been checked in yet, it seems they are making great progress. I tested one of there samples on mplayer.hu and tested my own from V for Vendetta EVO file. Video is playing, no audio yet it seems (might be an issue for me? Not sure yet).
http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2007-February/051861.html
Pelican9
4th February 2007, 22:42
(v 0.541) tested framecount on Fearless. Seems to work on small files but stops to count long before the end on the 2 large feature files. kind of "Auto-abortion" around 284MBs...
If you check 'Fast EVO checking' option and the filesize is over 300 MB then framecount doesn't work during EVO read, but still works during demux.
Jjeje007
5th February 2007, 02:11
Hi,
If anyone is curious ive been following the development over at ffmpeg, and they just released a draft EVO/VC1-parser for video streams. After patching together some things that havent been checked in yet, it seems they are making great progress. I tested one of there samples on mplayer.hu and tested my own from V for Vendetta EVO file. Video is playing, no audio yet it seems (might be an issue for me? Not sure yet).
http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2007-February/051861.html
Just try out and after some "debugging" :
ffmpeg -i UNILOGO.EVO -f mp4 -r 24 -vcodec h264 -b 1000k -acodec copy test.mp4
FFmpeg version SVN-r7817, Copyright (c) 2000-2006 Fabrice Bellard, et al.
configuration: --prefix=/usr --libdir=/usr/lib --shlibdir=/usr/lib --mandir=/usr/share/man --enable-static --enable-shared --cc=i686-pc-linux-gnu-gcc --disable-mmx --disable-altivec --disable-debug --disable-v4l --disable-v4l2 --disable-dv1394 --disable-network --disable-opts --enable-mp3lame --enable-a52 --enable-libogg --enable-vorbis --enable-dts --enable-x264 --enable-faad --enable-faac --enable-gpl --enable-pp --disable-strip
libavutil version: 49.3.0
libavcodec version: 51.30.0
libavformat version: 51.8.0
built on Feb 5 2007 01:40:05, gcc: 4.1.1 (Gentoo 4.1.1-r3)
[vc1 @ 0x6fe3e5c8]Interlaced mode not supported (yet)
[vc1 @ 0x6fe3e5c8]Interlaced mode not supported (yet)
Seems stream 0 codec frame rate differs from container frame rate: inf (1/0) -> 90000.00 (90000/1)
Input #0, mpeg, from 'UNILOGO.EVO':
Duration: 00:00:29.1, start: 0.037822, bitrate: 21467 kb/s
Stream #0.0[0xfd55]: Video: vc1, yuv420p, 1920x1080, 90000.00 fps(r)
Stream #0.1[0xc0]: Audio: ac3, 48000 Hz, 5:1, 1536 kb/s
Output #0, mp4, to 'test.mp4':
Stream #0.0: Video: h264, yuv420p, 1920x1080, q=2-31, 1000 kb/s, 24.00 fps(c)
Stream #0.1: Audio: ac3, 48000 Hz, 5:1, 1536 kb/s
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
[h264 @ 0x6fe3e5c8]width or height not divisible by 16 (1920x1080), compression will suffer.
[h264 @ 0x6fe3e5c8]using cpu capabilities MMX MMXEXT SSE SSE2
[vc1 @ 0x6fe3e5c8]Interlaced mode not supported (yet)
Error while opening codec for input stream #0.0
Seem to be promised but still don't work
Jjeje007
Dethis
5th February 2007, 03:30
Something unexpected...
I demuxed the DD+ stream of the Departed.evo in the same directory and guess what ??. the Departed.evo plays fine with sound with MPC. Internal MPC's Mpeg TS/PS/PVA & CoreAvc & AC3 decoder are in use.
Trying the same with "The 300.evo" i get studdering motion because Mpeg TS/PS/PVA serves the 24p video at 29.97fps. Using Elecard's Mpeg2 demultiplexer & avc decoder everything is fine (except Cpu use which is higher than with coreavc)
lenn0x
5th February 2007, 04:31
This happens because like I said, not everything is checked in, the link I attached has some patches he has not commited to SVN. I have ffmpeg encoder working here, but the audio isnt translating yet, the same reason why when you apply patches to the tree in mplayer, it spits out errors for audio decoding. I manually applied the patches by hand since there a few things that in his patch conflict with the current svn. So do them manually.
Hi,
Just try out and after some "debugging" :
Seem to be promised but still don't work
Jjeje007
Warren
5th February 2007, 05:24
Just so you guys know it has been confirmed that HD DVDs are encoded at 23.976fps and not 24fps so that it will IVTC to 29.97fps for NTSC.
honai
5th February 2007, 20:44
Who confirmed it, and where?
Isochroma
5th February 2007, 20:44
Correct, they are coded at 23.976. I just verified this with Fearless.
@Dethis: Departed uses standard AC3, not E-AC3.
honai
5th February 2007, 20:51
How did you verify it? From the headers of the video stream, or just checking the output of the video decoder (which may or may not be accurate)?
Warren
5th February 2007, 20:58
From posts on AVSForum by industry experts:
http://www.avsforum.com/avs-vb/showthread.php?p=8049403&highlight=23+976#post8049403
http://www.avsforum.com/avs-vb/showthread.php?t=791245&page=1&pp=30
SeeMoreDigital
5th February 2007, 21:05
Correct, they are coded at 23.976. I just verified this with Fearless.
@Dethis: Departed uses standard AC3, not E-AC3.
Any confirmation regarding the speeds of European HD-DVD sources?
honai
5th February 2007, 21:11
@Warren
none of those two links confirms that HD-DVD releases so far were actually encoded at 23.976fps. I still haven't seen any official confirmation from the production studios, and the video stream information from various decoders may be inaccurate (Sonic's, for example, seems to report 29.97 for all VC-1 sources).
Also, as SeeMoreDigital pointed out, European HD-DVDs might be mastered at 25fps after all, so doing US-titles at 24fps might not be unreasonable since you need the framerate-conversion in the hardware players, anyway.
Dethis
5th February 2007, 21:15
....
@Dethis: Departed uses standard AC3, not E-AC3.
EvoDemux 0.542 regognizes it as "DD+".
Anyway, my point is that, in case the video stream is h.264, we can play *.EVO's WITH SOUND in MPC if we have the demuxed audio stream in the same directory (i.e "The 300.EVO" & "The 300.DD+.stream.00.mpa")
madshi
5th February 2007, 22:42
none of those two links confirms that HD-DVD releases so far were actually encoded at 23.976fps. I still haven't seen any official confirmation from the production studios
Ben Waggoner (Microsoft) has stated on the AVS Industry Insiders thread that 23.976fps is the number.
Also, as SeeMoreDigital pointed out, European HD-DVDs might be mastered at 25fps after all
Wrong. European HD DVDs released by the major studios are mostly reusing the same encoding and they're 23.976fps as well. HD DVDs by Studio Canal are also 23.976fps, but there's a problem with the audio track, which is pitched too high for currently unknown reasons (probably they used a PAL audio track and converted it to 23.976fps with pitch correction).
SeeMoreDigital
5th February 2007, 23:39
....HD DVDs by Studio Canal are also 23.976fps, but there's a problem with the audio track, which is pitched too high for currently unknown reasons (probably they used a PAL audio track and converted it to 23.976fps with pitch correction).Indeed, I suppose a 4.3% speed up (from 23.976 to 25.000 FPS) can be a little too much for some people to bear.
Without any point of reference to guide them... I wonder how many people with good old fashioned turntables actually noticed that their records were playing at the wrong speed/pitch?!
drmpeg
6th February 2007, 00:50
Here's the VC-1 sequence header from KK:
SeqHeader: 1
+->Offset: 0
+->Size: 22
+->PROFILE: 3 (Advanced)
+->LEVEL: 3 (AP@L3)
+->COLORDIFF_FORMAT: 1 (4:2:0)
+->FRMRTQ_POSTPROC: 7 (30 frm/s)
+->BITRTQ_POSTPROC: 31 (2016 kbps)
+->POSTPROCFLAG: 0 (FALSE)
+->MAX_CODED_WIDTH: 959 (1920)
+->MAX_CODED_HEIGHT: 539 (1080)
+->PULLDOWN: 1 (TRUE)
+->INTERLACE: 1 (TRUE)
+->TFCNTRFLAG: 0 (FALSE)
+->FINTERPFLAG: 0 (FALSE)
+->RESERVED: 1 (TRUE)
+->PSF: 0 (FALSE)
+->DISPLAY_EXT: 1 (TRUE)
+->DISP_HORIZ_SIZE: 1919 (1920)
+->DISP_VERT_SIZE: 1079 (1080)
+->ASPECT_RATIO_FLAG: 1 (TRUE)
+->ASPECT_RATIO: 1 (1:1)
+->FRAMERATE_FLAG: 1 (TRUE)
+->FRAMERATEIND: 0 (FALSE)
+->FRAMERATENR: 3 (30*1000)
+->FRAMERATEDR: 2 (1001)
+->COLOR_FORMAT_FLAG: 0 (FALSE)
+->HRD_PARAM_FLAG: 1 (TRUE)
+->HRD_PARAM
| +->HRD_NUM_LEAKY_BUCKETS: 1
| +->BIT_RATE_EXPONENT: 3 (9)
| +->BUFFER_SIZE_EXPONENT: 4 (8)
| +->HRD_RATE: 45897
| +->HRD_BUFFER: 57599
30*1000/1001 = 29.97 with the pulldown flags describing a 23.976 encoded frame rate
Ron
woah!
6th February 2007, 02:34
Here's the VC-1 sequence header from KK:
SeqHeader: 1
+->Offset: 0
+->Size: 22
+->PROFILE: 3 (Advanced)
+->LEVEL: 3 (AP@L3)
+->COLORDIFF_FORMAT: 1 (4:2:0)
+->FRMRTQ_POSTPROC: 7 (30 frm/s)
+->BITRTQ_POSTPROC: 31 (2016 kbps)
+->POSTPROCFLAG: 0 (FALSE)
+->MAX_CODED_WIDTH: 959 (1920)
+->MAX_CODED_HEIGHT: 539 (1080)
+->PULLDOWN: 1 (TRUE)
+->INTERLACE: 1 (TRUE)
+->TFCNTRFLAG: 0 (FALSE)
+->FINTERPFLAG: 0 (FALSE)
+->RESERVED: 1 (TRUE)
+->PSF: 0 (FALSE)
+->DISPLAY_EXT: 1 (TRUE)
+->DISP_HORIZ_SIZE: 1919 (1920)
+->DISP_VERT_SIZE: 1079 (1080)
+->ASPECT_RATIO_FLAG: 1 (TRUE)
+->ASPECT_RATIO: 1 (1:1)
+->FRAMERATE_FLAG: 1 (TRUE)
+->FRAMERATEIND: 0 (FALSE)
+->FRAMERATENR: 3 (30*1000)
+->FRAMERATEDR: 2 (1001)
+->COLOR_FORMAT_FLAG: 0 (FALSE)
+->HRD_PARAM_FLAG: 1 (TRUE)
+->HRD_PARAM
| +->HRD_NUM_LEAKY_BUCKETS: 1
| +->BIT_RATE_EXPONENT: 3 (9)
| +->BUFFER_SIZE_EXPONENT: 4 (8)
| +->HRD_RATE: 45897
| +->HRD_BUFFER: 57599
30*1000/1001 = 29.97 with the pulldown flags describing a 23.976 encoded frame rate
Ron
it also shows interlaced source? is that also correct?
drmpeg
6th February 2007, 02:55
it also shows interlaced source? is that also correct?
The INTERLACE field doesn't indicate the source. Just that the sequence is interlaced. INTERLACE has to tbe TRUE, since PULLDOWN is TRUE (that is, you can only pulldown a 29.97 fps stream with interlaced fields).
Each frame is progressively coded with pulldown flags. Here's a few frames (IBP). Note that the EncodeType is progressive and the TFF and RFF flags are changing.
Ron
FrameInfo: 322
+->frameType
| +->VopType: 1 (Ivop)
| +->EncodeType: 0 (Progressive)
+->FrameOffset: 15937038
+->FrameSize: 202601
+->FrameHead
| +->FCM
| | +->Value: 0 (Progressive)
| | +->RawData: 0
| | +->BitsLen: 1
| +->PTYPE
| | +->Value: 0 (Ivop)
| | +->RawData: 110
| | +->BitsLen: 3
| +->TFF: 0
| +->RFF: 0
| +->RNDCTRL: 0
| +->UVSAMP: 1
| +->PQINDEX: 2
| +->HALFQP: 0
| +->ACPRED
| | +->INVERT: 0 (FALSE)
| | +->IMODE
| | | +->Value: 4 (Diff-6)
| | | +->RawData: 0001
| | | +->BitsLen: 4
| | +->RawBitsOffset: 51
| | +->RawBitsLen: 3777
| +->TRANSACFRM
| | +->Value: 0
| | +->RawData: 0
| | +->BitsLen: 1
| +->TRANSACFRM2
| | +->Value: 2
| | +->RawData: 11
| | +->BitsLen: 2
| +->TRANSDCTAB: 0 (low motion table)
| +->VOPDQUANT
| | +->DQUANTFRM: 1
| | +->DQPROFILE: 3 (All Macroblocks)
| | +->DQBILEVEL: 1
| | +->PQDIFF: 7
| | +->ABSPQ: 1
FrameInfo: 323
+->frameType
| +->VopType: 2 (Bvop)
| +->EncodeType: 0 (Progressive)
+->FrameOffset: 16139639
+->FrameSize: 27720
+->FrameHead
| +->FCM
| | +->Value: 0 (Progressive)
| | +->RawData: 0
| | +->BitsLen: 1
| +->PTYPE
| | +->Value: 2 (Bvop)
| | +->RawData: 10
| | +->BitsLen: 2
| +->TFF: 1
| +->RFF: 1
| +->RNDCTRL: 1
| +->UVSAMP: 1
| +->BFRACTION
| | +->Value: 0 (1/2)
| | +->RawData: 000
| | +->BitsLen: 3
| +->PQINDEX: 2
| +->HALFQP: 1
| +->MVRANGE
| | +->Value: 1 ([-128, 127.f] x [-64, 63.f])
| | +->RawData: 10
| | +->BitsLen: 2
| +->MVMODE: 1 (1 MV)
| +->DIRECTMB
| | +->INVERT: 0 (FALSE)
| | +->IMODE
| | | +->Value: 3 (Norm-6)
| | | +->RawData: 11
| | | +->BitsLen: 2
| | +->RawBitsOffset: 54
| | +->RawBitsLen: 3687
| +->SKIPMB
| | +->INVERT: 1 (TRUE)
| | +->IMODE
| | | +->Value: 4 (Diff-6)
| | | +->RawData: 0001
| | | +->BitsLen: 4
| | +->RawBitsOffset: 3746
| | +->RawBitsLen: 4780
| +->MVTAB: 0 (MV Table 0)
| +->CBPTAB: 2 (CBP Table 2)
| +->VOPDQUANT
| | +->DQUANTFRM: 1
| | +->DQPROFILE: 3 (All Macroblocks)
| | +->DQBILEVEL: 1
| | +->PQDIFF: 7
| | +->ABSPQ: 1
| +->TTMBF: 0
| +->TRANSACFRM
| | +->Value: 1
| | +->RawData: 10
| | +->BitsLen: 2
| +->TRANSDCTAB: 1
FrameInfo: 324
+->frameType
| +->VopType: 0 (Pvop)
| +->EncodeType: 0 (Progressive)
+->FrameOffset: 16167359
+->FrameSize: 70645
+->FrameHead
| +->FCM
| | +->Value: 0 (Progressive)
| | +->RawData: 0
| | +->BitsLen: 1
| +->PTYPE
| | +->Value: 1 (Pvop)
| | +->RawData: 0
| | +->BitsLen: 1
| +->TFF: 1
| +->RFF: 0
| +->RNDCTRL: 0
| +->UVSAMP: 1
| +->PQINDEX: 2
| +->HALFQP: 0
| +->MVRANGE
| | +->Value: 1 ([-128, 127.f] x [-64, 63.f])
| | +->RawData: 10
| | +->BitsLen: 2
| +->MVMODE
| | +->Value: 0 (Mixed MV)
| | +->RawData: 01
| | +->BitsLen: 2
| +->MVTYPEMB
| | +->INVERT: 0 (FALSE)
| | +->IMODE
| | | +->Value: 3 (Norm-6)
| | | +->RawData: 11
| | | +->BitsLen: 2
| | +->RawBitsOffset: 51
| | +->RawBitsLen: 4250
| +->SKIPMB
| | +->INVERT: 1 (TRUE)
| | +->IMODE
| | | +->Value: 4 (Diff-6)
| | | +->RawData: 0001
| | | +->BitsLen: 4
| | +->RawBitsOffset: 4306
| | +->RawBitsLen: 4485
| +->MVTAB: 0 (MV Table 0)
| +->CBPTAB: 0 (CBP Table 0)
| +->VOPDQUANT
| | +->DQUANTFRM: 1
| | +->DQPROFILE: 3 (All Macroblocks)
| | +->DQBILEVEL: 1
| | +->PQDIFF: 7
| | +->ABSPQ: 1
| +->TTMBF: 0
| +->TRANSACFRM
| | +->Value: 2
| | +->RawData: 11
| | +->BitsLen: 2
| +->TRANSDCTAB: 1
Prospero424
6th February 2007, 12:53
I just wanted to echo a few other people here by saying that I can get the VC-1 stream demuxed from the EVO, but when I try to use GraphEdit to output it to an mkv using the Elecard Demultiplexer and the Haali Matroska Muxer, as per Isochroma's instructions, I get a small mkv file created, but then all activity stops, even though GraphEdit still says it's going (play button is greyed out, pause and stop are lit up); though it still reports "ready" in the bottom status field.
The graph looks exactly as it does in Isochroma's screenshots, but I can't get any usable output.
The resulting mkvs (after closing GraphEdit, which, as I said, stops completely after a split second) are always either 16-19KBs or 63-65MBs in size. The results are the same even if I leave it going for hours.
Yes, I have plenty of hard drive space, and yes, I have the latest version of the Elecard Demultiplexer.
I have tried this with three different VC-1 HD-DVDs now, with the same results.
I have tried this method with VC-1 streams extracted from the EVOs using both version .5 of drmpeg's excellent command line demuxer as well as version .542 of Dolphin9's (correction: Pelican9's) GUI utility (Thanks, guys!), with identical results.
Any help or input or even simple corroboration would be greatly appreciated.
Pelican9
6th February 2007, 13:25
My name is Pelican, like this:
http://www.pel.hu/down/Pelican.jpg
:)
Prospero424
6th February 2007, 13:29
Hah! I don't know where I got Dolphin from.
Many apologies ;)
honai
6th February 2007, 17:45
@madshi and @drmpeg
thanks for the clarification.
How did you extract the sequence header? Is there a command-line tool?
AJP69
6th February 2007, 20:57
Hi all!
I've created a demux program based on drmpeg's demux 0.3.
It has GUI and capable save all streams. It can read infos from XPL file or from the EVO. You can drag and drop the file, etc.
http://pel.hu/down/EVOdemux.exe
Save the subpicture streams doesn't work yet.
I guess the subpictures streams are the 0x20, 0x21, 0x22, ....
This is a great piece of software, works great. Was wondering if you can make something similar for .m2ts (blu-ray files)? If needed I can provide you with a few sample files, just shoot me a PM.
Jan Marijniszoon
6th February 2007, 21:35
I just wanted to echo a few other people here by saying that I can get the VC-1 stream demuxed from the EVO, but when I try to use GraphEdit to output it to an mkv using the Elecard Demultiplexer and the Haali Matroska Muxer, as per Isochroma's instructions, I get a small mkv file created, but then all activity stops, even though GraphEdit still says it's going (play button is greyed out, pause and stop are lit up); though it still reports "ready" in the bottom status field.
The graph looks exactly as it does in Isochroma's screenshots, but I can't get any usable output.
The resulting mkvs (after closing GraphEdit, which, as I said, stops completely after a split second) are always either 16-19KBs or 63-65MBs in size. The results are the same even if I leave it going for hours.
Yes, I have plenty of hard drive space, and yes, I have the latest version of the Elecard Demultiplexer.
I have tried this with three different VC-1 HD-DVDs now, with the same results.
I have tried this method with VC-1 streams extracted from the EVOs using both version .5 of drmpeg's excellent command line demuxer as well as version .542 of Dolphin9's (correction: Pelican9's) GUI utility (Thanks, guys!), with identical results.
Any help or input or even simple corroboration would be greatly appreciated.
I am experiencing the exact same problem.
Jan2001
6th February 2007, 21:37
@Prospero424:
Unfortunately I have the same problem using latest Elecard Tools. Can anybody point us to working versions?
@pelican9:
Would it be possible to include muxing files that are already demuxed?
My intention is to add a further audio stream (ripped from legal dvd to ac3/mp3) to the evo and to play it back in powerdvd.
juhu
6th February 2007, 23:32
Logic software released its HD-dvd demuxer (1.2)
they put a trial version here :
http://www.dvd-logic.com/downloads/hddvddemuxer.zip
tested on a few .evos, it demuxes files as .vc1 or .m2v depending on content
for the subs, it directly exports bitmaps... Rather badly, as many lines are visually "crunched" (you'll see)
dd+ is demuxed as ... .ac3 files as well
audio seems to be garbage files though, I let experts tell the verdict
Pelican9
7th February 2007, 00:33
Logic software released its HD-dvd demuxer (1.2)
It's only a (quite old) beta version, not a new release.
The demuxed AC3 file is the same unplayable DDplus stream as ours.
Pelican9
7th February 2007, 01:02
Was wondering if you can make something similar for .m2ts (blu-ray files)? If needed I can provide you with a few sample files, just shoot me a PM.
I'm developing a HD DVD subtitle reader sw now...
Maybe later.
Rufus210
7th February 2007, 02:14
I'm developing a HD DVD subtitle reader sw now...
Maybe later.
FFmpeg can already do it (with this patch): http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2007-January/051403.html
Though I'm not sure how to use ffmpeg to dump the subtitles, you can at least use their working code to read them (possibly directly though the libavcodec api).
JeffAlso
7th February 2007, 06:21
I am experiencing the exact same problem.
As am I.
Pelican9
7th February 2007, 10:56
FFmpeg can already do it (with this patch): http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2007-January/051403.html
Though I'm not sure how to use ffmpeg to dump the subtitles, you can at least use their working code to read them (possibly directly though the libavcodec api).
This is not my style (million patch), it's too difficult for me. :-)
What can ffmpeg do with .sup files? Edit? Save?
AJP69
7th February 2007, 11:26
I'm developing a HD DVD subtitle reader sw now...
Maybe later.
That's fine, for now I am using xport, works on mpeg-2 but not vc-1.
drmpeg
7th February 2007, 11:54
That's fine, for now I am using xport, works on mpeg-2 but not vc-1.
I will update xport as soon as I have a sample VC-1 .m2ts file.
Ron
Pelican9
7th February 2007, 11:56
That's fine, for now I am using xport, works on mpeg-2 but not vc-1.
What do you mean that vc-1 doesn't work?
AJP69
7th February 2007, 11:59
What do you mean that vc-1 doesn't work?
outputs a 0kb video file
I will update xport as soon as I have a sample VC-1 .m2ts file.
Ron
I have some if you need, but the smallest one I have is 1gb, not sure how to cut it to 100mb or so.
holzi
7th February 2007, 12:31
New progress :)
The newest FDSHOW Tryout Build at least connectes now to VC-1 graphs. Picture is not good yet :)
http://img223.imageshack.us/img223/4229/fdshowvc1cu5.th.jpg (http://img223.imageshack.us/my.php?image=fdshowvc1cu5.jpg)
It only works with newst Elecard Demuxxer. Sonic HD demuxxer doesn't work.
ffmpeg included EVO demuxxing today. So I hope soon there is no need for a external demuxxer / a open source one will come around.
(http://svn.mplayerhq.hu/ffmpeg?view=rev&revision=7853 )
drmpeg
7th February 2007, 12:52
I have some if you need, but the smallest one I have is 1gb, not sure how to cut it to 100mb or so.
Here's a little file chopper utility.
http://www.w6rz.net/head.zip
Usage is:
head <infile> <outfile> <length>
For example:
head test.m2ts testsnip.m2ts 100000000
Ron
AJP69
7th February 2007, 12:55
Here's a little file chopper utility.
http://www.w6rz.net/head.zip
Usage is:
head <infile> <outfile> <length>
For example:
head test.m2ts testsnip.m2ts 100000000
Ron
PM me an email and I will shoot you a link with the file.
orbitlee
8th February 2007, 08:39
Another tool with GUI to split EVO and m2ts file with auto file type detection. There are two parts, CLI version and GUI version, developed by different people. GUI exectuable will extract the CLI exectuable at first time. So don't be nervous. This is no virus :-)
http://www.sendspace.com/file/we9d8e
Also, I made a patch on Gabest's DTS/AC3 source filter, it can recognize DD+ audio file which is demuxed from drmpeg's evo_demux. Though you still need Intervideo audio decoder to decode it. The .ax and the source patch is available at here.
http://www.sendspace.com/file/qbn6dn
http://img356.imageshack.us/img356/9695/ddpzs2.th.jpg (http://img356.imageshack.us/my.php?image=ddpzs2.jpg)
The audio attribute in Intervideo audio decoder is really strange. :confused:
LOGiC
8th February 2007, 09:56
Originally Posted by LOGiC
@all,
I know, this is not exactly the topic of this thread, but I am desperately looking for some answers and really beg for your help. What exactly is a fully hd-dvd compliant structure ? I am asking because,
I would like to do the following:
1) Demux .evo file
2) Bring a normal DD5.1 audio track lipsync
3) Rebuild the .evo file
4) Split the .evo file to 8,5GB parts to fit on DVD-DL
5) Reauthor every 8,5GB part as an independent HD-DVD
6) Watch the backup on XBox360 HD-DVD drive
Any chance this would be possible ?
Thank you all very much in advance.
I think you can't... and if the 360 can read evo on a dvd, you will have to change the playlist, and i think there'll be a problem with the .map... watch the movie on ur pc
@CptAlex and @all
sorry for answering so late, but I was quite busy last days. To be honest that is not the answer I was expecting :-( I really don't enjoy watching movies on my PC as I have a wonderful 42" LCD in the living room. There is a buffalo link theater connected via yuv which gives me very good quality on captured 1080i material.
What exactly is a layer break ? Is this something were you could force a dvd to change ? Is there any other program like scenarist which can author HD-DVD and where I probably could give a size ? Everytime I try to load a vc.1 file in scenarist, it starts importing normally and is quite fast, but it gets slower and slower and when it reaches 21% exactly I receive "Scenarist.exe has encountered an error and needs to be closed". Probably my system is too slow for this (Core2Duo E6300, 1 GB Ram, Nividia GeForce 7600 (256MB) ). Dunno.
Thank you in advance for any more hints on all this.
Deckard2019
8th February 2007, 10:52
Also, I made a patch on Gabest's DTS/AC3 source filter, it can recognize DD+ audio file which is demuxed from drmpeg's evo_demux. Though you still need Intervideo audio decoder to decode it. The .ax and the source patch is available at here.
And you can hear a sound with this graph ???
orbitlee
8th February 2007, 11:36
And you can hear a sound with this graph ???
Sure.
foxyshadis
8th February 2007, 12:37
Also, I made a patch on Gabest's DTS/AC3 source filter, it can recognize DD+ audio file which is demuxed from drmpeg's evo_demux. Though you still need Intervideo audio decoder to decode it. The .ax and the source patch is available at here.
http://www.sendspace.com/file/qbn6dn
Could someone who has PowerDVD test this out? If both use the same signalling, that would be just awesome, but it's probably too much to hope for.
holzi
8th February 2007, 12:54
well we had sound with Intervideo before too
But it creates an upmix not a 5.1 stream. Look like 10 pages before or so. So thats no new stuff.
orbitlee
8th February 2007, 13:24
well we had sound with Intervideo before too
But it creates an upmix not a 5.1 stream. Look like 10 pages before or so. So thats no new stuff.
Source filter just wraps the audio data into some kind of format which decoder likes. So I agree this is not new stuff.
For the upmix, I'm afraid this is intended, unless we find some workarounds to make intervideo audio decoder believes it should output 5.1 even 7.1.
Jan2001
8th February 2007, 17:00
I just wanted to echo a few other people here by saying that I can get the VC-1 stream demuxed from the EVO, but when I try to use GraphEdit to output it to an mkv using the Elecard Demultiplexer and the Haali Matroska Muxer, as per Isochroma's instructions, I get a small mkv file created, but then all activity stops, even though GraphEdit still says it's going (play button is greyed out, pause and stop are lit up); though it still reports "ready" in the bottom status field.
The graph looks exactly as it does in Isochroma's screenshots, but I can't get any usable output.
The resulting mkvs (after closing GraphEdit, which, as I said, stops completely after a split second) are always either 16-19KBs or 63-65MBs in size. The results are the same even if I leave it going for hours.
Ok, I did some research on that. Using exactly the same version of Elecard Demultiplexer as Isochroma, I tried to play with the menu-intro of Miami Vice (VC1).
Fine playback can be achieved by using both Elecard demuxer and Sonic video decoder in MPC to play back the raw vc1 file. Video renderer reported 23,9 fps, so probabbly the video has 23,976 or 24 fps.
The pin info on Elecard demuxer though says that it has 29,97fps, which is imo the whole problem when using graphedit to mux the video to mkv.
What I did, too, was trying Isochrom's graph on the menuintro, which resulted mostly in small files (some kb or mb), but once I got a 1.5gb file (menuintro.vc1 is not even 200mb).
When playing the resulting mkv (assume fps 23.976 applied), it showed a lot of duplicated frames.
So I think the problem is in fact Elecard demuxer, which reports wrong fps and therefor creates a wrong input for the Matroska Muxer.
Edit: @orbitlee: Neither powerdvd audio decoder nor the windvd one plays the sound with your source filter
Prospero424
9th February 2007, 07:21
Ok, I did some research on that. Using exactly the same version of Elecard Demultiplexer as Isochroma, I tried to play with the menu-intro of Miami Vice (VC1).
...
So I think the problem is in fact Elecard demuxer, which reports wrong fps and therefor creates a wrong input for the Matroska Muxer.
Thanks for the help, Jan! It's good to know that someone's making progress, even if we're not there yet.
Let me ask another question, for everybody reading this: has ANYONE been able to successfully put a VC-1 stream from a commercial HD-DVD that they own into a valid mkv or other container?
orbitlee
9th February 2007, 07:43
Edit: @orbitlee: Neither powerdvd audio decoder nor the windvd one plays the sound with your source filter
Jan, Could you use this graph:
File Source(async, open EVO file which contain DD+)->intervideo demultiplexer->intervideo audio decoder
to hear sound?
If yes, I'd like to get a piece of your DD+ file.
If not, I suppose you are not using the correct intevideo audio decoder. This decoder is from WinDVD8 HD version. PM me for the decoder.
Jan2001
9th February 2007, 16:21
Jan, Could you use this graph:
File Source(async, open EVO file which contain DD+)->intervideo demultiplexer->intervideo audio decoder
to hear sound?
If yes, I'd like to get a piece of your DD+ file.
If not, I suppose you are not using the correct intevideo audio decoder. This decoder is from WinDVD8 HD version. PM me for the decoder.
ok, I have to confess that it was my mistake. Finally sound does play using Windvd audio decoder, no matter if I play raw dd+ stream with your sourcefilter or the evo with the method you've just suggested.
Cyberlink's decoder seems to have two versions, one called pdvd7 and another called pdvd65, which do not connect to audio renderer or even crash graphedit.
I did some further tests on the video, but unfortunately no success here. Intervideo demultiplexer shows that the raw stream is vc1 (which is correct), but it can't connect to mkv muxer. Anybody knows any other muxing filter that can be fed with intervideo's demultiplexer, only hdtv reference dump works(and writes a vc1 file that is 7kb msaller than the input:confused: )
In addition I'm wondering about some reencodes which are made using elecard's demuxer and sonic's decoder as graph-source for avisynth.
How can that be possible if the demuxer is reporting wrong fsp?
Lolodu34
9th February 2007, 19:10
hi,
I have a problem using this software (version 0.542).
i would like to have the EVO with only french track, so i open xpl and evo, i uncheck all and i only keep video vc1 and french track. I clic on rebuild but the rebuilded file is exactly the same (same size and all included) than the source file.
Any idea about it ?
thank a lot !
Pelican9
9th February 2007, 19:18
hi,
I have a problem using this software (version 0.542).
i would like to have the EVO with only french track, so i open xpl and evo, i uncheck all and i only keep video vc1 and french track. I clic on rebuild but the rebuilded file is exactly the same (same size and all included) than the source file.
Any idea about it ?
thank a lot !
1. Select the EVO
2. Read EVO
3. Uncheck the unwanted streams
4. Rebuild
Lolodu34
9th February 2007, 19:25
ok i'll try it and i say what's going on about it ;)
thanks
Lolodu34
9th February 2007, 19:42
it's ok, thanks a lot !
bullet_ballet
9th February 2007, 20:42
Quick question: why does the elementary .vc1 stream need to run through a demuxer in Graphedit?
noclip
9th February 2007, 21:34
So where do we stand with demuxing? I understand we can get valid elementary streams for video, audio, and subtitles. Are we able to mux these back into an ASF of AVI file to see if they play?
Edit: I just tested this. The 2/09/07 nightly of VLC is able to decode 5.1 DDP audio and even play it together with the video in GraphEdit.
Jan2001
9th February 2007, 23:37
So where do we stand with demuxing? I understand we can get valid elementary streams for video, audio, and subtitles. Are we able to mux these back into an ASF of AVI file to see if they play?
The elementary strems can be played, but not muxed in any container.Imo we can not even say whether the demuxer or muxer is the problem, as the first one reports wrong fsp and the second onedoes not seem to support vc1.
Edit: I just tested this. The 2/09/07 nightly of VLC is able to decode 5.1 DDP audio and even play it together with the video in GraphEdit.
Does not work at all here.
tomos
10th February 2007, 01:40
Jan, Could you use this graph:
File Source(async, open EVO file which contain DD+)->intervideo demultiplexer->intervideo audio decoder
to hear sound?
If yes, I'd like to get a piece of your DD+ file.
If not, I suppose you are not using the correct intevideo audio decoder. This decoder is from WinDVD8 HD version. PM me for the decoder.
am now able to access dd+ audio. wont play via mpc for some reason but works fine in an avs script in vdub.
re-encoded to AAC and is synced all the way through (playing back equilibrium with the h264 video in mkv muxed with the AAC audio). am keeping the ddp file in the hope of being able to mux it into the mkv
cant get vc1 into matroska though, no matter what i try
mosb3rg
10th February 2007, 02:08
Evo Demux works great, but theres a flaw in the rebuilding process, if you leave continue with second evo checked, it will not read both evos and rebuild 1 massive .evo file, this would greatly help us out in reproducing these suckers much more efficiently, any information or implementation to fix this would be greatly appreciated, thanks in advance for your answers.
Mosb3rg
tomos
10th February 2007, 02:40
what do you mean?
when i leave that checked, it reads both evos for me
moshmothma
10th February 2007, 03:14
So where do we stand with demuxing? I understand we can get valid elementary streams for video, audio, and subtitles. Are we able to mux these back into an ASF of AVI file to see if they play?
Edit: I just tested this. The 2/09/07 nightly of VLC is able to decode 5.1 DDP audio and even play it together with the video in GraphEdit.
Can you post your graph? How do you use VLC in Graphedit? Thanks
orbitlee
10th February 2007, 04:30
am now able to access dd+ audio. wont play via mpc for some reason but works fine in an avs script in vdub.
Disable the built-in DTS/AC3 source filter in MPC. :)
tomos
10th February 2007, 04:50
thanking you. works perfect now :)
just need to get ddp muxed into matroska now and alls done
Prospero424
10th February 2007, 07:04
Yeah, I can confirm that playback of the VC-1 stream using the Elecard demultiplexer and Sonic decoder works in DirectShow (plays in Zoom Player), and that the DD+ audio stream can be played back as well using the Intervideo demultiplexer and decoder.
What we need now is a way to multiplex the two into a valid container. I have a feeling that's not gonna be easy with the current dearth of support for both VC-1 and DD+ in community projects.
theturtle
10th February 2007, 08:46
i didn't seem to get any reply on my own post. perhaps someone could say here.
Just a general question if anyone knows, my question is, what utilities are out there for multiplexing evob?
For example taking x264 encoded (with hd dvd compliant patches) video and multiplexing it with dts or dd+ audio. So that it could be authored, either on a udf iso image or w/e.
idamien
10th February 2007, 13:03
Hi,
Can you please post what filters you are using and your .avs script? I can´t get audio no matter what....
Thanks.
Clown shoes
10th February 2007, 14:43
re-encoded to AAC and is synced all the way through (playing back equilibrium with the h264 video in mkv muxed with the AAC audio).
Hi Tomos, can you explain the steps you used to convert DD+. I have succesfully removed the .VC1 and converted to .h264 for use in a 1080p DVD9. I just need to convert the audio. If I try to mux the DD+ into my video stream as it is, it causes the disc to stutter when it plays back! Another strange thing is Scenarist takes a while to recognise the DD+ file when imported. Could something be happening to it when it's getting demuxed from the evob?
So close now to backing up my HD-DVD collection :D
drmpeg
10th February 2007, 15:05
Be careful folks. In HD-DVD streams, DD tracks can be identified as DD+ tracks. If you're having some success, be sure it's not because you've chosen a regular DD track.
DD+ tracks are identified by the BSID. However, the easy way to determine if it's DD+ is to use a hex editor. If the two bytes after the 0x0b 0x77 header are always the same (and equal to the frame length in words - 1), it's DD+. If the two bytes after the 0x0b 0x77 header change every frame (when the frame is not silent), the track is regular DD.
Ron
Clown shoes
10th February 2007, 15:07
Hi Ron, are you saying it's possible that what people say they've had success converting so far, possibly isn't DD+.
drmpeg
10th February 2007, 15:08
VC-1 Sequence header from Blu-ray title:
SeqHeader: 1
+->Offset: 0
+->Size: 25
+->PROFILE: 3 (Advanced)
+->LEVEL: 3 (AP@L3)
+->COLORDIFF_FORMAT: 1 (4:2:0)
+->FRMRTQ_POSTPROC: 7 (30 frm/s)
+->BITRTQ_POSTPROC: 31 (2016 kbps)
+->POSTPROCFLAG: 0 (FALSE)
+->MAX_CODED_WIDTH: 959 (1920)
+->MAX_CODED_HEIGHT: 539 (1080)
+->PULLDOWN: 1 (TRUE)
+->INTERLACE: 0 (FALSE)
+->TFCNTRFLAG: 0 (FALSE)
+->FINTERPFLAG: 0 (FALSE)
+->RESERVED: 1 (TRUE)
+->PSF: 0 (FALSE)
+->DISPLAY_EXT: 1 (TRUE)
+->DISP_HORIZ_SIZE: 1919 (1920)
+->DISP_VERT_SIZE: 1079 (1080)
+->ASPECT_RATIO_FLAG: 1 (TRUE)
+->ASPECT_RATIO: 1 (1:1)
+->FRAMERATE_FLAG: 1 (TRUE)
+->FRAMERATEIND: 0 (FALSE)
+->FRAMERATENR: 1 (24*1000)
+->FRAMERATEDR: 2 (1001)
+->COLOR_FORMAT_FLAG: 1 (TRUE)
+->COLOR_PRIM: 1 (ITU-R BT.709-5, SMPTE 274M-2005, ITU-R BT.1361 (Conventional Color Space), and SMPTE296M-1997)
+->TRANSFER_CHAR: 1 (ITU-R BT.709-5, SMPTE 274M-2005, SMPTE 296M-1997, SMPTE 293M-1996)
+->MATRIX_COEF: 1 (KR = 0.2126; KB = 0.0722)
+->HRD_PARAM_FLAG: 1 (TRUE)
+->HRD_PARAM
| +->HRD_NUM_LEAKY_BUCKETS: 1
| +->BIT_RATE_EXPONENT: 3 (9)
| +->BUFFER_SIZE_EXPONENT: 5 (9)
| +->HRD_RATE: 58592
| +->HRD_BUFFER: 58592
Ron
drmpeg
10th February 2007, 15:10
Hi Ron, are you saying it's possible that what people say they've had success converting so far, possibly isn't DD+.
Yes, titles like Equilibrium have DD tracks marked as DD+. It's usually a secondary track. Not the main high bitrate one.
Ron
Jan2001
10th February 2007, 15:16
Well, converting the video to h264 is an idea and it works, but there's also a question left:
The graph or avisynth does not see the end of the video correctly, so we have to use trim(). Can anybody tell me how to find out how many frames the film has?
I can nearly get it using vdub, but you have to play back the film with 1x speed the whole two hours, otherways it wont work.Or is there maybe an easier way which I do not see?
How long does it take you to convert?Must be around one day?!
Furthermore, when converting the audio, do you get 5.1 or just stereo?
Clown shoes
10th February 2007, 15:21
LOL. Ok I'll hold off on the excitement till it's definately confirmed then.
drmpeg
10th February 2007, 15:31
Another issue with DD+ is that the frames are usually not 32 milliseconds. For high bitrate DD+, frames can be as short as 8 milliseconds. If a muxer is just counting frames to create the PTS, it will do the wrong thing on high bitrate DD+.
You have to parse the DD+ frame header to see how many blocks per frame there are. DD+ can have 1, 2, 3 or 6 blocks per frame, while DD always has 6.
Ron
holzi
10th February 2007, 15:35
Well, converting the video to h264 is an idea and it works, but there's also a question left:
The graph or avisynth does not see the end of the video correctly, so we have to use trim(). Can anybody tell me how to find out how many frames the film has?
I can nearly get it using vdub, but you have to play back the film with 1x speed the whole two hours, otherways it wont work.Or is there maybe an easier way which I do not see?
How long does it take you to convert?Must be around one day?!
....
Well Evo demuxx has a framecount support. I don't know it has bugs. But it seems to work ok. So just define the framecount in your avs script and you are done. More or less :)
orbitlee
10th February 2007, 15:44
Another issue with DD+ is that the frames are usually not 32 milliseconds. For high bitrate DD+, frames can be as short as 8 milliseconds. If a muxer is just counting frames to create the PTS, it will do the wrong thing on high bitrate DD+.
You have to parse the DD+ frame header to see how many blocks per frame there are. DD+ can have 1, 2, 3 or 6 blocks per frame, while DD always has 6.
Ron
@drmpeg, thanks for your information. I've handled a commentary DD+ with 6 blocks per frame, but the frame length is still 32ms. Could you talk more on the 8ms per frame? Which field(in ATSC a/52b) I should look to find out the actual frame length?
Clown shoes
10th February 2007, 15:49
Well, converting the video to h264 is an idea and it works, but there's also a question left:
The graph or avisynth does not see the end of the video correctly, so we have to use trim(). Can anybody tell me how to find out how many frames the film has?
I can nearly get it using vdub, but you have to play back the film with 1x speed the whole two hours, otherways it wont work.Or is there maybe an easier way which I do not see?
How long does it take you to convert?Must be around one day?!
Furthermore, when converting the audio, do you get 5.1 or just stereo?
Well I'm using the latest EVOdemux, which appears to correctly list the running time and gives me a full length .vc1. I then use this script to load it into Mainconcept's h264 encoder;
directshowsource("H:\Demuxed\FEATURE_1.VC-1.stream.0.vc1",fps=23.976,audio=false,seekzero=false,seek=true).trim(0,25000)
assumefps(29.97)
Then selecting 3:2 pulldown in the encoder seems to do the trick. It takes about 16 hours on my dual 3ghz xeon rig, to do a single variable pass, average 8500kbps, max 29000kbps. That fits a 2 hour 1080P movie on a DVD9 and looks GREAT.
As far as the audio goes though, I'm still waiting for a solution.
idamien
10th February 2007, 17:36
Wow... 16 hours. That is "fast", at least compared to the speeds I´m getting.
The first Backup I made took ~48h, 2-pass encode at 8000Kbps with everything maxed out that doesn´t exceed hardware decoders compliance (I hope...). I´m using x264 and MeGUI.
Have you compared performance between x264 and MainConcept´s encoder???
p.s.: Yep, a ~2h film just about makes it below the DL media capacity, leaving some space for audio... At least that was my case.
Clown shoes
10th February 2007, 18:01
LOL, I'm just checking an encode I'm doing now and it's actually looking like 11 hours for a 2 hour feature. I am only doing one pass right now though, fairly high settings (not maxed out though). If you are going for HD-DVD compliancy, be very carefull. Scenarist is a picky beast. I would definately test out a small chunk on a DVD 5 first.
Have a look at this thread also;
http://forum.doom9.org/showthread.php?p=952665#post952665
idamien
10th February 2007, 18:49
Can anyone please confirm that the framecount reported by the latest EVODemux is correct???
Creating an .AVS script with the fps and reported framecount to open with VDM to see if the movie lenght is exact doesn´t work for me: frames are out of order, etc. (maybe I´m doing something wrong)...
So, has anyone converted a full movie from the original demuxed VC-1 stream and can confirm the reported framecount to be right?
Thanks...
tomos
10th February 2007, 18:54
Hi Tomos, can you explain the steps you used to convert DD+. I have succesfully removed the .VC1 and converted to .h264 for use in a 1080p DVD9. I just need to convert the audio. If I try to mux the DD+ into my video stream as it is, it causes the disc to stutter when it plays back! Another strange thing is Scenarist takes a while to recognise the DD+ file when imported. Could something be happening to it when it's getting demuxed from the evob?
So close now to backing up my HD-DVD collection :D
no probs.
i've so far, muxed equilibrium into mkv with re-encoded audio and finally finished re-encoding v for vendetta with x264 to fit on a dual layer dvd (with original audio)
for the audio, since it plays direct in mpc i re-encode it (only 2 ch for now. no need for more since i plan to keep original dd+ audio. this is for testing and so i can watch the movie now on my pc)
in graphedit btw, my filters work like this:
ddp file > intervideo audio decoder > matrixmuxer > default directsound device
in vdub mod, i use an avs script like this
v = directshowsource("PEVOB_1_2.rebuilt.VC-1.stream.0.vc1",fps=23.976,framecount=190414)
a = directshowsource("PEVOB_1_2.rebuilt.DD+.stream.02.ddp")
audiodub(a,v)
the demux happens via evodemux 541 of course.
that script lets me save the audio as an uncompressed wave file.
then i run it in belight to compress it to AAC.
tomos
10th February 2007, 18:59
Well, converting the video to h264 is an idea and it works, but there's also a question left:
The graph or avisynth does not see the end of the video correctly, so we have to use trim(). Can anybody tell me how to find out how many frames the film has?
I can nearly get it using vdub, but you have to play back the film with 1x speed the whole two hours, otherways it wont work.Or is there maybe an easier way which I do not see?
How long does it take you to convert?Must be around one day?!
Furthermore, when converting the audio, do you get 5.1 or just stereo?
stereo for now with the audio. havent tried to get more tbh since i hope to be able to mux the original to mkv at some point.
as for the video, v for vendetta was ok with the following
directshowsource("PEVOB_1_2.rebuilt.VC-1.stream.0.vc1",fps=23.976,framecount=190414)
to find the no of frames, evodemux tells you in the status tab after a demux
Clown shoes
10th February 2007, 20:17
Hi Tomos,
in graphedit btw, my filters work like this:
ddp file > intervideo audio decoder > matrixmuxer > default directsound device
I don't have the intervideo audio decoder in my directshow filters. I presume it's from WinDVD. Can you tell me which version you are using?
Also are you dropping the raw DD+ file demuxed from EVODemux into Filtergraph?
tomos
10th February 2007, 20:27
i am yes. that also works direct in mpc like a normal wav/mp3 etc now.
and yes the filters are from windvd 8 HD (.ax ver 7.5.42.28)
Pelican9
10th February 2007, 21:00
OFF:
I've just released my HD SUP reader v0.1
You can read the demuxed subtitles with it.
Download: SUPread 0.1 (http://pel.hu/down/SUPread.exe)
More: Click! (http://forum.doom9.org/showthread.php?p=952743#post952743)
Pelican9
10th February 2007, 21:03
the demux happens via evodemux 541 of course.
Use the latest 0.542 (fixed bug with frame count)
tomos
10th February 2007, 21:35
thanks. didnt see that posted here :)
Jan2001
10th February 2007, 22:11
Can anyone please confirm that the framecount reported by the latest EVODemux is correct???
Creating an .AVS script with the fps and reported framecount to open with VDM to see if the movie lenght is exact doesn´t work for me: frames are out of order, etc. (maybe I´m doing something wrong)...
The problem I have with VDM is that if you don't play the whole movie with 1x speed, but instead skip some frames, all frames are out of order.
Evodemux 0.542 seems to report right frame number. Can't tell exaktly because I haven't converted a full movie yet.
Anyway, converting to h264 is senseless imo, at least if you do not want to burn it on dl-dvd. I've converted the menu of Miami Vice using megui and hddvd profile@15mbit avg.
Cpu-usage at decoding increases by about 10% on my C2D 6400 compared to evo-playback (no dxva for both formats).
Furthermore encoding takes very long, I get 9fps@first pass and less than 3@second pass.
For me it would be more interesting to see a working muxer for VC1/DD+/DD so that I can mux the english hd-dvd with german sound (if german audio for directors cut would exist...)
BTW, have they stopped releasing different versions of the film for different regions when switching to hd? It would be annoying if they did not.
mosb3rg
10th February 2007, 22:15
Ok guys flat out, we need 1 of 2 things if not both, i need a .prx file with 100% compliant VC1 ES stream settings (and to figure out how to take the vc1 es out of the wmv i can encode) or i need to know a more appropriate way of encoding the VC-1 ES stream, any light that can be shed on this matter would be extremely helpful. Thanks in advance.
also heres what im doing for best results, i dont even have to demux the vc-1 just rebuild your .evo with streams you wanna keep and have it make 1 massive .evo (so make sure in options to check cxontinue with second evo) make sure you read first it will go over both files, then rebuild. you can then use that .evo file in graphedit with the following graph (dont forget to note the framecount its a must.)
EntireMovie.EVO -> Sonic HD Demuxer -> Null Render the Audio and video to -> Sonic 4.1 Cinemaster Video decoder then CC -> Null Render then save your feature.grf and use the following .avs like everyone else seems to be using now (this just ensures your using 1 file for the entire movie and doesnt require you to demux and take up extra space, you can even dump the original hd-dvd once you get the feeds your after in your main.evo you rebuilt.
Avs Sample:
directshowsource("entiremovie.evo",fps=23.976,framecount=fillmein)
converttoyv12()
The results are excellent, and also i have no trouble encoding 2 passes on whatever format i need to encode to. i know folks have eluded to how this works, i just wanted to explain step by step what i needed to do, also note that if you attempted to seek the graph under any circumstances it WILL NOT LIKELY seek it will crash Virtual Dub or equivilent application for checking the visual appearance. theres a Seek=false command, i dont need to use that just dont seek when your in vdub and you will be fine, i would recommend hitting the play button at the front of the time line just to ensure your getting proper visual playback even if extremely slow. if so your free to encode in whatever application will accept your .avs and without any problems run 2 pass + on it.
I hope this was helpful to some, i know i spent a long time just yesterday going over this with a close associate, and we nailed it last night, im sure others have accomplished it, but havent bothered to explain it step by step, so there you have it. Feel free to pm me with any questions, and i hang out in the efnet channel aswell.
Mosb3rg
drmpeg
11th February 2007, 06:18
@drmpeg, thanks for your information. I've handled a commentary DD+ with 6 blocks per frame, but the frame length is still 32ms. Could you talk more on the 8ms per frame? Which field(in ATSC a/52b) I should look to find out the actual frame length?
Actually it can be 32/6 or 5.333 milliseconds per frame. I've added dumping of DD and DD+ parameters to version 0.6 of demux.
http://www.w6rz.net/evob_demux.zip
C:\xfer>demux PEVOB_01MAIN_1.EVO nul nul dd+ 0
EVOB Demuxer 0.6
H.264 Video Stream found!
DD+ Audio Stream number 3 found!
DD+ Audio Stream number 2 found!
DD+ Audio Stream number 1 found!
DD+ Audio Stream number 0 found!
Stream is Dolby Digital Plus
frame_size = 1364, number of blocks per frame = 1
Audio Bitrate = 2046000, Audio Sampling Rate = 48000
Audio Mode = 3/2, bsid = 16, lfeon = 1
Subtitle Stream number 3 found!
Subtitle Stream number 2 found!
Subtitle Stream number 0 found!
C:\xfer>demux PEVOB_01MAIN_1.EVO nul nul dd+ 2
EVOB Demuxer 0.6
H.264 Video Stream found!
DD+ Audio Stream number 3 found!
DD+ Audio Stream number 2 found!
Stream is Dolby Digital
Audio Bitrate = 192000, Audio Sampling Rate = 48000
Audio Mode = 2/0, bsid = 8, bsmod = 0
DD+ Audio Stream number 1 found!
DD+ Audio Stream number 0 found!
Subtitle Stream number 3 found!
Subtitle Stream number 2 found!
Subtitle Stream number 0 found!
C:\xfer>demux feature_1.evo nul nul dd+ 0
EVOB Demuxer 0.6
VC-1 Video Stream found!
DD+ Audio Stream number 8 found!
DD+ Audio Stream number 0 found!
Stream is Dolby Digital Plus
frame_size = 1024, number of blocks per frame = 1
Audio Bitrate = 1536000, Audio Sampling Rate = 48000
Audio Mode = 3/2, bsid = 16, lfeon = 1
DD+ Audio Stream number 2 found!
DD+ Audio Stream number 1 found!
C:\xfer>demux feature_1.evo nul nul dd+ 2
EVOB Demuxer 0.6
VC-1 Video Stream found!
DD+ Audio Stream number 8 found!
DD+ Audio Stream number 0 found!
DD+ Audio Stream number 2 found!
Stream is Dolby Digital Plus
frame_size = 1536, number of blocks per frame = 3
Audio Bitrate = 768000, Audio Sampling Rate = 48000
Audio Mode = 3/2, bsid = 16, lfeon = 1
DD+ Audio Stream number 1 found!
C:\xfer>demux feature_1.evo nul nul dd+ 8
EVOB Demuxer 0.6
VC-1 Video Stream found!
DD+ Audio Stream number 8 found!
Stream is Dolby Digital Plus
frame_size = 768, number of blocks per frame = 6
Audio Bitrate = 192000, Audio Sampling Rate = 48000
Audio Mode = 2/0, bsid = 16, lfeon = 0
DD+ Audio Stream number 0 found!
DD+ Audio Stream number 2 found!
DD+ Audio Stream number 1 found!
Ron
Clown shoes
11th February 2007, 14:11
I'm sorry to report that it appears EVODemux is still not reporting the correct number of frames after all.
I used version 0.542 to demux my copy of Training Day. It reported a frame count of 175677, which I added to my avisynth script. I fed this into Mainconcept's H264 encoder to produce a file I could back up to DVD9. This is where it gets a bit odd. I imported my .h264 file and DD+ file into Scenarist. Scenarist reported the running times as follows;
.h264 = 2.01.56.12
.ac3 = 2.01.55.12
So the .h264 is exactly 1 second longer than the .ac3. I then used Scenarist's simulation window to scroll to the end of the feature, where I discover there are surplus frames from earlier on in the film. The feature itself finishes at;
2.01.52.12
So that is exactly 4 seconds shorter than the reported running time and 3 seconds shorter than the audio.
I don't know if any of this is helpfull, but the bottom line is that Evodemux does still not appear to be correctly reporting the number of frames (at least not for me) :(
Clown shoes
11th February 2007, 17:39
Sorry for the double post, I forgot mine was the last
Hi Tomos,
you seem to be one of the only people who has managed to get DD+ converting working properly. I have repeatedly tried emulating your process but with no success. Can you definately confirm your audio tracks really are DD+. Ron posted this a little while ago, pointing out that some plain Dolby Digital tracks are being mislabled as DD+
Be careful folks. In HD-DVD streams, DD tracks can be identified as DD+ tracks. If you're having some success, be sure it's not because you've chosen a regular DD track.
DD+ tracks are identified by the BSID. However, the easy way to determine if it's DD+ is to use a hex editor. If the two bytes after the 0x0b 0x77 header are always the same (and equal to the frame length in words - 1), it's DD+. If the two bytes after the 0x0b 0x77 header change every frame (when the frame is not silent), the track is regular DD.
Ron
Another way of confirming true DD+ is by loading it into Scenarist. The info window will tell you the true nature of the file.
Is there any way you could host one of your DD+ files somewhere, so I can test it here and see if I get the same results?
Cheers
Pelican9
11th February 2007, 17:41
EVOdemux v0.6 (http://pel.hu/down/EVOdemux.exe) (based on drmpeg's version 0.6)
tomos
12th February 2007, 02:12
Sorry for the double post, I forgot mine was the last
Hi Tomos,
you seem to be one of the only people who has managed to get DD+ converting working properly. I have repeatedly tried emulating your process but with no success. Can you definately confirm your audio tracks really are DD+. Ron posted this a little while ago, pointing out that some plain Dolby Digital tracks are being mislabled as DD+
Another way of confirming true DD+ is by loading it into Scenarist. The info window will tell you the true nature of the file.
Is there any way you could host one of your DD+ files somewhere, so I can test it here and see if I get the same results?
Cheers
will give scenarist a go. trying it now.
i cant imagine them not being dd+ tho - some tracks (casino for example) are almost 2gig, couldnt play them until now and nothing recognised them as ac3 (assuming thats what you mean?) mkvmerge also wont recognise them - sees them as video for some reason.
this works (so far) for the audio for batman begins, superman returns, hulk, casino, superman 2 (donner cut), equilibrium, fast and furious 3, mission impossible 3, swordfish, the mummy, aeon flux, v for vendetta, pitch black and serenity.
no way they are all missing dd+
am trying scenarist now but sticks on 0% loading files
am uploading a 50meg sample now. taking a while but will update post once its up there. :)
ok, link here - http://www.savefile.com/files/484607
Pelican9
12th February 2007, 12:05
I'm sorry to report that it appears EVODemux is still not reporting the correct number of frames after all.
I used version 0.542 to demux my copy of Training Day.
Frame count in EVOdemux (based on drmpeg's demux.c):
procedure countframes(fr,len,track:integer);
var k: integer; parse: longword;
begin
parse:=0;
for k:=fr to fr+len-1 do begin
parse:=(parse shl 8)+buffer[k];
case video_stream_type of
MPEG2: if parse=$00000100 then frames[track]:=frames[track]+1;
H264: if parse=$00000109 then frames[track]:=frames[track]+1;
VC1: if parse=$0000010d then frames[track]:=frames[track]+1;
else log('Unidentified video stream type!');
end;
end;
end;
The counter counts special four bytes long sequences (e.g. 00 00 01 0d in VC-1 stream) in the video stream itself, but I think this algorythm isn't good enough, because it could be count more than the real frame starts if this four bytes sequence appears somewhere else in the video data.
drmpeg:
Could you specify more precisely how we can recognize the FRM_SC (frame start code) in the stream?
Clown shoes
12th February 2007, 12:54
am uploading a 50meg sample now. taking a while but will update post once its up there. :)
ok, link here - http://www.savefile.com/files/484607
Thanks Tomos, I will not get a chance to look at it until this evening as the Scenarist machine is currently in use and probably will be all day. I'm hoping I will have no luck with this file either, which will at least point towards your solution working. Then it will just be a case of working out the correct combination of filters you have running.
@Pelican9
I am genuinely sorry to be the bearer of such bad tidings :(
Congratulations on such great progress right now though. Things are moving forwards so quickly.
LOGiC
12th February 2007, 13:02
no probs.
i've so far, muxed equilibrium into mkv with re-encoded audio and finally finished re-encoding v for vendetta with x264 to fit on a dual layer dvd (with original audio)
for the audio, since it plays direct in mpc i re-encode it (only 2 ch for now. no need for more since i plan to keep original dd+ audio. this is for testing and so i can watch the movie now on my pc)
in graphedit btw, my filters work like this:
Quote:
ddp file > intervideo audio decoder > matrixmuxer > default directsound device
in vdub mod, i use an avs script like this
Quote:
v = directshowsource("PEVOB_1_2.rebuilt.VC-1.stream.0.vc1",fps=23.976,framecount=190414)
a = directshowsource("PEVOB_1_2.rebuilt.DD+.stream.02.ddp")
audiodub(a,v)
the demux happens via evodemux 541 of course.
that script lets me save the audio as an uncompressed wave file.
then i run it in belight to compress it to AAC.
@Tomos,
can you please help me with these things ? I tried a couple of times, but I can not get the audio file to be an uncompressed wave file. How did you to this, what do I have to do ? Do I have to use graphedit AND vdubmod ? I did not see in the script where a graph is being loaded into vdubmod. Sorry, I am a quite newbie but I am very interested to get the sound out of the file.
Thank you in advance.
Regards
tomos
12th February 2007, 13:14
i didnt have to use a grf file.
to the best of my knowledge, you only have to do this if your default filters dont work out as they should - like when i drop an evo file into graphedit, it connects to the elecard demultiplexer and thats it. nothing after. obviously this means i cant just play an evo direct. i would have to build a grf file and use that instead.
at the moment i am trying to get the windvd audio decoder to send out 5.1 audio instead of stereo. no joy so far, all settings results in matrix muxer getting basic stereo.
anyway, here's a screen grabby of my graphedit after dropping a ddp file in there. no changes apart from getting the properties of the filters in use.
http://img61.imageshack.us/img61/4183/grabbypk7.th.jpg (http://img61.imageshack.us/my.php?image=grabbypk7.jpg)
hope its useful :)
---------------
forgot the next bits.
anyway, think i included this before but i'll add it here as well. my avs file:
v = directshowsource("PEVOB_1_2.rebuilt.VC-1.stream.0.vc1",fps=23.976,framecount=179743)
a = directshowsource("PEVOB_1_2.rebuilt.DD+.stream.00.ddp")
audiodub(a,v)
#directshowsource("PEVOB_1.VC-1.stream.0.vc1",fps=23.976,framecount=179743)
#crop( 2, 140, -2, -140)
#ConvertToYV12()
the first part (without the #'s) is just to extract the audio. this was for v for vendetta. this loads in vritualdub with no probs. it might work in vdub but havent tried. would assume so.
go to streams > stream list and it shows in there. right click - change to full processing mode and make sure compression is set for PCM. after that, 'save wav' to save a 1.5-2gig wav file and thats it. encode to whatever you like.
thats worked for me now for everything i've tried. (list of movies tested a few posts earlier).
the #ed parts are of course to load the video only for re-encoding to AVC
Clown shoes
12th February 2007, 13:34
Hi Logic, could you try Tomos's DDP file that he was good enough to upload. If we are all working with the same test file it should slightly increase our speed in finding a workable solution. Good luck with the 5.1 Tomos. :)
Daodan
12th February 2007, 14:15
About Tomos' solution: to me it only gave upmixed 2.0 sound. Yes, the output is 5.1 channels, but except 2, the rest are empty. The ivi audio decoder seems to receive 2.0 only, and you only upmix by choosing 5.1 output.
Clown shoes: same training day gave 175322 framecount, which seems to the right value. Using the gui 0.542
Clown shoes
12th February 2007, 14:32
Clown shoes: same training day gave 175322 framecount, which seems to the right value. Using the gui 0.542
Well that's damn strange!! I used 0.542 and got a 175677 framecount. I did it several times as well! Can you tell me your method? Did you have all the Evodemux options selected? I'm wondering whether it has something to do with either the fast count or the joining procedure. Can you tell me what running time was reported?
Thanks :)
drmpeg
12th February 2007, 14:33
Frame count in EVOdemux (based on drmpeg's demux.c):
The counter counts special four bytes long sequences (e.g. 00 00 01 0d in VC-1 stream) in the video stream itself, but I think this algorythm isn't good enough, because it could be count more than the real frame starts if this four bytes sequence appears somewhere else in the video data.
drmpeg:
Could you specify more precisely how we can recognize the FRM_SC (frame start code) in the stream?
Should be okay. I believe start code emulation is avoided in all three codecs.
Ron
Daodan
12th February 2007, 14:49
Clown shoes, it might have been 541 (if you don't have it anymore pm me), but not sure. Options left to default, only thing demuxed was the video. Sorry, can't tell you more, as I don't have the space atm to repeat the demuxing.
drmpeg, do you happen to have some stashed away tool that can demux dts-hd from m2ts? Tried xport and all possible tools and none even see the dts being there (evodemux sees mlp, but demuxes 0 byte file). Thanks.
drmpeg
12th February 2007, 15:00
drmpeg, do you happen to have some stashed away tool that can demux dts-hd from m2ts? Tried xport and all possible tools and none even see the dts being there (evodemux sees mlp, but demuxes 0 byte file). Thanks.
I'm working on an update to xport for Blu-ray. If you could provide a short sample (100 Mbytes or so), that would make it easy.
Ron
Pelican9
12th February 2007, 16:04
Should be okay. I believe start code emulation is avoided in all three codecs.
Ron
Your code is OK.
I've found this:
"To prevent accidental emulation of the Start Code in the coded bit stream, SMPTE 421M defines an encapsulation mechanism that uses byte stuffing."
Clown shoes
12th February 2007, 16:09
Well that's very strange then! I definately had duplicated frames at the end of my video and what's even stranger is Daodan just reported demuxing the same film with an earlier (possibly) version of Evodemux and getting a different framecount which seems to be correct. Seems very odd.
Pelican9
12th February 2007, 23:04
EVOdemux 0.61 (http://pel.hu/down/EVOdemux.exe)
Change for v0.61
- Write 'traditional' format .sup files
- Display the duration of the video streams (calculating with 23.976 fps)
- Open VOB files (DVD)
Phluxed
12th February 2007, 23:55
Just out of curiousity, could someone update me where we stand in progress of demuxing properly and re-encoding?
Also, if we're making significant progress maybe put a guide up how to convert files after demuxing.
Congrats on the work so far guys!
Daodan
12th February 2007, 23:59
drmpeg, here's a 100 mb sample: http://www.filefactory.com/file/6e2163/
It has mpeg2, dts-hd and 4 ac3 streams.
TNHitokiRi
13th February 2007, 01:10
Just out of curiousity, could someone update me where we stand in progress of demuxing properly and re-encoding?
Also, if we're making significant progress maybe put a guide up how to convert files after demuxing.
Congrats on the work so far guys!
Ok, so far:
1.) Video can be demuxxed and decoded. There is success sticking it into avisynth, and it is possible to reencode to whatever format.
2.) Audio can be demuxxed, but cannot be decoded properly. There has been success decoding the audio to a 2ch upmix but no 5.1 yet.
3.) Subtitles can be demuxxed and Pelican9 has a program that will let you input the proper text for each subpicture. There is no OCR support like in subrip yet.
Pelican9
13th February 2007, 01:39
Well that's very strange then! I definately had duplicated frames at the end of my video and what's even stranger is Daodan just reported demuxing the same film with an earlier (possibly) version of Evodemux and getting a different framecount which seems to be correct. Seems very odd.
The previous version had a bug.
I don't think that version counts more precise.
But don't worry, I'm working on it. :)
The actual version display the playing time (counted frames/23.976), so you can compare it to powerdvd's (or other sw) time info
Phluxed
13th February 2007, 02:17
Ok, so far:
1.) Video can be demuxxed and decoded. There is success sticking it into avisynth, and it is possible to reencode to whatever format.
2.) Audio can be demuxxed, but cannot be decoded properly. There has been success decoding the audio to a 2ch upmix but no 5.1 yet.
3.) Subtitles can be demuxxed and Pelican9 has a program that will let you input the proper text for each subpicture. There is no OCR support like in subrip yet.
Very solid. I'm excited to see what comes in the weeks to come.
woah!
13th February 2007, 04:01
i am finding a 2 sec difference in the timeline between the video/audio. frame total given from 0.61 demux is 147596 which equals 1:42:35 in MPC.
but the audio when piped through MPC using a basic avs shows 1:42:33
if i work out the framecount in secs myself then the total should be 147572 for a 1:42:35 timeline at 23.976 anyway, which make the count from demux wrong.
Opening file PEVOB_1.EVO
File size: 6883 Mbytes.
It contains 1 video stream and 4 audio streams.
VC-1 video stream 0 found!
DD+ audio stream 3 found!
Stream 3 is Dolby Digital Plus
frame size = 768, number of blocks per frame = 6
bitrate = 192000, sampling rate = 48000
mode = 2/0, bsid = 16, lfe on =0
DD+ audio stream 2 found!
Stream 2 is Dolby Digital Plus
frame size = 768, number of blocks per frame = 6
bitrate = 192000, sampling rate = 48000
mode = 2/0, bsid = 16, lfe on =0
DD+ audio stream 1 found!
Stream 1 is Dolby Digital Plus
frame size = 256, number of blocks per frame = 6
bitrate = 64000, sampling rate = 48000
mode = 1/0, bsid = 16, lfe on =0
DD+ audio stream 0 found!
Stream 0 is Dolby Digital Plus
frame size = 1280, number of blocks per frame = 3
bitrate = 640000, sampling rate = 48000
mode = 3/2, bsid = 16, lfe on =1
Subpicture stream 1 found!
Done.
Opening file PEVOB_1.EVO
File size: 6883 Mbytes.
Creating G:\2\PEVOB_1_2.VC-1.stream.0.mpv
Creating G:\2\PEVOB_1_2.DD+.stream.00.ddp
Creating G:\2\PEVOB_1_2.Subpicture.01.sup
Continue on PEVOB_2.EVO
Done.
147596 frames count in video stream 0.
also i tried every ddp audio file and they all ran at that same time above.
Pelican9
13th February 2007, 10:59
i am finding a 2 sec difference in the timeline between the video/audio. frame total given from 0.61 demux is 147596 which equals 1:42:35 in MPC.
but the audio when piped through MPC using a basic avs shows 1:42:33
if i work out the framecount in secs myself then the total should be 147572 for a 1:42:35 timeline at 23.976 anyway, which make the count from demux wrong.
also i tried every ddp audio file and they all ran at that same time above.
The EVOdemux counts the video frames.
147596 frames means 1:42:35,989 (with 23.976 fps) (v0.611 displays the time after 'Demux' too)
I think, the audio streams start later than the video stream.
There is a silent 2 secs at the begining your movie, isn't it?
drmpeg
13th February 2007, 12:09
The EVOdemux counts the video frames.
147596 frames means 1:42:35,989 (with 23.976 fps) (v0.611 displays the time after 'Demux' too)
I think, the audio streams start later than the video stream.
There is a silent 2 secs at the begining your movie, isn't it?
Be aware that demux (and EVOdemux) does not align the audio to the video at the beginning or end of the .evo stream. In other words, A/V sync is only guaranteed if you are demuxing from the beginning of the movie. Video and audio timelines will only match if you demux the entire movie.
If you are demuxing some fragment, then you will possibly have A/V sync problems and/or un-decodable video frames before the first sequence header.
These things can be fixed, it's just more code (in fact, it's already done in xport for Blu-ray).
Ron
Clown shoes
13th February 2007, 14:15
I think, the audio streams start later than the video stream.
There is a silent 2 secs at the begining your movie, isn't it?
That would explain the running time discrepancy between my DD+ track and my encoded .h264. Is this a random thing as far as you know? or might there be a way for us to accertain how much delay there will be before a stream starts?
Pelican9
13th February 2007, 14:55
or might there be a way for us to accertain how much delay there will be before a stream starts?
Yes. See drmpeg's comment.
tomos
13th February 2007, 16:25
in regards to muxing vc1 into mkv, anyone able to verify the probs i have in muxing (i.e size limitation) in this (http://forum.doom9.org/showthread.php?p=953631#post953631) post in the other thread?
Pelican9
14th February 2007, 01:04
Change for v0.613
- 'Detailed info' option for the extra stream info
Change for v0.612
- Display VC-1 video stream information
- Display the first PTS of the streams
EVOdemux v0.613 (http://pel.hu/down/EVOdemux.exe)
Thanks to drmpeg for his help.
tomos
14th February 2007, 01:31
thanking you pelican9 and drmpeg for your work in this :)
woah!
14th February 2007, 02:36
sorry i didnt get back until now, but my work day is now done.
yes i believe it is the audio not the video which is incorrect. the framecount must be correct and i will see about adding a delay at the beginning of the audio to match times.
i am using (or will be) mp4box to mux my aac audio and mp4 video encodes. i will report back later once i have some more news :)
mosb3rg
14th February 2007, 04:41
Sup fellas, freshly dumped The Departed HD DVD and it does have MLP (merdian lossless packing) commonly seen in DVD-Audio Discs there are some ways to decode it once its demuxed properly and we can make a very nice DTS 6 channels , although as of now i cannot take the mlp out of the .evo once i've tried to rebuild it. im not quite sure why it wont demux the MLP from both with continue to second evo checked.
If someone else could check and see if there able to get the entire MLP demuxed from the rebuild entiremovie.evo
Mosb3rg
woah!
14th February 2007, 07:04
well i see i am having an issue using Sonic videodecoder filter as it wants a 29.97 framerate. if i feed my script with 23.976fps and the amount of frames demux0613 gives me, i get alot of random scenes jumping from one part of the film to another part at random.
now if i feed my script the same demuxed file but at the 29.97 framerate instead and then use TDecimate(cycleR=1) to bring the framerate down to 23.976fps afterwards i get a good output source. so sonic must do its internal pulldown to 29.97 if this is correct yes?
Pelican9
14th February 2007, 09:13
Sup fellas, freshly dumped The Departed HD DVD and it does have MLP (merdian lossless packing) commonly seen in DVD-Audio Discs there are some ways to decode it once its demuxed properly and we can make a very nice DTS 6 channels , although as of now i cannot take the mlp out of the .evo once i've tried to rebuild it. im not quite sure why it wont demux the MLP from both with continue to second evo checked.
If someone else could check and see if there able to get the entire MLP demuxed from the rebuild entiremovie.evo
Mosb3rg
I haven't got an EVO with MLP stream yet, so I cannot check it.
Could you (or somebody else) share a smaller piece (20-200MB) of your evo's beginning part?
Deckard2019
14th February 2007, 09:47
If someone else could check and see if there able to get the entire MLP demuxed from the rebuild entiremovie.evo
I get one for Batman Begins with EVODemux 0.61. Don't know if it's entire ...
vsv
14th February 2007, 11:06
MLP=TrueHD
Pelican9
14th February 2007, 18:13
MLP=TrueHD
MLP<>TrueHD :) MLP=Meridian Lossless Packing
Relation between Dolby True HD and MLP (http://www.transtec.nl/download.php?id=189&file=Pro%2Fdolby%2FTrueHDFAQ.pdf)
Pelican9
14th February 2007, 21:08
Change for v0.614
- Display H.264 video stream information
- Display MPEG2 video stream information
- Display MPEG2 audio stream information
EVOdemux v0.614 (http://pel.hu/down/EVOdemux.exe)
junooni
15th February 2007, 03:51
Has anyone here tried the "Scenarist Nav Filter" This seems to be a file source filter and HD Demuxer. connects with Sonic Video decoder and InterVideo Audio Decoder. I don't know if the iviaudio filter's property sheet can be trusted but it shows LPCM 8ch?
http://img75.imageshack.us/img75/9515/scenaristnavdr2.jpg
Easy123
15th February 2007, 14:22
Wow! Just tested Video only (which was demuxed by EvoDemux) with Sonic Nav Filter, Sonic Cinemaster Video Decoder and Video Renderer using graphedit. Framerate shown is 23,98 fps and not 29,97, which is good news for me.. :D
tomos
15th February 2007, 15:58
hmm, don't have nav filter here. do you mean sonic HD nav?
Jan2001
15th February 2007, 17:13
Has anyone here tried the "Scenarist Nav Filter" This seems to be a file source filter and HD Demuxer.
Which dll is that? I only have sonicHDnav.dll and that one does not have input- and output pins in graphedit.
Daodan
15th February 2007, 17:41
Can anyone tell me how you got the nav filter to work? When I insert the filter in graph it's just a box without any pins (and it doesn't ask me for a file input or anything). Thanks.
junooni
15th February 2007, 17:52
Its called "Scenarist Nav Filter" and is different from Sonic nav filter. Here is a screen shot. It was installed when i installed scenaraist tool.
http://img253.imageshack.us/img253/66/scenaristnav2mx8.jpg
Clown shoes
15th February 2007, 20:11
Well I can duplicate your graph without any problem, but I only get a 1 channel output!
Daodan
15th February 2007, 20:29
Again I beat you. I get 2!:D
tomos
15th February 2007, 20:31
ahhh, dont have that dll for some reason.
Clown shoes
15th February 2007, 20:43
?? That's very odd, you should have it if you have the Sonic HD Nav filter. It's part of Scenarist 4.1.
Junooni, which version of Win DVD do you have installed? Maybe that's the magic ingredient.
chros
15th February 2007, 21:06
@Easy123: I have 29.97 fps with this graph and the framecount was totally wrong: 59674850 ... :(
avs:
DirectShowSource("mainintro-demuxed-v-s.GRF", audio=false)
LanczosResize(1280,720)
ConvertToYV12()
Info()
And the audio is only 1 ch for me too ...
WinDVD Audio decoder dll: 8.0.6.101 from InterVideo WinDVD Platinum v8.0.6.101
And the logo is blue on it, and it says DVD Xpack.
It reports: Format: (none) , 16bit,48K,1ch
PS: sample was Serenity's mainintro.evo .
info from Evo demux 0.615
Opening file MAININTRO.EVO
File size: 130 Mbytes.
It contains 1 video stream and 1 audio stream.
VC-1 video stream 0 found!
First PTS = 00000D75
Sequence Header found
0 frames before first I-frame
Advanced Profile
Level = 3
Chroma Format = 4:2:0
Size = 1920x1080
Pulldown = 1
Interlace = 1
Display Horizontal size = 1920
Display Vertical size = 1080
Aspect ratio = 1:1 (square samples)
Frame Rate = 29,97002997003 (30000/1001)
DD+ audio stream 0 found!
First PTS = 00000D75
Stream 0 is Dolby Digital Plus
frame size = 1536, number of blocks per frame = 3
bitrate = 768000, sampling rate = 48000
mode = 3/2, bsid = 16, lfe on =1
Done.
1541 frames (0:01:04 s) count in video stream 0.
junooni
15th February 2007, 22:41
Sorry guys the audio still doesn't work. It reports it correctly but no actual audio. It was worth a shot. Now we have one more filter to waste our time with. I guess we are back to square one. :(
On a side note
Scenarist Nav -> Cyberlink Audio dec -> Cyberlink Audio Renderer chain (CL6.5) reports 6ch audio as well but thats it, no actual playback on my system. Can some one feed this chain with spdif to see if there is some output? I don't have audio stuff setup correctly here.
At this point there are so many filters on my machine i don't know where they came from.
Clown shoes
15th February 2007, 22:57
Can you tell me what version of WinDVD you are running so I can try to replicate.
junooni
15th February 2007, 23:12
Can you tell me what version of WinDVD you are running so I can try to replicate.
Intervideo codec is from
WinDVD 8 Version: 7.0 B27.205
iviaudio.ax ver: 7.0.27.205
and
Cyberlink Audio dec and Cyberlink Audio Renderer are from
PowerDVD/HDDVD 6.5
Pelican9
15th February 2007, 23:13
Change for v0.616
- Fixed bug with MLP's first PTS
Change for v0.615
- Minor changes on GUI
EVOdemux v0.616 (http://pel.hu/down/EVOdemux.exe)
edo1080
16th February 2007, 00:05
many compliments and thanks to pelican9 for his efforts.
I would like to know if is there any way to convert the .mpa audio track (DD+) obtained from the demuxing process into 6 mono .wav, even downgrading quality but keeping channel separation. Or at least to convert into 2 mono .wav
Thank you for all the suggestions
juhu
16th February 2007, 01:15
many compliments and thanks to pelican9 for his efforts.
I would like to know if is there any way to convert the .mpa audio track (DD+) obtained from the demuxing process into 6 mono .wav,
as all of us since 15-20 pages and even more days :D
woah!
16th February 2007, 01:27
why if demux shows a 29.97 framerate does it give you a total framecount at 23.976 ?
i am starting to lose the plot i think...
tomos
16th February 2007, 01:34
?? That's very odd, you should have it if you have the Sonic HD Nav filter. It's part of Scenarist 4.1.
Junooni, which version of Win DVD do you have installed? Maybe that's the magic ingredient.
never mind. i was being a gimp. found it. hadnt registered it for some reason
Pelican9
16th February 2007, 09:42
why if demux shows a 29.97 framerate does it give you a total framecount at 23.976 ?
i am starting to lose the plot i think...
because this:
Pulldown = 1
3ngel
16th February 2007, 11:53
Where do i read this "Pulldown = 1"? And when you demux it with EvoDemux you get only the frames without the pulldown?
kolak
16th February 2007, 12:08
Where do i read this "Pulldown = 1"? And when you demux it with EvoDemux you get only the frames without the pulldown?
Yes it would be nice:)
Pelican9 any solution?
Thx
Clown shoes
16th February 2007, 12:39
The pulldown is simply a flag that tells the decoder how to handle the stream. You can see it in Chros's sample code from EVODemux
Code:
Opening file MAININTRO.EVO
File size: 130 Mbytes.
It contains 1 video stream and 1 audio stream.
VC-1 video stream 0 found!
First PTS = 00000D75
Sequence Header found
0 frames before first I-frame
Advanced Profile
Level = 3
Chroma Format = 4:2:0
Size = 1920x1080
Pulldown = 1
Interlace = 1
Display Horizontal size = 1920
Display Vertical size = 1080
Aspect ratio = 1:1 (square samples)
Frame Rate = 29,97002997003 (30000/1001)
DD+ audio stream 0 found!
First PTS = 00000D75
Stream 0 is Dolby Digital Plus
frame size = 1536, number of blocks per frame = 3
bitrate = 768000, sampling rate = 48000
mode = 3/2, bsid = 16, lfe on =1
Done.
1541 frames (0:01:04 s) count in video stream 0.
The true frame count should not change as there is no more real data present.
3ngel
16th February 2007, 12:45
I've tested right now, that the Pulldown flag is shown only on VC1 streams. On H264 it doesn't show all the informations, but only
H.264 video stream 0 found!
First PTS = 00001274
0 frames before first I-frame
High Profile
Level = 41
First Video PTS = 00001274
So a fix for this would be good.
Moreover i have to think that the demuxed from EvoDemux is without the Pulldown?
I ask this because it's not so obvious if the demuxing is "Pulldown respectful" or "Pulldown Ignoring".
I think that a switch would be necessary 'cause it's not so obvious that the "Pulldown ignored" frames will be the right (and the total) solution, giving the right 23.976 frames.
We can take for example all the experience from DgIndex where doing "Ignore Pulldown" can lead to a mess.
So what is the situation?
EDIT:
I can suggest an algorithm that compare the "Pulldown ignored" calculated duration (at 23.976), with the "Pulldown respectful" calculated duration (at 29.976).
If the duration is the same, then a "Pulldown ignored" demuxing can be done safetly.
Pelican9
16th February 2007, 15:07
3ngel: Did you read this?
Here's the VC-1 sequence header from KK:
SeqHeader: 1
+->Offset: 0
+->Size: 22
+->PROFILE: 3 (Advanced)
+->LEVEL: 3 (AP@L3)
+->COLORDIFF_FORMAT: 1 (4:2:0)
+->FRMRTQ_POSTPROC: 7 (30 frm/s)
+->BITRTQ_POSTPROC: 31 (2016 kbps)
+->POSTPROCFLAG: 0 (FALSE)
+->MAX_CODED_WIDTH: 959 (1920)
+->MAX_CODED_HEIGHT: 539 (1080)
+->PULLDOWN: 1 (TRUE)
+->INTERLACE: 1 (TRUE)
+->TFCNTRFLAG: 0 (FALSE)
+->FINTERPFLAG: 0 (FALSE)
+->RESERVED: 1 (TRUE)
+->PSF: 0 (FALSE)
+->DISPLAY_EXT: 1 (TRUE)
+->DISP_HORIZ_SIZE: 1919 (1920)
+->DISP_VERT_SIZE: 1079 (1080)
+->ASPECT_RATIO_FLAG: 1 (TRUE)
+->ASPECT_RATIO: 1 (1:1)
+->FRAMERATE_FLAG: 1 (TRUE)
+->FRAMERATEIND: 0 (FALSE)
+->FRAMERATENR: 3 (30*1000)
+->FRAMERATEDR: 2 (1001)
+->COLOR_FORMAT_FLAG: 0 (FALSE)
+->HRD_PARAM_FLAG: 1 (TRUE)
+->HRD_PARAM
| +->HRD_NUM_LEAKY_BUCKETS: 1
| +->BIT_RATE_EXPONENT: 3 (9)
| +->BUFFER_SIZE_EXPONENT: 4 (8)
| +->HRD_RATE: 45897
| +->HRD_BUFFER: 57599
30*1000/1001 = 29.97 with the pulldown flags describing a 23.976 encoded frame rate
Ron
3ngel
16th February 2007, 15:15
What i have to read? This?
30*1000/1001 = 29.97 with the pulldown flags describing a 23.976 encoded frame rate
That's not enough because there can be irregular pulldowns, in which one or more pulldowned (fake) frames became an integral part of the timeline, so removing them you lose synching (and you get wrong duration).
drmpeg
16th February 2007, 15:38
What i have to read? This?
That's not enough because there can be irregular pulldowns, in which one or more pulldowned (fake) frames became an integral part of the timeline, so removing them you lose synching (and you get wrong duration).
In the general case, you're correct. There can be irregular cadence of the pulldown flags. The overall rate of the stream can be anywhere between 23.976 fps and 29.97 fps.
In the particular case of film on HD-DVD (and especially with VC-1 HD-DVD), the pulldown flags are perfect and the stream really is 23.976 fps.
Ron
3ngel
16th February 2007, 16:09
Ok, i see and i can agree with you.
Mine was a suggestion in order to do a "perfectly compliant" routine. Because it's absolutely not guarantee that with future HDDVD there will be a perfect pulldown cadence.
Anyway a little suggestion for EvoDemux. Add a "Clear" button in order to clean up the report window.
Pelican9
16th February 2007, 17:09
Anyway a little suggestion for EvoDemux. Add a "Clear" button in order to clean up the report window.
You can clear that window manually. :)
3ngel
16th February 2007, 17:19
Ops... :)
Naa, but that's not professional :p
A professional one, is a readonly with a clear button :)
Pelican9
16th February 2007, 18:33
Ops... :)
Naa, but that's not professional :p
A professional one, is a readonly with a clear button :)
Done. You'll see in v0.617
chros
16th February 2007, 21:06
@Pelican9: can you add an option to demux/recreate chapters into ogg or mkv xml chapter format from *.xpl?
Thanks
3ngel
16th February 2007, 21:14
Done. You'll see in v0.617
:cool:
Can you add a little more informations on H264 streams (like VC1)?
Pelican9
16th February 2007, 21:19
Are you a mind reader? :)
I'm working on it...
Pelican9
16th February 2007, 21:21
@Pelican9: can you add an option to demux/recreate chapters into ogg or mkv xml chapter format from *.xpl?
If you specify the format of this, why not?
3ngel
16th February 2007, 21:43
Are you a mind reader? :)
I'm working on it...
Uhuhu :D
chros
16th February 2007, 22:12
If you specify the format of this, why not?
Ogg: is too easy (only problem is the milliseconds, of course anything can stand after the ChapterxxName):
CHAPTER01=00:00:00.000
CHAPTER01NAME=01. Costello Credo
CHAPTER02=00:05:03.300
CHAPTER02NAME=02. School's Out
CHAPTER03=00:08:52.000
CHAPTER03NAME=03. You're No Cop
Matroska chapters xml:
http://www.bunkus.org/videotools/mkvtoolnix/doc/mkvmerge.html#CHAPTERS
Or you can see the examples in the MKVToolnix distribution (C:\Program Files\MKVtoolnix\examples\)
Ogg is very simple, and since mkvmerge is able to import it, it will good enough for now...
Thanks, and greets from the same country ... :)
2439rf8hasjdert4
16th February 2007, 23:13
http://isochroma.com/Testfiles/Misc/doom9/EVOB-graphedit-1-sm.png (http://isochroma.com/Testfiles/Misc/doom9/EVOB-graphedit-1.png)
Click image for full size
I do not have Sonic Scenarist.
Is there any alternative?:confused:
Pelican9
16th February 2007, 23:42
Change for v0.617
- Fixed bug(?) with .sup export (decrease PTS with value of the first video PTS)
- Clear button on Status page
EVOdemux v0.617 (http://pel.hu/down/EVOdemux.exe)
woah!
17th February 2007, 02:11
The pulldown is simply a flag that tells the decoder how to handle the stream. You can see it in Chros's sample code from EVODemux
Code:
Opening file MAININTRO.EVO
File size: 130 Mbytes.
It contains 1 video stream and 1 audio stream.
VC-1 video stream 0 found!
First PTS = 00000D75
Sequence Header found
0 frames before first I-frame
Advanced Profile
Level = 3
Chroma Format = 4:2:0
Size = 1920x1080
Pulldown = 1
Interlace = 1
Display Horizontal size = 1920
Display Vertical size = 1080
Aspect ratio = 1:1 (square samples)
Frame Rate = 29,97002997003 (30000/1001)
DD+ audio stream 0 found!
First PTS = 00000D75
Stream 0 is Dolby Digital Plus
frame size = 1536, number of blocks per frame = 3
bitrate = 768000, sampling rate = 48000
mode = 3/2, bsid = 16, lfe on =1
Done.
1541 frames (0:01:04 s) count in video stream 0.
The true frame count should not change as there is no more real data present.
ok but what i am finding is if i enter the resulting framecount into my script, i get a (eg: 1:20:02 timeline when it should be 1:42:45)
if i calc the amount of frames at 29.97 and add it to my script then it runs at the correct timeline.
i would like the option to pick / switch on or off the pulldown option and dump all the frames at 29.97. i can use tfm(order=0).tdecimate() afterwards if needed anyways.
i think its because of how sonic's decoder is looking for 29.97 source not an already pulldowned evob. and as i am using sonic filter to pas to my avs script i think that is where the problem is coming from.
edtchie
17th February 2007, 02:32
Change for v0.617
- Fixed bug(?) with .sup export (decrease PTS with value of the first video PTS)
- Clear button on Status page
EVOdemux v0.617 (http://pel.hu/down/EVOdemux.exe)
I am not sure I missed something but EVOdemux is not working properly on Canal released HD DVD title: Ramblo, First blood and Total Recall. It looks the structure is a little different, and it stoped when finished first evo file, not continued on the second one.
orbitlee
17th February 2007, 05:03
I am not sure I missed something but EVOdemux is not working properly on Canal released HD DVD title: Ramblo, First blood and Total Recall. It looks the structure is a little different, and it stoped when finished first evo file, not continued on the second one.
Additional information, the EVO files are named as
L0_mainMovie.EVO
L1_mainMovie.EVO
instead of
FEATURE_1.EVO
FEATURE_2.EVO
Clown shoes
17th February 2007, 12:07
I'll go out on a limb and guess that renaming them will probably fix the problem then.
MichalHabart
17th February 2007, 17:23
I'll go out on a limb and guess that renaming them will probably fix the problem then.
Yes, exactly. Renaming to feature_x.evo is solving the problem. But still with Rambo there is problem with english dts-hd. german and french ones have 1005mb each (it means 93 minutes) but english one is demuxed to 1220mb (it is 115 minutes).
Clown shoes
17th February 2007, 18:40
Is it possible the English DTS-HD is a higher bitrate, hence the larger size?
Pelican9
17th February 2007, 20:26
Additional information, the EVO files are named as
L0_mainMovie.EVO
L1_mainMovie.EVO
instead of
FEATURE_1.EVO
FEATURE_2.EVO
Thanks. I'll fix it.
Question: Every HD DVD released by Canal have these filenames?
Is there any other name pattern?
Schmendrick
17th February 2007, 21:15
@ 2439rf8hasjdert4:
If you have WinDVD 8 Platinum installed a VC1-video decoder will be installed and you can build the following graph in Graphedit (see attachment below) used as a feed to other programs for reencoding to a different format :
DirectShowSource("D:\Audio_Video\vc1.GRF",audio=false,video=true,fps=171.7)
Strangely the frame rate has to be increased so that all frames are decoded.
Schmendrick
Pelican9
17th February 2007, 21:51
Changes for v0.618
- Fixed bug with 'Continue on second EVO' (with Canal's filenames like L0_mainMovie.EVO)
- New filenames if 'Continue on second EVO' checked (FEATURE_1_2 -> FEATURE_1_FEATURE_2)
EVOdemux v0.618 (http://pel.hu/down/EVOdemux.exe)
orbitlee
18th February 2007, 04:16
Thanks. I'll fix it.
Question: Every HD DVD released by Canal have these filenames?
Is there any other name pattern?
Looks like Canal use this name pattern so far. But another name pattern(in "Oldboy") may confuse your algorithm again.
PEVOB_11MAIN_1.EVO
PEVOB_11MAIN_2.EVO
In theory, the name of two EVOs could be anything, foo.EVO and bar.EVO. Also some HD-DVDs have single EVO file only
So I suggest to add an input box for the second EVO. User choose the first EVO, you guess the name of second EVO. If file does not exist, an alert will be raised to ask users to choose the second EVO(or cancel for single EVO) manually.
woah!
18th February 2007, 07:31
well i have found the best way for me to get things working is to forget demuxing and just feed the evob to graphedit and then into my script. seems to keep sync with the audio except for some delay at the start that can be fixed.
until another filter comes along i dont think the sonic one works well with a demuxed file, or something is happening between them for me anyways.
Pelican9
18th February 2007, 07:55
Looks like Canal use this name pattern so far. But another name pattern(in "Oldboy") may confuse your algorithm again.
PEVOB_11MAIN_1.EVO
PEVOB_11MAIN_2.EVO
In theory, the name of two EVOs could be anything, foo.EVO and bar.EVO. Also some HD-DVDs have single EVO file only
So I suggest to add an input box for the second EVO. User choose the first EVO, you guess the name of second EVO. If file does not exist, an alert will be raised to ask users to choose the second EVO(or cancel for single EVO) manually.
The program recognises the following patterns:
*_(0..8)*.evo --> *_(1..9)*.evo
*(0..8)_*.evo --> *(1..9)*.evo
*: any alphanumeric character (except '_')
(0..8): a numeric digit between 0 and 8
(1..9): an incremented numeric digit between 1 and 9
2439rf8hasjdert4
18th February 2007, 09:23
@ 2439rf8hasjdert4:
If you have WinDVD 8 Platinum installed a VC1-video decoder will be installed and you can build the following graph in Graphedit (see attachment below) used as a feed to other programs for reencoding to a different format :
DirectShowSource("D:\Audio_Video\vc1.GRF",audio=false,video=true,fps=171.7)
Strangely the frame rate has to be increased so that all frames are decoded.
Schmendrick
Thanks, but I do not have WinDVD. Is there a way to make it work with Cyberlink's PowerDVD?
Also, my file ends in EVO, not VC1. Did you have to do some kind of demuxing to get VC1? And does that VC1 have audio as well?
:thanks:
Schmendrick
18th February 2007, 10:23
Thanks, but I do not have WinDVD. Is there a way to make it work with Cyberlink's PowerDVD?
I think the right version of PowerDVD which has VC1-decoding capabilities also has a VC1-capable demuxer and decoder.
Also, my file ends in EVO, not VC1. Did you have to do some kind of demuxing to get VC1? And does that VC1 have audio as well?
So far I only have used a VC1-sample I had downloaded and a demuxed VC1-sample from a WMV-clip I had produced using the VC1/WVC1-WIndows Media Advanced Profile encoder, but this thread is about EVO-demuxing so Pelican9's-demuxer should be able to produce a VC1-file from EVO-files.
Schmendrick
klona
18th February 2007, 10:51
Hi.
Really great tool I just discovered.
Many thanks Pelican9 for this little baby.
One question, regarding audio delay. Is taht possible to know what is the orginal delay in the HD DVD ? Re-finding it manually to synch a re-encoded h264+ac3 is quite boring..
Pelican9
18th February 2007, 10:51
Change for v0.619
- Display DTS HD (DTS) audio stream information
EVOdemux v0.619 (http://pel.hu/down/EVOdemux.exe)
Pelican9
18th February 2007, 10:58
One question, regarding audio delay. Is taht possible to know what is the orginal delay in the HD DVD ? Re-finding it manually to synch a re-encoded h264+ac3 is quite boring..
What does 'original delay' mean?
You can see the first PTS of the streams (divide by 90000 to seconds).
Is it help for you?
klona
18th February 2007, 11:45
(-:
Thx. Did not notice the PTS data !
woah!
19th February 2007, 08:46
well after "alot" for head scratching i have finally got a long winded way to backup my hddvd source to a x264/aac audio encode.
here's a clip of kong at 720x304 : hxxp://file2upload.com/file/27157/KONG-3958-3990-rar.html
i can of course do whatever res i wanted, but am testing upto now. i used 2ch aac sound at 256kb and video was using --crf 23
now i used anydvd to backup the disc, also i only demuxed the audio to a .ddp file, and put the evob into graphedit directly for the video. this gave me good results. i found the audio was exactly 1200ms delayed after some fiddling.
juhu
19th February 2007, 09:06
now i used anydvd to backup the disc, also i only demuxed the audio to a .ddp file, and put the evob into graphedit directly for the video. this gave me good results. i found the audio was exactly 1200ms delayed after some fiddling.
(scratch scratch...)
Do you have some special magic to turn a ddp 6ch audio stream into 2ch aac... ?
Because no one here was able to fully decode ddp (only 2 streams...) till now
tomos
19th February 2007, 14:13
i went over a page or 2 ago how it worked forme too. although there was no delay in mine
idamien
19th February 2007, 19:08
I just bought and installed Vista Ultimate... Tried to do a x264 encode backup of one of my HD-DVD disks using MeGUI but x264 crashes everytime.
Has anyone had any success with the latest MeGUI and x264 under Vista Ultimate 32 Bit???
I was considering buying the MainConcept encoder... until I saw the price: US$600.00 is too much when you have a free (and very good) alternative IMHO.
sillKotscha
19th February 2007, 22:52
here's a clip of kong at 720x304 : hxxp://file2upload.com/file/27157/KONG-3958-3990-rar.html
you should investigate more time into "how to encode using x264/MeGUI"... 'cause your encode could be considered as bad advertisement for MeGUI using x264 :o
I mean, you told us you used a HD video stream as your source and your resulting video clip is 8,14MB of size for 31sec ... c'mon
http://img255.imageshack.us/img255/5568/snapshotmv8.png (http://imageshack.us)
I bet you can do better or you should think about leaving the source untouched ;)
P.S.: of course this is just one frame without any further analysis... but nonetheless the result is insulting for x264
Clown shoes
19th February 2007, 23:46
@sillKotscha
This thread is about demuxing evobs which is exactly what woah! is doing. He clearly mentions in his post that he is testing out different methods to do such. Right now this is not quality discussion and I see no reason to flame someone who is working hard to find a solution we would all benefit from.
hd1080p
19th February 2007, 23:58
That explains why the picture looks blurry.
you should investigate more time into "how to encode using x264/MeGUI"... 'cause your encode could be considered as bad advertisement for MeGUI using x264 :o
I mean, you told us you used a HD video stream as your source and your resulting video clip is 8,14MB of size for 31sec ... c'mon
http://img255.imageshack.us/img255/5568/snapshotmv8.png (http://imageshack.us)
I bet you can do better or you should think about leaving the source untouched ;)
P.S.: of course this is just one frame without any further analysis... but nonetheless the result is insulting for x264
sillKotscha
20th February 2007, 00:02
yeah, sorry for interrupting your discussion... but as a member of a video-encoding forum for quite some time - his encode is cancer for my eyes... ;) - test or not - he published it to us and may live with the fact to get any kind of response...
btw, no flame intended, so just go ahead with your discussion
sillKotscha
20th February 2007, 00:10
That explains why the picture looks blurry.
you can get better looking encodes from regular DVD-sources at the same resolution... that's why I stressed out HD-source as I'm really "shocked" how this encode looks...
but it's another story and I better follow Clown shoes advice...
Clown shoes
20th February 2007, 00:27
That's cool sillKotscha, I wasn't having a pop at you. Just pointing out that what woah! was doing was purely functional in an attempt to show us what is possible with currently available tools. please do come and join the discussion. Right now the more the merrier, because the quicker we get an efficient system working, the quicker we can get back to focusing on quality. :)
woah!
20th February 2007, 01:22
as king kong is a 3+ hr movie, i am using the fastest settings which is why it looks a bit rough. my main reason for posting the clip was to show i got both video/audio synced and working.
i agree its not the best encode i could do.
one step at a time tho huh..
woah!
20th February 2007, 02:13
also for the other question about the audio.
i can only get a 2ch down mix from using intervideo's filter. i made a graph of just the ddp audio file linked to the Intervideo Audio Filter.
http://images.dr3vil.com/files2/default/graph11111.jpg
i then made a avs script pointing to this graph:
DirectShowSource("G:\1\SOUND1.GRF", video=false)
i then feed this script to BeHappy and piped it using this setup:
http://images.dr3vil.com/files2/default/graph111111.jpg
i ended up with the aac audio file which i muxed to the video.
i suppose a 6ch upmix could be done in behappy aswell but of course the original 6ch out of the dd+ would be better :)
LOGiC
20th February 2007, 08:59
@all,
I know this is a little bit OT and I am sorry for this. Are any guys of you recoding their HD-DVD backups to MPEG2 ? I tried recoding some, everything was quite well using 2pass high bitrate with Procoder, but I noticed grain, even if the source did not have much grain and some blocking was introduced in faster scenes. I am using an avisynth script with directshowsource to open up the .vc1 file in Procoder. Sorry for being OT, but anyone around in this thread who could give me some hints on using any deblockers/Denoiser/degrainer in the script and especially, how to use them ?
Thank you very much in advance.
rishardc
20th February 2007, 14:23
Has anyone been able to sucessfully mux other subtitle files to an HD-DVD MKV file? I was thinking about purchasing Old Boy and a few other HD-DVD titles from Japan that aren't subbed in english and I want to add subs to them. Anyone else try this?
Rectal Prolapse
20th February 2007, 17:22
LOGIC, maybe deblocking isn't enabled when decoding the VC-1 video in AVISynth? I am probably wrong but it would make a good explanation. :)
rishardC: Apparently someone has gotten external subtitles to work for HD-DVDs, in PowerDVD! Check the decrypting forum, I think there is a subtitle thread there!
LOGiC
20th February 2007, 20:04
@rectal prolapse
thank you very much for your reply Sir. Could you please tell me if I have to switch it on manually ? How do I do this please ?
@woah/all,
I really would like to use that graph shown below, but whatever I do it does not work. I have bought and installed WinDVD8 HD and in Graphedit I have used FileSource (async) and Intervideo Audio Decoder. Before that I registered iviaudio.ax if this is the right one, but the output pin from the .ddp stream does not connect with the Xform in. Can anyone help please ? I now managed to connect the pin's, but graphedit automatically switches sonic hd demuxer between them. If I load this script to beHappy, he always tell me processing and then done, but the output file has 0kb.
Thanks a thousand times in advance for the help.
Darth Pinous
21st February 2007, 17:36
I really would like to use that graph shown below, but whatever I do it does not work. I have bought and installed WinDVD8 HD and in Graphedit I have used FileSource (async) and Intervideo Audio Decoder.
Did you put Intervideo Demultiplexer between the FileSource and Intervideo Audio Decoder ?
I think that Woah's graph should work if the source is the ddp stream, not the EVO file.
By the way, after reading the 31 pages of this thread, I still have a few questions about audio :
- DD+ as a ddp file can only be decoded (and reencoded) if you build a graph, or can it be decoded directly by a directshow filter (intervideo, cyberlink, other...) ?
- what about other audio formats ? Can a MLP file (dolby TrueHD) be decoded ? Can a DTS-HD file be decoded (either than being decoded as a simple "DTS-SD" file) ?
Pelican9
21st February 2007, 18:52
Changes for v0.621
- New message window (rich text)
- Browse button for destination folder
- Display TrueHD (MLP) audio information (MLP: OK, TrueHD: unfinished)
- Display LPCM audio information
- New options: Auto read, Auto Demux, Auto Rebuild
EVOdemux v0.621 (http://pel.hu/down/EVOdemux.exe)
Rectal Prolapse
21st February 2007, 23:44
LOGIC: I have no idea! I did not find any options for it anywhere. :(
Besides, we're way off-topic now. :)
tomos
22nd February 2007, 03:29
possibly already been asked and answered.
does evodemux support blu-ray files?
drmpeg
22nd February 2007, 05:16
possibly already been asked and answered.
does evodemux support blu-ray files?
I've updated xport for Blu-ray.
http://www.w6rz.net/xport.zip
Typical usage for Blu-ray is:
xport -h movie.m2ts 1 1 1
Ron
enantiomer
22nd February 2007, 06:09
I've updated xport for Blu-ray.
http://www.w6rz.net/xport.zip
Typical usage for Blu-ray is:
xport -h movie.m2ts 1 1 1
Ron
YYESS! Thanks for taking the time to update this excellent tool.
MichalHabart
22nd February 2007, 07:23
I've updated xport for Blu-ray.
http://www.w6rz.net/xport.zip
Typical usage for Blu-ray is:
xport -h movie.m2ts 1 1 1
Ron
Is it possible to export also DTS track from Bluray with your script?
drmpeg
22nd February 2007, 07:48
Is it possible to export also DTS track from Bluray with your script?
Yes, but unless you're starting from the beginning of the movie, it will not be time aligned (only DD and MPEG-1 Layer 2 are time aligned for now until I find the specifications for the new audio formats). You can see how many audio streams are present by looking at the PID dump at the end of processing.
packets for pid 0 <0x0000> = 380, first = 1, last = 542119
packets for pid 31 <0x001f> = 40, first = 3229, last = 538182
packets for pid 256 <0x0100> = 380, first = 2, last = 542120
packets for pid 4097 <0x1001> = 397, first = 349, last = 543332
packets for pid 4113 <0x1011> = 418997, first = 26, last = 545111
packets for pid 4352 <0x1100> = 90865, first = 3, last = 545102
packets for pid 4353 <0x1101> = 11160, first = 293, last = 544521
packets for pid 4354 <0x1102> = 11160, first = 296, last = 544524
packets for pid 4355 <0x1103> = 5569, first = 298, last = 544742
packets for pid 4356 <0x1104> = 5569, first = 301, last = 544743
packets for pid 4608 <0x1200> = 594, first = 13959, last = 535168
Audio PID's start at 0x1100 and are numbered sequentially. This stream has five audio tracks (the first one is DTS-HD). To demux the other tracks, use:
xport -h movie.m2ts 1 1 2
or
xport -h movie.m2ts 1 1 3
or
xport -h movie.m2ts 1 1 4
or
xport -h movie.m2ts 1 1 5
Ron
kornesque
22nd February 2007, 13:59
sorry to jump into this discussion so late. i've read thru this entire thread, and it seems evodemuxer can pull the VC-1 stream (along with other PIDs) from the .evo file. is the resulting .mpv file actually WVC1 data, and should it be possible to play the stream as-is? this thread answers my questions, but in too many ways for me to draw a solid conclusion. i'd like to tinker with the concept, but don't want to invest in any un-neccesary software. thanks guys.
tomos
22nd February 2007, 15:00
I've updated xport for Blu-ray.
http://www.w6rz.net/xport.zip
Typical usage for Blu-ray is:
xport -h movie.m2ts 1 1 1
Ron
sweet. trying it now
thanks :)
--
update. worked :)
puppydg68
22nd February 2007, 16:58
sweet. trying it now
thanks :)
--
update. worked :)
just to add for the blu-ray world. Elecard Xmuxer Pro works very well with the blu-ray M2TS streams for demuxing. in fact its a 1 step process to remux the M2TS of a MPeg2 Blu-ray down to a single audio track of your choice for fast and easy xbox 360 streaming.
drag M2TS into the Remux section of elecard, chose a single audio track, click the arrow then start.
MichalHabart
22nd February 2007, 17:30
Yes, but unless you're starting from the beginning of the movie, it will not be time aligned (only DD and MPEG-1 Layer 2 are time aligned for now until I find the specifications for the new audio formats). You can see how many audio streams are present by looking at the PID dump at the end of processing.
packets for pid 0 <0x0000> = 380, first = 1, last = 542119
packets for pid 31 <0x001f> = 40, first = 3229, last = 538182
packets for pid 256 <0x0100> = 380, first = 2, last = 542120
packets for pid 4097 <0x1001> = 397, first = 349, last = 543332
packets for pid 4113 <0x1011> = 418997, first = 26, last = 545111
packets for pid 4352 <0x1100> = 90865, first = 3, last = 545102
packets for pid 4353 <0x1101> = 11160, first = 293, last = 544521
packets for pid 4354 <0x1102> = 11160, first = 296, last = 544524
packets for pid 4355 <0x1103> = 5569, first = 298, last = 544742
packets for pid 4356 <0x1104> = 5569, first = 301, last = 544743
packets for pid 4608 <0x1200> = 594, first = 13959, last = 535168
Audio PID's start at 0x1100 and are numbered sequentially. This stream has five audio tracks (the first one is DTS-HD). To demux the other tracks, use:
xport -h movie.m2ts 1 1 2
or
xport -h movie.m2ts 1 1 3
or
xport -h movie.m2ts 1 1 4
or
xport -h movie.m2ts 1 1 5
Ron
unfortunately, for stargate dts this does not work, track has more 4 hours after demuxing. And Xmuxer does not even see 3 aduio tracks, it shows me only 2 of them (DD5.1 and DD2.0). Anyone made any progress with this?
enantiomer
22nd February 2007, 20:37
unfortunately, for stargate dts this does not work, track has more 4 hours after demuxing. And Xmuxer does not even see 3 aduio tracks, it shows me only 2 of them (DD5.1 and DD2.0). Anyone made any progress with this?
If xport is not working, try TSreader. It reads 192 byte BDMV streams and will demux any PID or all PIDs. I have successfully demuxed dts using both tools now. Be aware that TSReader just does a simple demux of a PID with no further parsing; many of the tools will not accept the demuxed video PID directly, presumably because there is PCR data still embedded on that PID (Drmpeg correct me if I'm wrong).
I have confirmed that xport outputs a 'pure' VC-1 elementary stream that can be fed into the Sonic Video Decoder in the same way as with the demuxed streams from EVOs.
Chumbo
23rd February 2007, 03:49
Wow, my head is swirling from the info here. What an amazing thread. Learning a lot.
I was wondering. It looks like to get the frame count, you have to demux in EVOdemux. Is it possible to get the frame count during a rebuild?
Pelican9
23rd February 2007, 10:53
Wow, my head is swirling from the info here. What an amazing thread. Learning a lot.
I was wondering. It looks like to get the frame count, you have to demux in EVOdemux. Is it possible to get the frame count during a rebuild?
Uncheck the 'Fast EVO checking' and you'll get the frame numbers after 'Read EVO'.
honai
23rd February 2007, 16:05
@Pelican9
Do you have any plans making the source code of your extensions to drmpeg's evob_demux (which has sources included) public? If not, do you have plans integrating a command-line interface to your app so that it can be called from other GUI apps, instead of having those developers re-implement the same work that you already did?
Chumbo
23rd February 2007, 18:05
Uncheck the 'Fast EVO checking' and you'll get the frame numbers after 'Read EVO'.
Wow, I feel like an idiot. Thank you.
Pelican9
23rd February 2007, 18:33
Do you have any plans making the source code of your extensions to drmpeg's evob_demux (which has sources included) public? If not, do you have plans integrating a command-line interface to your app so that it can be called from other GUI apps, instead of having those developers re-implement the same work that you already did?
I can send the source to you if you want.
It will be public, but it need some improving (comments, etc.)
posdnya
23rd February 2007, 18:46
unfortunately, for stargate dts this does not work, track has more 4 hours after demuxing. And Xmuxer does not even see 3 aduio tracks, it shows me only 2 of them (DD5.1 and DD2.0). Anyone made any progress with this?
Please, do not hesitate to bother Elecard's technical support with questions like - "why your XMuxer do not show all 3 audio tracks in my video".
Please, send the problem file (a few megabytes) to our support team and quote my post, it will help our guys to work a bit faster on your request.
All the best,
Andrey Posdnyakov
zgx
23rd February 2007, 22:42
I’m looking for the perfect solution to backup my HD DVDs (just like everyone else). Quality is very important and I do not want to transcode or alter the video or audio streams in any way.
But since I don’t have unlimited amount of disk space I would like to remove extra material, in-movie experience and foreign soundtracks to preserve storage.
If I edit VPLST000.XPL it’s easy to remove the extra material keeping just the main movie and menu. But the foreign soundtracks and in-movie experience are imbedded in the main EVOB files. Using EVOdemux it’s easy to rebuild the EVOBs with just the streams I would like to keep. The new rebuilt EVOB is playable in PowerDVD it’s just that without the menu it’s not possible to change audio streams or use subtitles. In order to get the menu and that other stuff working I need to keep some of the other files from the HD DVD. Example of how the stripped HD DVD can look:
ADV_OBJ \DISCID.DAT
ADV_OBJ \menu.aca
ADV_OBJ \VPLST000.XPL
HVDVD_TS \HVA00001.VTI
HVDVD_TS \PEVOB_1.EVO
HVDVD_TS \PEVOB_1.MAP
HVDVD_TS \PEVOB_2.EVO
HVDVD_TS \PEVOB_2.MAP
My problem is that the original .MAP files do not match the new rebuilt EVOBs and I believe that is why I’m getting bad playback. If I use the original EVOBs everything works fine just that they are larger then they need to be.
Does anyone have any idea how to create new .MAP files for the rebuilt EVOBs created with EVOdemux?
I would also like to request a feature in EVOdemux. If it was possible to split the output when rebuilding EVOBs into several smaller EVOBs it would be easier to store them on cheaper media like DVD-R for example.
Best regards,
Zgx
PS. Keep up the great work Pelican9 it’s truly appreciated!
honai
24th February 2007, 14:04
I can send the source to you if you want.
It will be public, but it need some improving
Thanks, much appreciated. I sent you a PM.
Pelican9
26th February 2007, 00:34
Changes for v0.622
- EVOB infos (VOB number, first PTM, last PTM, Duration of video stream!)
- Calculated frame number It might come in handy!
- Auto clear option
- Minor changes on the GUI
Changes for v0.621
- New message window (rich text)
- Browse button for destination folder
- Display TrueHD (MLP) audio information (MLP: OK, TrueHD: unfinished, need info)
- Display LPCM audio information
- New options: Auto read, Auto Demux, Auto Rebuild
Download: EVOdemux v0.622 (http://pel.hu/down/EVOdemux.exe)
tomos
26th February 2007, 01:10
Changes for v0.622
- EVOB infos (VOB number, first PTM, last PTM, Duration of video stream!)
- Calculated frame number It might come in handy!
- Auto clear option
- Minor changes on the GUI
Changes for v0.621
- New message window (rich text)
- Browse button for destination folder
- Display TrueHD (MLP) audio information (MLP: OK, TrueHD: unfinished, need info)
- Display LPCM audio information
- New options: Auto read, Auto Demux, Auto Rebuild
Download: EVOdemux v0.622 (http://pel.hu/down/EVOdemux.exe)
thanks again pelican :)
any thoughts on an option to listen to the various audio tracks one by one? just to know what each one is and deselect when re/de muxing :)
--
unfortunately, for stargate dts this does not wok, track has more 4 hours after demuxing. And Xmuxer does not even see 3 aduio tracks, it shows me only 2 of them (DD5.1 and DD2.0). Anyone made any progress with this?
i had the same problem with the blu ray xmen 3 (AVC). xport gave me corrupted video and audio (trying again now with a newer version). xmuxer pro doesnt see the DTS track and also crashes when trying to demux anything - only movie this happens in so far.
update - newer xport worked a treat :)
Pelican9
26th February 2007, 01:25
any thoughts on an option to listen to the various audio tracks one by one? just to know what each one is and deselect when re/de muxing :)
1. Use Powerdvd
2. Read the XPL (with EVOdemux...)
tomos
26th February 2007, 01:30
at the mo i just demux everything and listen to the tracks to find what i want. just thought it would save some time :o
JnZ
26th February 2007, 13:05
Changes for v0.622
- EVOB infos (VOB number, first PTM, last PTM, Duration of video stream!)
- Calculated frame number It might come in handy!
- Auto clear option
- Minor changes on the GUI
Hi Pelican9,
I discovered small bug...while demuxing, when I click to button "cancel", messagebox with question shows up, but when I click "No", anyway a message "Cancelled." is added in main windows with log.... I think this shouldn't be happend... :)
Second thing, after demuxing HD DVD EVO demux throws this error: "Invalid floating point operation."
Pelican9
26th February 2007, 13:54
Hi Pelican9,
I discovered small bug...while demuxing, when I click to button "cancel", messagebox with question shows up, but when I click "No", anyway a message "Cancelled." is added in main windows with log.... I think this shouldn't be happend... :)
Second thing, after demuxing HD DVD EVO demux throws this error: "Invalid floating point operation."
Thanks!
I've fixed both.
Download again.
3ngel
26th February 2007, 14:47
@Pelican9
I can suggest, for a question of readability to put a
"Number of Channels" in the Audio info.
Ex. Number of Channels = 5.1 (LFE)
Ex. Number of Channels = 2.0
etc
zeroprobe
27th February 2007, 12:16
anyone else get an error message 'Invalid floating point....' at the end of the demux.
Im just trying hddvd demuxer 1.2 see what happens.
EDIT: oops just read the above with my floating point error.
holzi
27th February 2007, 13:05
haali released a new version of the haali demuxxer.
It works with VC-1 now.
http://haali.cs.msu.ru/mkv/ ( enable MPEG-Ts support)
So open our evo with haali and you can decode it with fdshow-tryouts. Works well.
Gonne make some encoding testing etc now.
Edit:
Ok did some quick encoding test.
First off all you have to put it in mkv file mit haali muxxer. Then open it up with mkvmuxgui and create a new mkv with timecode file:
# timecode format v1
assume 23.976
This method was mentioned few pages back ,too
After that you can open it in avisynth with directshowsource. ( if fdshow is setup up correctly)
Did a quick xvid encode and didn't find any duplicate or missing frames.
framecout is a little of to what EVOdemux said.
EVOdemux:
1567 counted frames (0:01:05.357) in video stream 0.
1564 calculated frames.
Xvid: 1559 frames
Don't know whats off there. I couldn't find any missing frames with this sample I had. Will try some other samples sometime today
Of cause the dd+ decoding still has to be solved :)
tomos
27th February 2007, 14:59
tried here. works. the avi and mkv file try to play back using 'WMV9_Advanced_Profile_Decoder' which doesnt work for me. if i change this in graphedit to sonics codec then it plays.
i cant seem to disable the wmv decoder :(
KoD
27th February 2007, 15:18
tomos, have you upgraded to WMP 11 or at least you have updated your codecs to be able to handle VC-1 with wmfdist11.exe (it's inside the wmp11 installer/ practically a self-extractable zip archive)
tomos
27th February 2007, 15:33
havent actually. always avoided wmp.
will grab that now though :)
ta
holzi
27th February 2007, 15:46
you have to enable wvc1 decoder in ffdshow.
http://img243.imageshack.us/img243/3261/ffdshowpj1.th.jpg (http://img243.imageshack.us/my.php?image=ffdshowpj1.jpg)
( http://sourceforge.net/project/showfiles.php?group_id=173941 , get the latest one )
Both decoder work for me. Don't know which one is better.
I don't have the cpu to test playback anyway :)
gn!uz
27th February 2007, 16:40
Can anyone tell me how to obtain the framecount from a demuxed (xport) bluray vc1? And what is the exact fps for bluray? Can't find any info on this.. Muchos Gracias!
MichalHabart
27th February 2007, 17:28
Does anyone know how to export PCM from bluray disc? I tried to demux it xport but it can see only DD5.1 tracks, same xmuxer. Any thoughts?
enantiomer
27th February 2007, 17:40
Does anyone know how to export PCM from bluray disc? I tried to demux it xport but it can see only DD5.1 tracks, same xmuxer. Any thoughts?
Try TSReader. It understands 192 byte transport streams, and it can demux any PID to a binary file. I haven't tried to use the demuxed PCM file yet, but it should be useable.
Jan2001
27th February 2007, 17:44
you have to enable wvc1 decoder in ffdshow.
http://img243.imageshack.us/img243/3261/ffdshowpj1.th.jpg (http://img243.imageshack.us/my.php?image=ffdshowpj1.jpg)
( http://sourceforge.net/project/showfiles.php?group_id=173941 , get the latest one )
Both decoder work for me. Don't know which one is better.
I don't have the cpu to test playback anyway :)
ffdshow does not really work here.
Menuintro.evo of Miami Vice plays well in MPC+ffdshow with both decoders, but at the wrong framerate (29.97).
The main movie does not play at all.
holzi
27th February 2007, 17:51
you have to put the movie in a mkv container. Like written few posts up :)
MichalHabart
27th February 2007, 18:52
Try TSReader. It understands 192 byte transport streams, and it can demux any PID to a binary file. I haven't tried to use the demuxed PCM file yet, but it should be useable.
TSReader shows me only 2 audio tracks and 2 video tracks. I assume that the second video is in fact LPCM track but how to extract this whole track to one file?
idamien
27th February 2007, 19:41
Hi...
Hmmm, just downloaded the latest Haali from the link posted and installed it. Then tried to build a graph from the demuxed VC-1 .mpv file to the "Haali Demuxer" to ffdshow tryout MPEG-4 decoder but couldn´t find anything named Haali that would work...
Also, how did you mux the VC-1 to .mkv?
Could you please reply with the steps you followed?
Thanks.
holzi
27th February 2007, 19:49
haali media splitter ( open evo not raw vc-1 stream)
--> Connect to haali matroska muxxer. or to ffdshow for direct playback ( will output 29,76 fps) with the remuxx in MKV you can get it to play at 23.976 fps
enantiomer
27th February 2007, 20:27
TSReader shows me only 2 audio tracks and 2 video tracks. I assume that the second video is in fact LPCM track but how to extract this whole track to one file?
Yes, the 2nd "video track" should be LPCM. I'm not sitting in front of a PC with TSReader, so this is only a rough outline from memory:
1. Choose file.dll as your source, and open the m2ts file.
2. Choose File -> Stop Source. This will cause TSReader to stop playing the m2ts file.
3. There is a pulldown menu to Record PIDs. Choose the PIDs you want to record, select the option to record to separate files, and it will prompt you for a folder to demux the PIDs into.
4. Choose File -> Restart source, and TSreader will demux your PIDs starting from the beginning of the m2ts file.
Beyond that, I'm not sure how to manipulate the binary LPCM file. It probably is NOT raw LPCM but will likely be in some kind of elementary stream container with PTS, etc.
toxik
27th February 2007, 20:35
edit: n/m, i fixed it by muxing it to mkv
tomos
27th February 2007, 21:22
you have to enable wvc1 decoder in ffdshow.
http://img243.imageshack.us/img243/3261/ffdshowpj1.th.jpg (http://img243.imageshack.us/my.php?image=ffdshowpj1.jpg)
( http://sourceforge.net/project/showfiles.php?group_id=173941 , get the latest one )
Both decoder work for me. Don't know which one is better.
I don't have the cpu to test playback anyway :)
tried it but it doesnt work for me. i checked the filters used in mpc and its always sonics. if i unregister those then i get no playback at all.
tried choosing libavcodec and wmv9 in both vfw and video decoder configs - no joy.
Jan2001
27th February 2007, 23:42
you have to put the movie in a mkv container. Like written few posts up :)
Thanks, works fine now. I'd say wmv9 decoder is better as libavcodec still can't decode artifactfree.
All we need now is a way to decode DD+.
idamien
28th February 2007, 05:22
@holzi
Thanks, working fine now...
MichalHabart
28th February 2007, 07:28
Yes, the 2nd "video track" should be LPCM. I'm not sitting in front of a PC with TSReader, so this is only a rough outline from memory:
1. Choose file.dll as your source, and open the m2ts file.
2. Choose File -> Stop Source. This will cause TSReader to stop playing the m2ts file.
3. There is a pulldown menu to Record PIDs. Choose the PIDs you want to record, select the option to record to separate files, and it will prompt you for a folder to demux the PIDs into.
4. Choose File -> Restart source, and TSreader will demux your PIDs starting from the beginning of the m2ts file.
Beyond that, I'm not sure how to manipulate the binary LPCM file. It probably is NOT raw LPCM but will likely be in some kind of elementary stream container with PTS, etc.
Yes, this worked and i now have 4GB file that can not be played :) It seems to be some sort of binary PCM but what to do with it now it's mistery to me :(
drmpeg
28th February 2007, 07:38
Yes, this worked and i now have 4GB file that can not be played :) It seems to be some sort of binary PCM but what to do with it now it's mistery to me :(
You should be able to use Goldwave to play the samples, but you can only play 2 channels at once. I have a tool to extract a channel pair, but a short (50 to 100 MB) sample of a .m2ts with LPCM would be good to test with.
I've also updated xport to demux LPCM streams:
http://www.w6rz.net/xport.zip
Ron
MichalHabart
28th February 2007, 09:32
You should be able to use Goldwave to play the samples, but you can only play 2 channels at once. I have a tool to extract a channel pair, but a short (50 to 100 MB) sample of a .m2ts with LPCM would be good to test with.
I've also updated xport to demux LPCM streams:
http://www.w6rz.net/xport.zip
Ron
Hi, thnaks for fast respond. I tried your newest version of xport but i still get only 2 audio tracks, LPCM is missing. Is there any tool to show me if this track is really in there and what number he has?
Or if you have something that can split m2ts file, i can send you this sample
Edit: I used your head tool and now i have 50MB of sample file. Where do you want me to upload it?
idamien
28th February 2007, 10:35
Hi again,
I had some free time the last few days and I decided to write my first guide: a very simple and short guide to backing up HD-DVD VC-1 discs (video only for now) to x264 using only free software under Windows Vista (it might work on XP)... Mainly for people who want to backup their HD-DVDs but don´t have the time to browse and/or read the forums...
Can I put it up here on Doom9? How do I go about doing that?
Thanks...
foxyshadis
28th February 2007, 10:41
Put it in a zip and attach it to a post, or upload it to free webspace (like googlepages) and offer a link. Uploading it saves waiting time for attachment approval, makes it easier to browse, and makes it indexable by search engines, though.
idamien
28th February 2007, 11:00
Is there a specific thread to post the .zip file to or should I post it here with a request to be put on the Guides section?
Thanks.
MichalHabart
28th February 2007, 11:07
Is there a specific thread to post the .zip file to or should I post it here with a request to be put on the Guides section?
Thanks.
I think you can post it here.
drmpeg
28th February 2007, 11:26
Hi, thnaks for fast respond. I tried your newest version of xport but i still get only 2 audio tracks, LPCM is missing. Is there any tool to show me if this track is really in there and what number he has?
Or if you have something that can split m2ts file, i can send you this sample
Edit: I used your head tool and now i have 50MB of sample file. Where do you want me to upload it?
Can you try this one?
http://www.rogepost.com/
Ron
idamien
28th February 2007, 11:37
OK...
Here it goes: HD-DVD to x264 (video only) using free software under Windows Vista. Written by idamien.
Can someone please post this guide on the "Guides" section???
Thanks a lot.
MichalHabart
28th February 2007, 11:38
Can you try this one?
http://www.rogepost.com/
Ron
OK, sample is here:
http://www.rogepost.com/n/1781324427
Hopefully it will be usefull for you. According to info there should be 3 audio tracks, 1 LPCM and 2 DD.
idamien
28th February 2007, 11:40
Sent the file to "Roge Post" with address http://www.rogepost.com/n/7035144398
...
Is this right?
MichalHabart
28th February 2007, 11:40
OK...
Here it goes: HD-DVD to x264 (video only) using free software under Windows Vista. Written by idamien.
Can someone please post this guide on the "Guides" section???
Thanks a lot.
And what about that zip file? I can't see any attachment ;)
idamien
28th February 2007, 11:43
Were you able to download it???
Please advise...
MichalHabart
28th February 2007, 11:51
Were you able to download it???
Please advise...
Yes and i've already went thru :)
Probably would be good for Vista user (if there are any)
idamien
28th February 2007, 11:55
Can it be posted in the Guides section???
Daodan
28th February 2007, 12:05
For me, xport worked well on all titles with LPCM I tried. The not so well part is that I am unable to play it or otherwise open it with anything. Is it because of the fact it's 24 bit or some missing header etc? (hmm, tried only on samples, maybe I should try on a full title).
foxyshadis
28th February 2007, 12:25
Can it be posted in the Guides section???
Only if it's vetted by Doom9 first, you'll need to PM him. Presumably the community can edit and expand/improve if necessary beforehand.
Pelican9
28th February 2007, 13:05
Were you able to download it???
Please advise...
Good work!
Is this the right folder name?
C:\Movie\Rip\HDDVD_TS\ (or C:\Movie\Rip\HVDVD_TS\)
The last pic is missing. I mean, I see only a word 'pic' .
kuklitis
28th February 2007, 13:14
Were you able to download it???
Please advise...
>>>>>>>>
I also went through the guide and can say that it's decent job for the starter !
but I think that usage proportion Vista vs. XP right now is like 1:20, so the guide for XP is much more necesary ! :)
Anyway I think there are very minor changes in XP considering this guide if there is some at all ...
And we can get out stereo sound already and it is only wise to show how to incorporate this stereo together with video, cause there will be around 20% (my vague estimate :rolleyes: ) that would be satisfied with stereo only and no need for 5.1 or better ...
agentusa
28th February 2007, 13:58
Stereo sound would be very useful. I'm sure I'm not the only one that's going to be converting my HD-DVD's into 720p x264 with 2 channel audio so they can be played by an Apple TV.
MichalHabart
28th February 2007, 14:10
Stereo sound would be very useful. I'm sure I'm not the only one that's going to be converting my HD-DVD's into 720p x264 with 2 channel audio so they can be played by an Apple TV.
I have to disagree with you. i am also converting HD-DVD to 720p but i would love to have also 5.1 sound (DTS would be the best choice)
idamien
28th February 2007, 14:36
Hi again...
Sorry, insomnia caught up with me and I had to crash for a few hours... I´m on holidays here in my country and thus the spare time.
Yes, you are right, there is a pic missing... I´ll fix it and post the .zip file again... About the audio conversion: has anyone been able to extract 5.1 sound out of the DD+ tracks? I think that only stereo from and HD-DVD won´t be very satisfying for most people... Then again, I may be wrong...
About putting the guide in the Guides section, how do I go about getting Doom9 to approve of it? Do you guys have any suggestions for adding or changes other than sound? I was thinking about already uploading the guide with instructions for the subtitle tracks, but I can´t get SUPRead to work withouth giving Memory Access Violation errors in Vista, so...
What do you think? Thanks...
Pelican9
28th February 2007, 14:49
Hi again...
Sorry, insomnia caught up with me and I had to crash for a few hours... I´m on holidays here in my country and thus the spare time.
Yes, you are right, there is a pic missing... I´ll fix it and post the .zip file again... About the audio conversion: has anyone been able to extract 5.1 sound out of the DD+ tracks? I think that only stereo from and HD-DVD won´t be very satisfying for most people... Then again, I may be wrong...
About putting the guide in the Guides section, how do I go about getting Doom9 to approve of it? Do you guys have any suggestions for adding or changes other than sound? I was thinking about already uploading the guide with instructions for the subtitle tracks, but I can´t get SUPRead to work withouth giving Memory Access Violation errors in Vista, so...
What do you think? Thanks...
If you put the option settings of evodemux (pic 6) first, the pic 5 is not neccessary.
So pic6, pic4 instead of pic4, pic5, pic6
idamien
28th February 2007, 15:20
Hi Pelican9 and thanks for the great work with EVODemux and SUPRead!!!
Yes, it´s HDDVD_TS (not HVDVD_TS)... I´m fixing it now... thanks!
As for pic 5: are you referring to the pic with the "Read EVO" button highlighted??? Do you really think it´s not necessary?
agentusa
28th February 2007, 15:29
I have to disagree with you. i am also converting HD-DVD to 720p but i would love to have also 5.1 sound (DTS would be the best choice)
Sorry, I didn't mean to imply that 5.1 sound would not be useful. But for now, if we can convert DD+ to stereo, I would like to see it in the guide. Thanks.
drmpeg
28th February 2007, 15:42
OK, sample is here:
http://www.rogepost.com/n/1781324427
Hopefully it will be usefull for you. According to info there should be 3 audio tracks, 1 LPCM and 2 DD.
Very useful. Here's the latest version of xport with tested LPCM demuxing. For now, it creates a 2-channel raw audio file that can be read (and played) by Goldwave.
http://www.w6rz.net/xport.zip
This is version 0.93 (I just started counting at 0.9).
For the sample file:
C:\xfer>xport -h head.m2ts 1 1 2
xport Transport Stream Demuxer 0.93
program = 1, video channel = 1, audio channel = 2
Program Number = 0 (0x0000), Program Map PID = 31 (0x001f)
Program Number = 1 (0x0001), Program Map PID = 256 (0x0100)
program descriptor = 0x05, 0x04, 0x48, 0x44, 0x4d, 0x56
program descriptor = 0x88, 0x04, 0x0f, 0xff, 0xff, 0xfc
Video PID = 4113 <0x1011>, type = 0x02
ES descriptor for stream type 0x02 = 0x05, 0x08, 0x48, 0x44, 0x4d, 0x56, 0xff, 0
x02, 0x61, 0x3f
ES descriptor for stream type 0x81 = 0x05, 0x04, 0x41, 0x43, 0x2d, 0x33
ES descriptor for stream type 0x81 = 0x81, 0x04, 0x06, 0x48, 0x0e, 0x00
Audio PID = 4353 <0x1101>, type = 0x80
ES descriptor for stream type 0x80 = 0x05, 0x08, 0x48, 0x44, 0x4d, 0x56, 0xff, 0
x80, 0x61, 0x7f
ES descriptor for stream type 0x81 = 0x05, 0x04, 0x41, 0x43, 0x2d, 0x33
ES descriptor for stream type 0x81 = 0x81, 0x04, 0x06, 0x48, 0x0e, 0x00
Sequence Header found
0 frames before first Sequence Header
Horizontal size = 1920
Vertical size = 1080
Aspect ratio = 16:9
Frame rate = 23.976
Sequence header bitrate = 30000000 bps
Progressive Sequence = 1
First Video PTS = 0x000ffff0
LPCM Audio Mode = 3/2+lfe
LPCM Audio Bits/sample = 16
LPCM Audio Sample Rate = 48000
ts rate = unspecified, video rate = 15194822
packets for pid 0 <0x0000> = 205, first = 1, last = 259620
packets for pid 31 <0x001f> = 22, first = 3, last = 254928
packets for pid 256 <0x0100> = 205, first = 2, last = 259621
packets for pid 4097 <0x1001> = 214, first = 4, last = 259429
packets for pid 4113 <0x1011> = 180949, first = 5, last = 260315
packets for pid 4352 <0x1100> = 8688, first = 246, last = 260283
packets for pid 4353 <0x1101> = 61446, first = 248, last = 260417
packets for pid 4354 <0x1102> = 8688, first = 251, last = 260285
coded frames = 456, video frames = 456
C:\xfer>
You should be able to listen to bits0001.mpa in Goldwave. When it asks you for the raw file format, choose "PCM signed 16 bit, big endian, stereo" and 48000 Rate(Hz).
For multi-channel audio, we'll have to decide what the best raw file format is. Either one file wit all channels, or multiple files with a pair of channels each.
Ron
PurpleMan
28th February 2007, 16:19
Suppose I demux the EVO to VC1/AC3/SUP files, then I reencode the VC1 into an h264 HD-DVD compliant file.
My goal would be to then reauthor (or remux) the h264 to replace the demuxed VC1 and remux h264/AC3/SUP back to a .EVO file to replace the original on the disc.
Hopefully this would mean I could reburn the HDDVD content, only with my reencoded h264 to a DVDR-DL.
the big question is -
how can we generate .MAP file for the new authored/muxed EVO, I managed to make a .EVO with scenarist 4.1, but it only builds it in IFO-based structure, so no .MAPs.
MichalHabart
28th February 2007, 16:40
Very useful. Here's the latest version of xport with tested LPCM demuxing. For now, it creates a 2-channel raw audio file that can be read (and played) by Goldwave.
http://www.w6rz.net/xport.zip
This is version 0.93 (I just started counting at 0.9).
For the sample file:
C:\xfer>xport -h head.m2ts 1 1 2
xport Transport Stream Demuxer 0.93
program = 1, video channel = 1, audio channel = 2
Program Number = 0 (0x0000), Program Map PID = 31 (0x001f)
Program Number = 1 (0x0001), Program Map PID = 256 (0x0100)
program descriptor = 0x05, 0x04, 0x48, 0x44, 0x4d, 0x56
program descriptor = 0x88, 0x04, 0x0f, 0xff, 0xff, 0xfc
Video PID = 4113 <0x1011>, type = 0x02
ES descriptor for stream type 0x02 = 0x05, 0x08, 0x48, 0x44, 0x4d, 0x56, 0xff, 0
x02, 0x61, 0x3f
ES descriptor for stream type 0x81 = 0x05, 0x04, 0x41, 0x43, 0x2d, 0x33
ES descriptor for stream type 0x81 = 0x81, 0x04, 0x06, 0x48, 0x0e, 0x00
Audio PID = 4353 <0x1101>, type = 0x80
ES descriptor for stream type 0x80 = 0x05, 0x08, 0x48, 0x44, 0x4d, 0x56, 0xff, 0
x80, 0x61, 0x7f
ES descriptor for stream type 0x81 = 0x05, 0x04, 0x41, 0x43, 0x2d, 0x33
ES descriptor for stream type 0x81 = 0x81, 0x04, 0x06, 0x48, 0x0e, 0x00
Sequence Header found
0 frames before first Sequence Header
Horizontal size = 1920
Vertical size = 1080
Aspect ratio = 16:9
Frame rate = 23.976
Sequence header bitrate = 30000000 bps
Progressive Sequence = 1
First Video PTS = 0x000ffff0
LPCM Audio Mode = 3/2+lfe
LPCM Audio Bits/sample = 16
LPCM Audio Sample Rate = 48000
ts rate = unspecified, video rate = 15194822
packets for pid 0 <0x0000> = 205, first = 1, last = 259620
packets for pid 31 <0x001f> = 22, first = 3, last = 254928
packets for pid 256 <0x0100> = 205, first = 2, last = 259621
packets for pid 4097 <0x1001> = 214, first = 4, last = 259429
packets for pid 4113 <0x1011> = 180949, first = 5, last = 260315
packets for pid 4352 <0x1100> = 8688, first = 246, last = 260283
packets for pid 4353 <0x1101> = 61446, first = 248, last = 260417
packets for pid 4354 <0x1102> = 8688, first = 251, last = 260285
coded frames = 456, video frames = 456
C:\xfer>
You should be able to listen to bits0001.mpa in Goldwave. When it asks you for the raw file format, choose "PCM signed 16 bit, big endian, stereo" and 48000 Rate(Hz).
For multi-channel audio, we'll have to decide what the best raw file format is. Either one file wit all channels, or multiple files with a pair of channels each.
Ron
Thanks for that, i will definitely try. Now the only thing is to find out to what file put multichannel, as you said. I think best will be 6 mono wavs or 1 multiwav, if possible.
Jack-Bauer
28th February 2007, 16:44
I have to disagree with you. i am also converting HD-DVD to 720p but i would love to have also 5.1 sound (DTS would be the best choice)
Hello everybody,
I am surprised that nobody in this forum noticed that the so-called 2.0 output delivered by the IntervideoAudioDecoder is in fact a Dolby Prologic II signal containing all the information needed for channel routing.
Starting from that evidence, it is easy to upmix to 5.1 channels with very good results, see:
http://forum.doom9.org/showthread.php?s=&threadid=57736
I have personally reencoded a couple of HD-DVDs DD+ tracks into AC3-5.1 using this technique.
As the IntervideoAudioProcessorFX is an active filter using patented software from Dolby, the output is like to be the best for such an upmix.
You will be surprised by an excellent centering of the voices as well as excellent surrounding effects. Even did I notice actual stereo in the rear channels. Friends of mine have been completely mistaken by the result ("whouah....such a sound!". No comment...)
Of course, the DirectX 2GB limit can be overcome by splitting the 2.0 track into 50-minute parts prior to upconverting, giving smaller-than-2GB 6-channel wav files. The split 5.1 files are then reassembled in VEGAS, using the 2.0 track for synchro.
Why dont you give it a try?
Pelican9
28th February 2007, 16:59
Yes, it´s HDDVD_TS (not HVDVD_TS)... I´m fixing it now... thanks!
backwards :)
As for pic 5: are you referring to the pic with the "Read EVO" button highlighted??? Do you really think it´s not necessary?
No. pic 5 = 0005.jpg with the Cancel button.
MichalHabart
28th February 2007, 17:05
Hello everybody,
I am surprised that nobody in this forum noticed that the so-called 2.0 output delivered by the IntervideoAudioDecoder is in fact a Dolby Prologic II signal containing all the information needed for channel routing.
Starting from that evidence, it is easy to upmix to 5.1 channels with very good results, see:
http://forum.doom9.org/showthread.php?s=&threadid=57736
I have personally reencoded a couple of HD-DVDs DD+ tracks into AC3-5.1 using this technique.
As the IntervideoAudioProcessorFX is an active filter using patented software from Dolby, the output is like to be the best for such an upmix.
You will be surprised by an excellent centering of the voices as well as excellent surrounding effects. Even did I notice actual stereo in the rear channels. Friends of mine have been completely mistaken by the result ("whouah....such a sound!". No comment...)
Of course, the DirectX 2GB limit can be overcome by splitting the 2.0 track into 50-minute parts prior to upconverting, giving smaller-than-2GB 6-channel wav files. The split 5.1 files are then reassembled in VEGAS, using the 2.0 track for synchro.
Why dont you give it a try?
I tried but what filetype are you using as source for graphedit? and i can't see any filter called IntervideoAudioProcessorFX in my graphedit even if i have intervideo windvd installed :( can you please paste here some sort walkthrought how you actually did this?
MichalHabart
28th February 2007, 17:23
And one more thing, what is MLP audio track? It should some sort of lossless audio, right? Is there some way to decode it to something playable, for example DTS or DD?
Jack-Bauer
28th February 2007, 17:39
I tried but what filetype are you using as source for graphedit? and i can't see any filter called IntervideoAudioProcessorFX in my graphedit even if i have intervideo windvd installed :( can you please paste here some sort walkthrought how you actually did this?
I will be posting a tutorial on BinnewZ (french) by the end of the week and will translate it as soon as possible.
For the intervideo filter, you probably need to get this rev:
Binsearch: Windvd.8.Hd-Dvd.Blu-Ray
In the meanwhile:
http://www.binnewsgroup.com/binnewz/index.php?act=tutorial&CODE=03&id=92
Last part "ENCODAGE AUDIO" to get the 2.0 wav file.
Then the upmix:
FileSource(async) "in-2ch.wav" => WaveParser => IntervideoAudioProcessorFx => WAVdest => FileWriter "out-6ch.wav"
I will provide you with a hard-wired "upmix.grf" file which takes c:\track2.wav and outputs c:\upmix6.wav
This patched GRF file will prevent you from having to HEXedit the output file as required in:
http://forum.doom9.org/showthread.php?s=&threadid=57736
Jack
Darth Pinous
28th February 2007, 17:44
I will be posting a tutorial on BinnewZ (french) by the end of the week and will translate it as soon as possible.
Jack
Merci pour le guide sur Binnews, Jack.
That's good to finally here something out of a DD+ track !
Do you know if it's possible to feed Scenarist Nav Filter directly with a DD+ track (like a ddp file) ?
Does it work for Dolby TrueHD audio tracks too ?
zgx
28th February 2007, 17:53
From what I understand every E-AC-3 stream contains a 640Kbps "AC-3 core" that can be extracted by DD+ capable software.
Most of the DD+ soundtracks on HD DVD movies that I have seen have been at 640Kbps (only a few have been higher).
Am I correct when I assume that audio information found in a 640Kbps E-AC-3 stream is identical to the "AC-3 core" of the same stream?
Pelican9
28th February 2007, 17:54
What about DTS? Why nobody wants to make DTS audio track (where avaiable)?
Pelican9
28th February 2007, 17:55
Am I correct when I assume that audio information found in a 640Kbps E-AC-3 stream is identical to the "AC-3 core" of the same stream?
Shortly: No.
It needs a partially re-encode to get a normal ac3 sound.
PowerDVD can do it during playback...
zgx
28th February 2007, 17:57
And one more thing, what is MLP audio track? It should some sort of lossless audio, right? Is there some way to decode it to something playable, for example DTS or DD?"Meridian Lossless Packing" a lossless compression technique for audio that is the base for Dolby TrueHD. For more information see:
http://en.wikipedia.org/wiki/Meridian_Lossless_Packing
http://en.wikipedia.org/wiki/Dolby_TrueHD
orbitlee
28th February 2007, 18:22
Well, another DD+ decoder. So we know Intervideo audio decoder outputs 2.0 instead of 5.1.
asasadad_1 mentioned that Sonic decoder pack can work with EVOB/VC1/DD+ at http://forum.doom9.org/showthread.php?p=962436#post962436
I tried sonic decoder pack on two PCs, works on one PC, does not work on another PC. No idea what's wrong.
Anyway, I modified DTS/AC3/DD+ source filter which can work with sonic audio decoder. The source filter I posted a few pages eariler does not work(need small tweak). I'm pretty sure the output is real 5.1. You may want to give it a try
http://www.sendspace.com/file/knvhiz
For the sonic decoder pack, PM me please.
Jan2001
28th February 2007, 18:58
Then the upmix:
FileSource(async) "in-2ch.wav" => WaveParser => IntervideoAudioProcessorFx => WAVdest => FileWriter "out-6ch.wav"
Thanks for your ideas, but that connecting filesource and waveparser crashes graphedit. Any idea why?
Furthermore I do not have a filter called wavdest? Where to get from?
MichalHabart
28th February 2007, 19:01
What about DTS? Why nobody wants to make DTS audio track (where avaiable)?
I always use DTS track if it is available.
And thatswhy i am interested how to decode MLP or LPCM because it can be passed into DTS :)
Jack-Bauer
28th February 2007, 19:22
Thanks for your ideas, but that connecting filesource and waveparser crashes graphedit. Any idea why?
Furthermore I do not have a filter called wavdest? Where to get from?
Try loading your 2.0 wav into filesource(sync), then click-right on the output pin and render it. Just keep the first two filters and delete the rest. Then try to connect the leftover output pin to the IntervideoAudioProcessorFx filter.
WAVdest.ax is part of the graphedit pack. You just have to register it in a DOS-like window:
regsvr32.exe wavdest.ax
Jack
zgx
28th February 2007, 19:31
What about DTS? Why nobody wants to make DTS audio track (where avaiable)?I think that 1,509 Mbps DTS is the best sounding multichannel signal that can be sent over an S/PDIF interface (please correct me if I'm wrong here). If that is the case it's what I would like on most backups if the source has a lossless audio track.
Hwindu
28th February 2007, 19:34
"Meridian Lossless Packing" a lossless compression technique for audio that is the base for Dolby TrueHD. For more information see:
http://en.wikipedia.org/wiki/Meridian_Lossless_Packing
http://en.wikipedia.org/wiki/Dolby_TrueHD
I’ve been looking into MLP track, it’s not a regular MLP as it was in DVD- Audio.
A bunch of DVD Audio authoring software out there wouldn’t recognize the MLP extracted with EVODemux. I think it’s encapsulated into Dolby TrueHD format somehow and as we know, there is no Dolby TrueHD software decoder yet.
If we’ll be able somehow decode this track, we would be able to encode it to another lossless multichannel codec like FLAC or WMA and add it to a new container, and play on computer without HDMI.
madshi
28th February 2007, 19:36
Well, another DD+ decoder. So we know Intervideo audio decoder outputs 2.0 instead of 5.1.
asasadad_1 mentioned that Sonic decoder pack can work with EVOB/VC1/DD+ at http://forum.doom9.org/showthread.php?p=962436#post962436
I tried sonic decoder pack on two PCs, works on one PC, does not work on another PC. No idea what's wrong.
Anyway, I modified DTS/AC3/DD+ source filter which can work with sonic audio decoder. The source filter I posted a few pages eariler does not work(need small tweak). I'm pretty sure the output is real 5.1. You may want to give it a try
http://www.sendspace.com/file/knvhiz
Thank you! Does your new tweaked filter work with both Intervideo and Sonic now? Or does it now work for Sonic but not for Intervideo, anymore?
Another question: Is there a possibility to decode the DD+ track with Sonic and then dump the 5.1 channels into wav files somehow?
Thanks!
kolak
28th February 2007, 20:13
I think that 1,509 Mbps DTS is the best sounding multichannel signal that can be sent over an S/PDIF interface (please correct me if I'm wrong here). If that is the case it's what I would like on most backups if the source has a lossless audio track.
That is true. That is the best what you can get over SPDIF for 5.1.
PCM can be only 2.0.
New codecs (or PCM multichannel) only over HDMI (over ver 1.1 or 1.2-I'm not sure). There is also iLink, but this is different story.
zgx
28th February 2007, 20:24
That is true. That is the best what you can get over SPDIF for 5.1.
PCM can be only 2.0.
New codecs (or PCM multichannel) only over HDMI (over ver 1.1 or 1.2-I'm not sure). There is also iLink, but this is different story.HDMI 1.1 adds support for DVD Audio.
HDMI 1.3 adds support for Dolby TrueHD and DTS-HD Master Audio.
http://en.wikipedia.org/wiki/HDMI
It seams you can use HDMI 1.1 and 1.2 if the computer decodes the DTS-HD stream and then outputs it to the receiver as a linear PCM.
http://www.dts.com/dts-hd/dtshd-master-audio-with-existing-receiver.php
Jan2001
28th February 2007, 20:30
Try loading your 2.0 wav into filesource(sync), then click-right on the output pin and render it. Just keep the first two filters and delete the rest. Then try to connect the leftover output pin to the IntervideoAudioProcessorFx filter.
WAVdest.ax is part of the graphedit pack. You just have to register it in a DOS-like window:
regsvr32.exe wavdest.ax
Jack
Ok, your process works when using 2-channel output for "intervideo audio processor fx". When I select 6-channel output, the output is just crap.
Pelican9
28th February 2007, 20:42
I’ve been looking into MLP track, it’s not a regular MLP as it was in DVD- Audio.
A bunch of DVD Audio authoring software out there wouldn’t recognize the MLP extracted with EVODemux. I think it’s encapsulated into Dolby TrueHD format somehow and as we know, there is no Dolby TrueHD software decoder yet.
If we’ll be able somehow decode this track, we would be able to encode it to another lossless multichannel codec like FLAC or WMA and add it to a new container, and play on computer without HDMI.
Yes, the two things are not the same.
EVOdemux can differentiate the MLP and the Dolby TrueHD streams.
The stream on the HD DVD flagged usually as "Dolby TrueHD" (stream_id: $b0..$b7) can contain a standard MLP stream or a real TrueHD stream.
Standard MLP (on a DVD Audio):
MLP audio stream 1 found!
First PTS = 00000294
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
TrueHD (on a HD DVD):
Dolby TrueHD audio stream 1 found!
First PTS = 00000D8E
Substream id = B1
TrueHD stream (up to 8 channels)
Sampling frequency = 48 kHz
2 ch. decoder
channel modifier = 1
6 ch. decoder
channel modifier = 1
channel arrangement = Lf + Rf + Ls + Rs + C + LFE
8 ch. decoder
channel modifier = 1
channel arrangement = Lf + Rf + Ls + Rs + C + LFE
Dynamic range control = -10,6371 dB .. 8,4282 dB
Jack-Bauer
28th February 2007, 20:44
Ok, your process works when using 2-channel output for "intervideo audio processor fx". When I select 6-channel output, the output is just crap.
Of course its crap...unless you follow the instructions:
http://forum.doom9.org/showthread.php?s=&threadid=57736
Just selecting 6 channels is far not enough...
Jack
Hwindu
28th February 2007, 21:38
Yes, the two things are not the same.
EVOdemux can differentiate the MLP and the Dolby TrueHD streams.
The stream on the HD DVD flagged usually as "Dolby TrueHD" (stream_id: $b0..$b7) can contain a standard MLP stream or a real TrueHD stream.
Interesting, I didn’t have a clue. Like it said here:http://en.wikipedia.org/wiki/Dolby_TrueHD
Dolby TrueHD is Based on MLP it’s not an actual MLP stream.
So it means that no MLP decoder will be able to decode Dolby TrueHD and a new software decoder is required.
I guess there won’t be any commercial decoder packed into one of the HD-DVD software players because they must use HDMI 1.3?
zgx
28th February 2007, 21:47
Interesting, I didn’t have a clue. Like it said here:http://en.wikipedia.org/wiki/Dolby_TrueHD
Dolby TrueHD is Based on MLP it’s not an actual MLP stream.
So it means that no MLP decoder will be able to decode Dolby TrueHD and a new software decoder is required.
I guess there won’t be any commercial decoder packed into one of the HD-DVD software players because they must use HDMI 1.3?My PowerDVD 6.5 HD displays a Dolby TrueHD logo when I start it up and I think I have played Dolby TrueHD soundtracks with it (I get a warning first but then it plays and a high bitrate is seen in the statistics).
You can read from http://en.wikipedia.org/wiki/HD_DVD that "HD DVD players must be able to decode the new lossless audio codec Dolby True HD, but this is optional for Blu-ray players."
The easiest way to play these new audio formats is to decode them on the actual player/computer and then transfer the analog audio to your receiver with the help of 6 RCA cables. You can read more about this alternative to HDMI on http://www.dts.com/dts-hd/dtshd-master-audio-with-existing-receiver.php.
kolak
28th February 2007, 23:21
PowerDVD 6.5 or 7.1 decodes TrueHD. You can connect your analog sound card outputs to receiver and enjoy lossless multichannel sound:)
For typicall movie (5.1 24bit/48kHz) avg. bitrate is about 3.5mbit with 5mbit peak.
Hwindu
28th February 2007, 23:50
PowerDVD 6.5 or 7.1 decodes TrueHD. You can connect your analog sound card outputs to receiver and enjoy lossless multichannel sound:)
For typicall movie (5.1 24bit/48kHz) avg. bitrate is about 3.5mbit with 5mbit peak.
:confused: it didn’t work for me, I can't play the demuxed TrueHD stream in either players, when I try to play from the HD-DVD drive I can only use PowerDVD 6.5 (no HDMI) and it does not decode the TrueHD stream (only the DD+).
All I really want is to decode the stream in GraphEdit and re-encode it to another lossless codec and use it with the vc-1 video in another container.
Any ideas?
kolak
1st March 2007, 01:24
Sorry, but I was talking about playing the full movie, not elementary track.
I think nobody haven't done that, yet:(
Hwindu
1st March 2007, 03:01
Sorry, but I was talking about playing the full movie, not elementary track.
I think it hasn't been done, yet:(
sure, i know. but thanks for your help :thanks:
MichalHabart
1st March 2007, 07:34
Well, another DD+ decoder. So we know Intervideo audio decoder outputs 2.0 instead of 5.1.
asasadad_1 mentioned that Sonic decoder pack can work with EVOB/VC1/DD+ at http://forum.doom9.org/showthread.php?p=962436#post962436
I tried sonic decoder pack on two PCs, works on one PC, does not work on another PC. No idea what's wrong.
Anyway, I modified DTS/AC3/DD+ source filter which can work with sonic audio decoder. The source filter I posted a few pages eariler does not work(need small tweak). I'm pretty sure the output is real 5.1. You may want to give it a try
http://www.sendspace.com/file/knvhiz
For the sonic decoder pack, PM me please.
Thanks for that. I tried to open demuxed DD+ track and at least i finally get length of the movie (it is really progress, till now i got nothing) but it's not playing and ac3filter counts only errors not a signle played frame :( can you please advise me, what am i doing wrong?
orbitlee
1st March 2007, 10:24
Thanks for that. I tried to open demuxed DD+ track and at least i finally get length of the movie (it is really progress, till now i got nothing) but it's not playing and ac3filter counts only errors not a signle played frame :( can you please advise me, what am i doing wrong?
You need Sonic audio decoder to decode DD+. Well, before ac3filter supports DD+. :) Check PM.
MichalHabart
1st March 2007, 10:43
You need Sonic audio decoder to decode DD+. Well, before ac3filter supports DD+. :) Check PM.
Thanks, will try asap. So, after installation of that Sonic Audio decoder, i just need to register your filter and it should work together? Or is there something else i need to do?
I mean, then i put your filter into graphedit, point to DD+ as input, put sonic audio decoder, wav dest and file writer. And it should create me proper wav file, right?
orbitlee
1st March 2007, 11:23
Thanks, will try asap. So, after installation of that Sonic Audio decoder, i just need to register your filter and it should work together? Or is there something else i need to do?
I mean, then i put your filter into graphedit, point to DD+ as input, put sonic audio decoder, wav dest and file writer. And it should create me proper wav file, right?
I didn't test wav dest and file writer, only
DD+ source -> sonic audio decoder 4.2 -> default directsound
MichalHabart
1st March 2007, 11:49
I didn't test wav dest and file writer, only
DD+ source -> sonic audio decoder 4.2 -> default directsound
I tested this and it wrote result file more 2GB big. foobar says it is PCM 1536kbps stereo. but probably it's because of wav settings. is there some filter which can encode in real time to something multichannel (ac3/dts/multi-channel-wav)?
chros
1st March 2007, 12:23
Of course there is! Avisynth! :)
1. Delete the default directsound device from your graph, then save it eg. audio.grf
2. create text file: eg. audio.avs with the following row (of course you modify the fps value):
DirectSoundSource("audio.grf",video=false,audio=true,fps=23.796)
3. open this avs file in MeGUI and encode it ...
Deckard2019
1st March 2007, 12:23
is there some filter which can encode in real time to something multichannel (ac3/dts/multi-channel-wav)?
1/ build a graph with just orbitlee filter and sonic one. no output. save it as .grf
2/ create avs script with : DirectShowSource(YOUR.GRF, fps=23.976, video=false, seek=true, seekzero=false, framecount=XXX)
3/ open it in MeGUI and choose your output format.
I just try with FFMPEG AC-3 output, keeping original channels. I get a perfect AC3 6-channel file.
Great work orbitlee !
EDIT : Oups, too late
EDIT2 : ffmpeg says :
Input #0, wav, from 'pipe:':
Duration: N/A, bitrate: 4608 kb/s
Stream #0.0: Audio: pcm_s16le, 48000 Hz, 5:1, 4608 kb/s
Output #0, ac3, to 'D:\Videos\EVO\mi_aud5.ac3':
Stream #0.0: Audio: ac3, 48000 Hz, 5:1, 448 kb/s
Stream mapping:
Stream #0.0 -> #0.0
How can I specify 640kb/s in MeGUI config for ffmpeg AC3 ? Max is 448 in dialog box ...
tomos
1st March 2007, 12:45
1/ build a graph with just orbitlee filter and sonic one. no output. save it as .grf
2/ create avs script with : DirectShowSource(YOUR.GRF, fps=23.976, video=false, seek=true, seekzero=false, framecount=XXX)
3/ open it in MeGUI and choose your output format.
I just try with FFMPEG AC-3 output, keeping original channels. I get a perfect AC3 6-channel file.
Great work orbitlee !
EDIT : Oups, too late
EDIT2 : ffmpeg says :
How can I specify 640kb/s in MeGUI config for ffmpeg AC3 ? Max is 448 in dialog box ...
orbitlee filter? do you mean the method orbitlee described?
also, this doesnt seem to work with cinemaster audio decoder 4.1. dont get any sound at all from that
Jan Marijniszoon
1st March 2007, 12:57
Did a quick xvid encode and didn't find any duplicate or missing frames.
framecout is a little of to what EVOdemux said.
EVOdemux:
1567 counted frames (0:01:05.357) in video stream 0.
1564 calculated frames.
Xvid: 1559 frames
Don't know whats off there. I couldn't find any missing frames with this sample I had. Will try some other samples sometime today
Hmm this is weird to me. Three different frame amounts. How can this be and which one should be chosen for audio synchronisation?
Deckard2019
1st March 2007, 13:03
orbitlee filter? do you mean the method orbitlee described?
Well, another DD+ decoder. So we know Intervideo audio decoder outputs 2.0 instead of 5.1.
asasadad_1 mentioned that Sonic decoder pack can work with EVOB/VC1/DD+ at http://forum.doom9.org/showthread.php?p=962436#post962436
I tried sonic decoder pack on two PCs, works on one PC, does not work on another PC. No idea what's wrong.
Anyway, I modified DTS/AC3/DD+ source filter which can work with sonic audio decoder. The source filter I posted a few pages eariler does not work(need small tweak). I'm pretty sure the output is real 5.1. You may want to give it a try
http://www.sendspace.com/file/knvhiz
For the sonic decoder pack, PM me please.
You need orbitlee filter and Sonic Audio Decoder 4.2.
MichalHabart
1st March 2007, 13:04
1/ build a graph with just orbitlee filter and sonic one. no output. save it as .grf
2/ create avs script with : DirectShowSource(YOUR.GRF, fps=23.976, video=false, seek=true, seekzero=false, framecount=XXX)
3/ open it in MeGUI and choose your output format.
I just try with FFMPEG AC-3 output, keeping original channels. I get a perfect AC3 6-channel file.
Great work orbitlee !
EDIT : Oups, too late
EDIT2 : ffmpeg says :
How can I specify 640kb/s in MeGUI config for ffmpeg AC3 ? Max is 448 in dialog box ...
Surely will try. But is there a way how to encode not to AC3 but to DTS?
Deckard2019
1st March 2007, 13:17
What is your tool to do DTS ? Does it take AVS script ? If not, what are possible inputs ?
MichalHabart
1st March 2007, 13:21
What is your tool to do DTS ? Does it take AVS script ? If not, what are possible inputs ?
Best tool would be surcode. As input it takes 6 mono wav files. Is it possible to create those 6 wav files somehow? For example by encode this avs script by meGUI to wav?
holzi
1st March 2007, 14:39
yeah just made a aac 5.1 encode sound pretty cool. :)
Ok could someone tell my how to calculate the delay of the audio track or Pelican9 could you implement that into EVOdemux, would be a good feature.
Now lets that a opensource decoder will be available soon.
Time to encode some HD movies :)
Deckard2019
1st March 2007, 14:46
Is it possible to create those 6 wav files somehow?
From AVS ? It's surely possible but I don't know how ... Anybody may help ?
Time to encode some HD movies
:)
holzi
1st March 2007, 14:50
from avisynth help:
You could also obtain the channels from the avi file itself:
video = AviSource("c:\filename.avi")
return GetChannel(video, 1)
so you have to get every channel and write it to a wav file.
don't now if you could do it in one script with just one pass.
kornesque
1st March 2007, 15:00
thanks to the efforts, input, arguments and collaborations of everyone on this thread, i've managed to successfully create an unadultered .wmv (playable on a 360) from a vc-1 .evo. it's only video, but baby steps always get you to where you're headed. all that remains is getting the damn audio downmixed and muxed. i'll be following closely until we get it all hammered out. thanks especially to Penguin9, drmpeg and Isochroma.
:thanks:
EDIT: This GUIDE won't work coz of 4G limit of filewriter and tranzcode...use updated guide here:
http://forum.doom9.org/showthread.php?p=964823#post964823
Well, another DD+ decoder. So we know Intervideo audio decoder outputs 2.0 instead of 5.1.
asasadad_1 mentioned that Sonic decoder pack can work with...
Well, this works very good. Thx a lot Orbitlee.
I just transcoded DD+ 1536kbps -> DTS, or I can make something else...AAC, AC3, etc. :-D
Here is the giude:
1) Open Graphedit, make filterchain: DTS/AC3/DD+ Source -> Sonic Cinemaster Audio Decoder 4.2 -> WAV dest -> FileWriter (for DTS/AC3/DD+ open demuxed DD+ track, for file writer open output WAVe (test.wav)).
2) Pres play to render WAVe file. This wave is depend on Sonic setting, so make sure you set 5.1 output. You've get 5.1ch 24bit (depends maybe on soundcard type), 48khz 6ch WAVe.
3) Use Tranzcode: Tranzcode test.wav /16 /44100 to make six mono 16bit 44khz WAVes. (test.wav is output from graphedit). 24bit WAVes produced little "mutated" DTS from surcode and souds like "be-be-beeee" :D
4) Open Surcode and transcode this six WAVes to the final DTS.
5) Finaly, enjoy Your ride, muhehehe.
This is not all!!! At the end I must thx very much Orbitlee for this nice break-trough at this front. :D Thankjuuuu
Icemaan
1st March 2007, 15:28
Sorry i`m to stupid to make this
What is wave dest and file writer i can`t find this in my Filters from Graphedit
Thanks
Icemaan
holzi
1st March 2007, 15:31
well I think they are not default filters. Google and download them :)
Deckard2019
1st March 2007, 15:37
Wave Dest comes with Graphedit package : http://www.doom9.org/Soft21/Filters/graphedit.rar (register.bat).
File Writer is part of XP (qcap.dll)
Lolodu34
1st March 2007, 15:39
hummm well done !
But a question troubles my mind, only DD+ is ok ?
What's up for True HD sound ?
Hwindu
1st March 2007, 15:52
Well, this works very good. Thx a lot Orbitlee.
I just transcoded DD+ 1536kbps -> DTS, or I can make something else...AAC, AC3, etc. :-D
Awesome!!;) Works for me too!
This is not all!!! At the end I must thx very much Orbitlee for this nice break-trough at this front. :D Thankjuuuu
:thanks:
Now for the Dolby TrueHD stream. thanks to Orbitlee I managed to render the TrueHD stream in GraphEdit then the Sonic HD Demuxer pins in perfectly - I can see it recognize the stream in the filter properties, wonderful.
However I can't find a filter for decoding it :(. There must be something out there .
Any Ideas?
MichalHabart
1st March 2007, 16:00
Well, this works very good. Thx a lot Orbitlee.
I just transcoded DD+ 1536kbps -> DTS, or I can make something else...AAC, AC3, etc. :-D
Here is the giude:
1) Open Graphedit, make filterchain: DTS/AC3/DD+ Source -> Sonic Cinemaster Audio Decoder 4.2 -> WAV dest -> FileWriter (for DTS/AC3/DD+ open demuxed DD+ track, for file writer open output WAVe (test.wav)).
2) Pres play to render WAVe file. This wave is depend on Sonic setting, so make sure you set 5.1 output. You've get 5.1ch 24bit (depends maybe on soundcard type), 48khz 6ch WAVe.
3) Use Tranzcode: Tranzcode test.wav /16 /44100 to make six mono 16bit 44khz WAVes. (test.wav is output from graphedit). 24bit WAVes produced little "mutated" DTS from surcode and souds like "be-be-beeee" :D
4) Open Surcode and transcode this six WAVes to the final DTS.
5) Finaly, enjoy Your ride, muhehehe.
This is not all!!! At the end I must thx very much Orbitlee for this nice break-trough at this front. :D Thankjuuuu
Very nice, thanks for that. But can anyone with more then 2 speakers confirm that it produce real 5.1 sound and that the channels are correctly assigned?
And one more thing, isn't it useless to create 1536kbps DTS from only 640kbps DD+? AC3 at 640kbps should be enough, right?
And one more, tried on swordfish and created wav with size of 4096MB . then it stopped. plazing in foobar showed me that it is 124 minutes long. but the movie itself is only 99 minutes long, so there is the problem?
Icemaan
1st March 2007, 16:06
Big Thanks Orbitlee
Work fine
But i have a other problem
With the original Evo i can create a Graph with Hd Demux and Video Decoder from Sonic works fine
When i rebuild the Evo without Audio and Sub the Evo.Rebuild cannot connect to the Sonic Filter
I need a Graph to put all in the Mainconcept encoder because only this Encoder make a file compatible with Scenarist
Any Idea somewhere
Icemaan
Deckard2019
1st March 2007, 16:27
As I can't output AC3 @640kbps with MeGUI, I tried with ffdshow :
1/ Open Graphedit, DTS/AC3/DD+ Source => Sonic Cinemaster Audio Decoder 4.2 => ffdshow Audio Decoder => FileWriter,
2/ Setup ffdshow to output AC3 at desired bitrate (you can check boxes if you want to change source),
3/ Press play to render AC3 file ;)
Thanks again Orbitlee !
Stolbovoy
1st March 2007, 18:15
And one more thing, isn't it useless to create 1536kbps DTS from only 640kbps DD+? AC3 at 640kbps should be enough, right?
Taking video into account size difference is not that big, and it's good from peace of mind prospective: higher bitrate still means less difference with source, because it is full recompress.
Daodan
1st March 2007, 18:29
Question: I only get 2.0 output from Sonic decoder. How can I change the output? Can't find any options to do so..
EDIT: nvm, I had to put my sound card output defaults to > 2.0
MichalHabart
1st March 2007, 18:39
Question: I only get 2.0 output from Sonic decoder. How can I change the output? Can't find any options to do so..
It is in settings for sonic decoder. there is option use system settings. so instead of this use Dolby Digital 5.1
chros
1st March 2007, 19:11
As I can't output AC3 @640kbps with MeGUI ...
You can use Aften v0.6 with Behappy (or with sound-out from avs script) to encode into AC3 on the fly ... It can do VBR encoding, the default setting of VBR is 240 which will produce approx. a 384 kbps stream ...
aften 0.6 (pipe-patched): http://prdownloads.sourceforge.net/win32builds/aften-0.06-bin-pipes-patch.rar?download
aften forum: http://forum.doom9.org/showthread.php?t=113074
(I'm using the exe_sse3 build)
behappy: http://www.gotdotnet.com/workspaces/workspace.aspx?id=1bb59ddf-901b-43a5-bd54-b0999e8e223e
(you must copy the aften exe)
sound-out: http://forum.doom9.org/showthread.php?t=120025
and latest belight ( http://forum.doom9.org/showthread.php?t=122700 ) can use the new aften exe ...
chros
1st March 2007, 19:17
It is in settings for sonic decoder. there is option use system settings. so instead of this use Dolby Digital 5.1
Ahaa ! It's in the Control Panel within Windows, named CinePlayer DVD Decoder Options.
So are the preferred settings:
- uncheck use system settings
- Audio output: Dolby Digital 5.1
- environment Normal
- check Enable LFE if available
?
Jan2001
1st March 2007, 19:54
Well, I set output of sonic's filter to 5.1 and used the following graph:
DTS/AC3/DD+ Source (feature1.ddp)-> Sonic Cinemaster Audio Decoder 4.2 -> WAV dest -> FileWriter (output.wav)
The resulting wav-file is in fact 5.1, but only 2 channels have a correct audio stream, the rest of them is crap (see picture attatched.
What has gone wrong here?
madshi
1st March 2007, 20:11
Well, I set output of sonic's filter to 5.1 and used the following graph:
DTS/AC3/DD+ Source (feature1.ddp)-> Sonic Cinemaster Audio Decoder 4.2 -> WAV dest -> FileWriter (output.wav)
The resulting wav-file is in fact 5.1, but only 2 channels have a correct audio stream, the rest of them is crap (see picture attatched.
What has gone wrong here?
I'm having *exactly* the same problem! Tried with both Serenity and The Mummy. And I have some more problems:
(1) WAV dest seems to stop at 4GB (NTFS, plenty free space).
(2) Tranzcode is finished after 1 second and all 6 files are 44 Bytes long.
Deckard2019
1st March 2007, 20:34
Ahaa ! It's in the Control Panel within Windows, named CinePlayer DVD Decoder Options.
So are the preferred settings:
- uncheck use system settings
- Audio output: Dolby Digital 5.1
- environment Normal
- check Enable LFE if available
?
Yes but to be able to select 5.1, you have to set system settings to 5.1, even if you uncheck Use system settings.
MichalHabart
1st March 2007, 21:02
Yes but to be able to select 5.1, you have to set system settings to 5.1, even if you uncheck Use system settings.
Well, i just selected Dolby Digital 5.1 and the result is 5.1, i can see it in AC3Filter
MichalHabart
1st March 2007, 21:05
I'm having *exactly* the same problem! Tried with both Serenity and The Mummy. And I have some more problems:
(1) WAV dest seems to stop at 4GB (NTFS, plenty free space).
(2) Tranzcode is finished after 1 second and all 6 files are 44 Bytes long.
Problem is not in NTFS, it has something to do with DirectX. Solution is to uncheck continue with second EVO in evodemux, then your final wav will have less then 4GB. DTS files can appened with copy /B a.dts+b.dts c.dts
First problem seems to be solved. Now i have 2 6channel wav files but if i run tranzcode, it still ends in 1 seconds. Johny, where is the problem?
Deckard2019
1st March 2007, 21:05
Well, i just selected Dolby Digital 5.1 and the result is 5.1, i can see it in AC3Filter
Right. The point is that, if you set system settings to headset or stereo speaker, you won't be able to select 5.1 in Sonic decoder, even if you uncheck Use system settings.
Daodan
1st March 2007, 21:21
First problem seems to be solved. Now i have 2 6channel wav files but if i run tranzcode, it still ends in 1 seconds
First of all try not to use the GUI but rather the cli. This way you have more feedback. Also for me tranzcode fails to do 24>16 bit conversion. But that's not a problem. Just interpose in the chain in graph (between sonic and wavdest) ffdshow or ac3filter (set to 16 bit output) and you get 16 bit wav that tranzcode doesn't have problems with. This was tried on a small dd+, one thing that can occur is that windows and >2 gb wavs is a problematic issue, most clis won't take it as input (I remember that from the times I used to transcode big wav to aac 5.1).
madshi
1st March 2007, 23:05
First of all try not to use the GUI but rather the cli. This way you have more feedback. Also for me tranzcode fails to do 24>16 bit conversion. But that's not a problem. Just interpose in the chain in graph (between sonic and wavdest) ffdshow or ac3filter (set to 16 bit output) and you get 16 bit wav that tranzcode doesn't have problems with. This was tried on a small dd+, one thing that can occur is that windows and >2 gb wavs is a problematic issue, most clis won't take it as input (I remember that from the times I used to transcode big wav to aac 5.1).
Thank you. Adding ac3filter in between crashed. But adding ffdshow (tryouts) in between with output set to 16bit worked great. Now also all 6 channels have correct information in them! Yippie!!
However, there's still one problem left: Tranzcode still doesn't work. Here's what it sais:
D:\>tranzcode test.wav tmp
Input filename: [test.wav] (Multichannel Wave)
Input attribs: [Ext wav fmt, 6 ch, 16 bit, 48.0 kHz]
Output attribs: [PCM wav fmt, (6) x 1 ch, 16 bit, 48.0 kHz]
Output file(s): tmp-FL.wav
tmp-FR.wav
tmp-C.wav
tmp-LFE.wav
tmp-SL.wav
tmp-SR.wav
Processing: Completed. [in 1 sec]
Again all files are 44 Bytes long.
Edit: Asking tranzcode to resample to 44100 doesn't help, either.
kornesque
1st March 2007, 23:39
hey guys. unlike most of you i'm actually trying to derive a simple stereo file from the demuxed dd+ stream. i've tried as many variations of filters as i can stand, but the only one that seems to get me anywhere (won't crash) is the dd+ source filter made by orbitlee (cheers man!). when i slap my file in the graph riding that filter and try putting it to the intervideo audio decoder, the only way i can find to render it in any way is to connect inteligent, which produces 4 acm wrappers, roxio mp3 encoder, and ffdshow decoder in the circuit. using filewriter at the end, the result is a useless file, unrecognized by anything i have.
can anybody help me build a simple dd+>stereo .wav graph? i've been following this thread forever, and have learned alot, but i'm still stabbing in the dark with most of this stuff. any help would be greatly appreciated.
Daodan
1st March 2007, 23:56
@madshi, if wav file > 2gb it may be that the problem. Try splitting the wav and then try again. Also there are other programs that can make 6 mono wavs, BeLight for example (GUI for besweet).
@kornesque, getting 2 channel was never a problem.
A graph like evo>sonic demuxer>intervideo audio decoder>wavdest>filewriter gives 2.0 output (that is all intervideo seems to give, if you set it to 5.1 it gives extra empty channels).
kornesque
2nd March 2007, 01:56
thanks for the assist Daodan. i checked out that graph, and i can't get the pins from sonicdemux>iviaudio to connect. is there something i might be forgetting? also, i tried the sonic and ffdshow audio decoders in lieu of intervideos, but still get no useable file.
juhu
2nd March 2007, 02:29
sorry to interrupt the audio discussion, but I'd like to point out I'm not sure anymore Hd-dvd run @ 23.976 fps
let's take a concrete example : Casablanca
in xpl file, we have the correct timing : titleTimeEnd="01:42:28:18"
now, with evodemux, number of calculated frames is 147562 which seems correct.
so after video encoding @ 23.976 fps, I end up with a file ending @ 1h42:34.xxx, which is 6 seconds longer than the timing indicated in xpl file, and also 6 seconds later than the (sd) dvd !
now if these 147562 frames were running @ 24 fps, I would have a file with the correct original timing (1h42m28s)
Am I right or Did I miss something somewhere?
edtchie
2nd March 2007, 02:48
Yes, but unless you're starting from
xport -h movie.m2ts 1 1 2
or
xport -h movie.m2ts 1 1 3
or
xport -h movie.m2ts 1 1 4
or
xport -h movie.m2ts 1 1 5
Ron
Can you set up an option for demuxing audio track only, do not have to demux video track everytime?
drmpeg
2nd March 2007, 06:36
sorry to interrupt the audio discussion, but I'd like to point out I'm not sure anymore Hd-dvd run @ 23.976 fps
let's take a concrete example : Casablanca
in xpl file, we have the correct timing : titleTimeEnd="01:42:28:18"
now, with evodemux, number of calculated frames is 147562 which seems correct.
so after video encoding @ 23.976 fps, I end up with a file ending @ 1h42:34.xxx, which is 6 seconds longer than the timing indicated in xpl file, and also 6 seconds later than the (sd) dvd !
now if these 147562 frames were running @ 24 fps, I would have a file with the correct original timing (1h42m28s)
Am I right or Did I miss something somewhere?
Very interesting. I would try to determine the running time of the audio to see which timeline (23.976 or 24) it matches. Since the DD+ tracks are fixed bitrate, you should be able to calculate the running time based on the size of the demuxed audio file divided by the bitrate of the DD+ track.
Ron
drmpeg
2nd March 2007, 06:44
Can you set up an option for demuxing audio track only, do not have to demux video track everytime?
Yes. In the meantime, just select a video track that's not in the multiplex for subsequent audio tracks. Like this:
xport -h movie.m2ts 1 1 1
This will demux the video and audio track 1. Then:
xport -h movie.m2ts 1 3 2
This will demux audio track 2 and create a zero byte file for bits0001.mpv (be sure to rename the first bits0001.mpv that has the demuxed video beforehand). The demux process will be much faster since there's no video to demux.
xport -h movie.m2ts 1 3 3
xport -h movie.m2ts 1 3 4
and so on.
Ron
MichalHabart
2nd March 2007, 07:43
Thank you. Adding ac3filter in between crashed. But adding ffdshow (tryouts) in between with output set to 16bit worked great. Now also all 6 channels have correct information in them! Yippie!!
However, there's still one problem left: Tranzcode still doesn't work. Here's what it sais:
D:\>tranzcode test.wav tmp
Input filename: [test.wav] (Multichannel Wave)
Input attribs: [Ext wav fmt, 6 ch, 16 bit, 48.0 kHz]
Output attribs: [PCM wav fmt, (6) x 1 ch, 16 bit, 48.0 kHz]
Output file(s): tmp-FL.wav
tmp-FR.wav
tmp-C.wav
tmp-LFE.wav
tmp-SL.wav
tmp-SR.wav
Processing: Completed. [in 1 sec]
Again all files are 44 Bytes long.
Edit: Asking tranzcode to resample to 44100 doesn't help, either.
That's weird because with this procedure (put ffdshow in between and set its output to integer 16) it is working for me. now i am able to create 6 mono wav files and even the multi wav is different (foobar no longer says it's wav, now it is PCM at 4800kbps for him) and it is smaller (first one was 2100MB, second one is now 1500MB). But i am still trying only dd+ from first evo file, i think that might be your problem (too big wav)
Darth Pinous
2nd March 2007, 08:30
Thank you. Adding ac3filter in between crashed. But adding ffdshow (tryouts) in between with output set to 16bit worked great. Now also all 6 channels have correct information in them! Yippie!!
However, there's still one problem left: Tranzcode still doesn't work.
Again all files are 44 Bytes long.
Edit: Asking tranzcode to resample to 44100 doesn't help, either.
Madshi, did you try Wavewizard (http://forum.doom9.org/showthread.php?t=95265) ?
There's an option in it to ignore file header for file > 2GB / file > 4GB / every file, and an option to split a multichannel WAV in 6 mono WAV.
Deckard2019
2nd March 2007, 10:17
Madshi, did you try Wavewizard ?
It works great. Thx. No need to convert to 16bit anymore.
All 6 wav files sounds ok. But Surcode produces weird result.
Do you know something else than Surcode to create DTS file ?
Also, in File Writer properties, there is a check box named "Truncate ?".
Do you know what is it for ?
madshi
2nd March 2007, 10:25
Thank you guys for your suggestions. BeLight/BeSweet doesn't work, it complains about unknown input file format. WaveWizard seems to do the trick... :)
And yes, my file was > 2GB. I guess that was the problem with Tranzcode. I've only done the first EVO, not both, but still the file was > 2GB, so I guess Tranzcode won't do for some HD DVDs.
Pelican9
2nd March 2007, 10:39
let's take a concrete example : Casablanca
in xpl file, we have the correct timing : titleTimeEnd="01:42:28:18"
now, with evodemux, number of calculated frames is 147562 which seems correct.
so after video encoding @ 23.976 fps, I end up with a file ending @ 1h42:34.xxx, which is 6 seconds longer than the timing indicated in xpl file, and also 6 seconds later than the (sd) dvd !
now if these 147562 frames were running @ 24 fps, I would have a file with the correct original timing (1h42m28s)
Am I right or Did I miss something somewhere?
Could you copy the EVOdemux's status window after read this evo (check 'Detailed info')?
MichalHabart
2nd March 2007, 10:51
It works great. Thx. No need to convert to 16bit anymore.
All 6 wav files sounds ok. But Surcode produces weird result.
Do you know something else than Surcode to create DTS file ?
Also, in File Writer properties, there is a check box named "Truncate ?".
Do you know what is it for ?
After registering orbitlee filter, i was able to demux dd+ files but DTS tracks aren't playable anymore. I had to uninstall it to restore. It might be your problem. Also surcode has known issue, it produce longer DTS track. Try to fix it with delaycut (just open and proceed, don't change anything) and besliced 0.3 can do it also.
Darth Pinous
2nd March 2007, 10:53
It works great. Thx. No need to convert to 16bit anymore.
All 6 wav files sounds ok. But Surcode produces weird result.
Do you know something else than Surcode to create DTS file ?
Also, in File Writer properties, there is a check box named "Truncate ?".
Do you know what is it for ?
Have you tried the 16bits/44Khz conversion in WaveWizard (the "convert samplingrate" option and the "convert sample type") ?
16 bits conversion is mandatory, but 44 KHz conversion may be necessary too.
For alternative DTS encoders, you have Nuendo DTS encoder (a plugin in Nuendo) which seems to be better than Surcode, and of course the DTS encoders from DTS Corp, the "old" DTS Pro Series Encoder and the new DTS Surround Audio Suite and DTS-HD Master Audio Suite encoders.
Take a look here (http://www.quadraphonicquad.com/forums/showthread.php?t=7487) for a review on these 5 encoders.
chros
2nd March 2007, 10:56
now if these 147562 frames were running @ 24 fps, I would have a file with the correct original timing (1h42m28s)
Yes, that's very strange ... Some people had done various encoding with lots of sources (eg. some has AC3 audio) and they only get the untouched audio synced, if they use 23.976 fps.
So the question is what the player is doing with this xpl file during playback, and what is the tickBase , timeBase , tickBaseDivisor parameters.
A sample:
...
<TitleSet tickBase="60fps" timeBase="60fps" defaultLanguage="en">
...
<Title id="feature" displayName="Feature Presentation" titleNumber="3" titleDuration="01:42:54:16" tickBaseDivisor="4" onEnd="black">
Another sample, notice that isn't any tickBaseDivisor parameters:
...
<TitleSet tickBase="24fps" timeBase="60fps" defaultLanguage="en">
...
<Title titleNumber="2" alternativeSDDisplayMode="letterbox" titleDuration="01:58:54:22" id="MainMovie" displayName="MainMovie" onEnd="returnToMM">
MichalHabart
2nd March 2007, 10:59
Have you tried the 16bits/44Khz conversion in WaveWizard (the "convert samplingrate" option and the "convert sample type") ?
16 bits conversion is mandatory, but 44 KHz conversion may be necessary too.
For alternative DTS encoders, you have Nuendo DTS encoder (a plugin in Nuendo) which seems to be better than Surcode, and of course the DTS encoders from DTS Corp, the "old" DTS Pro Series Encoder and the new DTS Surround Audio Suite and DTS-HD Master Audio Suite encoders.
Take a look here (http://www.quadraphonicquad.com/forums/showthread.php?t=7487) for a review on these 5 encoders.
I am little bit confused from that article. Does it mean that surcode is best or worst?
Darth Pinous
2nd March 2007, 11:02
I am little bit confused from that article. Does it mean that surcode is best or worst?
worst.
according to this neil wilkes, quality is as follow :
DTS-HD MAS > DTS-HD SAS > DTS PSE >> Nuendo > Surcode
MichalHabart
2nd March 2007, 11:09
worst.
according to this neil wilkes, quality is as follow :
DTS-HD MAS > DTS-HD SAS > DTS PSE >> Nuendo > Surcode
Hmm, anyone knows how to find those best encoders (i mean, if there is any version of them available on the net)
I have surcode and nuendo but they seems to be the worst :(
Deckard2019
2nd March 2007, 11:37
To get rid off file size limit of WAV files, try :
1/ Open Graphedit, DTS/AC3/DD+ Source => Sonic Cinemaster Audio Decoder 4.2,
2/ Create AVS script with just :
DirectShowSource("audio.grf", video=false)
GetChannel(X)
where X=1 to 6 (see : GetChannel.htm in your AVISynth install dir).
Channel mapping is 1=FL, 2=FR, 3=C, 4=LFE, 5=SL, 6=SR,
3/ Use BeHappy (http://forum.doom9.org/showthread.php?t=104686) to generate each channel as WAV file directly from AVS script.
16bits/44Khz conversion can be done in AVS script (ConvertAudioTo16bit() and ResampleAudio()).
This process skips the big WAV file creation step. No more Tranzcode ;)
Still looking for a reliable DTS encoder ...
MichalHabart
2nd March 2007, 11:59
To get rid off file size limit of WAV files, try :
1/ Open Graphedit, DTS/AC3/DD+ Source => Sonic Cinemaster Audio Decoder 4.2,
2/ Create AVS script with just :
DirectShowSource("audio.grf", video=false)
GetChannel(X)
where X=1 to 6 (see : GetChannel.htm in your AVISynth install dir).
Channel mapping is 1=FL, 2=FR, 3=C, 4=LFE, 5=SL, 6=SR,
3/ Use BeHappy (http://forum.doom9.org/showthread.php?t=104686) to generate each channel as WAV file directly from AVS script.
16bits/44Khz conversion can be done in AVS script (ConvertAudioTo16bit() and ResampleAudio()).
This process skips the big WAV file creation step. No more Tranzcode ;)
Still looking for a reliable DTS encoder ...
Then once you will find him, can you please make some sort of guide for this? So, we can try your steps and help you with testing :)
orbitlee
2nd March 2007, 12:14
After registering orbitlee filter, i was able to demux dd+ files but DTS tracks aren't playable anymore. I had to uninstall it to restore.
Could you provide more informations? DTS(from DVD) or DTS-HD(from HD DVD/Blu-ray)? bitrate? Which dts decoder you are using?
The behavior of Sonic audio decoder is very strange, I have to feed it multiple frames(in source filter) each time to make it playback DD+ audio. This may fail other audio decoder.
MichalHabart
2nd March 2007, 12:25
Could you provide more informations? DTS(from DVD) or DTS-HD(from HD DVD/Blu-ray)? bitrate? Which dts decoder you are using?
The behavior of Sonic audio decoder is very strange, I have to feed it multiple frames(in source filter) each time to make it playback DD+ audio. This may fail other audio decoder.
I tried DTS from DVD (terminator 3) and it had length of aprox. 4 hours and play was very fast :) I used both AC3Filter and sonic audio decoder, both had same behaviour.
juhu
2nd March 2007, 16:10
Could you copy the EVOdemux's status window after read this evo (check 'Detailed info')?
sure. Here goes :
evodemux video stats :
---------------------
Opening file Feature_1.EVO
File size: 6886 Mbytes.
VOB number 4 contains 1 video , 5 audio and 4 subpicture streams.
PTM of first video frame = 00000D91
PTM of last video frame = 105CFFB1
Duration = 0:50:50.297
VC-1 video stream 0 found!
First PTS = 00000D91
Substream id = 55
Sequence Header found
0 frames before first I-frame
Advanced Profile
Level = 3
Chroma Format = 4:2:0
Size = 1920x1080
Display Horizontal size = 1920
Display Vertical size = 1080
Aspect ratio = 1:1 (square samples)
Frame Rate = 23,976 (24000/1001)
(subs / audio info removed)
Continue on Feature_2.EVO
VOB number 5 contains 1 video , 5 audio and 4 subpicture streams.
PTM of first video frame = 105CFFB1
PTM of last video frame = 21040FDA
Duration = 1:42:34.565
VC-1 video stream 0 found!
First PTS = 105D1D05
Substream id = 55
Sequence Header found
0 frames before first I-frame
Advanced Profile
Level = 3
Chroma Format = 4:2:0
Size = 1920x1080
Display Horizontal size = 1920
Display Vertical size = 1080
Aspect ratio = 1:1 (square samples)
Frame Rate = 23,976 (24000/1001)
147590 counted frames (1:42:35.733) in video stream 0.
147562 calculated frames.
-----------------
Very interesting. I would try to determine the running time of the audio to see which timeline (23.976 or 24) it matches. Since the DD+ tracks are fixed bitrate, you should be able to calculate the running time based on the size of the demuxed audio file divided by the bitrate of the DD+ track.
Ron
audio stats :
Dolby Digital Plus audio stream 0 found!
First PTS = 00000A67
Substream id = C0
Stream 0 is Dolby Digital Plus
frame size = 256 bytes, number of blocks per frame = 6
Sampling frequency = 48 kHz
Transmission bitrate = 64 kbit/s
Channel arrangement = mono, bsid = 16
LFE channel = not present
demuxed audio filesize : 48083 ko (wow, tiny !)
...which is seen as a 1h42mn34sec file by media player classic
if someone wants to do maths with it, well please do, coz' I give up this nonsense (48083/ 8ko (64kb) = 6010.xx sec, ie 1h40m10s ?!?)
now xpl extract :
<TitleSet tickBase="60fps" timeBase="60fps" defaultLanguage="en">
<FirstPlayTitle titleDuration="00:00:22:00">
<PrimaryAudioVideoClip titleTimeBegin="00:00:00:00" titleTimeEnd="00:00:22:00"
src="file:///dvddisc/HVDVD_TS/FBILogo.MAP" dataSource="Disc"
description="FBI Warning WB Logo">
<Video track="1"/>
<Audio track="1"/>
</PrimaryAudioVideoClip>
</FirstPlayTitle>
<Title titleNumber="1" id="intro" titleDuration="00:02:00:00" description="Intro to HD DVD" tickBaseDivisor="4" onEnd="feature">
<PrimaryAudioVideoClip titleTimeBegin="00:00:00:00" titleTimeEnd="00:02:00:00"
src="file:///dvddisc/HVDVD_TS/IntroHD.MAP" dataSource="Disc"
description="Intro to HD DVD">
<Video track="1"/>
<Audio track="1"/>
</PrimaryAudioVideoClip>
</Title>
<Title titleNumber="2" id="feature" displayName="Feature Presentation" titleDuration="01:42:51:18" tickBaseDivisor="4" onEnd="black">
<PrimaryAudioVideoClip id="layer0" titleTimeBegin="00:00:00:00" titleTimeEnd="00:50:47:08" dataSource="Disc" src="file:///dvddisc/HVDVD_TS/Feature_1.MAP">
<Video mediaAttr="2" track="1" angleNumber="1"/>
<Audio mediaAttr="1" track="1" streamNumber="1"/>
<Audio mediaAttr="1" track="2" streamNumber="2"/>
<Audio mediaAttr="1" track="3" streamNumber="3"/>
<Audio mediaAttr="1" track="4" streamNumber="4"/>
<Audio mediaAttr="1" track="5" streamNumber="5"/>
<Subtitle mediaAttr="1" track="1" streamNumber="1"/>
<Subtitle mediaAttr="1" track="2" streamNumber="2"/>
<Subtitle mediaAttr="1" track="3" streamNumber="3"/>
<Subtitle mediaAttr="1" track="4" streamNumber="4"/>
</PrimaryAudioVideoClip>
<PrimaryAudioVideoClip id="layer1" titleTimeBegin="00:50:47:08" titleTimeEnd="01:42:28:18" dataSource="Disc" src="file:///dvddisc/HVDVD_TS/Feature_2.MAP" seamless="true">
<Video mediaAttr="2" track="1" angleNumber="1"/>
<Audio mediaAttr="1" track="1" streamNumber="1"/>
<Audio mediaAttr="1" track="2" streamNumber="2"/>
<Audio mediaAttr="1" track="3" streamNumber="3"/>
<Audio mediaAttr="1" track="4" streamNumber="4"/>
<Audio mediaAttr="1" track="5" streamNumber="5"/>
<Subtitle mediaAttr="1" track="1" streamNumber="1"/>
<Subtitle mediaAttr="1" track="2" streamNumber="2"/>
<Subtitle mediaAttr="1" track="3" streamNumber="3"/>
<Subtitle mediaAttr="1" track="4" streamNumber="4"/>
</PrimaryAudioVideoClip>
<PrimaryAudioVideoClip titleTimeBegin="01:42:28:18" titleTimeEnd="01:42:51:18"
src="file:///dvddisc/HVDVD_TS/Interpol.MAP" dataSource="Disc"
description="Motion Picture Association of America">
<Video track="1"/>
</PrimaryAudioVideoClip>
Pelican9
2nd March 2007, 16:43
Opening file Feature_1.EVO
PTM of first video frame = 00000D91
PTM of last video frame = 105CFFB1
Duration = 0:50:50.297
Continue on Feature_2.EVO
PTM of first video frame = 105CFFB1
PTM of last video frame = 21040FDA
Duration = 1:42:34.565
147562 calculated frames.
Dolby Digital Plus audio stream 0 found!
frame size = 256 bytes, number of blocks per frame = 6
Sampling frequency = 48 kHz
Transmission bitrate = 64 kbit/s
Channel arrangement = mono, bsid = 16
LFE channel = not present
demuxed audio filesize : 48083 ko (wow, tiny !)
...which is seen as a 1h42mn34sec file by media player classic
<PrimaryAudioVideoClip id="layer1" titleTimeBegin="00:50:47:08" titleTimeEnd=[b]"01:42:28:18" dataSource="Disc" src="file:///dvddisc/HVDVD_TS/Feature_2.MAP" seamless="true">
I think the XPL's info is irrelevant.
The duration info comes from the DSI packet(s) of the EVOB (difference of the PTMs). I think this is the real value. The length of the demuxed audio is the same.
Update: Go here:http://forum.doom9.org/showthread.php?p=966093#post966093
Hi folks,
after experimenting few hours, I found this working procedure to convert DD+ to anything else:
So here is updated Guide (old guide can't go over 4G barrier):
1) Create Graph filter: DTS/AC3/DD+ Source -> Sonic Cinemaster Audio Decoder 4.2 -> Dump (for DTS/AC3/DD+ open demuxed DD+ track, for Dump open output RAW (test.raw)). This grab RAW PCM data from Sonic decoder and put into file.
2) Pres play to render RAW PCM data. This rawdata file is depend on Sonic setting, so make sure you set 5.1 output. You've get 5.1ch 16bit (depends maybe on soundcard type), 48khz 6ch RAW data file without header. (it is critical to use Dump filter,coz it can take You over 4G barrier...which file writer evidently not). Wait until filesize of rawfile stop raising, than you can stop graphedit.
3) Use SoX to convert PCM to WAVe: sox -r48000 -t .raw -c 6 -w -s test.raw x:\test.wav (try set output to another physical disk, it speedups the process)
4) If you want 6 separate mono WAVes (for SurCode or other like-this stuff), use Wavewizard. In preferences sets Ignore size in header -> always, Stream manipulation -> Mono streams, Output format -> Wave PCM and finaly output dir. Open test.wav and press "Convert". It creates six WAVes 0-1-2-3-4-5 which match these channel order: FL-FR-C-LFE-SL-SR.
5)Encode final WAVes to anything you want.... for Besweet You need create .mux file for six mono WAVes (for AC3 encodes, etc), it contain lines like this (for AC3 encode):
x:\test_ch0.wav
x:\test_ch2.wav
x:\test_ch4.wav
x:\test_ch1.wav
x:\test_ch5.wav
x:\test_ch3.wav
Note 1: In my test, SurCode is crappy encoder, it can't handle 48khz WAVes correctly...I recomennded use other DTS encoder.
Note 2: Things You need:
- Graphfilter: http://www.doom9.org/Soft21/Filters/graphedit.rar
- SoX: http://sox.sourceforge.net/
- Dump ds filter (in graphedit package), use "register.bat".
- Wavewizard: http://www.rarewares.org/wavewiz/wavewizardv0.54b.zip
Note 3: First of all, prepare a lot of disk space: 2 hours of 6ch PCM or WAVe takes aprox 4G disk space. So You need double (for PCM and for WAVe).
EDIT: Channel order for BeSweet corrected!
Deckard2019
2nd March 2007, 17:11
@JnZ :
Did you test this (http://forum.doom9.org/showthread.php?p=964725#post964725) ? or this (http://forum.doom9.org/showthread.php?p=964366#post964366) ?
It seems easier and lower cost disk space to me ...
madshi
2nd March 2007, 17:17
Thanks for your efforts, JnZ, that sounds promising!
@JnZ :
Did you test this (http://forum.doom9.org/showthread.php?p=964725#post964725) ? or this (http://forum.doom9.org/showthread.php?p=964366#post964366) ?
It seems easier and lower cost disk space to me ...
I test AC3 via FFDshow, and it works...but not for long DD+ (only for unilogo.ddp).
Your guide maybe works too (didn't try).
I give people another guide...so they can decide, and find best way for themselves.
Explanation: I like "old-school" "be-sure" methods... :D
Deckard2019
2nd March 2007, 17:23
I test AC3 via FFDshow, and it works...but not for long DD+ (only for unilogo.ddp).
I've done a 2h20 movie with this method. No trouble. To be continued ;)
I've done a 2h20 movie with this method. No trouble. To be continued ;)
Few minutes ago I tested AC3 produced from FFdShow and BeSweet and must say, that from FFDShow is totally crappy. LFE, SL and SR are totally different than original source. From BeSweet all OK.
So I strongly do not recomended use FFDshow output AC3!!!
Tested on UNILOGO.EVO
madshi
2nd March 2007, 18:19
I've used EncWAVtoAC3 (which internally uses Aften) und the results look quite fine to me. In Audacity the graphs (pre and post AC3 compression) look nearly identical to me.
Deckard2019
2nd March 2007, 23:01
So I strongly do not recomended use FFDshow output AC3!!!
So you mean, ffdshow can't encode AC3 properly ? So liba52 ?
Well, I've made several tries with different methods.
As we don't have any good DTS encoder, my goal is to produce an AC3@640kbps file directly from AVS script, without create a big WAV file. I can now do it with BeHappy, using Aften or ffmpeg.
How can I hear if the created AC3 file match perfectly the source ?
madshi, what are your Aften settings ant what is your Audacity method to compare the files ?
orbitlee
3rd March 2007, 01:48
I think the XPL's info is irrelevant.
The duration info comes from the DSI packet(s) of the EVOB (difference of the PTMs). I think this is the real value. The length of the demuxed audio is the same.
I think the time difference is caused by drop-frame timecode vs non-drop timecode. So nothing wrong at here.
You may find this article helpful for understanding.
http://www.csif.org/html/dropframe.html
juhu
3rd March 2007, 04:19
I think the time difference is caused by drop-frame timecode vs non-drop timecode. So nothing wrong at here.
You may find this article helpful for understanding.
http://www.csif.org/html/dropframe.html
thanks... but there's another "curiosity" :
I finally decoded DD+ (as .wav mono ) with sonic decoder 4.2->avs->behappy... And it appears sound ran slightly faster than images (@ 23.976). Choosing 24 fps for video didn't help either, so I toyed with timestrech dsp available via behappy, and finally found the perfect stretching value : 24.000 -> 23.990 to keep the A/v synched all along the film
Don't ask me why...
Now, I'm working on "the thing" ... and then again, audio decoded (with Aften this time) runs faster.
For this one, the correct audio stretching is 24.000->23.988 to have a constant sync with video (still encoded @ 23.976)
so weird...
Of course, I'm talking about progressive decay in all cases, nothing to do with the 100-150 ms a/v starting delay
Icemaan
3rd March 2007, 05:41
Morning
Can everybody say me where i can download behappy . the webside i cant download the file is there a alternatvie download link
Thanks
Icemaan
2439rf8hasjdert4
3rd March 2007, 06:24
Morning
Can everybody say me where i can download behappy . the webside i cant download the file is there a alternatvie download link
Thanks
Icemaan
Well, I don't think everybody can say you where download behappy, whatever that is, but I'm sure someone might tell you.
Chumbo
3rd March 2007, 07:05
I believe there's a link a few posts up, otherwise google should prove useful.
Google for two keywords: "behappy" and "avisynth". It's 99.9% that you'll find BeHappy - Avisynth-based audio encoder rather than something else :)
Awesome work around here! Following guides from this thread i was able to decode and reencode Riddick HD-DVD into x264+AAC (only stereo ATM) (essentially, reencoded 16-GB VC-1 stream into 14-GB x264 stream (0.99 SSIM), so with AAC audio tracks it will fit on 15-GB HD-DVD disk). While i have some problems with fps, resync, decoding (from my usual playing toolkit [MPC/ffdshow + VLC + MPUI] no player is able to play this movie properly - either it hungs on some moment, or plays video faster than 23.976 fps, or can't open mp4 container) - it's all minor technical issues and could be solved. Currently i'm trying to smooth the whole process and to make it more open/free (i.e. without expensive software filters/decoders).
Nevertheless it works. We can decode and reencode HD-DVDs! CooL!
madshi
3rd March 2007, 11:23
I have the same problem with using BeHappy that I had when I originally tried to create a wav directly with the Sonic Audio Decoder, only. Namely I got 2 good channels and 4 bad channels. The bad channels looked like loud noise to me with a tiny bit of audio information in the first 1-3 seconds of the track. Adding ffdshow to the graph behind the Sonic HD Audio Decoder solved the problem for me when outputting a wav file through "WAV Dest -> FileWriter". Unfortunately BeHappy doesn't work with a graph "DTS/AC3 Source -> Sonic HD Audio Decoder -> ffdShow". It complains about not being able to find a class or something like that. If I remove ffdShow from the graph, BeHappy works, but then only 2 channels are good.
Just as a warning to you guys. If it works for you that way, just BeHappy about that. But better make sure that you check whether all 6 channels are good. You can check that by converting the final AC3 file to 6 mono WAV channels by using Tranzcode and then by looking at the WAV files in Audacity.
Deckard2019
3rd March 2007, 11:50
I tried SoundOut with this AVS :
DirectShowSource("aud.grf", video=false)
AudioDub(BlankClip(), last)
SoundOut()
Open it in VirtualDub and SoundOut pops out. Choose AC3 (Aften) and start.
But SoundOut crashes ...
madshi
3rd March 2007, 11:54
@Pelican9,
here's a list of little bugs I found in your great EvoDemux tool:
(1) If I open the "file open" dialog to load a new EVO file - but abort the "file open" dialog, the EVO is read again. This should happen, aborting the "file open" dialog should behave as if I didn't even open the dialog in the first place.
(2) If I delete the EVO file which is currently selected by EvoDemux and then open the "file open" dialog and then abort the "file open" dialog, there's a crash and afterwards all buttons are disabled.
(3) If I rebuild the EVO with only 1 audio track, the other audio tracks are still listed in the EVO. It seems that their content is removed, but they're still listed in the header or something like that.
(4) If there's some kind of action running and I try to close the whole program, the closing stalls until I press the "Cancel" button. Trying to close the whole program should either automatically cancel the running action. Or alternatively you could open up a MessageBox asking whether the running action should be cancelled.
Keep up the great work! Thanks also to Ron/drmpeg for the original demuxing code.
P.S: Does EvoDemux support being controlled by command line parameters yet? That would help a lot in automating things.
Pelican9
3rd March 2007, 11:56
I think the time difference is caused by drop-frame timecode vs non-drop timecode. So nothing wrong at here.
You may find this article helpful for understanding.
http://www.csif.org/html/dropframe.html
Thanks,
it was really helpful for me.
Pelican9
3rd March 2007, 12:01
(1) If I open the "file open" dialog to load a new EVO file - but abort the "file open" dialog, the EVO is read again. This should happen, aborting the "file open" dialog should behave as if I didn't even open the dialog in the first place.
(2) If I delete the EVO file which is currently selected by EvoDemux and then open the "file open" dialog and then abort the "file open" dialog, there's a crash and afterwards all buttons are disabled.
(3) If I rebuild the EVO with only 1 audio track, the other audio tracks are still listed in the EVO. It seems that their content is removed, but they're still listed in the header or something like that.
(4) If there's some kind of action running and I try to close the whole program, the closing stalls until I press the "Cancel" button. Trying to close the whole program should either automatically cancel the running action. Or alternatively you could open up a MessageBox asking whether the running action should be cancelled.
Thanks, I'm working on it...
Edit:
1, 2, 4: Fixed.
3: Could you send me the status window of EVOdemux?
For me it's working perfectly
(3) If I rebuild the EVO with only 1 audio track, the other audio tracks are still listed in the EVO. It seems that their content is removed, but they're still listed in the header or something like that.I am getting other bug when it comes to audio streams. I have played around alot with my test movie Batman Begins. EVOdemux detects:
"VOB number 4 contains 2 video , 5 audio and 4 subpicture streams."
It contains three DD+ tracks and one Dolby TrueHD track. I select the main video stream, one of the DD+ tracks, the Dolby TrueHD track and a subtitle and press rebuild.
The new rebuilt file contains all the selected streams (as it should) but if I run EVOdemux on the new file it cannot find the Dolby TrueHD track but it's there as the file size is much larger then if I do not select it.
puppydg68
3rd March 2007, 18:35
thanks to the efforts, input, arguments and collaborations of everyone on this thread, i've managed to successfully create an unadultered .wmv (playable on a 360) from a vc-1 .evo. it's only video, but baby steps always get you to where you're headed. all that remains is getting the damn audio downmixed and muxed. i'll be following closely until we get it all hammered out. thanks especially to Penguin9, drmpeg and Isochroma.
:thanks:
Could you please share this guide on getting the VC-1 video muxed unadultered into a Xbox 360 .wmv playable format?
It would be great if you could post it here http://forum.doom9.org/showthread.php?t=121168 or as an addition to this thread. Thanks in advance.
juhu
3rd March 2007, 19:24
as noticed 2 posts above by ZGX, evodemux gives curious reports on rebuilt .evos
Once again : Casablanca.
Builiding one single evo with the 2 parts gives me this :
--------------------
Opening file Feature_1_Feature_2.rebuilt.EVO
File size: 13851 Mbytes.
VOB number 4 contains 1 video , 5 audio and 4 subpicture streams.
PTM of first video frame = 00000D91
PTM of last video frame = 105CFFB1
Duration = 0:50:50.297
VC-1 video stream 0 found!
First PTS = 00000D91
Substream id = 55
Sequence Header found
0 frames before first I-frame
Advanced Profile
Level = 3
Chroma Format = 4:2:0
Size = 1920x1080
Display Horizontal size = 1920
Display Vertical size = 1080
Aspect ratio = 1:1 (square samples)
Frame Rate = 23,976 (24000/1001)
(audio/sub parts removed)
147590 counted frames (1:42:35.733) in video stream 0.
73134 calculated frames.
in other words, it gives me stats from the first part, even after appending the 2nd (apart from the counted frames, but we know it's much less useful than calculated frames...)
_xxl
3rd March 2007, 19:38
I test AC3 via FFDshow, and it works...but not for long DD+ (only for unilogo.ddp).
It works or not?
that from FFDShow is totally crappy
?
LFE, SL and SR are totally different than original source
I would like to know how much different?
1%,30%,80%,100%?
Any samples?
Deckard2019
3rd March 2007, 19:47
Hi folks,
after experimenting few hours, I found this working procedure to convert DD+ to anything else:
So here is updated Guide (old guide can't go over 4G barrier):
1) Create Graph filter: DTS/AC3/DD+ Source -> Sonic Cinemaster Audio Decoder 4.2 -> Dump (for DTS/AC3/DD+ open demuxed DD+ track, for Dump open output RAW (test.raw)). This grab RAW PCM data from Sonic decoder and put into file.
2) Pres play to render RAW PCM data. This rawdata file is depend on Sonic setting, so make sure you set 5.1 output. You've get 5.1ch 16bit (depends maybe on soundcard type), 48khz 6ch RAW data file without header. (it is critical to use Dump filter,coz it can take You over 4G barrier...which file writer evidently not). Wait until filesize of rawfile stop raising, than you can stop graphedit.
3) Use SoX to convert PCM to WAVe: sox -r48000 -t .raw -c 6 -w -s test.raw x:\test.wav (try set output to another physical disk, it speedups the process)
4) If you want 6 separate mono WAVes (for SurCode or other like-this stuff), use Wavewizard. In preferences sets Ignore size in header -> always, Stream manipulation -> Mono streams, Output format -> Wave PCM and finaly output dir. Open test.wav and press "Convert". It creates six WAVes 0-1-2-3-4-5 which match these channel order: FL-FR-C-LFE-SL-SR.
5)Encode final WAVes to anything you want.... for Besweet You need create .mux file for six mono WAVes (for AC3 encodes, etc), it contain lines like this (for AC3 encode):
x:\test_ch0.wav
x:\test_ch1.wav
x:\test_ch2.wav
x:\test_ch3.wav
x:\test_ch4.wav
x:\test_ch5.wav
Note 1: In my test, SurCode is crappy encoder, it can't handle 48khz WAVes correctly...I recomennded use other DTS encoder.
Note 2: Things You need:
- Graphfilter: http://www.doom9.org/Soft21/Filters/graphedit.rar
- SoX: http://sox.sourceforge.net/
- Dump ds filter (in graphedit package), use "register.bat".
- Wavewizard: http://www.rarewares.org/wavewiz/wavewizardv0.54b.zip
Note 3: First of all, prepare a lot of disk space: 2 hours of 6ch PCM or WAVe takes aprox 4G disk space. So You need double (for PCM and for WAVe).
EDIT: Channel order for BeSweet corrected!
I've just tested this on the same 2h20 movie. test.wav size is 7GB, just like test.raw.
But absolutely no sound in test.wav :( And duration is 1h23 :(
It works or not?
Well it works for me. AC3 file sounds ok to me.
I would like to know how much different?
1%,30%,80%,100%?
Any samples?
+1
madshi
3rd March 2007, 20:39
3: Could you send me the status window of EVOdemux?
Before or after the rebuild? Or maybe after reading the combined EVO?
Jan Marijniszoon
3rd March 2007, 22:54
I've just tested this on the same 2h20 movie. test.wav size is 7GB, just like test.raw.
But absolutely no sound in test.wav :( And duration is 1h23 :(
You need Sox 13.0.0 which support 24-bit audio.
But the win32 isn't avaiable yet :(
Does anyone know where to get such a build?
@JnZ
Excellent method! Thanks!
Deckard2019
3rd March 2007, 23:28
Well, my version is 13.0.0 :
C:\Program Files\SoX>sox.exe --version
sox.exe: v13.0.0
And it does not work.
Excellent method! Thanks!
Did you try it ? Does it work for you ?
noclip
3rd March 2007, 23:31
The method mentioned above didn't work for me. I got a file that is 3x faster than it should be.
Jan Marijniszoon
4th March 2007, 00:38
Well, my version is 13.0.0 :
And it does not work.
Did you try it ? Does it work for you ?
It will work, but first can you tell me where you got your version?
Jan Marijniszoon
4th March 2007, 01:04
Never mind, I found it myself and it works...
You only need to change the -w into -3 in the commandline:
sox -r 48000 -t .raw -c 6 -3 -s test.raw x:\test.wav
EDIT: the only thing is that wavewizard doesn't name the channels, but it seems to be perfectly following the channelmapping for wav:
0 = FL
1 = FR
2 = C
3 = LFE
4 = SL
5 = SR
EDIT AGAIN: but I see that JnZ already mentioned that before :)
Pelican9
4th March 2007, 02:50
as noticed 2 posts above by ZGX, evodemux gives curious reports on rebuilt .evos
Once again : Casablanca.
Builiding one single evo with the 2 parts gives me this :
...
in other words, it gives me stats from the first part, even after appending the 2nd (apart from the counted frames, but we know it's much less useful than calculated frames...)
OK, thanks.
I know this bug, fixing soon
Edit:
Fixed
Opening file FEATURE_1.EVO
Reading...
VOB number 5 contains 1 video , 4 audio and 3 subpicture streams.
PTM of first video frame = 00000D75
PTM of last video frame = 1648562F
Duration = 1:09:13.733
Continue on FEATURE_2.EVO
Reading...
VOB number 6 contains 1 video , 4 audio and 3 subpicture streams.
PTM of first video frame = 1648562F
PTM of last video frame = 264FA411
Duration = 0:49:47.935
Done.
171229 calculated frames (1:59:01:668) in video stream 0.
Opening file FEATURE_1_FEATURE_2.rebuilt.EVO
Reading...
VOB number 5 contains 1 video , 4 audio and 3 subpicture streams.
PTM of first video frame = 00000D75
PTM of last video frame = 264FA411
Duration = 1:59:01.668
171229 calculated frames in video stream 0.
Question:
The rebuilt EVO's second part has a different vob number ( '6', the first part: '5'). Is it good? I can change it, but I'm not sure it's neccessary or not.
Pelican9
4th March 2007, 02:54
The new rebuilt file contains all the selected streams (as it should) but if I run EVOdemux on the new file it cannot find the Dolby TrueHD track but it's there as the file size is much larger then if I do not select it.
Use the new beta it's fixed in it.
The older versions not handle correctly the MLP and the LPCM audio streams during rebuild
I've just tested this on the same 2h20 movie. test.wav size is 7GB, just like test.raw.
But absolutely no sound in test.wav :( And duration is 1h23 :(
Well, this sounds like You've got 24bit (or 32bit?) PCM RAW audio...depends on soundcard, I think (figure on 7G of Your audio). I've got on superman (2:34:19) 5086MB of raw audio. Or maybe you decode 7.1 channels? Try to check your Sonic Audio Decoder.... I need sample to analyze...
I used Sox 12.x, which suports only 16,32,64bit. So try v.13 and change switch-w to -3, which means 24bit.
J.
EDIT: Now, I'm trying to compile v13 for Win.
Jan Marijniszoon
4th March 2007, 11:19
No need to compile it...
You can get it here...
http://sourceforge.net/project/showfiles.php?group_id=10706
No need to compile it...
You can get it here...
http://sourceforge.net/project/showfiles.php?group_id=10706
Wow, somebody was faster...I've not noticed. :)
Deckard2019
4th March 2007, 11:45
Well, this sounds like You've got 24bit (or 32bit?) PCM RAW audio...depends on soundcard, I think (figure on 7G of Your audio). I've got on superman (2:34:19) 5086MB of raw audio. Or maybe you decode 7.1 channels? Try to check your Sonic Audio Decoder.... I need sample to analyze...
I used Sox 12.x, which suports only 16,32,64bit. So try v.13 and change switch-w to -3, which means 24bit.
J.
EDIT: Now, I'm trying to compile v13 for Win.
Source is DD+ 5.1 from batman begins (2h20). Raw file is 6923MB, using dump in graphedit.
Sox :
Input File : 'D:\HD\HD-DVD\bb\sox.raw'
Sample Size : 24-bit (3 bytes)
Sample Encoding: signed (2's complement)
Channels : 6
Sample Rate : 48000
Endian Type : little
Reverse Nibbles: no
Reverse Bits : no
Output File : 'D:\HD\HD-DVD\sox.wav'
Sample Size : 24-bit (3 bytes)
Sample Encoding: signed (2's complement)
Channels : 6
Sample Rate : 48000
Endian Type : little
Reverse Nibbles: no
Reverse Bits : no
Comment : 'Processed by SoX'
Will try WaveWizard on WAV file and compare 6 WAV channels with my AC3 tranzcode WAVes.
EDIT: Once again, it does not work for me. sox.wav is mute.
Don't know what's wrong. Could you give us small samples ? DD+, RAW and WAV files ?
Pelican9
4th March 2007, 13:32
1) Create Graph filter: DTS/AC3/DD+ Source -> Sonic Cinemaster Audio Decoder 4.2 -> Dump (for DTS/AC3/DD+ open demuxed DD+ track, for Dump open output RAW (test.raw)). This grab RAW PCM data from Sonic decoder and put into file.
2) Pres play to render RAW PCM data. This rawdata file is depend on Sonic setting, so make sure you set 5.1 output. You've get 5.1ch 16bit (depends maybe on soundcard type), 48khz 6ch RAW data file without header. (it is critical to use Dump filter,coz it can take You over 4G barrier...which file writer evidently not). Wait until filesize of rawfile stop raising, than you can stop graphedit.
3) Use SoX to convert PCM to WAVe: sox -r48000 -t .raw -c 6 -w -s test.raw x:\test.wav (try set output to another physical disk, it speedups the process)
4) If you want 6 separate mono WAVes (for SurCode or other like-this stuff), use Wavewizard. In preferences sets Ignore size in header -> always, Stream manipulation -> Mono streams, Output format -> Wave PCM and finaly output dir. Open test.wav and press "Convert". It creates six WAVes 0-1-2-3-4-5 which match these channel order: FL-FR-C-LFE-SL-SR.
5)Encode final WAVes to anything you want.... for Besweet You need create .mux file for six mono WAVes (for AC3 encodes, etc), it contain lines like this (for AC3 encode):
x:\test_ch0.wav
x:\test_ch1.wav
x:\test_ch2.wav
x:\test_ch3.wav
x:\test_ch4.wav
x:\test_ch5.wav
1. OK
2. It creates a 0 byte long .raw file
kornesque
4th March 2007, 14:35
it creates a small trash file for me after rendering about 10%
juhu
4th March 2007, 16:05
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 !
tomos
4th March 2007, 16:44
this is weird, i havent had to alter anything like that to get synched audio when re-encoding dts or ddp tracks - that's before with basic 2ch and now with 6.
holzi
4th March 2007, 17:11
what does you avs script look like juhu?
Because if have:
DirectShowSource(YOUR.GRF, fps=23.976, video=false, seek=true, seekzero=false, framecount=XXX)
I think that covers the problem too.
I just have samples to check. So I don't now if that works :)
juhu
4th March 2007, 17:32
what does you avs script look like juhu?
Because if have:
DirectShowSource(YOUR.GRF, fps=23.976, video=false, seek=true, seekzero=false, framecount=XXX)
I think that covers the problem too.
my "script" is just DirectShowSource(YOUR.GRF, video=false)
because :
1 - I work on Demuxed dd+ file
2 - Framecount / fps parameters just control video frames I think, I doubt they're useful with audio...(In my numerous attempts, I think I tried with/without framecount/fps and I had the exact same problems. Only stretching audio solved it...)
woah!
4th March 2007, 22:05
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 !
how do you add frames to the timestrech windows? i cant seem to add them using the same version you are? if i add 68880 in the input window it defaults to 1000.00
juhu
4th March 2007, 22:22
how do you add frames to the timestrech windows? i cant seem to add them using the same version you are? if i add 68880 in the input window it defaults to 1000.00
You didn't notice the point after the 2 digits :p
remember it's just a ratio :
68880 -> (let's say) 68900 is the same thing than
68.880 ->68.900
:cool:
woah!
4th March 2007, 22:29
You didn't notice the point after the 2 digits :p
remember it's just a ratio :
68880 -> (let's say) 68900 is the same thing than
68.880 ->68.900
:cool:
ahh well i did but i looked at your screenie and it looked like a comma not a point?
but hey if that works i am stupid yes :)
xc3ll
4th March 2007, 22:57
I'm trying to dump my audio, but I can't get the audio decoder to connect to the dump filter. I also tried with the file write filter, and no luck. It says "these filters cannot agree on a connection." Can anyone help me out? Oh, and I noticed that everyone has been saying to use Sonic Cinemaster Audio Decoder 4.2. I have Sonic Cinemaster Audio MCE Decoder 4.2. Are they different filters? I'm running pro right now, so if it only works under MCE, well that's probably my problem.
EDIT: I can't get it hooked up properly, I always get a demuxer right before the decoded, and I only get a 1.5MB raw file. Can anyone help me out?
DD+ --> Sonic HD Demuxer --> Sonic Cenmaster Audio MCE Decoder 4.2 --> Dump
Jan Marijniszoon
5th March 2007, 00:08
I still don't get it.
Can anyone tell me what frame amount to go for?
The calculated amount or the counted amount?
I red the article but I can't understand the time-code story. Maybe someone can explain it to me in simple words.
Sorry for my stupidity!
juhu
5th March 2007, 00:30
I still don't get it.
I red the article but I can't understand the time-code story. Maybe someone can explain it to me in simple words.
in short : if you have a mile to go, you can walk (it'll take you 10 minutes) or you can run (2 mn). But the distance is still the same isn't it ?
For the frames, it's the same story. they are displayed @ 23.976 fps on your computer, but the timing in the .xpl file is based on 24 fps (cinema speed). But in both cases, we're talking about the exact same film with the exact same number of frames inside, so it doesn't matter if the xpl file use another "metric system"...
now, the counted & calculated frames is ANOTHER story I still don't get the subtleties, So I let this part for comment to experts :D
kornesque
5th March 2007, 12:11
xc3ll, yes they are different. i didn't do any research to figure out how, but i was using MCE 4.11 for a while before i realized it was getting me nowhere. don't use it, check your PM.
dchard
5th March 2007, 12:21
Is there any way to convert an SRT subtitle to HD-DVD compatible format, and then mux it to the original film?
Thanks!
Dchard
Icemaan
5th March 2007, 12:43
I'm trying to dump my audio, but I can't get the audio decoder to connect to the dump filter. I also tried with the file write filter, and no luck. It says "these filters cannot agree on a connection." Can anyone help me out? Oh, and I noticed that everyone has been saying to use Sonic Cinemaster Audio Decoder 4.2. I have Sonic Cinemaster Audio MCE Decoder 4.2. Are they different filters? I'm running pro right now, so if it only works under MCE, well that's probably my problem.
EDIT: I can't get it hooked up properly, I always get a demuxer right before the decoded, and I only get a 1.5MB raw file. Can anyone help me out?
DD+ --> Sonic HD Demuxer --> Sonic Cenmaster Audio MCE Decoder 4.2 --> Dump
Try DTS/AC3/DD+ --> Sonic Cinemaster Audio 4.2 --> Dump
Icemaan
Hello all again,
after todays experimenting (yesterday Sonic audio decoder gives me 16bit, today 24bit ???!!!, strange), I wrote this (I hope last), guide:
1) DTS/AC3/DD+ Source -> Sonic Audio Decoder 4.2 -> Dump
2) use SOX: sox -r48000 -t .raw -c 6 -3 -s test.raw y:\test.wav
3) Wavewizard, use Convert sample type 16bit or 32bit IEE (BeSweet don't eat 24bit).
4) Create MUX file with lines containing path + filename for each separated channels.
Order should be: 0-2-1-4-5-3.
For me works first one, my fried use second one...
5) encode MUX in BeSweet to AC3
(I tried to make DTS with Nuendo and SurCode, but no one works properly)
EDIT: Proper channel order for BeSweet MUX file is 0-2-1-4-5-3!!! (my damn winamp ac3 decoder switches channels)
madshi
5th March 2007, 13:28
yesterday Sonic audio decoder gives me 16bit, today 24bit ???!!!, strange
Had this effect, too. Originally got 24bit and only 2 good channels (4 buggy ones). Then I added ffdshow and got 16bit and 6 good channels. Later I removed ffdshow and still got 16bit!?!? Very confusing...
MichalHabart
5th March 2007, 13:28
Hello all again,
after todays experimenting (yesterday Sonic audio decoder gives me 16bit, today 24bit ???!!!, strange), I wrote this (I hope last), guide:
1) DTS/AC3/DD+ Source -> Sonic Audio Decoder 4.2 -> Dump
2) use SOX: sox -r48000 -t .raw -c 6 -3 -s test.raw y:\test.wav
3) Wavewizard, use Convert sample type 16bit or 32bit IEE (BeSweet don't eat 24bit).
4) Create MUX file with lines containing path + filename for each separated channels.
Order should be: 0-1-2-3-4-5, or 0-2-1-4-5-3?
For me works first one, my fried use second one...
5) encode MUX in BeSweet to AC3
(I tried to make DTS with Nuendo and SurCode, but no one works properly)
That friend is me :) I first used 0-1-2-3-4-5 order but it sound strange. I found out that centre mono wav is now front right in ac3. After changing order to 0-2-1-4-5-3 it seems to be ok. I tried with dd+ from swordfish (movie, nothing else)
Pelican9
5th March 2007, 14:17
Try DTS/AC3/DD+ --> Sonic Cinemaster Audio 4.2 --> Dump
Icemaan
I've tried this, but it creates only a 0 byte file. :(
dchard
5th March 2007, 14:36
Feedback:
I demuxed the Batman Begins HD-DVD to elementary streams, then i used the supreader with the demuxed sup streams. But I got access violation errors when I try to open the demuxed .sup files.
Dchard
idamien
5th March 2007, 15:16
Hi again,
@dchard && Pelican9
I´m also getting access violation when opening the app and reading .sup files, with SUPRead v0.24(b).
I´m using Vista 32 though...
idamien
5th March 2007, 15:27
Feedback:
Just tried SUPRead v0.25b. Access violation when opening app doesn´t happen anymore but is still present when opening .sup file...
Deckard2019
5th March 2007, 16:33
No problem with SUPread here, using XP. Version 0.24 and 0.25b. Just tried with BB too.
(You should post in the correct thread (http://forum.doom9.org/showthread.php?t=121535)).
MichalHabart
5th March 2007, 16:44
No problem with SUPread here, using XP. Version 0.24 and 0.25b. Just tried with BB too.
(You should post in the correct thread (http://forum.doom9.org/showthread.php?t=121535)).
I have now srt with Line1-Linexxx and lot of png files. What should be next step to create proper srt file with recognised lines?
Deckard2019
5th March 2007, 17:00
No more SRT, Scenarist ACA now :( :
http://forum.doom9.org/showthread.php?p=965655#post965655
MichalHabart
5th March 2007, 17:30
No more SRT, Scenarist ACA now :( :
http://forum.doom9.org/showthread.php?p=965655#post965655
I don't want anything like this, i just need simple file with text in it. So, is there some OCR for this?
I've tried this, but it creates only a 0 byte file. :(
Hm strange, try this:
1) DTS/AC3/DD+ Decoder -> Sonic Audio decoder 4.2 -> Default Direct Show device (Def. DS device is in Audio Renderers), and try to play it...on soundcard you must hear sound.
2) Do you use Sonic Audio Decoder 4.2?
xc3ll
5th March 2007, 18:46
Juhu, I tried your method, but I keep on getting errors. This is what I get:
Starting job audio.avs->audio.ac3
Found Audio Stream
Channels=2, BitsPerSample=16, SampleRate=48000Hz
Aften.exe -v 0 -b 448 -m 1 -s 0 -cmix 0 -smix 0 -dsur 0 -dnorm 31 - "I:\BT\Fearless HD-DVD\audio.ac3"
Writing RIFF header to encoder's StdIn
Writing PCM data to encoder's StdIn
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()
#### Encoder StdErr ####
My .avs file has this:
directshowsource("audio.grf",video=false)
Where my grf looks like this:
DD+ source->sonic cinemaster decoder 4.2
Can you tell me what I'm doing wrong?
juhu
5th March 2007, 19:01
@xc3ll : can't be sure...
But at least did you replace aften in the original behappy package with the latest version (aften 0.6)
When I downloaded behappy, the embedded aften version gave me pipe errors too (although I don't remember the following error lines, so I'm not sure it's the same case...)
xc3ll
5th March 2007, 19:04
Juhu, I patched it with aften 0.06, and it fixed the problem. Thanks! The only troubling thing now is that BeHappy seems to think its 2ch audio... I'll have to look at that more closely...
EDIT:
double checked it, and it is 2ch audio... the audio sounds fine tho. Are you getting 6ch audio Juhu?
Deckard2019
5th March 2007, 19:06
Same kind of problem with SoundOut, which uses Aften too. My AVS looks like xc3ll one.
If I choose another format in SoundOut, it works.
Chumbo
5th March 2007, 19:19
Check out this (http://forum.doom9.org/showthread.php?p=965917#post965917) build of BeHappy. Works great. :)
xc3ll
5th March 2007, 19:45
I keep getting the 2ch problem with BeHappy. Not sure how to fix it either.
JnZ, also tried your method, but WaveWizard says it doesn't recognize the file type. I did get BeHappy to output a 6ch ac3 file tho.
This is what I did:
1)Use graphedit settings provided by JnZ, hit play.
2) Use sox settings provided by JnZ
3)Make .avs file with the following line:
directshowsource("dump.wav",video=false)
where dump.wav is the file you just made in sox
4)Input into BeHappy using Juhu's settings.
5)Done!
The only problem so far is that I can only make 448Kb/s audio. I tried the version of behappy that chumbo linked to, but it didn't work. I can't test mappings of sound either... I'm just guessing that they're right for now. The strangest thing is that the audio is MUCH shorter than it should be. I'm pretty sure this is happening when I make the wave. I tested the output of the DD+ stream in graphedit, and it sounds fine, but the wav plays 3x faster than it should be.
Either 1)the dump isn't working correctly(its only 1.7gb) or 2)sox isn't working correctly.
Any ideas?
MichalHabart
5th March 2007, 21:48
I keep getting the 2ch problem with BeHappy. Not sure how to fix it either.
JnZ, also tried your method, but WaveWizard says it doesn't recognize the file type. I did get BeHappy to output a 6ch ac3 file tho.
This is what I did:
1)Use graphedit settings provided by JnZ, hit play.
2) Use sox settings provided by JnZ
3)Make .avs file with the following line:
directshowsource("dump.wav",video=false)
where dump.wav is the file you just made in sox
4)Input into BeHappy using Juhu's settings.
5)Done!
The only problem so far is that I can only make 448Kb/s audio. I tried the version of behappy that chumbo linked to, but it didn't work. I can't test mappings of sound either... I'm just guessing that they're right for now. The strangest thing is that the audio is MUCH shorter than it should be. I'm pretty sure this is happening when I make the wave. I tested the output of the DD+ stream in graphedit, and it sounds fine, but the wav plays 3x faster than it should be.
Either 1)the dump isn't working correctly(its only 1.7gb) or 2)sox isn't working correctly.
Any ideas?
If raw pcm has same size as "soxed" wav file, then sox is working properly. How long is that movie you are trying to demux? For 99minutes long movie pcm is about 4900MB.
juhu
5th March 2007, 22:00
I keep getting the 2ch problem with BeHappy. Not sure how to fix it either.
Any ideas?
I doubt there's something to fix, Behappy is just the "transporter".
It takes what Sonic audio decoder gives him and feeds your chosen encoder with it.
As some already previously mentioned, you have to specify your system you're using 5.1 output. That means 2 visits to your control panel
#1 : general audio settings ->advanced audio parameters :
http://img6.picsplace.to/img6/26/audio.JPG
That leads us to #2 : sonic cineplayer audio parameters :
http://img6.picsplace.to/img6/26/audio2.JPG
if you don't choose 5.1 output on step #1, there are chances you won't see the 5.1 option on step #2....
now the 6 channels should follow the pipe .evo->sonic audio->behappy->aften.
earl
6th March 2007, 00:51
hi guys, i have read here a lot.. but i do not understat what i must do toplay .evo (vc1 with ddplus) file in the mpc
i must link a filter from scenarist to the mpc? but how, and which one?
xc3ll
6th March 2007, 00:56
Juhu, thanks A LOT, I'm finally getting 6ch audio. However, I've noticed that even though I've done the time stretch, my audio still goes too slow. By the time it gets to the 4 minute mark, it's already 1/2 a second too slow, and it gets to be about 3 seconds too slow at the end. My calculated is 149158 and counted is 149216, which is a 2.5 second difference. It just doesn't seem to be doing the time stretch, because I've tried doing it multiple times with the same result.
earl: get graphedit(google it and you'll easily find it), and set it up like this:
http://img171.imageshack.us/img171/1684/00063ju4.th.png (http://img171.imageshack.us/my.php?image=00063ju4.png)
That'll play it fine. You could also get PowerDVD, it will also play .evo
Pelican9
6th March 2007, 11:41
Hm strange, try this:
1) DTS/AC3/DD+ Decoder -> Sonic Audio decoder 4.2 -> Default Direct Show device (Def. DS device is in Audio Renderers), and try to play it...on soundcard you must hear sound.
2) Do you use Sonic Audio Decoder 4.2?
1. Nothing, no sound, no progress bar
(With dump at the end of the graph, the progress bar is working)
2. Yes.
Darth Pinous
6th March 2007, 12:35
1. Nothing, no sound, no progress bar
(With dump at the end of the graph, the progress bar is working)
2. Yes.
When you press play, what do you have in the filter properties window of the Default Directsound Device ?
Pelican9
6th March 2007, 13:40
When you press play, what do you have in the filter properties window of the Default Directsound Device ?
There are three pages (Audio renderer, Advanced, Audio input pin (rendered)).
Nothing changes when I press the play.
The first shows:
wformat tag: 1
nchannels: 2
nsamplepersec: 48000
navgbytespersec: 192000
nblockalign: 4
rate: 1.00
Advanced shows nothing (I mean all '-' and '0')
The last shows:
Major type: Audio
sub type: PCMaudio
Format: waveformatex: 48.000 kHz 16 bit
stereo
Pelican9
6th March 2007, 14:28
Feedback:
Just tried SUPRead v0.25b. Access violation when opening app doesn´t happen anymore but is still present when opening .sup file...
EVOdemux creates wrong .sup files if you uncheck any stream.
I'm working on it.
Edit:
Done.
Download the newest beta of EVOdemux and demux the subtitle again.
1. Nothing, no sound, no progress bar
(With dump at the end of the graph, the progress bar is working)
2. Yes.
Hmm, strange, something wrong in Your system...that filter must "play" (when connected to DShow audio device).
We are trying to "catch" RAW data, which goes to soundcard redirecting them to the file (dump). So if you can't play this filter on soundcard, not able to "save" any raw data to file too.
If sombody interested to making 5.1 OGG channel audio from DD+ (which is the best IMHO), here is guide:
1) Make graph filter: DD+ src-> Sonic Audio 4.2 -> Dump
2) Use SoX: sox -r48000 -S -t .raw -c 6 -3 -s xxx.raw -2 y:\xxx.wav
3) Use wavewizard and separate it to six mono WAVes
4) Wrote MUX file with 0-2-1-4-5-3 channel order. (OGG have different ch. order, than 5.1ch WAVe)
5) Use BeSweet and make WAVe file (test.wav).
6) Use aoTuV encoder: venc -q6 test.wav (-q switch means quality, -q6 gives average 460kbps)
Note: It's possible to use oggenc directly to RAW data: oggenc.exe -r -B24 -C6 -R48000 -q6 xxx.raw, but this create bad channel-ordered OGG.
Darth Pinous
6th March 2007, 17:21
There are three pages (Audio renderer, Advanced, Audio input pin (rendered)).
Nothing changes when I press the play.
The first shows:
wformat tag: 1
nchannels: 2
nsamplepersec: 48000
navgbytespersec: 192000
nblockalign: 4
rate: 1.00
Advanced shows nothing (I mean all '-' and '0')
The last shows:
Major type: Audio
sub type: PCMaudio
Format: waveformatex: 48.000 kHz 16 bit
stereo
Seems to me that the sonic audio decoder sends crap to your soundcard... Did you install Sonic 4.1 filters ?
Pelican9
6th March 2007, 18:18
Changes for v0.623
- Display H.264 video stream info (finished)
- Rebuild change the DSI packet's audio and subpicture information and PTM info too
- Fixed bug with MLP and LPCM stream handling during Rebuild
- Fixed bug with 'Cancelled' message
- Fixed bug with 'Invalid floating point operation' after demux
- Fixed bug with DTS HD info
- Fixed bug with .sup files
- Fixed minor bugs with opening files and closing application
EVOdemux v0.623 (http://pel.hu/down/EVOdemux.exe)
Seems to me that the sonic audio decoder sends crap to your soundcard... Did you install Sonic 4.1 filters ?
No. I've installed 4.2 only.
Darth Pinous
6th March 2007, 18:36
No. I've installed 4.2 only.
I've tried to install 4.2 only, but I couldn't connect Sonic with orbitlee filter in Graphedit, and I had repeated errors when closing Sonic configuration panel.
After installing Scenarist 4.1 (which doesn't affect 4.2 Sonic filters), I could connect Sonic Decoder with orbitlee filter and render DD+ files... Maybe that will work for you too ...?
Jan2001
6th March 2007, 20:13
I've registered scenarist 4.1 filters (as the application doesn't work with mce) and 4.2.
All i get is a 6-channel output of which 4 channels are crap.
The1n
6th March 2007, 21:32
Im also getting that the orbitlee dtsac3source filter cannot connect to sonic audio filter 4.2. Can someone advise me what is wrong, can it be a conflict with filters? , 4.1 connects to orbitlee but not 4.2.
The1n
This might not belong in this thread but here it goes anyway. Since we are discussing "Sonic Cinemaster Audio Decoder 4.2".
When I use it to decode for example a LPCM 5.1 stream I would like to preserve the same dynamic range as the original. There is a setting in Sonic Cinemaster called "environment" that adjusts dymaic range.
My question is if "Quiet" means "Full Dymanic Range = like the original" or if it artificially increases dynamic range even further. Or should I go with "Normal"?
orbitlee
7th March 2007, 02:02
Im also getting that the orbitlee dtsac3source filter cannot connect to sonic audio filter 4.2. Can someone advise me what is wrong, can it be a conflict with filters? , 4.1 connects to orbitlee but not 4.2.
The1n
Based on my own test and other people's feedback at here, I must say sonic decoder pack 4.2 is quite unstable. Sometimes it works, sometimes don't. No idea why.
Could you check whether this fiter graph can be created?
EVO->Sonic HD Demux->Sonic Audio decoder 4.2 -> Default DirectSound ?
orbitlee
7th March 2007, 02:08
Pelican9, if you got this "Advanced shows nothing (I mean all '-' and '0')", there is definitely no sound.
Are you sure you are using DD+ audio track? And, please give me a sample of your audio track, I'll try to reproduce this and find out the reason.
There are three pages (Audio renderer, Advanced, Audio input pin (rendered)).
Nothing changes when I press the play.
The first shows:
wformat tag: 1
nchannels: 2
nsamplepersec: 48000
navgbytespersec: 192000
nblockalign: 4
rate: 1.00
Advanced shows nothing (I mean all '-' and '0')
The last shows:
Major type: Audio
sub type: PCMaudio
Format: waveformatex: 48.000 kHz 16 bit
stereo
The1n
7th March 2007, 02:11
Based on my own test and other people's feedback at here, I must say sonic decoder pack 4.2 is quite unstable. Sometimes it works, sometimes don't. No idea why.
Could you check whether this fiter graph can be created?
EVO->Sonic HD Demux->Sonic Audio decoder 4.2 -> Default DirectSound ?
Hi Orbitlee
With the graph you suggested i got connection error 80040217 with both VC1 to the video decoder and DD+ to the audio decoder both 4.2 version.
I have also just reformatted my pc incase there were trouble in registry land , i have installed directx latest and your modded dtsac3 filter but still no go :(
Can it be something to do with the DS filters for my audigy2 zs card conflict ?
Regards
The1n
woah!
7th March 2007, 02:18
i just did a encode of Posidon which seemed to work just fine for sync a/v.
now what is weird is that the video runs a total time of 1:38:13 , but the audio came out at 1:38:15
so a 2 sec difference but when i muxed them together in mp4box i got a perfect sync result?? i am not a master at any of this stuff but does that make sense? heh.. anyways it worked..
i use intervideo audio decoder to process the ddp+ audio in a graph file, and feed it to behappy using a simple avs script.
xc3ll
7th March 2007, 04:13
i just did a encode of Posidon which seemed to work just fine for sync a/v.
now what is weird is that the video runs a total time of 1:38:13 , but the audio came out at 1:38:15
so a 2 sec difference but when i muxed them together in mp4box i got a perfect sync result?? i am not a master at any of this stuff but does that make sense? heh.. anyways it worked..
i use intervideo audio decoder to process the ddp+ audio in a graph file, and feed it to behappy using a simple avs script.
woah, what script did u use?
Wookie Groomer
7th March 2007, 05:40
EVODemux is an amazing tool. Is there one similar that handles m2ts files? Will EVODemux eventualy integrate that format as well?
Darth Pinous
7th March 2007, 06:51
EVODemux is an amazing tool. Is there one similar that handles m2ts files? Will EVODemux eventualy integrate that format as well?
You've got drmpeg's XPORT tool there (http://www.w6rz.net/xport.zip).
It can demux every stream from a m2ts file, except for PCM soundtracks which it can demux only in stereo (for now).
noclip
7th March 2007, 06:53
I was finally able to extract the full 5.1 audio. EVO -> Sonic HD Demux -> Sonic Audio Decoder 4.2 -> WAV Dest -> Dump. The trick is, you have to view the properties for the HD demuxer and select the right stream. Probably best to demux and join first so you don't have to deal with picking the right stream in the second file.
woah!
7th March 2007, 09:01
woah, what script did u use?
ok i think "i have" a repeatable way now for all my HD DVD needs.
i cant use a vc1 or mpv demuxed video stream as it seems to just jump around randomly throughout the film, as if the frames dont have a 0 1 2 3 type stream. it starts off ok then it can jump to say 25mins in and then back to 10 mins into the film etc..
anyways i solve this by just using the rebuilt EVO file directly, which then works perfect for me. here is my script for Posidon:
DirectShowSource("G:\5\PEVOB_1_PEVOB_2.rebuilt.EVO",framecount=141292,fps=23.976,audio=false)
crop(8,144,-8,-144)
Lanczos4Resize(1280,528)
Nicefps()
ConvertToYv12()
that gives me a end result at 23.976fps and 01:38:13 long.
now the audio which i just figured out what i did from the night prior so there is some sync work to do. i used graphedit and connected the ddp+ file i demuxed out of the joined EVO file to the "Intervideo Audio Decoder" which on my comp here is setup only for 2ch audio, but i dont see why 6ch cant be done if you have 5.1 seup.
PEVOB_1_PEVOB_2.DD+.6ch.stream.00.English 5.1.ddp ---> Intervideo Audio Decoder
i saved that graph out and added it to a simple avs script:
SetMemoryMax(64)
DirectShowSource("G:\5\SOUND.GRF", video=false)
i used behappy to process the script and used the timestretch plugin to change the audio from the "counted frames amount" to the "calculated frames amount"
in Posidon this was 141350 to 141292
now the bit i dont understand, this gives a time of 01:38:15 which is 2 secs slower that the video, but throw these 2 resulting files into mp4box and mux them together and you end up with a mp4 with a runtime of 01:38:15 and synced.
i have watched the result on my computer and over my mce2005 media server onto my plasma and it runs perfect on both.
so there you have it really, long winded but it works ... for me anyway heh..
Pelican9
7th March 2007, 09:56
Pelican9, if you got this "Advanced shows nothing (I mean all '-' and '0')", there is definitely no sound.
Are you sure you are using DD+ audio track? And, please give me a sample of your audio track, I'll try to reproduce this and find out the reason.
I've used the demuxed audio stream from UNILOGO.EVO (The Chronicles of Riddick).
MiniMinimal
7th March 2007, 13:09
why doesn't my *.avs script work when i'm trying to get video into vdubmod?
It says:
Avisynth open failure:
Script error: DirectShowSource does not have a named argument "framecount"
(c:\lekmedfilm\avisynth.avs, line 1)
edo1080
7th March 2007, 13:28
I'm trying the way with last samurai:
mpa ->Sonic HD Demux->Sonic Audio decoder 4.2 -> dump
and then I use sox on the dumped file and I obtain a 5.1 wav, but when wavewizard opens the 5.1 wav the time lenght is 51 min too short for last samurai, and when I play each of the 6 mono wavs I get they are all accelerated.
I think it could depend on thw 1st step because the total dumped file is 2.6 Gb, too small for more than 2 hours movie.
Which are the settings I have to use in graphedit with the blocks? I open the .mpa audio track with graphedit and the chain mpa->Sonic HD Demux->Sonic Audio decoder 4.2 -> default audio device should I try to do it on the evo and not on the mpa file? but I have 2 evo files for the movie while only one mpa demuxed track.
Thank you
tomos
7th March 2007, 13:29
why doesn't my *.avs script work when i'm trying to get video into vdubmod?
It says:
Avisynth open failure:
Script error: DirectShowSource does not have a named argument "framecount"
(c:\lekmedfilm\avisynth.avs, line 1)
show the AVS script itself mate :)
mine goes
DirectShowSource("yadda.grf",fps=23.976,framecount=155019)
crop( 4, 132, -4, -140)
and works fine in vdubmod and megui
MiniMinimal
7th March 2007, 13:33
Oki, sorry :)
DirectShowSource ("C:\Lekmedfilm\rebuilt.EVO",video=true,audio=false,fps=23.976,framecount=712,seek=false,seekzero=false)ConvertToYV12 ()Crop (0,N,0,-N)
I'm following the guide by: idamien
and using the unilogo.evo file
edo1080
7th March 2007, 13:43
I forgot to ask how to set the dump output file at the end of the chain of sonic decoder; I only found the dump filter but I cannot place it if I already placed a sonic filter. Thanks
Deckard2019
7th March 2007, 13:58
Did anyone try to process VC1 with last Haali splitter and WMP 11 :
http://deckstuff.free.fr/temp/vid.png
It seems to work great but I would like to be sure before start encoding ...
Darth Pinous
7th March 2007, 14:01
why doesn't my *.avs script work when i'm trying to get video into vdubmod?
It says:
Avisynth open failure:
Script error: DirectShowSource does not have a named argument "framecount"
(c:\lekmedfilm\avisynth.avs, line 1)
Because you don't have the correct version of DirectShowSource.dll. You need the one from Avisynth 2.5.7 to have the "framecount" argument.
SBeaver
7th March 2007, 14:15
Did anyone try to process VC1 with last Haali splitter and WMP 11 :
http://deckstuff.free.fr/temp/vid.png
It seems to work great but I would like to be sure before start encoding ...
it is certainly a lot smoother that ffdshows decoding, can't say anything about quality though.
common sense might make you think the ones who made the format should have the best decoder, but common sense doesn't always apply to the company in question.
Btw, is there any new decoder coming along for dd+? I'm having a hard time making it work and I rather have something that actually works in a regular player like MPC or similar.
MiniMinimal
7th March 2007, 14:32
Because you don't have the correct version of DirectShowSource.dll. You need the one from Avisynth 2.5.7 to have the "framecount" argument.
Ok,I had it, but vdubmod used the old ver. that i did forgot to uninstall :rolleyes:
but now it is another problem:
DirectShowSource: Renderfile, the filter graph manager won't talk to me.
:confused:
MiniMinimal
7th March 2007, 14:56
I tryed to demux the *.evo into mpv,
then export it to avisynth and vdub.
vdub open it, but the image is grey..
is it the video file unilogo.evo that don't contain an images?
lineman
7th March 2007, 15:11
it is certainly a lot smoother that ffdshows decoding, can't say anything about quality though.
common sense might make you think the ones who made the format should have the best decoder, but common sense doesn't always apply to the company in question.
Btw, is there any new decoder coming along for dd+? I'm having a hard time making it work and I rather have something that actually works in a regular player like MPC or similar.
I have done four encodes using this filter arrangement and the results are perfect. I used ffdshow for 2 encodes and found tearing at the pictures edge and picture breakup at various points through the encode. I would definatley use the DMO filter!
Lineman
MiniMinimal
7th March 2007, 15:45
Everything works just fine now...
i got picture! THNX!!
SBeaver
7th March 2007, 16:07
I'm running a movie now in MPC using the DMO decoder and Haali splitter.
There is a problem though.
I turned on OSD for haali and it says 1920x1080 frame format, but it is being scaled down to 960x540 and I can't do anything to stop that.
I tried ffdshow again and it downscales too.
Any ideas?
kornesque
7th March 2007, 17:09
this might be slightly off topic, but since it applies to my demuxed .evo....
does anybody here have wmvmuxer experience? i've got a perfect .avi containing my vc-1, and have a good .wav (downmixed to stereo) from the dd+, but wmvmuxer throws me errors. i'm assuming i can mux the vc-1 data and my audio into a .wmv without transcoding - does anybody have any ideas how to go about it if it's possible? thank you.
Neo Fagin
7th March 2007, 18:14
When running xport on an m2ts with DTSHD audio, it demuxes okay and produces the audio stream on disk, which is fine - but what I want to know is how the 1536kbps DTS core can be extracted from this file? I've searched around and not yet found a way that doesn't involve me playing the file back, saving 6 mono wavs and then building a new DTS file out of them, which involves reencoding which I'd like to avoid if possible.
MichalHabart
7th March 2007, 18:32
When running xport on an m2ts with DTSHD audio, it demuxes okay and produces the audio stream on disk, which is fine - but what I want to know is how the 1536kbps DTS core can be extracted from this file? I've searched around and not yet found a way that doesn't involve me playing the file back, saving 6 mono wavs and then building a new DTS file out of them, which involves reencoding which I'd like to avoid if possible.
What movie are talking about?
Neo Fagin
7th March 2007, 18:52
What movie are talking about?
Kingdom of Heaven (only has DTSHD audio)
I found out from someone on irc who'd done it - mux in mkvmerge and ignore the errors, mkvmerge just strips the erroneous DTSHD packets and leaves the core intact.
MichalHabart
7th March 2007, 19:02
Kingdom of Heaven (only has DTSHD audio)
I found out from someone on irc who'd done it - mux in mkvmerge and ignore the errors, mkvmerge just strips the erroneous DTSHD packets and leaves the core intact.
Well, even when cover says that ice age II, stargate and tomb raider do have DTS-HD tracks, all DTS-HD tracks could be demuxed with xport and are playable in foobar withou any problems. Should be the same with kingdom of heaven (i don not have it yet so i can't tell you exactly)
xc3ll
7th March 2007, 19:34
I have tried JuHu's and JnZ's methods for capturing audio. However, my audio will not sync. It always starts going off sync as the movie plays. This may be due to the framerate issue, but I'm not sure. Using JuHu's method, it's off by about 2.5 seconds, which is about the difference between calculated and counted frames. It seems like time stretch doesn't do anything though. I've even tried applying it twice.
Using JnZ's method, the sound is still off at the end, by the same amount. I'm currently using MKVmerge GUI 1.7.0.
EDIT: I've found that the timestretch does work. Going from the bigger number to the smaller number. However, counted and calculated frames arent working for me, so now I'm trying to guess what the 2nd number should be. Audio seems to lag by about a second at the end, so I subtracted 24 from the 2nd number. I'll post my results
dchard
7th March 2007, 19:49
Feedback: the problem with sup solved. Nice work.
Now I got the PNGs or BMPs. How can I convert those to .srt ?
Other question: I got a .srt subtitle. Is there any way to convert it to evobdemux compatible .sup ?
Thanks!
Dchard
MichalHabart
7th March 2007, 20:23
Feedback: the problem with sup solved. Nice work.
Now I got the PNGs or BMPs. How can I convert those to .srt ?
Other question: I got a .srt subtitle. Is there any way to convert it to evobdemux compatible .sup ?
Thanks!
Dchard
I have the same problem. I have PNGs and srt with line1-xxx instead of text. Is there some program that can convert it to proper srt?
Deckard2019
7th March 2007, 20:24
Now I got the PNGs or BMPs. How can I convert those to .srt ?
http://forum.doom9.org/showthread.php?t=121535&page=5
Pelican9
7th March 2007, 20:27
I have the same problem. I have PNGs and srt with line1-xxx instead of text. Is there some program that can convert it to proper srt?
OFF: We need a working OCR to convert the bitmaps to text.
MichalHabart
7th March 2007, 20:30
OFF: We need a working OCR to convert the bitmaps to text.
Definitely.
edo1080
7th March 2007, 21:22
I discovered the dump.raw file obtained with graphedit and Sonic Audio Decoder is accelerated can anyone help me please? Thank you.
xc3ll
7th March 2007, 21:36
I discovered the dump.raw file obtained with graphedit and Sonic Audio Decoder is accelerated can anyone help me please? Thank you.
I have the same problem. If you're like me, and its only about 1-2secs too fast at the end(if its a 2hr movie, maybe more for longer movies), then I suggest you try Juhu's method of using BeHappy to timestretch it. I'm using it right now, and although the sync isn't perfect, I'm pretty close. Right now I'm adding 12 to the second number.
http://img103.imageshack.us/img103/9057/fearlessaudioha8.jpg (http://imageshack.us)
EDIT: Image should say 1/2sec too fast.
SBeaver
7th March 2007, 23:48
It was the haali renderer that did the scaling, not sure why.
Neo Fagin
8th March 2007, 00:21
Well, even when cover says that ice age II, stargate and tomb raider do have DTS-HD tracks, all DTS-HD tracks could be demuxed with xport and are playable in foobar withou any problems. Should be the same with kingdom of heaven (i don not have it yet so i can't tell you exactly)
It's playable in graphedit if I use orbitlee's DTS/AC3 source plugin, but it's a ludicrous 5GB in size and I can't remux it into an mkv or anything else
enantiomer
8th March 2007, 02:25
Kingdom of Heaven (only has DTSHD audio)
I found out from someone on irc who'd done it - mux in mkvmerge and ignore the errors, mkvmerge just strips the erroneous DTSHD packets and leaves the core intact.
Another method: use tranzcode. Here's an example of converting the DTS core audio to AC3, lifted from one of my automagic BD_2_TS scripts:
e:
cd e:\bd_2_ts
rename PID_0x1100.bin PID_0x1100.dts
c:\bin\tranzcode\tranzcode PID_0x1100.dts c:\tmp\bd_pt1.wav /mch
c:\bin\aften -b 640 -dnorm 27 c:\tmp\bd_pt1.wav e:\bd_2_ts\bd_pt1.ac3
del c:\tmp\bd_pt1.wav
It does produce a rather large intermediate wave file, but conversion is pretty fast when sloshing data between two hard drives.
orbitlee
8th March 2007, 04:35
About the DTS-HD audio track. Actually evodemux/xport works perfectly, they demuxed DTS-HD audio track, which could be as high as 24.5Mbps . But your software cannot tell the difference between DTS-HD and DTS. It assumes this is DTS 1536kbps, and calcuate the runtime based on file length of audio track. So you will get both hugh file and terribile runtime.
Fortunately there is very simple solution to extract DTS 1536kbps from DTS-HD, no re-encoding or any professional software. Since DTS Labs wants to keep compatibility with existing DTS audio components, in every DTS-HD audio track, they encoded a DTS Digital Surround? Core (which is CBR 5.1ch, 1536kbps , with DTS frame header) and extensions(which could be CBR or VBR, 7.1ch, up to 24.5Mbps, with DTS-HD frame header). So legacy DTS device will recognize the DTS core only and ignore the extensions, DTS-HD device will recognize both DTS core and the extension to archive full benefit of DTS-HD audio track.
http://www.dts.com/dts-hd/better-sound-today-perfect-sound-tomorrow.php
Unfortunately, I found DTS labs does not prevent the start code emulation. What I'm talking about is, you may find 7FFE8001(which is sync word for DTS frame) in DTS-HD extension bitstream. If the software don't know the details of DTS-HD, it may pick the wrong sync word from DTS-HD extension bitstream, which will generate a very small glitch(you may never hear that probably). A real case is
the DTS-HD MA audio in "Ice Age: The meltdown". I tried delaycut(1.2.1.2) to process the DTS-HD audio, it will strip out the extension bitstream and generate smaller audio track. But if you process the output again, delaycut will warn you that some parameters are changed. This is because delaycut 1.2.1.2 pick the wrong sync word and then wrong DTS frame. I don't know whether mkvtoolnix or other mux/demux tools have similar issues.
So I wrote a small tool to extract DTS core from DTS-HD bitstream. Since I don't have any specs on DTS-HD extension bitstream(If I had it, I will know the exact length of extension bitstream), to avoid the sync word issue, I assume all frames in DTS core bitstream will have same frame length, sample rate and bitrate. I believe this assumption makes sense.
Command line is
dtscore input.dts output.dts
If you give it traditional DTS audio track, it will output the original untouched.
You should be able to feed the output to any legacy software/hardware(which does not know DTS-HD) without any problem.
BIG thanks to drmpeg for informations on DTS spec :-)
Neo Fagin
8th March 2007, 06:57
Sweet, thanks. Trying it on KoH's audio now, will post results.
With KoH, the audio is two parts after demuxing, the second part would extract the core with mkvmerge fine, but the first part hung up about halfway through with an invalid DTS encoder header error and was unextractable for me. Hopefully this tool gets past it.
Any chance of a similar tool for DD+/E-AC3? As I understand, E-AC3 streams also employ a similar method where there's a regular AC3 core, but I haven't read the spec so I'm unsure.
Neo Fagin
8th March 2007, 07:08
G:\>dtscore .\koh\part1.dts .\koh\part1-out.dts
Frame length 2012 bytes, Sample Rate 48000, Bitrate 1509750
Offset 1527602371 Illegal sync byte found and skipped! This is not an error!
Offset 1910398788 Illegal sync byte found and skipped! This is not an error!
G:\>
Ah-hah, this is what tripped mkvmerge up on part 1. This tool gets past it.
orbitlee
8th March 2007, 07:36
G:\>dtscore .\koh\part1.dts .\koh\part1-out.dts
Frame length 2012 bytes, Sample Rate 48000, Bitrate 1509750
Offset 1527602371 Illegal sync byte found and skipped! This is not an error!
Offset 1910398788 Illegal sync byte found and skipped! This is not an error!
G:\>
Ah-hah, this is what tripped mkvmerge up on part 1. This tool gets past it.
Glad to hear it helps on KoH :-)
For DD+/E-AC3, no chance very likely, since Dolby breaks the backward compatibility of legacy DD/AC3 software/hardware by designing new bitstream format and different bsid. Even if I can extract the 640Kbps 5.1 core, it is still undecodable by legacy product.
xc3ll
8th March 2007, 08:07
I've tried getting the video and audio to sync, but still no luck. I've tried two different methods to get the dd+ --> ac3 track to sync, but its always off. I'm using MKVMerge to merge the .mkv and the .ac3. Has anyone else had success with any method, and if so, what did you do?
Thank you.
LOGiC
8th March 2007, 09:59
@all,
I need your help. I am still trying to get a dd+ track back to a normal .ac3 and I am not successful. Everyone in this thread is talking about Sonic Audio Decoder 4.2, but I am not able to find this one. Which product do I need to buy to get this one ?
I just have Sonic Audio MCE Decoder 4.1, but when I try to link a .ddp file via graphedit to this one, it takes a while and then Sonic HD Demuxer will be put between them and it will not work as the output file in .wav is just very small.
Thank you all for your help. This is driving me totally crazy.
MichalHabart
8th March 2007, 10:20
@all,
I need your help. I am still trying to get a dd+ track back to a normal .ac3 and I am not successful. Everyone in this thread is talking about Sonic Audio Decoder 4.2, but I am not able to find this one. Which product do I need to buy to get this one ?
I just have Sonic Audio MCE Decoder 4.1, but when I try to link a .ddp file via graphedit to this one, it takes a while and then Sonic HD Demuxer will be put between them and it will not work as the output file in .wav is just very small.
Thank you all for your help. This is driving me totally crazy.
read PM
I have been trying out the ” DTS/AC3/DD+ source” filter that Orbitlee modified and it works great for DD+/E-AC3.
I have been thinking that Sonic Audio Decoder or Cyberlink Audio Decoder should be able to decode Dolby TrueHD. As it is right now it’s not really possible to connect such a stream in Graphedit with the audio decoders. Would it be possible to modify the source filter so that it works for Dolby TrueHD as well?
Pelican9
8th March 2007, 11:45
So I wrote a small tool to extract DTS core from DTS-HD bitstream. Since I don't have any specs on DTS-HD extension bitstream(If I had it, I will know the exact length of extension bitstream), to avoid the sync word issue, I assume all frames in DTS core bitstream will have same frame length, sample rate and bitrate. I believe this assumption makes sense.
I've thought the same feature and I've started to build in to EVOdemux. It's a little bit harder to make this thing on-the-fly, so my question is now:
Does anybody want to use this function in EVOdemux?
Continue to work or not?
madshi
8th March 2007, 11:52
I've thought the same feature and I've started to build in to EVOdemux. It's a little bit harder to make this thing on-the-fly, so my question is now:
Does anybody want to use this function in EVOdemux?
Continue to work or not?
IMHO it's not necessary. But maybe it's just me?
MichalHabart
8th March 2007, 11:59
drmpeg,
your xport utility is great but is it possible to add there feature to export every track that is in m2ts file? I mean it is little bit time consuming to use it 5 times if you want to extract everything from it.
And one more, how are things moving with LPCM export? Would it be soon possible to extract it and save into multichannel file?
But despite this, still thank you for your great job
Pelican9
8th March 2007, 12:13
drmpeg,
your xport utility is great but is it possible to add there feature to export every track that is in m2ts file? I mean it is little bit time consuming to use it 5 times if you want to extract everything from it.
And one more, how are things moving with LPCM export? Would it be soon possible to extract it and save into multichannel file?
But despite this, still thank you for your great job
You have to wait for the GUI version... :-)
orbitlee
8th March 2007, 12:26
I have been trying out the ” DTS/AC3/DD+ source” filter that Orbitlee modified and it works great for DD+/E-AC3.
I have been thinking that Sonic Audio Decoder or Cyberlink Audio Decoder should be able to decode Dolby TrueHD. As it is right now it’s not really possible to connect such a stream in Graphedit with the audio decoders. Would it be possible to modify the source filter so that it works for Dolby TrueHD as well?
Unfortunatley I have big trouble on implement this feature now.
1. No specs on TrueHD and DTS-HD yet.
2. Both Dolby TrueHD and DTS-HD Master Audio are VBR instead of CBR. Gabest's source filter is designed on CBR only.
So there will be some difficulties.
orbitlee
8th March 2007, 12:37
I've thought the same feature and I've started to build in to EVOdemux. It's a little bit harder to make this thing on-the-fly, so my question is now:
Does anybody want to use this function in EVOdemux?
Continue to work or not?
Why not? :p
MichalHabart
8th March 2007, 13:07
Unfortunatley I have big trouble on implement this feature now.
1. No specs on TrueHD and DTS-HD yet.
2. Both Dolby TrueHD and DTS-HD Master Audio are VBR instead of CBR. Gabest's source filter is designed on CBR only.
So there will be some difficulties.
I thought TrueHD is similar to LPCM and it is lossless. This isn't true?
Pelican9
8th March 2007, 13:10
I thought TrueHD is similar to LPCM and it is lossless. This isn't true?
TrueHD is similar to MLP, it can contain standard MLP and the new format too.
Unfortunatley I have big trouble on implement this feature now.
1. No specs on TrueHD and DTS-HD yet.
2. Both Dolby TrueHD and DTS-HD Master Audio are VBR instead of CBR. Gabest's source filter is designed on CBR only.
So there will be some difficulties.Ok. Thanks for your quick reply :). I guess I will have to wait with TrueHD and DTS-HD for now.
And one more, how are things moving with LPCM export? Would it be soon possible to extract it and save into multichannel file?By using this graph you can extract LPCM tracks from m2ts files:
1. File Source (Async.) -> Sonic HD Demuxer -> Sonic Cinemaster Audio Decoder 4.2 -> Dump
2. To get the channels right and convert it to wav in the process:
sox -r48000 -t .raw -c 6 -3 -s dump.raw dump.wav
I just deleted my Blu-ray test files but will rip a disc again and see if it's possible to skip Cinemaster Audio Decoder completely from the chain.
MichalHabart
8th March 2007, 15:21
By using this graph you can extract LPCM tracks from m2ts files:
1. File Source (Async.) -> Sonic HD Demuxer -> Sonic Cinemaster Audio Decoder 4.2 -> Dump
2. To get the channels right and convert it to wav in the process:
sox -r48000 -t .raw -c 6 -3 -s dump.raw dump.wav
I just deleted my Blu-ray test files but will rip a disc again and see if it's possible to skip Cinemaster Audio Decoder completely from the chain.
This sounds good but how to extract only LPCM from m2ts? Is there some way to choose which track i would like to extract? I am not sure if sonic can demux LPCM :/
drmpeg
8th March 2007, 15:49
drmpeg,
your xport utility is great but is it possible to add there feature to export every track that is in m2ts file? I mean it is little bit time consuming to use it 5 times if you want to extract everything from it.
And one more, how are things moving with LPCM export? Would it be soon possible to extract it and save into multichannel file?
But despite this, still thank you for your great job
Yes, I know it's not ideal. It was originally written for a hardware decoder many years ago, and targeted for one video and one audio stream output. Although it's certainly possible to demux all elementary streams, it won't be easy to implement with the current architecture of xport.
However, I do have an update for LCPM.
http://www.w6rz.net/xport.zip
Version 0.94 now defaults to demuxing all the channels of an LPCM track. I've added the -2 option to only demux two LPCM channels (like in version 0.93).
I tried the 6-channel output with sox, and it seems happy. I don't have a way to test the 6-channel .wav file.
Ron
This sounds good but how to extract only LPCM from m2ts? Is there some way to choose which track i would like to extract? I am not sure if sonic can demux LPCM :/You just click properties on "Sonic HD Demuxer" and then you select the audio track you would like to demux.
But from what I understand from Drmpeg's post there is a now also another option to extract LPCM.
madshi
8th March 2007, 16:20
I don't have a way to test the 6-channel .wav file.
You could run it through EncWAVtoAC3 and then test the AC3 file... :)
MichalHabart
8th March 2007, 16:27
Yes, I know it's not ideal. It was originally written for a hardware decoder many years ago, and targeted for one video and one audio stream output. Although it's certainly possible to demux all elementary streams, it won't be easy to implement with the current architecture of xport.
However, I do have an update for LCPM.
http://www.w6rz.net/xport.zip
Version 0.94 now defaults to demuxing all the channels of an LPCM track. I've added the -2 option to only demux two LPCM channels (like in version 0.93).
I tried the 6-channel output with sox, and it seems happy. I don't have a way to test the 6-channel .wav file.
Ron
Hi Ron,
thanks for fast respond. This seems to be very good message, i will test it tomorrow with Terminator LPCM track and if there will be any problem (i really believe there will be no) i will post it here.
DeathMonk
8th March 2007, 19:26
somone needs to make a guide on how to do all this stuff... I started off following this thread and haven't until now--it's really hard to follow.
MichalHabart
8th March 2007, 19:34
somone needs to make a guide on how to do all this stuff... I started off following this thread and haven't until now--it's really hard to follow.
First we have to find out how to demux MLP or TrueHD, then find out the best DTS encoder (not surcode) and then we have find how create normaln srt subtitles from sup files. Then we can create this guide :)
Pelican9
8th March 2007, 20:57
Do you have any idea why the first play title (e.g. UNILOGO.EVO) contains the menus.aca, VPLST000.XPL and the other files of the ADV_OBJ folder (except DISCID.DAT) in its Advanced packets?
Some kind of caching or what?
First we have to find out how to demux MLP or TrueHD, then find out the best DTS encoder (not surcode) and then we have find how create normaln srt subtitles from sup files. Then we can create this guide :)Demux the streams is no problem decoding them are. Will personally go for a lossless solution like FLAC for Dolby TrueHD, DTS-HD and probably also for high bitrate EAC3.
MichalHabart
8th March 2007, 22:00
Demux the streams is no problem decoding them are. Will personally go for a lossless solution like FLAC for Dolby TrueHD, DTS-HD and probably also for high bitrate EAC3.
Most probably i will use DTS/1536 or AC3/640 for all even lossless sources. I do not have that quality sound system and of course, i would like to spare some space :)
Most probably i will use DTS/1536 or AC3/640 for all even lossless sources. I do not have that quality sound system and of course, i would like to spare some space :)
So I'm only the crazy-one, who wants use 5.1 OGG and spare more space for video? :D I was litlle frustrated, when 2:34h 1536kbps DTS eats 1.7G of DVD5 space. :)
Deckard2019
8th March 2007, 22:25
Most probably i will use DTS/1536 ...
Hope we could some day ;)
Neo Fagin
8th March 2007, 23:41
So I'm only the crazy-one, who wants use 5.1 OGG and spare more space for video? :D I was litlle frustrated, when 2:34h 1536kbps DTS eats 1.7G of DVD5 space. :)I am converting Kingdom of Heaven to two DVD9s, using that DTS, with an x264 video bitrate of about 10400kbps. A great backup so I can put my blu-ray disc away and get virtually the same quality.
juhu
9th March 2007, 00:57
First we have to find out how to demux MLP or TrueHD, then find out the best DTS encoder (not surcode) and then we have find how create normaln srt subtitles from sup files. Then we can create this guide :)
I don't think the "sup to srt" part was ever a problem
http://forum.doom9.org/showthread.php?t=105715
MiniMinimal
9th March 2007, 01:04
I have followed your work in this thread for a time now...
And i am really impressed, that you guys are able to put all the pieces together. GREAT WORK!
Me myself and i, have only managed to get the video to vdub and are now trying to find a good wmv9 encoder..
+ i'm stuck on the audio encoding bit.. hehe!
Keep the good spirit up, and continue with your search.
Some day you will manage to do all the things you wan't to..
:)
MichalHabart
9th March 2007, 07:11
So I'm only the crazy-one, who wants use 5.1 OGG and spare more space for video? :D I was litlle frustrated, when 2:34h 1536kbps DTS eats 1.7G of DVD5 space. :)
Yes, you are ;)
MichalHabart
9th March 2007, 07:18
I don't think the "sup to srt" part was ever a problem
http://forum.doom9.org/showthread.php?t=105715
dvdsupdecode is not working for me. it create just one smal bitmap and ends :(
MichalHabart
9th March 2007, 07:27
Demux the streams is no problem decoding them are. Will personally go for a lossless solution like FLAC for Dolby TrueHD, DTS-HD and probably also for high bitrate EAC3.
Btw, how are you are able to demux TrueHD stream to raw data? file async->HD demuxer->dump is not working and audio decoder can not be plugged there
Btw, how are you are able to demux TrueHD stream to raw data? file async->HD demuxer->dump is not working and audio decoder can not be plugged thereI have only found HD DVDs with Dolby TrueHD streams and then you can demux those with EVOdemux. But you will then have a TrueHD file .. it's not possible to decode it so you get a raw or wav file at this moment.
MichalHabart
9th March 2007, 08:22
I have only found HD DVDs with Dolby TrueHD streams and then you can demux those with EVOdemux. But you will then have a TrueHD file .. it's not possible to decode it so you get a raw or wav file at this moment.
Yes, exactly. I have same problem with V For Vendetta HDDVD
edo1080
9th March 2007, 09:02
I've finally tried the modded fileter DTS/AC3/DD+ --> Sonic Cinemaster Audio Decoder 4.2 -> Dump and if I play the movie file sending the output of sonic decoder to the audio device (instead of sending it to dump) all plays OK, the rate is right; if I send the output to dump te file is 2,6 Gb and when I separate the waves with wave wizard the tracks are all accelerated. The movie I'm testing is Last Samurai
MichalHabart
9th March 2007, 09:21
Well, LPCM does not seem to work at the moment. With xport or graphedit i get raw file with same size but when i use sox to create wav, i receive 77 minutes instead of 100 and the sound inside is horrible (sounds like when you call to fax machine :) )
Does anyone manage to get it work?
edo1080
9th March 2007, 09:38
i receive 77 minutes instead of 100 and the sound inside is horrible (sounds like when you call to fax machine )
It's the same problem I got with last samurai DD+; the I got 51 min instead than 2 hours and more, and the sound is horrible; it looks like a fax machine, but if you carefully listen it's the movie sound very accelerated
MichalHabart
9th March 2007, 09:46
It's the same problem I got with last samurai DD+; the I got 51 min instead than 2 hours and more, and the sound is horrible; it looks like a fax machine, but if you carefully listen it's the movie sound very accelerated
And were you able to do something with this?
Deckard2019
9th March 2007, 09:55
dvdsupdecode is not working for me. it create just one smal bitmap and ends
Same behaviour here. But i think it's normal, as EVODemux sup files are different from regular DVD ones.
MichalHabart
9th March 2007, 10:06
Same behaviour here. But i think it's normal, as EVODemux sup files are different from regular DVD ones.
Well, i can get png and something for scenarist ACA from supread but i don't know what to do next. subripper does not take it as input :(
edo1080
9th March 2007, 10:19
And were you able to do something with this?
I've sincerely not been able to fix it yet; I'm still looking for a solution; the only thing I'm sure of is that the problem is due to the dump filter of graphedit, because if I conect the dts/AC3/dd+ filter applied to the .mpa(or .evo) file to the sonic audio decoder 4.2 and then to the default audio device for playback the files play smoothly, so their timing is correct. I suppose the resampling process from 24 to 16 bits made by Sonic filter causes compatibility issues with the dump filter. Maybe the track you are dumping is 24 bits per sample too.
MichalHabart
9th March 2007, 10:39
I've sincerely not been able to fix it yet; I'm still looking for a solution; the only thing I'm sure of is that the problem is due to the dump filter of graphedit, because if I conect the dts/AC3/dd+ filter applied to the .mpa(or .evo) file to the sonic audio decoder 4.2 and then to the default audio device for playback the files play smoothly, so their timing is correct. I suppose the resampling process from 24 to 16 bits made by Sonic filter causes compatibility issues with the dump filter. Maybe the track you are dumping is 24 bits per sample too.
But the dump filter works properly for dd+, why it should not work for truehd?
It's the same problem I got with last samurai DD+; the I got 51 min instead than 2 hours and more, and the sound is horrible; it looks like a fax machine, but if you carefully listen it's the movie sound very accelerated
Hmm,maybe Sonic gives You 16bit instead 24bit WAVe (mayby depends on soundcard type)...first try to connect Sonic to the Direct show device...if play and You hear sound, it's OK.
Second, generate RAW data (size =~ 50MB(24bit), 33MB(16bit) per minute). Then use SoX try switch -3 or -2(24bit,16bit), and finaly open in WaveWizard (set ignore filesize in header in preferences) and see, how long WAVe is.
Note: SoX write WAVe, which have broken header (if it's over 4GB), only Wavewizard (maybe) can read it properly...
I recomennded test it first on UNILOGO, or something short, to determine right settings for SoX. What will work for short ones, work for long ones. :)
MiniMinimal
9th March 2007, 17:17
does it work with Sonic audio decoder 4.1?
MichalHabart
9th March 2007, 17:36
does it work with Sonic audio decoder 4.1?
No, i think it is not
MiniMinimal
9th March 2007, 17:42
Okidoki :(
Pelican9
9th March 2007, 17:49
Do you have any idea why the first play title (e.g. UNILOGO.EVO) contains the menus.aca, VPLST000.XPL and the other files of the ADV_OBJ folder (except DISCID.DAT) in its Advanced packets?
Some kind of caching or what?
Nobody?
It's strange, isn't it?
Rectal Prolapse
9th March 2007, 19:10
Note: SoX write WAVe, which have broken header (if it's over 4GB), only Wavewizard (maybe) can read it properly...
Could this explain why, when I mux the file made by SoX into an MKV, I lose sound halfway through a 2 hour movie? Could it be that the muxer stops at the 4 gb limit and ignores the rest of the WAV file?
Hmmm. Is there a way to fix the header? I can use a hex editor if needed.
MichalHabart
9th March 2007, 19:19
Could this explain why, when I mux the file made by SoX into an MKV, I lose sound halfway through a 2 hour movie? Could it be that the muxer stops at the 4 gb limit and ignores the rest of the WAV file?
Hmmm. Is there a way to fix the header? I can use a hex editor if needed.
And why do you want to mux wav file into mkv? Try to create something useful from wav, ie dts or at least ac3. you will spend lot of space
Rectal Prolapse
9th March 2007, 23:18
It would save an encoding step - and disc space isn't an issue as I can delete the MKV after I'm done watching. Also, audio quality would be higher. Besides, remuxing already chews up tons of disc space already - what difference would it make in the end?
And what if I just wanted to waste the disc space? Nothing wrong with that - disc space is CHEAP. I guess my attitude is at odds with most of the doom9 members - it seems everyone here wants to encode their favorite 3 hour 1080p lossless audio movie onto a single layer DVD-R: http://forum.doom9.org/showthread.php?p=964128#post964128 . ;) :p (for the humor-impaired that was a joke!)
My reasoning is this: I can't play EVO's natively and reliably right now with my favorite players - but I think in the future this won't be a problem, so deleting the MKVs is no loss as long as you have the originals...you can always recreate them later when the tools improve.
madshi
10th March 2007, 00:31
Hey guys,
I've written a little tool named "eac3toac3", which is able to convert E-AC3 files to AC3. **WAIT**. Before you rejoice: The tool really does nothing but what was already suggested in this thread (E-AC3 -> RAW -> WAV -> AC3). Basically it automates what you have to do with GraphEdit and running all the various tools like sox and aften etc. Anyway, the tool works fine for me and makes the conversion process a bit more comfortable.
http://madshi.net/eac3toac3.zip
eac3toac3 v1.0, freeware by madshi.net
Usage: eac3toac3 srcFilename.eac3 destFilename.ac3
This tool can convert a 2.0 or 5.1 channel E-AC3 file to AC3.
For this to work correctly you need these filters to be installed:
(1) DTS/AC3/DD+ Source
(2) Sonic Audio Decoder 4.2
(3) ffdShow Audio Processor
(4) Dump filter
Furthermore these tools must be located in the same folder as eac3toac3:
(1) sox 13
(2) aften revision 449
Please note that newer ffdShow tryout versions make problems for me. I have things working correctly with the ffdShow tryouts build from December 2006. Here are some download links for the neccesary freeware tools/filters:
http://ffdshow-tryout.sourceforge.net/
http://sourceforge.net/project/showfiles.php?group_id=10706&package_id=10619&release_id=485785
http://win32builds.sourceforge.net/aften/index.html
The "eac3toac3" tool has a few tricks up it's sleeve:
(1) It automatically detects whether the E-AC3 file is really an E-AC3 file, how many channels it has and which sampling rate etc.
(2) It automatically changes the Sonic Audio Decoder settings to deliver the needed channels.
(3) It automatically finds out whether the intermediate raw audio file has a bitdepth of 16 or 24 bits and adjusts the "sox" parameters accordingly.
If you don't want to convert to AC3, but to something else, you can use ".wav" or ".raw" as destination extensions. The eac3toac3 tool will then simply stop when the ".raw" respectively ".wav" file is done. Intermediate files are automatically deleted. Only the source and destination file are left on the harddisk after the tool has run through.
JeffAlso
10th March 2007, 03:23
I've written a little tool named "eac3toac3"
Excellent!! Thank you very much!!
Rectal Prolapse
10th March 2007, 05:06
Wow nice madshi! What problems with FFDShow were you having?
Also, do we need to do configure FFDShow Audio Processor in any way?
Chumbo
10th March 2007, 05:25
@madshi,
Just curious, have you tried using AC3Filter instead of ffdshow in the chain? I use AC3Filter when using a graph and it's perfect.
madshi
10th March 2007, 10:05
What problems with FFDShow were you having?
See here:
http://forum.doom9.org/showpost.php?p=967601&postcount=626
Also, do we need to do configure FFDShow Audio Processor in any way?
I don't remember to having done any configuration. Just try without. If you run into problems, let me know.
Just curious, have you tried using AC3Filter instead of ffdshow in the chain? I use AC3Filter when using a graph and it's perfect.
Do you mean "DTS/AC3/DD+ Source -> Sonic Audio Decoder 4.2 -> AC3Filter -> Dump"? No, I've not tried that yet. Is there a specific reason why you prefer AC3Filter over ffdshow?
Deckard2019
10th March 2007, 10:29
I don't remember to having done any configuration. Just try without. If you run into problems, let me know.
You don't use ffdshow to directly output AC3 ? So why do you use it ?
DTS/AC3/DD+ Source -> Sonic Cinemaster Audio Decoder 4.2 -> WAV dest -> FileWriter will create RAW file.
MichalHabart
10th March 2007, 10:38
You don't use ffdshow to directly output AC3 ? So why do you use it ?
DTS/AC3/DD+ Source -> Sonic Cinemaster Audio Decoder 4.2 -> WAV dest -> FileWriter will create RAW file.
No, this will never work!!!
You must use DTS/AC3/DD+ Source -> Sonic Cinemaster Audio Decoder 4.2 -> Dump
FIleWriter or WAV Dest has bug inside which will create unusable wav file if it is bigger then 4GB
Deckard2019
10th March 2007, 10:47
No, this will never work!!!
Ok. Wrong copy/paste (I don't use this method as I use BeHappy to bypass RAW/WAV file creation).
But what about ffdshow ? I still don't understand why/when it's used in eac3toac3 ...
madshi
10th March 2007, 10:56
But what about ffdshow ? I still don't understand why/when it's used in eac3toac3 ...
The reason is that the Sonic Audio Decoder is very unreliable without adding ffdshow to the processing stages. I found that the Sonic Audio Decoder sometimes outputs 16 bit, sometimes 24 bit. Furthermore more often then not only 2 channels contained valid information while the remaining 4 channels were garbage. This all doesn't happen with ffdshow in the chain. Don't ask me why. I don't really know.
Deckard2019
10th March 2007, 11:02
The reason is that the Sonic Audio Decoder is very unreliable without adding ffdshow to the processing stages. I found that the Sonic Audio Decoder sometimes outputs 16 bit, sometimes 24 bit. Furthermore more often then not only 2 channels contained valid information while the remaining 4 channels were garbage. This all doesn't happen with ffdshow in the chain. Don't ask me why. I don't really know.
Ok. Thank you. The 4 crappy channels thing happened to a friend of mine.
With same source, same tools, it doesn't happen to me ...
Outputting directly AC3 from ffdshow is still considered as a wrong method ?
(For now, I use BeHappy/Aften with .grf embedded in avs script. grf only contains orbitlee filter and sonic one).
MichalHabart
10th March 2007, 11:58
Ok. Thank you. The 4 crappy channels thing happened to a friend of mine.
With same source, same tools, it doesn't happen to me ...
Outputting directly AC3 from ffdshow is still considered as a wrong method ?
(For now, I use BeHappy/Aften with .grf embedded in avs script. grf only contains orbitlee filter and sonic one).
Yes, ffdshow can be used only for changing bit depth of output. AC3 created directly by ffdshow has wrong channel order
Jack-Bauer
10th March 2007, 12:16
AC3 created directly by ffdshow has wrong channel order
Matrix filter can be inserted in beetween sonic and ffdshow, allowing to set its matrix as desired.
Jack
zgx
10th March 2007, 12:54
Well, LPCM does not seem to work at the moment. With xport or graphedit i get raw file with same size but when i use sox to create wav, i receive 77 minutes instead of 100 and the sound inside is horrible (sounds like when you call to fax machine :) )
Does anyone manage to get it work?I did get it to work with Graphedit. I selected the m2ts file with File Source (Async) and selected the LPCM track in Sonic HD Demuxer.
File Source (Async) -> Sonic HD Demuxer -> Sonic Cinemaster Audio Decoder 4.2 -> Dump
Then I converted the raw file to wav and got a working file:
sox -r48000 -t .raw -c 6 -3 -s file.raw file.wav
I'm now trying out the new version of xport (since I don't trust Sonic Audio Decoder). It finds a LPCM track and dumps it:
LPCM Audio Mode = 3/2+lfe
LPCM Audio Bits/sample = 16
LPCM Audio Sample Rate = 48000
But don't know what to do with the dump. Have tried all sorts of options in Sox and BeSweet but I can't convert it to a working wav.
MichalHabart
10th March 2007, 14:00
I did get it to work with Graphedit. I selected the m2ts file with File Source (Async) and selected the LPCM track in Sonic HD Demuxer.
File Source (Async) -> Sonic HD Demuxer -> Sonic Cinemaster Audio Decoder 4.2 -> Dump
Then I converted the raw file to wav and got a working file:
sox -r48000 -t .raw -c 6 -3 -s file.raw file.wav
I'm now trying out the new version of xport (since I don't trust Sonic Audio Decoder). It finds a LPCM track and dumps it:
LPCM Audio Mode = 3/2+lfe
LPCM Audio Bits/sample = 16
LPCM Audio Sample Rate = 48000
But don't know what to do with the dump. Have tried all sorts of options in Sox and BeSweet but I can't convert it to a working wav.
Well, that is exactly the problem i have. but it seems that raw dump is not working, i should get 5GB file but i get only 3,5GB. So thatswhy my soxed wav is not going to work. have you tried to load it to wavewizard? it should be able to tell you length and channels in that wav file.
drmpeg
10th March 2007, 14:54
The LPCM output of xport is big endian (just like it's stored in the .m2ts file).
This sequence works:
xport -h2 movie.m2ts 1 1 2
sox -B -r48000 -t .raw -c 2 -2 -s bits0001.mpa bits.wav
besweet -core( -input bits.wav -output bits.ac3 ) -ac3encode
This sequence fails:
xport -h movie.m2ts 1 1 2
sox -B -r48000 -t .raw -c 6 -2 -s bits0001.mpa bits.wav
besweet -core( -input bits.wav -output bits.ac3 ) -ac3encode ( -6ch )
Error 58: Error : Unknown Input-File Format : "bits.wav".
Seems to me that sox can't create a 6 channel .wav file that besweet understands.
Ron
madshi
10th March 2007, 15:00
Outputting directly AC3 from ffdshow is still considered as a wrong method ?
I don't know. I've read in this thread that it gives inferior results. And I read that Aften is considered to be a good AC3 encoder, so that's why I did it this way.
madshi
10th March 2007, 15:01
Seems to me that sox can't create a 6 channel .wav file that besweet understands.
Aften revision 449 is happy with sox created 6 channel wav files, as long as you use the Aften "-readtoeof 1" parameter.
MichalHabart
10th March 2007, 15:24
The LPCM output of xport is big endian (just like it's stored in the .m2ts file).
This sequence works:
xport -h2 movie.m2ts 1 1 2
sox -B -r48000 -t .raw -c 2 -2 -s bits0001.mpa bits.wav
besweet -core( -input bits.wav -output bits.ac3 ) -ac3encode
This sequence fails:
xport -h movie.m2ts 1 1 2
sox -B -r48000 -t .raw -c 6 -2 -s bits0001.mpa bits.wav
besweet -core( -input bits.wav -output bits.ac3 ) -ac3encode ( -6ch )
Error 58: Error : Unknown Input-File Format : "bits.wav".
Seems to me that sox can't create a 6 channel .wav file that besweet understands.
Ron
And have you tried to open that multiwav in something else, for example in wavewizard?
I was succesfull in this. probably just besweet has these problems. I was able to demux 6 channel lpcm to raw from Terminator 1 Bluray and converted it to wav and now i made DTS track from it. It sounds wonderful :)
The1n
10th March 2007, 19:04
Do i have to change the channelmapping if im just going to convert eac3 to aac in megui, im using graphedit and loads the graph with avisynth script.
When i play the track in graphedit all channels sound ok, but when i encode it to aac multichannel suddenly the center is gone.
The1n
zgx
10th March 2007, 19:14
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.
moshmothma
10th March 2007, 20:38
Hmm, I get to the wavewizard part and get the following error when I try to convert:
Error on: "file.wav". This file is not recognized by wavewizard.
zgx
10th March 2007, 21:09
Hmm, I get to the wavewizard part and get the following error when I try to convert:
Error on: "file.wav". This file is not recognized by wavewizard.Sorry made a typo. Should of course be "sox -B -r48000 -t .raw -c 6 -2 -s bits0001.mpa file.wav" and not "-3".
LRN
10th March 2007, 21:24
I can't beleive they're using LPCM...They must be completely dazzed by BluRay disc sizes! There's NO reason to but more than 500 kilobits on one channel, and if there IS, they could have used FLAC, WAVPack, damn MLP or something! But not the LPCM...it's so DULL.
P.S. How about fullscale "X.1 E-AC3 -> 5.1 AAC" guide?
P.P.S. Where i could get Sonic 4.2 decoder? 4.1 doesn't works in shown graphs :(
Rectal Prolapse
10th March 2007, 22:13
Wow zgx - just what I was looking for! Hopefully there won't be any issues with FLAC audio decoding past the 4GB mark - when I use WAV I get silence once that barrier is surpassed.
madshi
11th March 2007, 00:02
Perfect lossless LPCM 5.1 to FLAC conversion
Just for my interest: How big is the FLAC compressed audio track file compared to the original LPCM one? Thanks!
LRN
11th March 2007, 00:16
20-30%, iirc
zgx
11th March 2007, 00:29
Just for my interest: How big is the FLAC compressed audio track file compared to the original LPCM one? Thanks!About 25% of the original. For "16 bit/48 kHz/6 channel" movie soundtracks I have gotten files from 1100 to 1900 Kbps so it doesn't take more space then a 1.5 Mbps DTS track does. The only downside is that you need 6 analog RCA cables or HDMI in order to get lossless sound to your transciever. You can of course let AC3filter transcode to AC3 for S/PDIF ouput. Then it won't be lossless but will still sound really good.
drmpeg
11th March 2007, 01:37
Perfect lossless LPCM 5.1 to FLAC conversion
Excellent! Although 6-channel (3/2+lfe) is the most common format on current discs, here's the channel mapping for all the 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
Rectal Prolapse
11th March 2007, 02:28
Strange - when I play back a WAV in MediaCoder, the center speaker track is sent to the Rear Left speaker! I hope this doesn't screw up encoded audio either.
Anyways - I took a DD+ track from an HD-DVD, passed it to Sonic Audio Decoder 4.2 and Dump. Then I took the resulting WAV file and ran it through Sox, then I ran WaveWizard with the channels remapped as suggested. I hope this is the right procedure for HD-DVD DD+ files?
Anyways, I will be doing some tests tonight...
EDIT: Remapping the channels appears to be a BAD idea! There is no need to remap with WaveWizard it appears, in my testing.
Rectal Prolapse
11th March 2007, 02:50
Hmmm I think I've run into a snag - if the WAVs are 24 bit and encoded into FLAC, the filters I have seem to choke on it. Maybe this only works if you downconvert to 16 bit first?
Chumbo
11th March 2007, 03:23
Do you mean "DTS/AC3/DD+ Source -> Sonic Audio Decoder 4.2 -> AC3Filter -> Dump"? No, I've not tried that yet. Is there a specific reason why you prefer AC3Filter over ffdshow?
Yep, exactly. I've always just used it because it's been solid and I've had no issues. It's also real easy to configure on the fly. :) I mentioned it because you said you had a problem with a specific version of ffdshow right? I figured AC3Filter may be a good alternative.
Rectal Prolapse
11th March 2007, 03:31
I can play back FLAC files in GraphEdit now. I had to install the oggcodecs. More details here:
http://forum.inmatrix.com/index.php?showtopic=4959
Rectal Prolapse
11th March 2007, 04:25
Okay, I think I got FLAC working with HD-DVDs' DD+ soundtracks. Again, many thanks zgx for the guide. :)
1) Use EVOdemux.exe to demux the desired DD+ audio track.
2) Use EVOdemux.exe to rebuild an EVO that ONLY contains the desired video stream.
3) Use the previously posted instructions to create an MKV file, using GraphEdit, Haali Media Splitter, and Haali Muxer.
4) Use Sonic Audio Decoder 4.2 in GraphEdit to Dump a (huge) .raw file onto your hard drive (look at previous posts on how to do this).
5) Use Sox to convert this into a .WAV file (again, look at previous posts - just make sure to use the -3 option). With DD+ this should result in a 24 bit multichannel WAV file.
6) As per zgx's instructions, convert this to flac with MediaCoder (so far as I can tell, you do NOT need WaveWizard. When I used WaveWizard to remap, it seemed that the center channel got remapped to the left rear speaker! I hope someone can confirm this for me.)
7) Use MKVMerge GUI to mux in the flac stream into a new MKV.
Now, surprisingly, I did not need to figure out the audio delay. I had to do this before, when I was encoding to AC3, but not this time! I don't know why - maybe the encoder I used ignores silence? Anyways, this is a good thing - makes things simpler!
If you use FFDShow Audio Decoder, make sure that FLAC is enabled in the codecs settings.
Enjoy!
For reference, I used the Harry Potter Goblet of Fire HD-DVD. The re-encoded 640kbps DD5.1 soundtrack was ~730MB, which is exactly the same as the DD+ soundtrack. The FLAC lossless soundtrack takes up 1300 MB of space. Pretty good!
Naturally, the FLAC/DD+ soundtrack sounds far better than the AC3 one - because I used FFDShow to create the AC3 one, which isn't very good - the volume was too low!
Rectal Prolapse
11th March 2007, 05:12
Hmm there appears to be a problem with massive stuttering and audio dropouts. I'll blame MKVMerge for this one. :(
Rectal Prolapse
11th March 2007, 06:38
More caveats: It appears that the delay setting in mkvmerge (2.0.2) does not work for FLAC audio tracks.
zgx
11th March 2007, 09:53
@Rectal Prolapse:
Just as you have notcied you don't need to remap the channels for a Sonic Audio Decoder dump. That is just something needed with a LPCM "xport file".
You can actually decode Blu-ray LPCM with the Sonic Audio Decoder but I don't trust that filter completely so I rather go with xport even if it takes a little longer.
Sorry to hear about stuttering and audio dropouts. I did some tries with FLAC about a week ago when I muxed the MPEG2 streams from Blu-ray together with FLAC audio and I did not experience any stuttering or dropouts. Not 100% sure if I used mkvmerge or gdsmux when I created the files.
About the delay setting i mkvmerge please let me know what you find out. Could you perhaps also try if it works better with Wavpack instead of FLAC?
When it comes to DD+ there are some movies that feature very high bitrate soundtracks. I played around with such a movie yesterday. It featured a ~2 Mbps DD+ soundtrack. The output I got from Sonic Audio Decoder was 24 bit/48 kHz. I put AC3filter in the chain to downsample to 16 bit and then made a FLAC. Out of the result I got a nice sounding 1100 Kbps FLAC. The question is if the DD+ soundtrack was 24 bit (and I just got a downsampled FLAC) or if that was just something Sonic Audio Decoder decided to output? What's the easiest way to check the bit depth of an EAC3 file?
MichalHabart
11th March 2007, 09:58
Strange - when I play back a WAV in MediaCoder, the center speaker track is sent to the Rear Left speaker! I hope this doesn't screw up encoded audio either.
Anyways - I took a DD+ track from an HD-DVD, passed it to Sonic Audio Decoder 4.2 and Dump. Then I took the resulting WAV file and ran it through Sox, then I ran WaveWizard with the channels remapped as suggested. I hope this is the right procedure for HD-DVD DD+ files?
Anyways, I will be doing some tests tonight...
EDIT: Remapping the channels appears to be a BAD idea! There is no need to remap with WaveWizard it appears, in my testing.
Of course, remapping should be used only for LPC? track, definitely not for DD+
Rectal Prolapse
11th March 2007, 10:15
Thanks guys - I just realized LPCM is different. :)
gdsmux? I might give that a try.
I haven't confirmed yet if it is a problem with FFDShow's FLAC decoding. I put a FLAC file into a .mka container and it had the same audio glitch issues as when it was in a .mkv with a VC-1 video stream. After more testing I realized that there was no video stutter - only the audio glitches.
I am using FFDShow-tryouts revision 964 (February 2007). What are you using for FLAC playback, zgx (and anyone else who got this working)?
Thanks again!
(For the time being I used MediaCoder to make me an AAC track using the FAAC encoder, just for fun! AAC Lossless doesn't work - I get a 4K file everytime! And WMA Lossless in MediaCoder crashes out on me.)
foxyshadis
11th March 2007, 10:32
How does flac compare to MLP, if you convert directly without changing the bit depth? Just curious whether it's a worthwhile savings. (The ease of playability might outweigh that anyway.)
KoD
11th March 2007, 10:39
Rectal Prolapse, does your soundcard support 24 bits input in hardware ? Because if it's only accepting 16 bits, then there's a downsampling being performed by the drivers or by windows without you knowing. And soundcards can choke on high bitrate, even more when it's multichanneled. I'm afraid you might be asking more from your hardware than it can do and you're blaming software for it.
Darth Pinous
11th March 2007, 12:07
More caveats: It appears that the delay setting in mkvmerge (2.0.2) does not work for FLAC audio tracks.
You should try WavPack instead of FLAC. You can delay a WavPack soundtrack in mkvmerge.
MichalHabart
11th March 2007, 14:05
Hey guys,
I've written a little tool named "eac3toac3", which is able to convert E-AC3 files to AC3. **WAIT**. Before you rejoice: The tool really does nothing but what was already suggested in this thread (E-AC3 -> RAW -> WAV -> AC3). Basically it automates what you have to do with GraphEdit and running all the various tools like sox and aften etc. Anyway, the tool works fine for me and makes the conversion process a bit more comfortable.
http://madshi.net/eac3toac3.zip
eac3toac3 v1.0, freeware by madshi.net
Usage: eac3toac3 srcFilename.eac3 destFilename.ac3
This tool can convert a 2.0 or 5.1 channel E-AC3 file to AC3.
For this to work correctly you need these filters to be installed:
(1) DTS/AC3/DD+ Source
(2) Sonic Audio Decoder 4.2
(3) ffdShow Audio Processor
(4) Dump filter
Furthermore these tools must be located in the same folder as eac3toac3:
(1) sox 13
(2) aften revision 449
Please note that newer ffdShow tryout versions make problems for me. I have things working correctly with the ffdShow tryouts build from December 2006. Here are some download links for the neccesary freeware tools/filters:
http://ffdshow-tryout.sourceforge.net/
http://sourceforge.net/project/showfiles.php?group_id=10706&package_id=10619&release_id=485785
http://win32builds.sourceforge.net/aften/index.html
The "eac3toac3" tool has a few tricks up it's sleeve:
(1) It automatically detects whether the E-AC3 file is really an E-AC3 file, how many channels it has and which sampling rate etc.
(2) It automatically changes the Sonic Audio Decoder settings to deliver the needed channels.
(3) It automatically finds out whether the intermediate raw audio file has a bitdepth of 16 or 24 bits and adjusts the "sox" parameters accordingly.
If you don't want to convert to AC3, but to something else, you can use ".wav" or ".raw" as destination extensions. The eac3toac3 tool will then simply stop when the ".raw" respectively ".wav" file is done. Intermediate files are automatically deleted. Only the source and destination file are left on the harddisk after the tool has run through.
Hm, it is not working. I tried with Casino DD+ track this is what is got:
eac3toac3.exe h:\casino.dd+ g:\test.ac3
The file extension of the source file must be ".eac3", ".dd+" or ".wav".
When i rename dd+ track to eac3, it is recognised by that program :(
Can you tell me what i am doing wrong?
orbitlee
11th March 2007, 14:18
Hm, it is not working. I tried with Casino DD+ track this is what is got:
eac3toac3.exe h:\casino.dd+ g:\test.ac3
The file extension of the source file must be ".eac3", ".dd+" or ".wav".
When i rename dd+ track to eac3, it is recognised by that program :(
Can you tell me what i am doing wrong?
Under DOS or Windows, you can't name file with '+' inside. It is reserved by command processor(cmd.exe).
BTW, I noticed that in DD+ audio files have .ddp extension name in Scenarist SCA, .ec3 in Scenarist ACA.
MichalHabart
11th March 2007, 14:25
Under DOS or Windows, you can't name file with '+' inside. It is reserved by command processor(cmd.exe).
BTW, I noticed that in DD+ audio files have .ddp extension name in Scenarist SCA, .ec3 in Scenarist ACA.
So, madshi, is it possible to change aec3toAC3 program so it will take ddp instead of dd+ files?
And something more, what bitrate will your final ac3 have? Is there some possibility to add there parameter for final bitrate of ac3 (i mean 448 or 640)?
madshi
11th March 2007, 18:52
So, madshi, is it possible to change aec3toAC3 program so it will take ddp instead of dd+ files?
Yes, of course, I'll do that. I'll also try to use Chumbo's suggestion to use the AC3Filter instead of ffdShow.
And something more, what bitrate will your final ac3 have? Is there some possibility to add there parameter for final bitrate of ac3 (i mean 448 or 640)?
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?
madshi
11th March 2007, 18:54
About 25% of the original. For "16 bit/48 kHz/6 channel" movie soundtracks I have gotten files from 1100 to 1900 Kbps so it doesn't take more space then a 1.5 Mbps DTS track does. The only downside is that you need 6 analog RCA cables or HDMI in order to get lossless sound to your transciever. You can of course let AC3filter transcode to AC3 for S/PDIF ouput. Then it won't be lossless but will still sound really good.
That's mighty cool! How does that compare to TrueHD or DTS Master HD Audio? Does FLAC compare well with those two codecs? I mean in that case FLAC would really be a great alternative, as many players already support it, even some hardware media streamers, while TrueHD and DTS Master HD Audio support is still very rare both in software and hardware...
zgx
11th March 2007, 19:17
That's mighty cool! How does that compare to TrueHD or DTS Master HD Audio? Does FLAC compare well with those two codecs? I mean in that case FLAC would really be a great alternative, as many players already support it, even some hardware media streamers, while TrueHD and DTS Master HD Audio support is still very rare both in software and hardware...FLAC, Wavpack, LPCM, MLP, TrueHD and DTS-HD Master Audio should all sound exactly the same since they are all lossless.
Any difference in "quality" has to do with the source that was used for the encode or because of differences in software/hardware used in playback.
DTS-HD Master Audio has a small plus beeing able to output a 1.5 Mbps DTS core stream over S/PDIF while all the other formats needs to re-encode to example AC3 in realtime for S/PDIF usage.
But I think that on a HTPC there are many advantages in using FLAC or Wavpack.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.