Advertisement
gl2600

Untitled

Apr 10th, 2019
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. ffmpeg \
  2. -hide_banner \
  3. -f live_flv \
  4. -i "rtmp://localhost/myapp/test01" \
  5. -map 0:v -map 0:v \
  6. -c:v:0 libx264 -bf 0 -refs 3 -preset veryfast -tune zerolatency -sc_threshold 0 -g 120 -b:v:0 1600k -s 640x360 \
  7. -c:v:1 copy \
  8. -c:a:0 copy \
  9. -f dash \
  10. -streaming 1 \
  11. -seg_duration 2 \
  12. -use_timeline 0 \
  13. -use_template 1 \
  14. -window_size 5 \
  15. -extra_window_size 10 \
  16. -index_correction 1 \
  17. -remove_at_exit 1 \
  18. -media_seg_name 'chunk-stream-$RepresentationID$-$Number%05d$.m4s' \
  19. -init_seg_name 'init-stream1-$RepresentationID$.m4s' \
  20. -adaptation_sets "id=0,streams=v id=1,streams=a" \
  21. -method PUT \
  22. -strict experimental \
  23. -lhls 1 \
  24. -http_persistent 1 \
  25. -hls_playlist 1 \
  26. -ignore_io_errors 1 \
  27. http://127.0.0.1/video/manifest.mpd
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement