I have build ffmpeg libraries configured for LGPL on multiple OS's looking to be called from my own code using ffmpeg filters to deinterleave video. below is the configure command.

./configure --disable-static --enable-shared --disable-iconv --disable-libxcb --disable-zlib --disable-bzlib --disable-lzma --disable-doc --disable-debug --disable-x86asm --disable-asm --enable-filter=bwdif --enable-filter=w3fdif

However testing out the filters even though not enabled I can call the yadif filter and various other filters that are GPL

Given the ffmpeg build lists itself as LGPL am I allow to redistribute - or is given the bug in ffmpeg build options would this violate there licensing. Note the GPL filters are not called from my code.

  • 1
    Which license applies depends on the contents of the binary, NOT on the build options. If you get GPL parts without --enable-gpl that's a bug in ffmpeg. But are you sure that yadif is still GPL? This seems to have changed in 2014.
    – amon
    Jul 20 at 7:15
  • Thanks for the advice about build's that's good to know! Honestly thought yadif was GPL still (having trouble finding information)- my builds will fail stating GPL not enabled if I try and enable the yadif filter (explicit). Though from your commit link that predates my ffmpeg version. Thanks for your help. Jul 20 at 8:06

1 Answer 1


So the short answer would be no I can not distrubute the Code if it has GPL functionality thanks to AMON for answering.

Though for my particular case yadif became LGPL and the configure is bugged such that it states its GPL. So I would be able to distribute FFmpeg so long as the there are no GPL functions.

  • As it’s currently written, your answer is unclear. Please edit to add additional details that will help others understand how this addresses the question asked. You can find more information on how to write good answers in the help center.
    – Community Bot
    Jul 21 at 9:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.