Log in

View Full Version : EVOB De/Multiplexers


Pages : 1 2 3 4 5 6 [7] 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37

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