User Tools

Site Tools


video:encoding

FFMPEG and NVENC

h264.bat
c:\programs\stream\ffmpeg -i "%1" -codec:v nvenc_h264 -b:v 30000k -maxrate 35000k -preset hq -sws_flags lanczos -s 1920x1080 -codec:a aac -ab 192k "%1.mp4"

23fps to 60fps

23,976 / 60 = 0.3996 (39.96%)
Speed up 239.76%

Rotate 90degree

rotate90.bat
ffmpeg -i input.mp4 -c copy -metadata:s:v:0 rotate=90 output.mp4
video/encoding.txt · Last modified: 2017/02/19 12:19 by Jan Forman