[FFmpeg-user] nvenc 2pass

Moritz Barsnick barsnick at gmx.net
Mon Jul 27 20:44:30 CEST 2015


On Mon, Jul 27, 2015 at 17:28:28 +0000, JUGGALO BEAVIS wrote:
> is it a single command, for example:
> ffmpeg -i INPUT.mp4 -c:v nvenc -preset hq -profile:v main -c:a aac -strict experimental -b:v 500000 -b:a 128k -cbr 1 -2pass 1 -y OUTPUT.mp4
> or, do we need multiple pass commands as with h264 ?

ffmpeg does not iterate over a video itself. You need to call ffmpeg
twice, with "-pass 1" and "-pass 2".

Moritz


More information about the ffmpeg-user mailing list