Motion - Support Question 2014x 06x 05x 083851

TV-IP651W libjpeg decompression failure

Question

Hi. ubuntu 14.04 x64 motion 3.2.12-4 Trendnet TV-IP651W

error libjpeg decompression failure on first frame - giving up!

help )
motion.conf

daemon off
setup_mode off
v4l2_palette 2
input 8
norm 0
frequency 0
rotate 0
width 320
height 240
framerate 2
minimum_frame_time 0
netcam_url http://192.168.1.199/cgi/mjpg/mjpeg.cgi
netcam_userpass admin:admin
netcam_tolerant_check off
auto_brightness off
brightness 0
contrast 0
saturation 0
hue 0
roundrobin_frames 1
roundrobin_skip 1
switchfilter off
threshold 1500
threshold_tune off
noise_level 32
noise_tune on
despeckle EedDl
smart_mask_speed 0
lightswitch 0
minimum_motion_frames 1
pre_capture 0
post_capture 0
post_capture 0
gap 60
max_mpeg_time 0
output_all off
output_normal on
output_motion off
quality 75
ppm off
ffmpeg_cap_new on
ffmpeg_cap_motion on
ffmpeg_timelapse 0
ffmpeg_timelapse_mode daily
ffmpeg_bps 500000
ffmpeg_variable_bitrate 0
ffmpeg_video_codec swf
ffmpeg_deinterlace off
snapshot_interval 0
locate off
text_right %Y-%m-%d\n%T-%q
text_changes off
text_event %Y%m%d%H%M%S
text_double off
target_dir /tmp/motion
snapshot_filename %v-%Y%m%d%H%M%S-snapshot
jpeg_filename %v-%Y%m%d%H%M%S-%q
movie_filename %v-%Y%m%d%H%M%S
timelapse_filename %Y%m%d-timelapse
webcam_port 80
webcam_quality 50
webcam_motion off
webcam_maxrate 1
webcam_localhost on
webcam_limit 0
control_port 8080
control_localhost on
control_html_output on
track_type 0
track_auto off
track_motorx 0
track_motory 0
track_maxx 0
track_maxy 0
track_iomojo_id 0
track_step_angle_x 10
track_step_angle_y 10
track_move_wait 10
track_speed 255
track_stepsize 40
quiet on
sql_log_image off
sql_log_snapshot off
sql_log_mpeg off
sql_log_timelapse off
sql_query insert into security(camera, filename, frame, file_type, time_stamp, event_time_stamp) values('%t', '%f', '%q', '%n', '%Y-%m-%d %T', '%C')




vvv@ubuntu-test:/$ sudo motion -n
[0] Processing thread 0 - config file /etc/motion/motion.conf
[0] Motion 3.2.12 Started
[0] ffmpeg LIBAVCODEC_BUILD 3547904 LIBAVFORMAT_BUILD 3544067
[0] Thread 1 is from /etc/motion/motion.conf
[1] Thread 1 started
[0] motion-httpd/3.2.12 running, accepting connections
[0] motion-httpd: waiting for data on port TCP 8080
[1] libjpeg decompression failure on first frame - giving up!
[1] Could not fetch initial image from camera
[1] Motion continues using width and height from config file(s)
[1] Resizing pre_capture buffer to 1 items
[1] Started stream webcam server in port 80
[1] Retrying until successful connection with camera
[1] libjpeg decompression failure on first frame - giving up!
[1] Retrying until successful connection with camera
[1] libjpeg decompression failure on first frame - giving up!
[1] Retrying until successful connection with camera
[1] libjpeg decompression failure on first frame - giving up!
[1] Video signal lost - Adding grey image
[1] Retrying until successful connection with camera
[1] libjpeg decompression failure on first frame - giving up!
[1] Retrying until successful connection with camera
[1] libjpeg decompression failure on first frame - giving up!
[1] Retrying until successful connection with camera
[1] libjpeg decompression failure on first frame - giving up!
[1] Retrying until successful connection with camera

Environment

Motion version: 3.2.12-4
ffmpeg version: 7:2.2.1+git~trusty1.8
Libraries: ffmpeg
Server OS: ubuntu 14.04 x64
-- ViktorG - 05 Jun 2014

Answer

https://github.com/Mr-Dave/motion/issues/29

-- TosiaraT - 26 Sep 2014
Topic revision: r2 - 26 Sep 2014, TosiaraT
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Please do not email Kenneth for support questions (read why). Use the Support Requests page or join the Mailing List.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.