[example request] hardware accelerated en/decoding and tee example
Closed this issue ยท 4 comments
c1ngular commented
Tee example exhibits the powerfulness of ffmpeg(probably go way of doing this ?) , hardware acceleration is very common nowadays , could you add those examples ?
Thanks
asticode commented
Could you link to those C examples if they already exist?
Hardware acceleration would indeed be a nice addition ๐
c1ngular commented
@asticode i could not find a C example of Tee other than this one : https://ffmpeg.org/doxygen/2.8/tee_8c_source.html , seems outdated though.
caseybarker commented
Here's the hardware decoder example:
https://github.com/FFmpeg/FFmpeg/blob/master/doc/examples/hw_decode.c
Looks like we'd need support some of the stuff in libavutil/hwcontext.h
and also AVCodecHWConfig
.