You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After trying unsuccessfully to use cuvid h264 decoder using the FFMpeg backend, I think that it could be useful to allow to force the video codec used to decode the video.
I see in the source code that the FFMpeg backend can already be configured using an environment variable named "OPENCV_FFMPEG_CAPTURE_OPTIONS", but this one cannot actually be used to force the codec.
So I propose to add an entry to this envvar that would be use to force the codec ; example :
export OPENCV_FFMPEG_CAPTURE_OPTIONS="video_codec;h264_cuvid"
The text was updated successfully, but these errors were encountered:
- move to jinja2 syntax
- move contrib download to meta.yaml
- expose thread_type, together with codec_name added in 3.4.2 makes it easier to tune ffmpeg captures
opencv/opencv#11480
- use CF pins, ensure proper pinnings otherwise
- bump turbo to 2.0.0
- add some more modules to test
System information (version)
Detailed description
After trying unsuccessfully to use cuvid h264 decoder using the FFMpeg backend, I think that it could be useful to allow to force the video codec used to decode the video.
I see in the source code that the FFMpeg backend can already be configured using an environment variable named "OPENCV_FFMPEG_CAPTURE_OPTIONS", but this one cannot actually be used to force the codec.
So I propose to add an entry to this envvar that would be use to force the codec ; example :
export OPENCV_FFMPEG_CAPTURE_OPTIONS="video_codec;h264_cuvid"
The text was updated successfully, but these errors were encountered: