[FFmpeg-user] Error ‘can’t open stats file’ using 2 pass encoding with multiple audio inputs

Reindl Harald h.reindl at thelounge.net
Sat Mar 14 23:07:36 EET 2020

Am 14.03.20 um 21:06 schrieb Carl Eugen Hoyos:
> name to x264) but in general you cannot do this, you have to use the same output
> format and especially the same audio for pass one and two. The reason is that
> ffmpeg (the application) may duplicate (or drop) frames to keep a/v sync and if
> you use different audio (like audio and no audio) for pass one and
> two, the different
> sync will completely brake two-pass encoding.

simply no - using "-an" here for 10 years now *always* for the first pass

More information about the ffmpeg-user mailing list