Difference between revisions of "Ffmpeg"
Jump to navigation
Jump to search
m (Ccoletta moved page Internet Video to Ffmpeg without leaving a redirect) |
|||
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==H.264 encoding== | ==H.264 encoding== | ||
* Also set resolution and bitrate all at the same time: | * Also set resolution and bitrate all at the same time: |
Revision as of 15:41, 20 February 2021
H.264 encoding
- Also set resolution and bitrate all at the same time:
ffmpeg -i VID_20160918_113318088.mp4 -vprofile high -codec:v libx264 -preset slow -b:v 2500k -maxrate 2500k -bufsize 5000k -vf scale=-2:720 -threads 0 -codec:a aac -b:a 128k ../HD_size/VID_20160918_113318088_720.mp4
ffmpeg -r 1 -i img%01d.png -vcodec mpeg4 -y movie.mp4
- fps is defined with the "-r" bit - so "-r 1" would be 1 fps, "-r 30" would be 30, etc.