Not a JPEG file: starts with 0x35 0x39

Post here to ask any questions about hardware suitability, configuration in ZoneMinder, or experiences. If you just want to know if something works with ZoneMinder or not, please check the Hardware Compatibility sections in the forum, and the Wiki first. Also search this topic as well.
Post Reply
kapostolou
Posts: 12
Joined: Wed Dec 26, 2007 10:22 pm

Not a JPEG file: starts with 0x35 0x39

Post by kapostolou »

Not a JPEG file: starts with 0x35 0x39

Any idea why I get this?
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

Cos the output isnt a jpeg.

Also please keep to one topic, multiple posts wont get you an answer an quicker and may put of some people from answering 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
kapostolou
Posts: 12
Joined: Wed Dec 26, 2007 10:22 pm

Post by kapostolou »

I was trying to be more specific. Any way when I do wget http://192.168.16.XXX/cgi-bin/video.jpg I get an fine jpeg image.
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

you might well as wget just downloads whatever the file is, if it was a pdf it would download that. Because of the way zm works it needs to be sure its a jpeg, if the jpeg supplies has non standard headers it will fail. There are scripts on here that take non std cams and convert but id advise against
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
Post Reply