1.. ..
!FFmpeg
January 2025 ยท 1 minute read
Posted in: ffmpeg linux
## 2-pass
### libx264
#### 1Mbps general/default conversion
```console
$ ffmpeg -i -c:v libx264 -b:v 1M -maxrate 1M -bufsize 2M -pass 1 -f null /dev/null
$ ffmpeg -i -c:v libx264 -b:v 1M -maxrate 1M -bufsize 2M -pass 2