jpeg quality 2 - the mission

Support and queries relating to all previous versions of ZoneMinder
Locked
User avatar
victor_diago
Posts: 245
Joined: Wed Jan 21, 2004 2:44 pm
Location: Brazil, sao paulo
Contact:

jpeg quality 2 - the mission

Post by victor_diago »

Hi.

Phil and others, i just cant set jpeg quality.

i have set it up in the Database to 40, but no difference on the images... same size and quality. ive restarted and nothing changes.


Is there a way to get it work ?


Another bad thing is when in record mode, when you click "per-frame" mode, all you can see is the first line. all lines under first are showed as corrupted link, because it appoints to 000-capture.jpg not to the right 005, 006 etc.

But when watching the continuous mode all goes ok.

Modect mode works well even in "per-frame" mode.

Any idea on how to solve any of them ?

My best regards and thanks in advance

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

Post by jameswilson »

i think there is another thread about jpeg quality and someone posted an edit. I cant get it to change either from editing the db but im gonna wait till 1.22.1 arrives rather than apply patches
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
User avatar
victor_diago
Posts: 245
Joined: Wed Jan 21, 2004 2:44 pm
Location: Brazil, sao paulo
Contact:

Post by victor_diago »

Yes, ive just saw that.

Is that to fix this issue ?

How im supposed to apply it ? patch -p0 ???


Regards

Victor Diago
tommy
Posts: 45
Joined: Sun Aug 17, 2003 2:58 am

Post by tommy »

Yes this is to fix that problem. If you can't use the patch program, it's easy to make the changes manually. The patch is only 3 lines.

The lines with the"@" are the approximate line numbers in zm_image.cpp.

Just type in the lines that are preceded with a "+" and delete the line that is preceded with a "-".

You still have to make the changes to the database manually as you have been doing.

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

Post by zoneminder »

Yes, the jpeg quality settings are broken. I have fixed it in 1.22.1 and will be sending Corey a 1.22.1 release tomorrow for advance rpm integration and so it should be out early next week.
Phil
Locked