initial
This commit is contained in:
commit
d56e59847c
|
@ -0,0 +1,24 @@
|
|||
#!/bin/bash
|
||||
|
||||
OMX_PARAMS="-s 1280x720 -preset fast -b:v 1024k"
|
||||
|
||||
#-listen 1 -i rtmp://nistkasten.hoogi.eu/nistkasten01 \
|
||||
/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/manifest/nistkasten_live.mpd
|
Loading…
Reference in New Issue