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

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

JnZ
4th March 2007, 11:15
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

JnZ
4th March 2007, 11:24
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

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

JnZ
5th March 2007, 17:45
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 ?