Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ffmpeg \
- -hide_banner \
- -f live_flv \
- -i "rtmp://localhost/myapp/test01" \
- -map 0:v -map 0:v \
- -c:v:0 libx264 -bf 0 -refs 3 -preset veryfast -tune zerolatency -sc_threshold 0 -g 120 -b:v:0 1600k -s 640x360 \
- -c:v:1 copy \
- -c:a:0 copy \
- -f dash \
- -streaming 1 \
- -seg_duration 2 \
- -use_timeline 0 \
- -use_template 1 \
- -window_size 5 \
- -extra_window_size 10 \
- -index_correction 1 \
- -remove_at_exit 1 \
- -media_seg_name 'chunk-stream-$RepresentationID$-$Number%05d$.m4s' \
- -init_seg_name 'init-stream1-$RepresentationID$.m4s' \
- -adaptation_sets "id=0,streams=v id=1,streams=a" \
- -method PUT \
- -strict experimental \
- -lhls 1 \
- -http_persistent 1 \
- -hls_playlist 1 \
- -ignore_io_errors 1 \
- http://127.0.0.1/video/manifest.mpd
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement