You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

23 lines
442 B

#!/bin/bash
OMX_PARAMS="-s 1280x720 -preset fast -b:v 1024k"
/usr/bin/ffmpeg \
-y \
-f v4l2 \
-video_size 1280x720 \
-framerate 25 \
-i /dev/video0 \
-live 1 \
-vcodec h264_omx ${OMX_PARAMS} \
-keyint_min 150 \
-g 150 \
-tune zerolatency -tune fastdecode \
-dash 1 \
-min_seg_duration 4000 \
-use_template 1 \
-use_timeline 1 \
-remove_at_exit 1 \
-window_size 20 \
-live 1 \
/var/www/nistkasten/video/nistkasten_live.mpd