|
3 | 3 | Source: https://pixabay.com/videos/butterfly-wing-clap-loop-color-6887/ |
4 | 4 | License: [Pixabay license](https://pixabay.com/service/license/) |
5 | 5 |
|
6 | | -Encoding parameters |
| 6 | +Encoding command |
7 | 7 |
|
8 | 8 | ```shell |
9 | | -ffmpeg -i butterfly_original.mp4 \ |
| 9 | +ffmpeg -i butterfly.mp4 \ |
| 10 | + -c:v libx264 -bsf:v h264_mp4toannexb \ |
| 11 | + -b:v 3M -vf "scale=1920:1080, fps=30" \ |
| 12 | + -profile baseline -pix_fmt yuv420p \ |
| 13 | + -x264-params keyint=120 -max_delay 0 -bf 0 \ |
| 14 | + butterfly_1080_3000.h264 |
| 15 | + |
| 16 | +ffmpeg -i butterfly.mp4 \ |
10 | 17 | -c:v libx264 -bsf:v h264_mp4toannexb \ |
11 | 18 | -b:v 2M -vf "scale=1280:720, fps=30" \ |
| 19 | + -profile baseline -pix_fmt yuv420p \ |
12 | 20 | -x264-params keyint=120 -max_delay 0 -bf 0 \ |
13 | 21 | butterfly_720_2000.h264 |
| 22 | + |
| 23 | +ffmpeg -i butterfly.mp4 \ |
| 24 | + -c:v libx264 -bsf:v h264_mp4toannexb \ |
| 25 | + -b:v 800K -vf "scale=960:540, fps=25" \ |
| 26 | + -profile baseline -pix_fmt yuv420p \ |
| 27 | + -x264-params keyint=120 -max_delay 0 -bf 0 \ |
| 28 | + butterfly_540_800.h264 |
| 29 | + |
| 30 | +ffmpeg -i butterfly.mp4 \ |
| 31 | + -c:v libx264 -bsf:v h264_mp4toannexb \ |
| 32 | + -b:v 400K -vf "scale=640:360, fps=20" \ |
| 33 | + -profile baseline -pix_fmt yuv420p \ |
| 34 | + -x264-params keyint=120 -max_delay 0 -bf 0 \ |
| 35 | + butterfly_360_400.h264 |
| 36 | + |
| 37 | +ffmpeg -i butterfly.mp4 \ |
| 38 | + -c:v libx264 -bsf:v h264_mp4toannexb \ |
| 39 | + -b:v 150K -vf "scale=320:180, fps=15" \ |
| 40 | + -profile baseline -pix_fmt yuv420p \ |
| 41 | + -x264-params keyint=120 -max_delay 0 -bf 0 \ |
| 42 | + butterfly_180_150.h264 |
14 | 43 | ``` |
0 commit comments