asticode/go-astiav

[example request] hardware accelerated en/decoding and tee example

Closed this issue ยท 4 comments

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

Could you link to those C examples if they already exist?

Hardware acceleration would indeed be a nice addition ๐Ÿ‘

@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.

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.

FYI an hardware decoding example is now available here ๐Ÿ‘