On Fri, May 15, 2026 at 11:08 PM Andrew Randrianasulu <randrianasulu@gmail.com> wrote:
On Fri, May 15, 2026 at 10:43 PM Andrew Randrianasulu <randrianasulu@gmail.com> wrote:
On Fri, May 15, 2026 at 10:24 PM Andrew Randrianasulu <randrianasulu@gmail.com> wrote:
https://lists.ffmpeg.org/pipermail/ffmpeg-devel/2024-September/333791.html
I think it should be applicable to ffmpeg from around that time, but we mostly interested in first patch (for testing)
Idea is to patch ffmpeg checkout from ~sept 2024 with first path named
libavcodec/qsvenc: enable Alpha Encode for HEVC
and try provided command line:
ffmpeg.exe -v verbose -hwaccel qsv -hwaccel_output_format qsv -f rawvideo \ -pix_fmt bgra -s:v 1920x1080 -r:v 25 -i input.argb -vf \ 'format=bgra,hwupload=extra_hw_frames=120' -an -c:v hevc_qsv \ -alpha_encode 1 -y out.mp4
I guess developer was on Windows ....
patch downloadable s diff from
https://patchwork.ffmpeg.org/project/ffmpeg/patch/20240923071008.1599696-1-f...
I put it into our thirdparty/src as ffmpeg-8.1.patch15
and lets see if it compiles also attached as downloaded
aw, missed this line:
"Alpha Channel Encode requires D3D11VA \n"
but may be something can be be done for vaapi on linux too .... ?
https://github.com/intel/libvpl/blob/main/doc/surface_sharing_apis_overview.... according to this text api sharing should work with vaapi, but in this case we are heading into debug cycle via email. If Terje will have time/motivation for this niche feature I'll try my best.