AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Ffmpeg scale maintain aspect ratio1/10/2023 ![]() ![]() ![]() The scale=1280:-2 means: width of 1280 pixels, height such that the aspect ratio stays and make sure it is divisible by 2. In particular, see scale=1280:-2:force_original_aspect_ratio=decrease. Ffmpeg -nostdin -nostats -i Spring.webm -c:v libx264 -crf 23 -maxrate 1200k -bufsize 2400k -profile:v high -level 4.0 -pix_fmt yuv420p -x264opts keyint=25:min-keyint=25:no-scenecut -movflags +faststart -filter:v scale=1280:-2:force_original_aspect_ratio=decrease,fps=25 -c:a aac -b:a 64k -ac 1 -f mp4 out.mp4 ![]()
0 Comments
Read More
Leave a Reply. |