The high speed of the video stream using a codec mov.
Question
When viewing the video is fast moving.
If you use codecs mpeg4 or mp4 video file is created from a single frame.
What adjusts the speed of the video?
daemon on
process_id_file /var/run/motion/motion.pid
setup_mode off
logfile /var/www/html/motion.log
log_level 6
log_type all
v4l2_palette 8
input -1
norm 0
frequency 0
rotate 0
width 1280
height 720
framerate 22
minimum_frame_time 0
netcam_keepalive on
netcam_tolerant_check off
rtsp_uses_tcp on
auto_brightness on
brightness 0
contrast 0
saturation 0
hue 0
power_line_frequency -1
roundrobin_frames 1
roundrobin_skip 1
switchfilter off
threshold 1500
threshold_tune off
noise_level 32
noise_tune on
despeckle_filter EedDl
smart_mask_speed 0
lightswitch 0
minimum_motion_frames 1
pre_capture 0
post_capture 0
event_gap 80
max_movie_time 3600
emulate_motion off
output_pictures best
output_debug_pictures off
quality 85
picture_type jpeg
ffmpeg_output_movies on
ffmpeg_output_debug_movies off
ffmpeg_timelapse 1
ffmpeg_timelapse_mode hourly
ffmpeg_bps 100000
ffmpeg_variable_bitrate 0
ffmpeg_video_codec mov
ffmpeg_duplicate_frames off
sdl_threadnr 0
use_extpipe off
snapshot_interval 0
locate_motion_mode preview
locate_motion_style box
text_right %Y-%m-%d\n%T-%q
text_changes off
text_event %Y%m%d%H%M%S
text_double off
target_dir /video
snapshot_filename %v-%Y%m%d%H%M%S-snapshot
picture_filename %v-%Y%m%d%H%M%S-%q
movie_filename %v-%Y%m%d%H%M%S
timelapse_filename %Y%m%d-timelapse
ipv6_enabled off
stream_port 0
stream_quality 50
stream_motion off
stream_maxrate 1
stream_localhost on
stream_limit 0
stream_auth_method 0
stream_preview_scale 25
stream_preview_newline off
track_type 0
track_auto off
track_motorx 0
track_motorx_reverse off
track_motory 0
track_motory_reverse off
track_maxx 0
track_minx 0
track_maxy 0
track_miny 0
track_homex 128
track_homey 128
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
thread /video/thread1-1.conf
width 1280
height 720
minimum_frame_time 0
netcam_url rtsp://10.1.10.1:554/ch01.264?ptype=udp
event_gap 20
output_debug_pictures off
ffmpeg_timelapse 3600
ffmpeg_video_codec mkv
text_left 123
target_dir /video/123_in
picture_filename img/1_%v-%Y%m%d%H%M%S-%q
movie_filename avi/1_%v-%Y%m%d%H%M%S
timelapse_filename tim/1_%Y%m%d-timelapse
stream_port 8082
stream_quality 50
stream_motion off
stream_maxrate 1
stream_localhost off
stream_limit 0
stream_auth_method 0
Environment
Motion version: |
3.2.12 |
ffmpeg version: |
N-77417-gb4431c8 built with gcc 4.9.2 (Debian 4.9.2-10) |
Libraries: |
ffmpeg, mysql, postgresql |
Server OS: |
Debian 3.16.7-ckt20-1+deb8u1 |
--
AlexanderYakovlev - 24 Dec 2015
Answer