Add example ffmeg encode for telegram
This commit is contained in:
@@ -14,3 +14,8 @@ ffmpeg -s 1920x1080 -framerate 10 -f x11grab -i :0 -qscale 6 out.mkv
|
||||
# For Wayland
|
||||
ffmpeg -y -f kmsgrab -i - -filter_complex 'hwmap=derive_device=vaapi,hwdownload,format=bgr0,crop=1540:940:380:100' out2.mkv
|
||||
```
|
||||
|
||||
## Encode for telegram
|
||||
```bash
|
||||
ffmpeg -i in.mp4 -max_muxing_queue_size 9999 -c:v libopenh264 -crf 23 -maxrate 4.5M -preset faster -flags +global_header -pix_fmt yuv420p -profile:v main -movflags +faststart -c:a aac -ac 2 out.mp4
|
||||
```
|
||||
|
Reference in New Issue
Block a user