ffmpeg-gl-transition
ffmpeg-gl-transition copied to clipboard
How to build ffmpeg-gl-transition on Windown 10
Am build without gl-transition filtter done work well.
am ready comment line:
define GL_TRANSITION_USING_EGL // remove this line if you don't want to use EGL
How to install glfw, GLEW and EGL When add gl-transition and build again have error:
C:\ffnew\ffmpeg_github_1\libavcodec/avcodec.h(4178): note: see declaration of 'avcodec_copy_context' LD ffmpeg_g.exe libavfilter.a(vf_gltransition.o) : error LNK2019: unresolved external symbol __imp__glBindTexture@8 referenced in function _apply_transition libavfilter.a(vf_gltransition.o) : error LNK2019: unresolved external symbol __imp__glDeleteTextures@8 referenced in function _uninit libavfilter.a(vf_gltransition.o) : error LNK2019: unresolved external symbol __imp__glDrawArrays@12 referenced in function _apply_transition libavfilter.a(vf_gltransition.o) : error LNK2019: unresolved external symbol __imp__glGenTextures@8 referenced in function _setup_tex libavfilter.a(vf_gltransition.o) : error LNK2019: unresolved external symbol __imp__glReadPixels@28 referenced in function _apply_transition libavfilter.a(vf_gltransition.o) : error LNK2019: unresolved external symbol __imp__glTexImage2D@36 referenced in function _apply_transition libavfilter.a(vf_gltransition.o) : error LNK2019: unresolved external symbol __imp__glTexParameteri@12 referenced in function _setup_tex libavfilter.a(vf_gltransition.o) : error LNK2019: unresolved external symbol __imp__glViewport@16 referenced in function _setup_gl libavfilter.a(vf_gltransition.o) : error LNK2019: unresolved external symbol __imp__glewInit@0 referenced in function _setup_gl libavfilter.a(vf_gltransition.o) : error LNK2019: unresolved external symbol _glfwInit referenced in function _init libavfilter.a(vf_gltransition.o) : error LNK2019: unresolved external symbol _glfwWindowHint referenced in function _setup_gl libavfilter.a(vf_gltransition.o) : error LNK2019: unresolved external symbol _glfwCreateWindow referenced in function _setup_gl libavfilter.a(vf_gltransition.o) : error LNK2019: unresolved external symbol _glfwDestroyWindow referenced in function _uninit libavfilter.a(vf_gltransition.o) : error LNK2019: unresolved external symbol _glfwMakeContextCurrent referenced in function _setup_gl libavfilter.a(vf_gltransition.o) : error LNK2001: unresolved external symbol __imp____glewActiveTexture libavfilter.a(vf_gltransition.o) : error LNK2001: unresolved external symbol __imp____glewBindBuffer libavfilter.a(vf_gltransition.o) : error LNK2001: unresolved external symbol __imp____glewBufferData libavfilter.a(vf_gltransition.o) : error LNK2001: unresolved external symbol __imp____glewDeleteBuffers libavfilter.a(vf_gltransition.o) : error LNK2001: unresolved external symbol __imp____glewGenBuffers libavfilter.a(vf_gltransition.o) : error LNK2001: unresolved external symbol __imp____glewAttachShader libavfilter.a(vf_gltransition.o) : error LNK2001: unresolved external symbol __imp____glewCompileShader libavfilter.a(vf_gltransition.o) : error LNK2001: unresolved external symbol __imp____glewCreateProgram libavfilter.a(vf_gltransition.o) : error LNK2001: unresolved external symbol __imp____glewCreateShader libavfilter.a(vf_gltransition.o) : error LNK2001: unresolved external symbol __imp____glewDeleteProgram libavfilter.a(vf_gltransition.o) : error LNK2001: unresolved external symbol __imp____glewEnableVertexAttribArray libavfilter.a(vf_gltransition.o) : error LNK2001: unresolved external symbol __imp____glewGetAttribLocation libavfilter.a(vf_gltransition.o) : error LNK2001: unresolved external symbol __imp____glewGetProgramiv libavfilter.a(vf_gltransition.o) : error LNK2001: unresolved external symbol __imp____glewGetShaderiv libavfilter.a(vf_gltransition.o) : error LNK2001: unresolved external symbol __imp____glewGetUniformLocation libavfilter.a(vf_gltransition.o) : error LNK2001: unresolved external symbol __imp____glewIsShader libavfilter.a(vf_gltransition.o) : error LNK2001: unresolved external symbol __imp____glewLinkProgram libavfilter.a(vf_gltransition.o) : error LNK2001: unresolved external symbol __imp____glewShaderSource libavfilter.a(vf_gltransition.o) : error LNK2001: unresolved external symbol __imp____glewUniform1f libavfilter.a(vf_gltransition.o) : error LNK2001: unresolved external symbol __imp____glewUniform1i libavfilter.a(vf_gltransition.o) : error LNK2001: unresolved external symbol __imp____glewUseProgram libavfilter.a(vf_gltransition.o) : error LNK2001: unresolved external symbol __imp____glewVertexAttribPointer libavfilter.a(vf_gltransition.o) : error LNK2001: unresolved external symbol __imp__glewExperimental ffmpeg_g.exe : fatal error LNK1120: 37 unresolved externals make: *** [Makefile:108: ffmpeg_g.exe] Error 96
Please help me build ffmpeg with fillter gl-transition on Windown
Thanks.
Tell me, did you manage to build for Windows?
I also have the same issue. My environment:
- Windows 10 64bit
- msys2
- link, cl: Visual studio 2015
Please show me how to fix this. Thanks for your attention. I’m looking forward to your reply.
fftools/cmdutils.c(2132): warning C4090: 'function': different 'const' qualifiers
fftools/cmdutils.c(2135): warning C4090: 'function': different 'const' qualifiers
fftools/cmdutils.c(2139): warning C4090: 'function': different 'const' qualifiers
CC fftools/ffmpeg.o
ffmpeg.c
fftools/ffmpeg.c(359): warning C4267: 'function': conversion from 'size_t' to 'unsigned int', possible loss of data
fftools/ffmpeg.c(563): warning C4090: 'function': different 'const' qualifiers
fftools/ffmpeg.c(3252): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
fftools/ffmpeg.c(3696): warning C4090: 'function': different 'const' qualifiers
LD ffmpeg_g.exe
LINK : warning LNK4044: unrecognized option '/lGLEW'; ignored
LINK : warning LNK4044: unrecognized option '/lglfw'; ignored
LINK : warning LNK4044: unrecognized option '/lGLEW'; ignored
LINK : warning LNK4044: unrecognized option '/lglfw'; ignored
libavfilter.a(vf_gltransition.o) : error LNK2019: unresolved external symbol __imp_glBindTexture referenced in function apply_transition
libavfilter.a(vf_gltransition.o) : error LNK2019: unresolved external symbol __imp_glDeleteTextures referenced in function uninit
libavfilter.a(vf_gltransition.o) : error LNK2019: unresolved external symbol __imp_glDrawArrays referenced in function apply_transition
libavfilter.a(vf_gltransition.o) : error LNK2019: unresolved external symbol __imp_glGenTextures referenced in function setup_tex
libavfilter.a(vf_gltransition.o) : error LNK2019: unresolved external symbol __imp_glPixelStorei referenced in function apply_transition
libavfilter.a(vf_gltransition.o) : error LNK2019: unresolved external symbol __imp_glReadPixels referenced in function apply_transition
libavfilter.a(vf_gltransition.o) : error LNK2019: unresolved external symbol __imp_glTexImage2D referenced in function apply_transition
libavfilter.a(vf_gltransition.o) : error LNK2019: unresolved external symbol __imp_glTexParameteri referenced in function setup_tex
libavfilter.a(vf_gltransition.o) : error LNK2019: unresolved external symbol __imp_glViewport referenced in function setup_gl
libavfilter.a(vf_gltransition.o) : error LNK2019: unresolved external symbol __imp_glewInit referenced in function setup_gl
libavfilter.a(vf_gltransition.o) : error LNK2019: unresolved external symbol glfwInit referenced in function init
libavfilter.a(vf_gltransition.o) : error LNK2019: unresolved external symbol glfwWindowHint referenced in function setup_gl
libavfilter.a(vf_gltransition.o) : error LNK2019: unresolved external symbol glfwCreateWindow referenced in function setup_gl
libavfilter.a(vf_gltransition.o) : error LNK2019: unresolved external symbol glfwDestroyWindow referenced in function uninit
libavfilter.a(vf_gltransition.o) : error LNK2019: unresolved external symbol glfwMakeContextCurrent referenced in function setup_gl
libavfilter.a(vf_gltransition.o) : error LNK2001: unresolved external symbol __imp___glewActiveTexture
libavfilter.a(vf_gltransition.o) : error LNK2001: unresolved external symbol __imp___glewBindBuffer
libavfilter.a(vf_gltransition.o) : error LNK2001: unresolved external symbol __imp___glewBufferData
libavfilter.a(vf_gltransition.o) : error LNK2001: unresolved external symbol __imp___glewDeleteBuffers
libavfilter.a(vf_gltransition.o) : error LNK2001: unresolved external symbol __imp___glewGenBuffers
libavfilter.a(vf_gltransition.o) : error LNK2001: unresolved external symbol __imp___glewAttachShader
libavfilter.a(vf_gltransition.o) : error LNK2001: unresolved external symbol __imp___glewCompileShader
libavfilter.a(vf_gltransition.o) : error LNK2001: unresolved external symbol __imp___glewCreateProgram
libavfilter.a(vf_gltransition.o) : error LNK2001: unresolved external symbol __imp___glewCreateShader
libavfilter.a(vf_gltransition.o) : error LNK2001: unresolved external symbol __imp___glewDeleteProgram
libavfilter.a(vf_gltransition.o) : error LNK2001: unresolved external symbol __imp___glewEnableVertexAttribArray
libavfilter.a(vf_gltransition.o) : error LNK2001: unresolved external symbol __imp___glewGetAttribLocation
libavfilter.a(vf_gltransition.o) : error LNK2001: unresolved external symbol __imp___glewGetProgramiv
libavfilter.a(vf_gltransition.o) : error LNK2001: unresolved external symbol __imp___glewGetShaderiv
libavfilter.a(vf_gltransition.o) : error LNK2001: unresolved external symbol __imp___glewGetUniformLocation
libavfilter.a(vf_gltransition.o) : error LNK2001: unresolved external symbol __imp___glewIsShader
libavfilter.a(vf_gltransition.o) : error LNK2001: unresolved external symbol __imp___glewLinkProgram
libavfilter.a(vf_gltransition.o) : error LNK2001: unresolved external symbol __imp___glewShaderSource
libavfilter.a(vf_gltransition.o) : error LNK2001: unresolved external symbol __imp___glewUniform1f
libavfilter.a(vf_gltransition.o) : error LNK2001: unresolved external symbol __imp___glewUniform1i
libavfilter.a(vf_gltransition.o) : error LNK2001: unresolved external symbol __imp___glewUseProgram
libavfilter.a(vf_gltransition.o) : error LNK2001: unresolved external symbol __imp___glewVertexAttribPointer
libavfilter.a(vf_gltransition.o) : error LNK2001: unresolved external symbol __imp_glewExperimental
ffmpeg_g.exe : fatal error LNK1120: 38 unresolved externals
make: *** [Makefile:123: ffmpeg_g.exe] Error 96
can anyone provde the build exe?