Skip to content
Discussion options

You must be logged in to vote

I've looked into FFmpegFrameGrabber, it doesn't support any hardware accelerated decoding. The options that are configurable via setOption are only passed to AVFormatContext, which is the demuxer, and not the same ones that you could pass to the ffmpeg CLI.
There is a setVideoOption, which is passed to the AVCodecContext, but this is not enough to configure hardware acceleration.
You'd need to create a hw device context and pass it to the decoder, like in the ffmpeg hw_decode.c example, but this is currently not implemented in FFmpegFrameGrabber

Replies: 5 comments 9 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
7 replies
@silenium-dev
Comment options

@zsozark
Comment options

@silenium-dev
Comment options

@silenium-dev
Comment options

Answer selected by zsozark
@zsozark
Comment options

@silenium-dev
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@silenium-dev
Comment options

@wheelerkft
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
4 participants