Advertisement
keoulvi

FFMPEG.txt

Sep 20th, 2020 (edited)
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. FFMPEG insert subs
  2. ffmpeg -i video.avi -vf subtitles=subtitle.srt out.avi
  3.  
  4. for i in *.mp4; do ffmpeg -i "$i" -filter:v "scale='min(1280,iw)':min'(720,ih)':force_original_aspect_ratio=decrease,pad=1280:720:(ow-iw)/2:(oh-ih)/2" -pix_fmt yuv420p new"$(basename "$i" )" ; done
  5.  
  6. ffmpeg -i .mp4 -ss 00:01:00 -to 00:01:00 -c copy V.mp4
  7.  
  8. ffmpeg -i INPUT -c:v libx265 -an -x265-params crf=25 OUT.mp4
  9. ffmpeg -i input -c:v libx265 -c:a copy output.mp4
  10. -c:v libx265 -preset medium -x265-params crf=20:keyint=30 -c:a copy -pix_fmt yuv420p10le
  11.  
  12. ftp-upload -v --passive -h ftp.cdn.kunarbale.netdna-cdn.com -u cdn.kunarbale --password lol/// -d /public_html STARS-437x265.mp4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement