[FFmpeg-user] question about opencl use in decoders/encoders

Andrew Randrianasulu randrianasulu at gmail.com
Mon Nov 6 23:55:30 EET 2023


FFmpeg today support some opencl filters (but I was unable to use them
freely in Cinelerra-gg probably because they require not just
initialization of hw device but also manual up and download of data ...)

but I wonder if same opencl infra can be used in decoders and encoders too?

https://cml.news/g/cml-raw-log-hdr/topic/braw_codec_analysis/25749037?p=,,,20,0,0,0::recentpostdate%2Fsticky,,,20,2,0,25749037

apparently those big player codecs use it, so it should be possible
technically, just at some dev time cost ...

there is also some prores gpu accelerated decoder (closed source, win)

https://mogurenko.com/2020/11/15/cuda-optimized-prores-decoder/

and of course old standby mjpeg:

https://github.com/nctu-pp/mjpeg-encoder

(opencl part does not seems to work for me, but may be it basically
artefact of running in 32bit x86 mode , I filled mesa bug about it)


More information about the ffmpeg-user mailing list