You are probably correct.  I am just going against the original ffmpeg-6.0.tar.xz and not the updates which will be applied for 6.1.  Sorry, I should have made myself clear and that the patch probably does work using the "git" version.

My mistake.  I will save this new patch10 for future use.

On Fri, Oct 6, 2023 at 3:47 PM Andrew Randrianasulu <randrianasulu@gmail.com> wrote:


сб, 7 окт. 2023 г., 00:45 Phyllis Smith <phylsmith2017@gmail.com>:
This patch does not work for me -- no line matches:
             else if (!(hwctx->internal->flags & AV_CUDA_USE_CURRENT_CONTEXT))
or
-    } else if (flags & AV_CUDA_USE_CURRENT_CONTEXT) {

The original patch10 works for me.  I just verified that the ffmpeg 6.0 tar ball exactly matches what is on the ffmpeg download website.

well, may be ffmpeg.git changed in the meantime .... I hope I will able to re-fix it when time come.


sorry!


On Tue, Oct 3, 2023 at 8:39 AM Andrew Randrianasulu <randrianasulu@gmail.com> wrote:
this one apparently work better, in sense it compiles!

can anyone check if cuda/nvenc hw acceleration still works with it?

On Tue, Oct 3, 2023 at 4:53 PM Andrew Randrianasulu
<randrianasulu@gmail.com> wrote:
>
> Because ffmpeg 6.1 still not branched I guess we better to look into relevant changes ... and adapt our patch.