Advertisement
Guest User

Untitled

a guest
Jun 16th, 2019
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. ffmpeg -i background.mp4
  2. -i overlay.mp4
  3. -filter_complex "[1]setpts=PTS-STARTPTS+162/TB, scale=512:288 [over];
  4. [0][over] overlay=748:412 [outv];
  5. [1:a]adelay=162000|162000 [audio];
  6. [0:a][audio] amix [outa]"
  7. -map "[outv]"
  8. -map "[outa]"
  9. -codec:v libx264
  10. -crf 21
  11. -bf 2
  12. -flags +cgop
  13. -pix_fmt yuv420p
  14. output.mp4
  15.  
  16. ffmpeg -i background.mp4
  17. -i overlay.mp4
  18. -filter_complex "[1]fifo, setpts=PTS-STARTPTS+162/TB, scale=512:288 [over];
  19. [0][over] overlay=748:412 [outv];
  20. [1:a]adelay=162000|162000 [audio];
  21. [0:a][audio] amix [outa]"
  22. -map "[outv]"
  23. -map "[outa]"
  24. -codec:v libx264
  25. -crf 21
  26. -bf 2
  27. -flags +cgop
  28. -pix_fmt yuv420p
  29. output.mp4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement