Skip to content

vp9 encoder missing #86

Closed
Closed
@marcokuchla

Description

@marcokuchla

Expected behaviour

VP9 encoder available to use because it is supposed to be compiled inside manylinux custom image:
... cd ~/ffmpeg_sources && git clone --depth 1 https://chromium.googlesource.com/webm/libvpx.git && cd libvpx && ./configure --prefix="$HOME/ffmpeg_build" --disable-examples --disable-unit-tests --enable-vp9-highbitdepth --as=yasm --enable-pic && make -j4 && make install ... --enable-libvpx ...

Actual behaviour

Encoder is missing.

Steps to reproduce

I've installed opencv-contrib-python (3.4.0.12) inside a python:3 Docker image. Then the following commands:

>>> import cv2
>>> writer = cv2.VideoWriter()
>>> writer.open('video.webm', cv2.VideoWriter_fourcc(*'VP90'), 30, (100,100))
OpenCV: FFMPEG: tag 0x30395056/'VP90' is not supported with codec id 167 and format 'webm / WebM'
Could not find encoder for codec id 167: Encoder not found
False

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions