Skip to content

Licensing issue with ffmpeg #798

Answered by glangford
ozancaglayan asked this question in Q&A
Discussion options

You must be logged in to vote

License contamination is a complicated discussion, but here is one line of thinking.

  • I don't know that torchaudio successfully evades (L)GPL since it uses ffmpeg as well; see
    https://github.com/pytorch/audio/releases
    and search for ffmpeg.

  • whisper in its current form uses ffmpeg here via ffmpeg-python

    def load_audio(file: str, sr: int = SAMPLE_RATE):

    In this code is the comment
    # This launches a subprocess to decode audio while down-mixing and resampling as necessary.

As far as I know, the general consensus seems to be that this type of subprocess invocation preserves separation of components and avoids license contaminat…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ozancaglayan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants