Motion - Support Question 2013x 12x 20x 082454

Movie record quality bad

Question

Hi,

the movies recorded by motion 3.2.12 are unwatchable. Here is a sample:

{removed}

Camera: Vivotek IP7361

What can i change to capture clean movies. The fixed images are OK.

Thanks

Already tried with flv (video play's too fast) and mov

ffmpeg version 0.8.9-6:0.8.9-0ubuntu0.13.04.1, Copyright (c) 2000-2013 the Libav developers
  built on Nov  9 2013 19:09:48 with gcc 4.7.3

Same with self compiled ffmpeg version.

Config:
daemon on
process_id_file /var/run/motion/motion.pid
setup_mode off
minimum_frame_time 0
netcam_http 1.0
netcam_tolerant_check off
auto_brightness off
brightness 0
contrast 0
saturation 0
hue 0
roundrobin_frames 1
roundrobin_skip 1
switchfilter off
threshold 3000
threshold_tune off
noise_level 32
noise_tune on
despeckle EedDl
smart_mask_speed 0
lightswitch 30
minimum_motion_frames 1
pre_capture 3
post_capture 50
gap 60
max_mpeg_time 0
output_all off
output_normal best
output_motion off
quality 100
ppm off
ffmpeg_cap_new on
ffmpeg_cap_motion off
ffmpeg_timelapse 0
ffmpeg_timelapse_mode weekly-monday
ffmpeg_bps 500000
ffmpeg_variable_bitrate 2
ffmpeg_video_codec swf
ffmpeg_deinterlace off
snapshot_interval 0
locate on
text_right %Y-%m-%d\n%T-%q
text_changes off
text_event %Y%m%d%H%M%S
text_double off
target_dir /usr/share/zoneminder/motion
snapshot_filename %Y%m%d/camera-%t/snapshots/hour-%H/camera-%t-%v-%Y%m%d%H%M%S-snapshot
jpeg_filename %Y%m%d/camera-%t/motions/hour-%H/camera-%t-%v-%Y%m%d%H%M%S-%q-motion
movie_filename %Y%m%d/camera-%t/movies/hour-%H/camera-%t-%v-%Y%m%d%H%M%S-movie
timelapse_filename %Y%m%d/camera-%t/timelapses/hour-%H/camera-%t-%Y%m%d-timelapse
webcam_port 0
webcam_quality 50
webcam_motion on
webcam_maxrate 1
webcam_localhost off
webcam_limit 0
control_port 8080
control_localhost off
control_html_output on
control_authentication xxx:xxx
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 on
sql_log_snapshot on
sql_log_mpeg on
sql_log_timelapse off
thread /etc/motion/thread1.conf



width 1600
height 1200
framerate 5
netcam_url http://192.168.215.101/cgi-bin/viewer/video.jpg?resolution=1600x1200
netcam_userpass xxx:xxx
area_detect 1 2 4 5 7 8 9
mask_file /etc/motion/mask-camfront.pgm
smart_mask_speed 3
text_left CAM-front
webcam_port 8082




[0] Processing thread 0 - config file /etc/motion/motion.conf
[0] Processing config file /etc/motion/thread1.conf
[0] Motion 3.2.12 Started
[0] ffmpeg LIBAVCODEC_BUILD 3482368 LIBAVFORMAT_BUILD 3478785
[0] Motion running in setup mode.
[0] Thread 1 is from /etc/motion/thread1.conf
[0] Thread 1 is device: http://192.168.215.101/cgi-bin/viewer/video.jpg?resolution=1600x1200 input -1
[0] Webcam port 8082
[0] Waiting for threads to finish, pid: 4416
[1] Thread 1 started
[1] Camera thread starting...
[0] motion-httpd/3.2.12 running, accepting connections
[0] motion-httpd: waiting for data on port TCP 8080
[1] Non-streaming camera (keep-alive not set)
[1] Resizing pre_capture buffer to 1 items
[1] Camera handler thread [2]  started
[1] Maskfile "/etc/motion/mask-camfront.pgm" loaded.
[1] Started stream webcam server in port 8082
[1] Resizing pre_capture buffer to 4 items
[1] Non-streaming camera (keep-alive not set)
[1] Raw changes:     0 - changes after 'EedDl':     0 - labels:   0 - noise level: 21
[1] Lightswitch detected
[1] Raw changes:     0 - changes after 'EedDl':     0 - labels:   0 - noise level: 21
[1] Non-streaming camera (keep-alive not set)
[1] Raw changes:     0 - changes after 'EedDl':     0 - labels:   0 - noise level: 21
[1] Non-streaming camera (keep-alive not set)
[1] Raw changes:     0 - changes after 'EedDl':     0 - labels:   0 - noise level: 21
[1] Non-streaming camera (keep-alive not set)
[1] Raw changes:  7097 - changes after 'EedDl':     0 - labels:   0 - noise level: 21
[1] Non-streaming camera (keep-alive not set)

Environment

Motion version: 3.2.12
ffmpeg version: 0.8.9-6:0.8.9-0ubuntu0.13.04.1
Libraries: ffmpeg, mysql
Server OS: Ubuntu 13.4
-- DirkHilges - 20 Dec 2013

Answer

Topic revision: r1 - 15 Apr 2014, DirkHilges
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.