Advertisement
mongonauta

SOME FFMPEG USEFUL EXAMPLES

Jul 29th, 2014
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.43 KB | None | 0 0
  1. # FFMEPG COMMAND TO TRANSFORM MTS TO MP4
  2. ffmpeg -i XXXXXX.MTS -vcodec mpeg4 -b:v 15M -acodec libmp3lame -b:a 192k output.mp4
  3.  
  4. # FFMEPG COMMAND TO CONCAT FILES
  5. ffmpeg -f concat -i input.txt -vcodec copy -acodec copy output.mp4
  6.  
  7. # INPUT.TXT
  8. file 1.mp4
  9. file 2.mp4
  10.  
  11. # RESIZE SAME QUALITY
  12. ffmpeg -i output.mp4 -s 640x360 output_red.mp4
  13.  
  14. # SPLIT FROM ... OFFSIDE
  15. ffmpeg -i movie.mp4 -ss 00:00:03 -t 00:00:08 -async 1 -strict -2 cut.mp4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement