vertical resize window for 640x240

Anything you want added or changed in future versions of ZoneMinder? Post here and there's a chance it will get in! Search to make sure it hasn't already been requested.
Post Reply
Kushnirenko
Posts: 17
Joined: Mon Jun 25, 2007 6:29 pm

vertical resize window for 640x240

Post by Kushnirenko »

After reading issues about deinterlacing I found that a very simple solution is to set 640x240 size to record images. Then you stretch it vertically by a factor of 2 and get 640x480 resized image and you do not have any interlacing effects (with lower resolution of course)

Is it possible to to add an option (pull down menu with different sizes) to stretch window vertically? I wrote a simple PHP page to do that, but just was curious if that may be useful for the others.
User avatar
Lee Sharp
Posts: 1069
Joined: Sat Mar 31, 2007 9:18 pm
Location: Houston, TX

Post by Lee Sharp »

That would be handy... Specifically storing 648x240 images but displaying 640x480. Max resolution and max disk space.
lethal
Posts: 4
Joined: Sat Sep 17, 2005 8:29 pm

Post by lethal »

I'd just like to bump this for more input.

Surely this would get a greater horizontal detail out of interlaced cameras. Obviously when scaling the captured picture up from 640x240 to 640x480 (or 720x288 to 720x576) for display, you would be stretching the pixels vertically to twice their captured size but there would still be 640/720 captured pixels horizontally.

Would this give a genuinely more detailed image while getting around the deinterlacing problem?

I'm not the programming buff but I'd assume this to be a fairly straight forward thing to implement.
User avatar
robi
Posts: 477
Joined: Sat Mar 17, 2007 10:48 am

Re: vertical resize window for 640x240

Post by robi »

Kushnirenko wrote:After reading issues about deinterlacing I found that a very simple solution is to set 640x240 size to record images. Then you stretch it vertically by a factor of 2 and get 640x480 resized image and you do not have any interlacing effects (with lower resolution of course)

Is it possible to to add an option (pull down menu with different sizes) to stretch window vertically? I wrote a simple PHP page to do that, but just was curious if that may be useful for the others.
Nice idea! 720x288 to 720x576 would give full-size, actually.
v1.25.0 + Ubuntu Linux 12.04 Server
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

Video 4 Linux 2 which I am currently implementing allows you to specify whether to use interlaced images or just single frames so this would be a better fit in that version. I would suggest that the images may as well be stored as 640x240 right up until it is viewed where it can be stretched without wasting disk space or bandwidth.
Phil
Post Reply