Guest User

ffmpeg vsync drop

a guest
Jun 10th, 2013
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.50 KB | None | 0 0
  1. #!/bin/bash
  2. #
  3. # Input is two .flv movies, each of which may have missing video frames.
  4. # Output is a merged .mp4 (side-by-side).
  5. #
  6.  
  7. ffmpeg -v debug -y -i $1 -i $2 -filter_complex "
  8. [0:0] pad='max(240,iw):max(180,ih):0:0', scale='240:180', pad='480:180:240:0' [left];
  9. [1:0] pad='max(240,iw):max(180,ih):0:0', scale='240:180' [right];
  10. [left] [right] overlay [out0];
  11. [0:1] [1:1] amerge [out1]" \
  12. -codec:a  libfaac  -ar  44100 \
  13. -codec:v libx264 -preset medium -vsync drop \
  14. -map [out0] -map [out1] $3
Advertisement
Add Comment
Please, Sign In to add comment