[FFmpeg-user] framerate conversion with sync audio

Carles Vila cvilad at gmail.com
Thu Oct 13 16:52:10 EEST 2016


>
> > How can I apply the same filter to all audio streams?
>
> You use -filter_complex instead of -vf and -af
>
> -filter_complex
> [0:0]setpts=PTS*0.8[v];[0:1]asetrate,aresample[a0];[0:2]
> asetrate,aresample[a1]
> and then -map [v] -map [a0] -map [a1]
> (untested)
>

After a couple of attempts, it works! But I keep using the -r 25 option
before -i. It works just fine for me.


More information about the ffmpeg-user mailing list