View Full Version : ffdshow and mpeg[12]
unixfs
21st July 2002, 20:09
Hi, is there a way to use ffdshow to decode MPEG 1 and 2?
Since it's based on libavcodec it seems to be possible.
Any help on how to do it (maybe some key association)?
Thanks.
avih
21st July 2002, 22:23
afaik, milan (the author of ffdshow) has such plans. but i don't know if it's top priority for him.
cheers
avi
Didée
21st July 2002, 23:09
Ah, sorry?
By checking "raw video" in the codecs-properties of ffdshow, ffdshow gets integrated in the filter chain when playing mpeg-1. This is for sure.
Just now, I realize to not have checked this for mpeg-2 ... and dont´t have one handy ATM. Will try it tomorrow.
But again: Mpeg-1 gets decoded by the latest build (16-07).
Koepi
21st July 2002, 23:19
It's getting post processed by ffdshow, not decoded, that's a small difference :)
I guess this is what the question is about.
Regards,
Koepi
avih
21st July 2002, 23:20
afaik, you can use ffdshow to POSTPROCESS either MPEG4 streams that can be decoded by it OR yuy2 or RGB streams. the MPEG1/MPEG2 checkboxes are disabled, since these can not be DECODED yet. if, however, you have a decoder for these formats, and this decoder outputs either rgb or yuy2, then ffdshow can be used to do postprocessing filterring, if 'raw video' is checked.
cheers
avi
Didée
21st July 2002, 23:33
Yes, of course.
Blame on me.
The difficulty in decoding MPEG-1 or -2 streams is that a dshow file parsing/demultiplexing filter must be written, not just a stream decoder (i.e. currently we just have the AVI splitter feeding in convenient blobs of compressed video). While I'm not too familiar with dshow (or even the terminology), I think adapting libavcodec's parsing code to the dshow framework would be a pretty sizable headache. Sure would be nice though..
-h
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.