Notes: FFMPEG command Ikunori

Rotate video

ffmpeg -i "input file" -C Copy -metadata : S: V : = 0 Rotate 90 "output file" 

Rotate = 90 rotated 90 degrees represents the value 180 or 270 can also be written

 

 

Rotate the video (re-encoding)

ffmpeg.exe -i "1.mp4" -c:v libx264 -preset veryslow -crf 24 -x264opts ref=6:deblock=1:1:1keyint=30:min-keyint=10 -vf "transpose=2" -c:a copy "output.mkv"

 

And setting parameters of video plowing + resize

ffmpeg.exe -y -i "输入.mkv" -f wav - | nae.exe -he -br 64000 -ignorelength -if - -of "temp.m4a" 
ffmpeg.exe -y -i "输入.mkv" -c:v libx264 -preset veryslow -crf 24 -bf 6 -refs 6 -qcomp 0.5 -aq-mode 2 -aq-strength 0.8 -psy-rd 0.3:0 -deblock 1:1 -x264opts min-keyint=1 -vf "scale=1280:720" -an "temp.m4v"
ffmpeg.exe -y -i temp.m4v -i temp.m4a -map_chapters -1 -c copy 19.mp4

 



Guess you like

Origin www.cnblogs.com/toumingbai/p/12456262.html