I'd love to run my camera at 640*480 but cannot due to the interlacing I get through my 4 port 848 card.
I've seen various thoughts and ideas discussed over the years over how it could be solved and I've had another search through the forums to see if there is any more up to date info, but there doesn't appear to be. I've not seen any active discussion for a couple of years.
Is there any new way of achieveing this, either by capturing without the interlacing, or cleaning up the images/video afterwards?
If not, are there any specific cards that wouldn't give interlacing? I'd prefer not to use IP cameras as they seem pretty pricey.
Any other ideas or options?
Thanks
interlacing - any new thoughts
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
i rememeber bttv having an option for combfilter=1
this was utterly useless but now we have updated zm (or will do) do work with version 2 will this help at all?
this was utterly useless but now we have updated zm (or will do) do work with version 2 will this help at all?
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
You can't do much about interlacing with analog cameras. They were built for standard-def TV's and standard-def TV's use interlaced video.
I myself use 640x480 with analog cameras since they do provide more detail than 320x240. I an object isn't moving you get the full 640x480 detail.
You can record at 640x480 with interlaced cameras and then do de-interlacing on events you want to pickup any details that the interlacing is messing up. You can use the Gimp or Photoshop to deinterlance individual frames. There are many video tools that deinterlace video, (avidemux is a free one that runs of Linux and OSX) you can use them to deinterlace video export of events. FFmpeg has a deinterlace flag, I've never been able to get ffmpeg to deinterlace video exports or video streaming.
I myself use 640x480 with analog cameras since they do provide more detail than 320x240. I an object isn't moving you get the full 640x480 detail.
You can record at 640x480 with interlaced cameras and then do de-interlacing on events you want to pickup any details that the interlacing is messing up. You can use the Gimp or Photoshop to deinterlance individual frames. There are many video tools that deinterlace video, (avidemux is a free one that runs of Linux and OSX) you can use them to deinterlace video export of events. FFmpeg has a deinterlace flag, I've never been able to get ffmpeg to deinterlace video exports or video streaming.
-
- Posts: 247
- Joined: Sun Jan 16, 2005 11:26 am
Thanks guys.
Tim,
Does gimp do this succesfully or does it still not look great? Does it take a while or is it quick? If gimp can do it quickly I wonder if there is a command line tool that could be used to run through the events directory after an event, or whetehr the CPU usage would be too much.
James. Might be worth a try. I'm waiting for the latest version to be formally released before upgrading, but if anyone has a test machine and feels like playing with this in the meanwhile I'd be interested to hear the results.
Thanks all.
Tim,
Does gimp do this succesfully or does it still not look great? Does it take a while or is it quick? If gimp can do it quickly I wonder if there is a command line tool that could be used to run through the events directory after an event, or whetehr the CPU usage would be too much.
James. Might be worth a try. I'm waiting for the latest version to be formally released before upgrading, but if anyone has a test machine and feels like playing with this in the meanwhile I'd be interested to hear the results.
Thanks all.
Mplayer has some good options for playing interlaced video. I found that the command -vf pp=lb displays the video with interlacing cleaned up nicely.
Example:
mplayer some_interlaced_video.avi -vf pp=lb
Using Mencoder, one can re-encode the video while deinterlacing it. More details can be found here at the Mplayer site.
Example:
mplayer some_interlaced_video.avi -vf pp=lb
Using Mencoder, one can re-encode the video while deinterlacing it. More details can be found here at the Mplayer site.
-
- Posts: 247
- Joined: Sun Jan 16, 2005 11:26 am
I recently discovered that mplayer's cubic interpolating deinterlacer (ci) filter works better that the linear blend deinterlacer (lb) filter. There is also a temporal noise reducer (tn) that works well. I get very nice results when combining the ci and tn filters.
mplayer some_interlaced_video.avi -vf pp=ci/tn
mplayer some_interlaced_video.avi -vf pp=ci/tn