#750758 netcam_start: libjpeg decompression failure on first frame - giving up

Package:
motion
Source:
motion
Description:
V4L capture program supporting motion detection
Submitter:
ael
Date:
2015-08-18 03:39:06 UTC
Severity:
important
#750758#5
Date:
2014-06-06 14:36:29 UTC
From:
To:
I am trying to use motion with a trendnet TV-IP572PI IP camera.
It works with vlc as in
vlc rtsp://netcam:544/play1.sdp

It has a single snapshot jpeg image at
http://netcam/image/jpeg.cgi

I can use wget to collect an image with
wget --user someone --password password http://netcam/image/jpeg.cgi
after renaming it to it.jpeg I can view it successfully with, for
example, geecie.
(I will attach such an image from the camera).

However, when I give the same uri to motion (motion.conf below)
motion fails reporting
" netcam_start: libjpeg decompression failure on first frame - giving
up"

Maybe a libjpeg problem, but how come geecie works?
---------------------------------------------------------------

#750758#12
Date:
2015-08-18 03:33:16 UTC
From:
To:
Motion does not support static images from URL.  It must be a stream.
You can use the rtsp URL that is listed in the message that worked with vlc.