update ffmpeg page

This commit is contained in:
Dominic Reich 2025-01-18 22:59:27 +01:00
parent fa317ca4a8
commit 4441f773dc
Signed by: dominic
GPG key ID: 0B5787DB23049C45

View file

@ -17,9 +17,15 @@ feed_exclude: true
# site_exclude: true
---
## libx264 1Mbps standard
## 2-pass
### libx264
#### 1Mbps general/default conversion
```console
$ ffmpeg -i <input> -c:v libx264 -b:v 1M -maxrate 1M -bufsize 2M -pass 1 -f null /dev/null
$ ffmpeg -i <input> -c:v libx264 -b:v 1M -maxrate 1M -bufsize 2M -pass 2 <output>
```
## 1-pass