View Full Version : Deinterlace in ffdshow latest
oddball
2nd September 2002, 03:25
What does it do? I mean I kinda understand what deinterlace does. But is this some kinda 'on the fly' deinterlace? Also how would it work? If you have an interlaced 29.97 DiVX file and you enable deinterlace in ffdshow what does it deinterlace to? How would it affect movie with bad IVTC? Maybe I should do some tests myself to try and find out but some pointers would be nice on what this actually does :)
SirDavidGuy
2nd September 2002, 03:30
It would decode it, and then split the fields, and then use an anti-bob technique to stop it from bobbing.
This would be much better than deinterlacing before encoding, since it ian't required, then, to decode 60 FPS.
hayami
2nd September 2002, 05:29
may I ask which version do you mean by the latest?
the latest one on the homepage or SF is dated 02-06-17
and I can't find anything on deinterlacing at all..
milan
2nd September 2002, 07:38
Deinterlacing encoded video doesn't work. I added this feature to ffdshow because I'm often using ffdshow as a proprocessing filter during encoding. Deinterlacing method are quite simple (no FPS doubling) one taken from mplayer. I'm working one using method's from dscaler (as I heard they are the best ones).
New build was posted by athos to dffdshow thread. It is compiled CVS version and it's not next "official" ffdshow release, but it seem to be quite working. So if you want you can try it.
BTW I'm no deinterlacing expert, I'm just a beginner in this field. Is somewhere a good introduction to this topic?
avih
2nd September 2002, 16:59
@milan.
for a good (imho, but others might not think so) interlace info goto http://www.100fps.com .
if you need more info, ask me or search the forum. (tom is also interested [to say the least ;) ] in interlacing and written many of dscalers deinterlacers).
Antti
2nd September 2002, 18:29
ffdshow + tomsmocomp 50fps, DV user's dream! Woohoo! :) Actually it would be better if deinterlacer and mpeg-4 decoder were separate filters. But Dscaler dshow support doesn't seem to be going anywhere yet.
trbarry
3rd September 2002, 04:44
I wouldn't be at all averse to putting a 4:2:0 version of TomsMoComp into ffdshow. But I'm not sure about the 50 fps part. Isn't there a problem with trying to double the frame rate in dshow filters?
- Tom
milan
3rd September 2002, 06:36
for a good (imho, but others might not think so) interlace info goto http://www.100fps.com .
Thank you, I will look at it.
ffdshow + tomsmocomp 50fps, DV user's dream! Woohoo! Actually it would be better if deinterlacer and mpeg-4 decoder were separate filters. But Dscaler dshow support doesn't seem to be going anywhere yet
I think it wouln't be needed to split ffdshow into decoder and image processing filters. ffdshow can handle raw video input (for example from some MPEG2 decoder) and process it. Dscaler dshow filter is in active development, but it's more generic filter (or set of filters) so it takes longer to create them.
I wouldn't be at all averse to putting a 4:2:0 version of TomsMoComp into ffdshow. But I'm not sure about the 50 fps part. Isn't there a problem with trying to double the frame rate in dshow filters?
Dscaler dshow filter has this and ffdshow will have this too, but I'm not sure when. For now ffdshow decoding function works like this: one compresses frame on input -> one decompressed frame at output. It's because of simplicity: almost all other tasks handles baseclasses library. But this is unsuitable, for example, for MPEG1 decoding when on input aren't frames but packets. It should be possible to not use baseclasses library (or at least not the higher-level classes) and be able to output for example two output frames for one input. But this will require a big rewrite of ffdshow directshow interface and I'm not "ready" to do this yet.
Other task is to modify ffdshow's internal image processing to be able to use other colorspaces than YV12. Most of deinterlacers use some packed YUV format. I'm working on this.
milan
5th September 2002, 10:17
I've made some progress in better deinterlacing support in ffdshow. If you are interested, read this post: http://forum.doom9.org/showthread.php?s=&postid=176176#post176176
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.