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

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

zgx
8th March 2007, 11:30
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.

zgx
8th March 2007, 13:47
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.

zgx
8th March 2007, 13:57
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

zgx
8th March 2007, 16:12
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?

zgx
8th March 2007, 21:52
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 :)

JnZ
8th March 2007, 22:24
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

zgx
9th March 2007, 08:09
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?

JnZ
9th March 2007, 12:12
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?