I used to use -vsync -1 to Auto Sync a Audio and Video input stream using the -copy switch as they would get out of sync at times and sometimes not so can't specify any seconds for a delay setting but I am getting this message now -vsync deprecated, use -fps_mode but I can't find any information on this new -fps_mode switch. Does anyone know how to use it to Auto Sync an Audio and Video stream? I'm running it in Windows, Thanks
fps_mode
in FFmpeg Documentation. It looks like-fps_mode -1
is the same as-vsync -1
.auto (-1)
- Chooses between cfr and vfr depending on muxer capabilities. This is the default method.. Note that-vsync
is deprecated, but we can still use it.fps_mode
(but I don't have any experience with videos that takes days). Tryvfr
andpassthrough
... Thestream_specifier
is relevant in cases where there is more than one video stream - it allows us to define differentfps_mode
for each video stream.-fps_mode:0:v
applies the video from the first input file.-fps_mode:1:v
applies the second input file...-fps_mode:0:v:0
applies the first video stream of the first input file-fps_mode:0:v:1
applies the second video stream of the first input file...