Ffmpeg Command For Faster Encoding At A Decent Bitrate With Smaller File Size
I'm currently using an implementation of ffmpeg on my android app. I'm allowing users to take short videos within my app and then when they upload them to the server, I'm crunchin
Solution 1:
Try
ffmpeg -iinput.mp4 -vcodec libx264 -crf 27 -preset veryfast -c:a copy -s 960x540 output.mp4
In CRF mode, x264 encodes video to maintain a certain quality throughout. Lower values produce higher quality but larger files. Combined with veryfast
preset, it should provide an acceptable tradeoff between speed and size.
Post a Comment for "Ffmpeg Command For Faster Encoding At A Decent Bitrate With Smaller File Size"