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

Carl Eugen Hoyos ceffmpeg at gmail.com
Sat Mar 14 13:00:57 EET 2020


Am Sa., 14. März 2020 um 06:04 Uhr schrieb Jeff Langston <jrlangston at gmail.com>:

> I'm trying to sort out an issue  I've run into with ffmpeg on the cli and
> was wondering if anyone might be able to help. I am trying to leverage 2
> pass encoding as well as inputting additional audio tracks to generate
> multiple output versions  (MPEG-DASH/HLS/MP4/MP3).
>
> During the 2nd pass I'm hitting an error `ratecontrol_init: can't open
> stats file` The same command when done in a single pass seems to work ok
> but yields larger rendered file sizes than what 2 pass encoding generates
>
> Would anyone have any idea if it should be expected to be able to leverage
> 2 pass encoding in this fashion to support multiple audio inputs or if
> there are changes I might need to make to the cli args ?
>
> Full commands and their output avail here https://pastebin.com/GDcAR1rV

Please test current FFmpeg git head and provide all necessary information
(like command line including complete, uncut console output) here on the
mailing list, only use external resources for input files.

And please try to simplify your example.

Carl Eugen


More information about the ffmpeg-user mailing list