Log in

View Full Version : Directshow & m2v


datascab
18th February 2004, 16:56
Hi,

I'm passing an mpeg2 elementary stream (*.m2v) using a script via direcshowsource.

Are there any parameters that I can append that will tell the splitter/demuxer the number of frames or duration?

Failing that, using moonlight stream explorer, I am able to produce an accurate media index file which does show exactly the right amount of frames etc.

The only problem is I cant get the demuxer to read this file.

The program has its own *.dll for this.

Is there a way to write this to be an avisynth plugin so i could load the index file instead?

The dumuxer does have an option to seek and read via the index file.

Thanks

Data

Leak
18th February 2004, 17:46
Originally posted by datascab
Hi,

I'm passing an mpeg2 elementary stream (*.m2v) using a script via direcshowsource.

Are there any parameters that I can append that will tell the splitter/demuxer the number of frames or duration?

Failing that, using moonlight stream explorer, I am able to produce an accurate media index file which does show exactly the right amount of frames etc.

How about giving MPEG2Source (http://neuron2.net/fixd2v/decodefix.html) a try? Just use DVD2AVI (via the GUI or via the command line) to produce a D2V project file for the M2V file (if you were going to create an index file anyway, why not use DVD2AVI?) and load this using MPEG2Source. Works perfectly for me.

np: Plaid - Uneasy Listening (Trainer)

datascab
18th February 2004, 17:50
Thanks,

I can do that fine.

But what I want to do is pass the stream through my mpeg2 directshow filters, particulary the decoder since it auto deinterlaces perfectly and kicks out YV12 to boot.

My dummy file would need to be mpeg2 based.

What I need is a virtualdub for mpeg2, lol.

Thanks

Data

ARDA
18th February 2004, 19:33
Try here

http://fcchandler.home.comcast.net/

Regards ARDA

Leak
18th February 2004, 20:51
Originally posted by ARDA
Try here

http://fcchandler.home.comcast.net/

Which, unless I'm totally mistaken, won't use datascab's DirectShow filters either...

np: Orbital - Dwr Budr (In Sides)

datascab
18th February 2004, 20:58
Yeah i know.

This elecard demuliplexer supports seeking frames by an index file.

I can create an index file for it which shows an accurate number of frames etc.

The problem is i dont know how to read them outside the program that writes it.

They say its a COM based reader which is in *.dll format.

I wish it had a directshow reader instead, lol.

Data