Log in

View Full Version : Quick Frameserving of a DVD disc


ericfree
6th March 2007, 04:12
I've been reading the forums, and found out about DGIndex/DGDecode. It's the only way I can see to frame-accurate serve a DVD. However, this app requires running DGIndex on the entire disc, and then storing a couple of files (one of which, the audio file, is quite large.)

What I'd like to do is to simply frameserve a DVD disc that was just popped into the DVD-ROM drive -- no extra step, no storing of files specific to that DVD.

I'm getting the feeling that this is just not possible, but I'd love to hear a word from an expert that I'm in fact right, so I can forget about this pipe dream, and simply move on in my life.

Also, there are some video players, such as Windows Media Player Classic, which seem to pretty much be able provide random seeking ability for a DVD disc. So then how do they do it?

Mug Funky
6th March 2007, 05:02
DVD player software uses the ifo file to get the appropriate places to jump to. random access seeking is very much inaccurate in these players (in fact, some players will miss the keyframes even when going between chapter points).

i once tried to get a VfW frameserver to work with DVDx, but until then you'll have to use DGindex or not use avisynth at all.

you can rip/encode with mencoder straight off the disc, but it may be more fiddly than you'd like (it's commandline).

also, DGindex only demuxes audio if it's asked to. you can tell it not to. you can also write a windows batch file to run DGindex and even output an avs file that refers to it. this is a 1-time setup that you can run again and again, so it's worth your while to learn if you're doing a lot of backups.

Guest
6th March 2007, 05:51
If you have an MPEG2 DirectShow decoder, and you don't need seeking, i.e., you are just going to do an encode straight through from start to finish, with no trimming, decimation, etc., then you can use:

directshowsource("br_ch1.vob")

But you'll soon find out why people don't do this.

ericfree
6th March 2007, 06:17
> DGindex only demuxes audio if it's asked to. you can tell it not to.

So if you don't demux the audio, then can you still play back the disc with DGDecode (via AviSynth) with the video AND audio? Or will it be video only?

ilovejedd
6th March 2007, 06:35
So if you don't demux the audio, then can you still play back the disc with DGDecode (via AviSynth) with the video AND audio? Or will it be video only?

It's gonna be video only. What will you be doing with the frameserved DVD, anyways?

foxyshadis
6th March 2007, 10:51
If you have your Directshow players all set up properly, you might be able to use Audiodub(DirectShowSource("disc.vob",audio=true,video=false)), but you'll want to test it out for sync proper length first. You might need the load the ifo instead, I d'no, but then you might end up with menu audio.

ericfree
6th March 2007, 21:57
It's gonna be video only. What will you be doing with the frameserved DVD, anyways?

I am going to run it into the WMP 6.4 ActiveX control.

I'm building an app around this ActiveX control. I'm adding some features to the Media player that I haven't found anywhere else. But I need complete random seek access to any video file. MPEG-1 encoded files seem to work fine, as well as some other video formats, but not other formats such as WMV. Frameserving WMV files via AVISYNTH seems to solve this problem -- it works fairly well in the WMP 6.4 ActiveX control (allowing me full random seek access), but I don't know how to do this for DVD discs. That's what I'm trying to do. I eventually want the user to just be able to pop in a disc into their DVD-ROM and view it in my app built around WMP 6.4.