i remreber a while ago while writing zm4ms that 0.4.9 ffmpeg had this problem but not 0.4.8
I think this is an ffmpeg issue not a zm issue. If the manual vid creation fails then it is deffo not zm.
You might try a different ffmpeg version.
HELP - FFMPEG and Low Quality Jpeg
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
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
-
- Posts: 23
- Joined: Sun Apr 15, 2007 7:34 pm
Just a thought. are the jpegs made with the default libjpeg or one of those optimized mmx or sse ones. In case its not with ffmpeg. I would be willing to take a look at some of your jpegs if you want. Just post a link to them.
I'll use ffmpeg and mencoder to test.
I'll use ffmpeg and mencoder to test.
distro: archlinux
zoneminder: 1.22.3
zoneminder: 1.22.3
-
- Posts: 19
- Joined: Tue Jul 03, 2007 6:50 pm
AlienTesticle,
this is one of the images:

thanks
this is one of the images:

thanks
Last edited by diogojorge on Fri Aug 10, 2007 8:42 pm, edited 2 times in total.
-
- Posts: 23
- Joined: Sun Apr 15, 2007 7:34 pm
just a note to say I have not forgot about this.
I get that error also with your file.
with just a little looking around. I seems to be an error with the huffman encoding... Now.. is it when the jpeg is being written at such a low percentage or is it when it is being read that it is corrupted, I have not found out.
It was late when I was looking and I dont have the link, but I read somewhere that there was/is an issue and an older version worked. Now.. I was pretty tired when I found that.. and I now dont remember if it was related to libjpeg or ffmpeg.
I tried reading in the file with imagemagick and writing it back out at 20% quality and it then read ok.
I have to finish my other project related to this post. then I will look into this further.
I get that error also with your file.
with just a little looking around. I seems to be an error with the huffman encoding... Now.. is it when the jpeg is being written at such a low percentage or is it when it is being read that it is corrupted, I have not found out.
It was late when I was looking and I dont have the link, but I read somewhere that there was/is an issue and an older version worked. Now.. I was pretty tired when I found that.. and I now dont remember if it was related to libjpeg or ffmpeg.
I tried reading in the file with imagemagick and writing it back out at 20% quality and it then read ok.
I have to finish my other project related to this post. then I will look into this further.
distro: archlinux
zoneminder: 1.22.3
zoneminder: 1.22.3
-
- Posts: 23
- Joined: Sun Apr 15, 2007 7:34 pm