View Full Version : 'on-the-fly' deinterlacer DS filter for MPEG2
oddball
22nd July 2003, 01:42
I need a DS filter that does 'on-the-fly' deinterlacing when playing back MPEG2. Not BOB or similar which only decomb and blend. But one that actually removes blending as well like FieldDeinterlace does in an Avisynth script. I know of several deinterlace filters like Decomb's, TomsMoComp, KernelDeint etc but I need one that is DS and works in realtime when playing back interlaced MPEG2 material.
This type of DS filter is SORELY needed.
avih
22nd July 2003, 07:13
ffdshow MIGHT come to the rescue. it can even use tomsMoComp. i didn't explore that option much though. it can use dscaler plugins, and avisynth ones. i'm not entirely sure it'll double the framerate in all circumstances.
r0cket
22nd July 2003, 08:44
Originally posted by avih
ffdshow MIGHT come to the rescue. it can even use tomsMoComp...
...but can't decode MPEG2 either MPEG1 yet. "function is currently in development" :(
jggimi
22nd July 2003, 08:49
If I recall correctly, mplayer can use ffdshow deinterlacing, and can support mpeg-2. However, that's in the Linux environment. There is a version of mplayer for windows, but I've never tried mplayer in a Microsoft OS, and do not know what features may be disabled or unusable.
bilu
22nd July 2003, 09:25
Free
http://www.dscaler.org/Filter.htm
Commercial
http://www.alparysoft.com/prod/deinterlace.phtml
I don't know how good they are though :rolleyes:
Bilu
r0cket
22nd July 2003, 10:20
So anybody knows how to use the first one? I've tried Graphedit, but couldn't connect something to input. I mean mpeg2 source. And with mpeg4 avi it crashes when you press Play.
oddball
22nd July 2003, 20:20
No problems connecting dscaler in graphedit. But it's not any good. It just decombs but does not get rid of field blending. It also creates some nasty posterisation artifacts.
I need to use Avisynth filters like Donald Graft's kerneldeint120 in realtime playback. ffdshow does not work with MPEG2 otherwise it would be the obvious answer.
Next solution...???
Maybe I should contact Donal Graft directly and ask if he can create a MPEG1/2 DS filter version of kerneldeint that will load whenever a MPEG1/2 file is played.
avih
22nd July 2003, 20:26
Originally posted by r0cket
...but can't decode MPEG2 either MPEG1 yet. "function is currently in development" :(
but it can run in 'raw mode' to filter just before the renderer. as i said, you'll have to experiment, but that's wher i'd start.
also, you CAN write an avisynth script that does the job for you, and then just play that script directly with your favorite player.
in that case, clip.bob would be the fastest (lowest cpu resources). mind you, avisynth bob is NOT powerDVD's bob. the latter only removes one field and plays 25fps (or 30@ntsc) thus discarding half of the image data, but the former doubles the framerate, and doesn't loose any image information. so that would be my 1st bet.
oddball
23rd July 2003, 12:20
In the past I tried the Avisynth script approach but it would play without sound in something like Zoom Player.
((( atom )))
25th July 2003, 08:35
mplayer was the idea to go, if you ask me. you download the exe, put deinterlacing steady into the config-file and your set.
get it here:
http://mplayerhq.hu/MPlayer/releases/win32-beta/mingw32-dev-CVS-030630.zip
you can find some info in this thread:
http://forum.doom9.org/showthread.php?s=&threadid=52335&perpage=40&highlight=mplayer%20windows&pagenumber=1
..and the documentation here:
http://www.mplayerhq.hu/DOCS/
For interlaced video, you should try -vop pp=0x20000. If that's not satisfactory, try 0x10000, 0x40000, and 0x80000. For badly-converted NTSC movies, try -vop dint or FFmpeg's adaptive filter, -vop pp=fd:c or -vop lavcdeint. If you're lacking CPU time (deinterlacing is a CPU-consuming process), try one of the "cheap" deinterlacers, -vop halfpack or -vop field.
i use mplayer as my main player for ages now under linux, and since the windows-version is available i am also finally rid of all that jerkyness windows-players are naturally bound to (autosync=100 does magic here).
hope i could help..
oddball
30th July 2003, 18:49
WHOA! CPU killer! Even my XP 2400 choked when I used those deinterlacers. SO it looks like realtime field doubling deinterlace is out of the question. I tried kerneldeint120 in an Avisynth script to see if it would play realtime in VirtualDub with DirectDraw overlay mode switched on (No sound of course). It just about keeps up with 100% CPU time.
Oh well. Will have to settle for watching with just decombing deinterlacer in WinDVD et al. Or convert them.
oddball
30th July 2003, 21:02
HOORAY! I dunno what I did. But suddenly all the interlace field doubling has vanished from my DVB streams :)
It must have been something sitting in between. Possibly to do with my GFX cards overlay drivers or maybe some other filter in the way.
I am so happy!!! :D
EDIT: Hmmm. I spoke too soon. It appears to be channel specific and even programme specific. Some channels exhibit lots of field doubling while others don't. Some shows appear as interlaced field doubled baloney. Seems to be particularly US shows broadcast on UK TV. Methinks they do something when broadcasting such shows to display them correctly in PAL.
Oh well. At least not everything shows as interlaced/field doubled crapola which makes me happier ;)
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.