machtl

ffmpeg with multiple inputs

Aug 2nd, 2019
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.74 KB | None | 0 0
  1. ffmpeg ^
  2. -hide_banner ^
  3. -loglevel verbose ^
  4. -re -i "./video/youtube/video_0.mp4" ^
  5. -re -i "./video/youtube/video_0.mp4" ^
  6. -re -i "./video/youtube/video_0.mp4" ^
  7. -re -i http://us-b.icecast.edge.streaminginter.net:8000/ifl/opus_hq.opus ^
  8. -i .\video\logo_small.png ^
  9. -filter_complex ^
  10. [0:v]split=3[v0i0][v0i1][v0i2];^
  11. [0:v]scale=1280x720:force_original_aspect_ratio=1[vs0];^
  12. [1:v]scale=1280x720:force_original_aspect_ratio=1[vs1];^
  13. [2:v]scale=1280x720:force_original_aspect_ratio=1[vs2];^
  14. [3:a]atrim=start=224.32:end=336.48,asetpts=PTS-STARTPTS[aa0];^
  15. [vs0][0:a][vs1][0:a][vs2][aa0]concat=n=3:v=1:a=1[concatvideo][concataudio];^
  16. [concatvideo][4:v]overlay=W-w-10:10[outvideo] ^
  17. -map [outvideo] -map [concataudio] ^
  18. -f mpegts udp://127.0.0.1:23000
Add Comment
Please, Sign In to add comment