Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git apply ../ffmpeg-gl-transition/ffmpeg.diff error #76

Open
Trway opened this issue Mar 21, 2023 · 7 comments
Open

git apply ../ffmpeg-gl-transition/ffmpeg.diff error #76

Trway opened this issue Mar 21, 2023 · 7 comments

Comments

@Trway
Copy link

Trway commented Mar 21, 2023

In macos
i got this error
error: patch failed: libavfilter/Makefile:367
error: libavfilter/Makefile: patch does not apply
error: patch failed: libavfilter/allfilters.c:357
error: libavfilter/allfilters.c: patch does not apply
sonmeone can answer this error how to fix

@tringuyen98
Copy link

got same error

@MattCraftsCode
Copy link

@Trway @tringuyen98
You can follow this article step by step. I have verified on my own centos7.8 server(4H8G).
https://blog.csdn.net/weixin_40948587/article/details/121073081

@893428100
Copy link

+1

@Drag0nFly
Copy link

Would be extremely useful if the docs stated which FFmpeg version the patch should cleanly apply on (that .cn blog above is very messy)

@hooop
Copy link

hooop commented Dec 18, 2023

I wanted to apply the patch manually, but should I use the ffmpeg.diff file that was installed in the ffmpeg-opengl folder, or the ffmpeg.diff file on the Git with different content ?

@huqilong
Copy link

use this version FFmpeg-n5.1.4

@btalukdar511
Copy link

Use ffmpeg release/4.4 and update the patch to the following

diff --git a/libavfilter/Makefile b/libavfilter/Makefile
index b2c254ea67..5cc4c2f1cd 100644
--- a/libavfilter/Makefile
+++ b/libavfilter/Makefile
@@ -492,6 +492,7 @@ OBJS-$(CONFIG_YAEPBLUR_FILTER) += vf_yaepblur.o
OBJS-$(CONFIG_ZMQ_FILTER) += f_zmq.o
OBJS-$(CONFIG_ZOOMPAN_FILTER) += vf_zoompan.o
OBJS-$(CONFIG_ZSCALE_FILTER) += vf_zscale.o
+OBJS-$(CONFIG_GLTRANSITION_FILTER) += vf_gltransition.o

OBJS-$(CONFIG_ALLRGB_FILTER) += vsrc_testsrc.o
OBJS-$(CONFIG_ALLYUV_FILTER) += vsrc_testsrc.o
diff --git a/libavfilter/allfilters.c b/libavfilter/allfilters.c
index 0872c6e0f2..836bcb43cb 100644
--- a/libavfilter/allfilters.c
+++ b/libavfilter/allfilters.c
@@ -469,6 +469,7 @@ extern AVFilter ff_vf_yaepblur;
extern AVFilter ff_vf_zmq;
extern AVFilter ff_vf_zoompan;
extern AVFilter ff_vf_zscale;
+extern const AVFilter ff_vf_gltransition;

extern AVFilter ff_vsrc_allrgb;
extern AVFilter ff_vsrc_allyuv;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants