Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 'decoder' parameter to VideoFileClip and ffmpeg_reader - v2 (dev) #2230

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Oct 13, 2024

  1. Add 'decoder' Parameter to VideoFileClip and ffmpeg_reader

    FFmpeg's native VPx decoders don't decode alpha. You have to use the libvpx decoder to preserve transparency in .webm video.
    This commit allows the user to specify the the decoder used to decode the video file.
    
    Example of use:
    
    VideoFileClip("video.webm", decoder="libvpx-vp9")
    BackrndSource committed Oct 13, 2024
    Configuration menu
    Copy the full SHA
    2918b7e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e25909a View commit details
    Browse the repository at this point in the history