Solved: 2 video encoders, same brand, same settings, one works, one gives libjpeg decompression failure
Question
Hi,
I have been running Motion with great pleasure for more than 2 years now. Connected where one Logitech 720P camera by USB, one PAL camera by Axis 241S encoder and one PAL camera by Bosch
VipX1 encoder. Because of the RF noise generated by the Bosch Encoder (which disturbs my shortwave reception) I did buy another Axis 241S encoder.
In the thread I used for the Bosch encoder I changed the webcam URL to the same I used for Axis but with the IP address for the new unit. As soon as I start Motion the USB cam starts, thread 4 (the original Axis) starts but thread 3 fails with an error, libjpeg decompression failure.
I have settings on both Axis encoders the same except for the IP address, the URL for both the encodes show an image in either Firefox or Chromium on the same PC (Ubuntu 12.04 LTS)
I am running out of clues what to try next, so any help would be welcome.
The working from thread 4:
netcam_url http://192.168.0.52/axis-cgi/jpg/image.cgi?resolution=640x480
The not working from thread 3:
netcam_url http://192.168.0.53/axis-cgi/jpg/image.cgi?resolution=640x480
Both encoders have same firmware version. If I use the url from thread 4 in thread 3 motion indeed gives the same image for thread 3 and 4.
Environment
Motion version: |
3.2.12 |
ffmpeg version: |
0.8.4-4:0.8.4-0ubuntu0.12.04.1, |
Libraries: |
ffmpeg, mysql, postgresql |
Server OS: |
Ubuntu 12.04 LTS kernel 3.2.0-35-generic-pae |
--
BenZandstra - 29 Dec 2012
Answer
Problem is solved in a kind of strange way. Both encoders have no PTZ camera connected but on the second encoder after enabling anonymous PTZ (anonymous viewing was allready enabled on both units) and pressing the Save button suddenly the image from the new encoder appeared.