transitive-bullshit / ffmpeg-gl-transition

FFmpeg filter for applying GLSL transitions between video streams.
650 stars 126 forks source link

linux,centos 7.3 ,fatal error: EGL/egl.h: No such file or directory #27

Open tyTYtyChan opened 6 years ago

tyTYtyChan commented 6 years ago

----------------- -lGLEW -lEGL ---------------------------- 1. yum install mesa-libGLU mesa-libGLU-devel 2. building from source GLEW >=2.0 3. yum install glew glew-devel

git clone http://source.ffmpeg.org/git/ffmpeg.git ffmpeg cd ffmpeg ln -s ~/ffmpeg-gl-transition/vf_gltransition.c libavfilter/ git apply ~/ffmpeg-gl-transition/ffmpeg.diff

// ./configure ..... fatal error: EGL/egl.h: No such file or directory ! can‘t continue

----------------- -lGLEW -lglfw ---------------------------- 1. define GL_TRANSITION_USING_EGL // remove this line 2. yum -y install glew glew-devel glfw glfw-devel

configure && make && make install success!

Xvfb :99 -screen 0 1280x1024x16 export DISPLAY=:99

ffmpeg -i test1.mp4 -i test2.mp4 -filter_complex gltransition out.mp4

got this Error :
segmentation fault :


only work on macos high sierra , i wanna install gltansition on remote linux server help ! pls

liule-pi commented 5 years ago

install mesa-libEGL-devel

adramani90 commented 5 years ago

@ tyTYtyChan i am unable to run it on mac os High Sierra 10.13.5 (17F77). can you please give me the step by step commands to run it on mac os? Thank You