[FFmpeg-user] Question about 2 pass encoding

Laine Lee llee040 at sbcglobal.net
Mon Apr 1 21:12:04 EEST 2024



> On Apr 1, 2024, at 9:35 AM, Aditya Dandavate <adityadandavate04 at gmail.com> wrote:
> 
> But according to H.264 guide :
> 
> Warning: When using option -an, you may eventually get a segfault or a
> broken file. If so, remove option -an and replace by -vsync cfr to the
> first pass.
> 
> When I put `vsync cfr` then it says that `-vsync` is deprecated, use
> `-fps_mode`
> 
> What is all this happening ?

I’ve found that using “-fps_mode cfr” appears to serve as an adequate replacement for the “vsync” call in recent versions of ffmpeg (to keep it from complaining).

Sincerely,
L. Lee


More information about the ffmpeg-user mailing list