Answers for "ffmpeg convert video"

0

ffmpeg images to video

ffmpeg -r 30 -s 1920x1080 -i pic%04d.png -vcodec libx264 -crf 25  -pix_fmt yuv420p test.mp4
Posted by: Guest on April-27-2021
1

ffmpeg images to video

ffmpeg -r 10 -f image2 -i img_%d.png -s 40x40 -crf 25 -c:v libx264 -pix_fmt yuv420p video.mp4 -q:v 0 -q:a 0
Posted by: Guest on July-29-2021
0

converting mp3 with FFMPEG

ffmpeg -i input.mp3 output.ogg
Posted by: Guest on October-07-2020
-1

how to transcode a video in python using ffmpeg

ffmpeg -i input.mkv -c:a copy -s hd720 output.mkv
This modifies the video to 1280x720 in the output, but you can set the width and height manually if you want:

ffmpeg -i input.mkv -c:a copy -s 1280x720 output.mkv
This produces the exact same output as the earlier command. If you want to set custom sizes in FFmpeg, please remember that the width parameter (1280) comes before height (720).
Posted by: Guest on April-28-2020

Browse Popular Code Answers by Language