PDA

View Full Version : dvd2avi and hipix?


b0b0b0b
5th February 2002, 05:55
Hi, any thoughts about making it so dvd2avi could frameserve hipix files?

That would be awesome.

trbarry
5th February 2002, 14:21
b0b0b0b -

Yes, I would seriously like to implement this though haven't done anything so far. Probaly this would be by hooking bcdmux or bbdumx2 code into the read routines and allowing users to select which video stream just like they now can select the audio. It could just do it automatically if it recognized the 4 byte ATSC stream header on the front of each block.

Even the old mpeg.org sample program had code to recognize that but then just issue an error message.

But it also needs the ability to pass ac3 through Avisynth, at least for my purposes, and I don't know if anything has been done there.

- Tom

b0b0b0b
5th February 2002, 16:55
Why do you want ac3 going through avisynth?

Are you unhappy with the extra steps of demuxing the ac3 stream and then remuxing it at the end, with avimux or nandub?

Yeah, I guess going through avisynth would be pretty sweet.

trbarry
5th February 2002, 18:17
Are you unhappy with the extra steps of demuxing the ac3 stream and then remuxing it at the end, with avimux or nandub?


;)

I'm totally disgruntled about there being no way to automatically sync up the audio even though all the timing info has been put into mpeg2 in both HDTV & DVD. Throwing away all the clock signals is some sort of crime against nature.

And over and over again I've shown I have exactly zero talent for doing it manually. :(

- Tom

b0b0b0b
5th February 2002, 18:23
when you use dvd2avi to demux an ac3 stream from a mpeg2 stream doesn't it give you the delay? or is this information not the timing information that you refer to... maybe the number I'm thinking of is built into the dvd vob or ifo...

trbarry
5th February 2002, 20:01
It gives me the delay but that delay has rarely been correct for my WinTv-HD captures, and I assume for Hipix users. I just got a HiPix also but have not tried that yet.

The problem may be in the fact that ATSC streams do not always start on a start code or a group of pictures (did I get that right?) The various demuxers skip over stuff at the beginning of a file segment looking for that. If audio is demuxed separately that may be a problem. But even when I use Xmuxer and demux to an mpeg2 file with both video and audio the eventual offset reported by DVD2AVI does not seem to be correct.

There also may be a problem in the way the various demuxers concatenate segments as there may be unfinshished groups at the end.

- Tom