Interlaced images

Support and queries relating to all previous versions of ZoneMinder
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Interlaced images

Post by jameswilson »

I have been trying to setup my zm box to emulate a dm digital sprite. It captures at 720x512. I can set zm to do the same but on fast moving images i get motion blur. I have read elsewhere this is to do with interlacing, but i dont get this blur on a sprite. Can this be removed, or is it that my machine is not powerful enough to capture quick enough succesive frames. If i drop to 320 x 240 this stops but the resolution is poor then compared to the srites.
Anyone any ideas??

James
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

There are several threads that discuss interlaced images in some depth. If you search hopefully you can find something useful in one of them. v1.21.1 (out later today or tomorrow) includes a contributed patch which addresses one cause of this on some hardware, at the cost of a slower frame rate.

Phil
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

thanks phil but im not getting the problem of the odds and evens being mixed up i get bluring on high speed motion ie cars going past this even happens when only using 1 input at 20 fps
maciekc
Posts: 150
Joined: Wed Feb 23, 2005 9:21 pm
Location: Czestochowa, POLAND

Post by maciekc »

I think that there is no solution to this. Use low resolution that's the only one.
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

how do they get over this then in the dvr's we use at work. Do they grap 2 frames bedore switching to the next input. i pume e fuzziness appears because it grabs field odd from 1 then 2 then 3 then 4 then evens? Then there is quite a gap between odd 1 capture and even 1. Hope i have explained what i mean.

James
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

The patch that was contributed discards some captured frames as some hardware gets even and odd frames backwards after a switch. It appears to take a short while to settle down to a decent image.

Even with that though, if an object is moving you will probably get an interlaced image as the only way some devices can get large image sizes is by combining two frames which will have a short delay between them.

Phil
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

i have been googleing and am i right in thinking what i need to stop this is deinterlace. It appears the osprey 100 (my card rebadged version of this) has deinterlacing built into it and can be turned on in wndows. I also notice that XawTV have written a deinterlace script for bt878 cards. Am i way off with this or should i keep looking??
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

There are various method of manual de-interlacing. If you look on google, or here it explains some. They are mostly just fudges though and can be a lot of work for little effect. Currently ZM doesn't do any of them but if one method was found to be exceptional then it's not hard to do.

Phil
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

Thanks Phil. The reason im looking at it is because i want to use zm at home (i dont want to shell out for a dm sprite) cheapskate i know. BUt sprites record at high res and dont have the interlacing problem. do you know how they do it or do they bend the truth about the resolution they capture. I have spoken to another of the manufacturese we use and they told me thay capture at 768 x 288 or 768 x520 can be setup and that doesnt do this either. Can i get a card that doesnt do this or can one of the 'bodges'actuall work?

James
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

The least expencive way might be looking into the Axis IP cams. The higher end boards are not supported in linux kernel yet at least alot of them are not (Could be wrong).
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

DO you know of a capture card that does this i dont like the idea of anything that expensive being outside my house and alarm
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

I don't know of any supported by the kernel. Don't mean it don't exist though. Something else you could consider is a video server. Axis makes those too. You can run coax far enough to secure the little box.
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

Yeah true hadnt thought of that but arnt they a bit expensive?
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

A quality card can run $700 USD, and you can do quiet a bit with a video server.
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

i should bl**dy hope so for that, does that come with cameras, a 200Gb hard disk and an fx55??
Locked