numberwolf / FFmpeg-PlusPlus

🔥 FFmpeg扩展版本,1.支持OpenGL图形渲染,自定义着色器 滤镜、特效、转场。2.支持FLV+HEVC/AV1/Opus编码解码 🔥 FFmpeg Extension: 1.Support GLSL OpenGL(Filter/Effect/Transition/Shaders); 2. And Transcode FLV with HEVC/AV1/Opus Codec

Home Page:https://www.zzsin.com/shaderplus.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Still questions on windows

feanor3 opened this issue · comments

I reopened the issue in your project from this. I still have some problems:

  • on Ubuntu I was able to compile the code and run some of your shaders. Then I tried with these and I got error. I've pasted and copied the ACNet.glsl code in the shader compiler on your website, I've built it and got error array constructor supported in GLSL ES 3.00 and above only , so I suppose your code works for OpenGl < 3? Are you going to implement this?

  • always on ubuntu I was trying to compile the code for windows, but following your instructions, with --enable-cross-compile I don't get .exe. So I followed this, testing it first with normal ffmpeg and it worked. Then I tried with your code and i got

BEGIN /tmp/ffconf.cgAgGwtf/test.c

    1	int main(void){ return 0; }

END /tmp/ffconf.cgAgGwtf/test.c
i686-w64-mingw32-gcc -c -o /tmp/ffconf.cgAgGwtf/test.o /tmp/ffconf.cgAgGwtf/test.c
i686-w64-mingw32-gcc -lm -lz -llzma -lpthread -o /tmp/ffconf.cgAgGwtf/test.exe /tmp/ffconf.cgAgGwtf/test.o -lGLEW -lglfw -lm -lpthread
/usr/bin/i686-w64-mingw32-ld: cannot find -lz
/usr/bin/i686-w64-mingw32-ld: cannot find -llzma
/usr/bin/i686-w64-mingw32-ld: cannot find -lGLEW
/usr/bin/i686-w64-mingw32-ld: cannot find -lglfw

Thank you for everything.

I reopened the issue in your project from this. I still have some problems:

  • on Ubuntu I was able to compile the code and run some of your shaders. Then I tried with these and I got error. I've pasted and copied the ACNet.glsl code in the shader compiler on your website, I've built it and got error array constructor supported in GLSL ES 3.00 and above only , so I suppose your code works for OpenGl < 3? Are you going to implement this?
  • always on ubuntu I was trying to compile the code for windows, but following your instructions, with --enable-cross-compile I don't get .exe. So I followed this, testing it first with normal ffmpeg and it worked. Then I tried with your code and i got
BEGIN /tmp/ffconf.cgAgGwtf/test.c

    1	int main(void){ return 0; }

END /tmp/ffconf.cgAgGwtf/test.c
i686-w64-mingw32-gcc -c -o /tmp/ffconf.cgAgGwtf/test.o /tmp/ffconf.cgAgGwtf/test.c
i686-w64-mingw32-gcc -lm -lz -llzma -lpthread -o /tmp/ffconf.cgAgGwtf/test.exe /tmp/ffconf.cgAgGwtf/test.o -lGLEW -lglfw -lm -lpthread
/usr/bin/i686-w64-mingw32-ld: cannot find -lz
/usr/bin/i686-w64-mingw32-ld: cannot find -llzma
/usr/bin/i686-w64-mingw32-ld: cannot find -lGLEW
/usr/bin/i686-w64-mingw32-ld: cannot find -lglfw

Thank you for everything.

yep , your gl version need < 3, it use 2.0

/usr/bin/i686-w64-mingw32-ld: cannot find -lz
/usr/bin/i686-w64-mingw32-ld: cannot find -llzma
/usr/bin/i686-w64-mingw32-ld: cannot find -lGLEW
/usr/bin/i686-w64-mingw32-ld: cannot find -lglfw

Here, you need to install lzma/glew/glfw

use apt-get in ubuntu to install these

Here, you need to install lzma/glew/glfw

use apt-get in ubuntu to install these

I have installed them, but I get the same errors

It likes that can not link the library after you install.
On windows? I dont sure about that, do u need to set enviorment params of these libs path?

I'm not sure of what do you mean by "set enviorment params of these libs path" on windows.

I'm trying to build MXE cross compiler and try to compile ffmpeg with this: it seem it has more libraries than simple mingw

Why dont you use the mingw? This likes more easy