[FFmpeg-user] Can ffmpeg's filter_compex and audio filtering (-af) be used simultaneously?

Dennis Mungai dmngaie at gmail.com
Sun Sep 13 21:40:48 EEST 2020

Hello there,

Can a standard complex filter graph (initialized via -filter_complex) be
used with an audio filter (inserted via -af) in the same command?

Take this rudimentary example snippet:

ffmpeg  -fflags +genpts -vsync 1 \
   -threads 1  -dn  \
-filter_complex \
  "[0:v:0]yadif=0:-1:0,split=6[s0][s1][s2][s3][s4][s5]; \
   [s0]scale=w=1920:h=1080,split=2[v0][v1]; \
   [s1]scale=w=1280:h=720,split=2[v2][v3]; \
   [s2]scalep=w=960:h=540[v4]; \
   [s3]scale=w=768:h=432,split=2[v5][v6]; \
   [s4]scale=w=640:h=360[v7]; \
   [s5]scale=w=416:h=234[v8]" \
  -af "aresample=async=1000:min_hard_comp=0.100000".....

Which shows such a setup in use.

Are there any (known) issues with initializing separate audio filters
outside a complex filter?

Warm regards,


More information about the ffmpeg-user mailing list