Open lasnow opened 5 years ago
hi lasnow,may i ask you a quetion.
it's i also build for android,then use "--cc=$TOOLCHAIN/bin/arm-linux-androideabi-gcc \"
that was wrong,show
bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lGLEW /home/liangzs/android/android-ndk-r14b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin/ld: error: cannot find -lglfw
had you met it ,thank you!
Yep, if you check my build script in the attached zip file you can see that I replaced -lglfw
and -lGLEW
for -lGLESv2 -lEGL
because the NDK compiler does not find them and I didn't know how to include them. If you do that you'll have to apply some changes to the vf_gltransition.c
file. Just read again my question and check the attached file to see the changes.
appreciate for your reply! but i compile without --enable-opengl,it built sucessed. but test fail like #35 . when i add --enable-opengl will show no opengl environment . so sad.
run cmd /usr/bin/Xorg -noreset +extension GLX +extension RANDR +extension RENDER -logfile ./xdummy.log -config /etc/X11/xorg.conf :1 & it work for me! see https://github.com/clofus/ffmpeg-gl/blob/master/init.sh
run cmd /usr/bin/Xorg -noreset +extension GLX +extension RANDR +extension RENDER -logfile ./xdummy.log -config /etc/X11/xorg.conf :1 & it work for me! see https://github.com/clofus/ffmpeg-gl/blob/master/init.sh
请问您编译出安卓下使用的libffmpengso库了吗,可以分享一下吗?搞了三天了,都没成功。
Hello,
Finally, I was able to build the library for Android (I needed to change some includes in the
vf_gltransition.c
) and using this wrapper I can run the ffmpeg using the command line options.So before I added this library the FFmpeg was working fine, in fact, the FFmpeg is working fine, but when I try to use some of the Transition features it crashes.
Here the crash for:
ffmpeg -i path-to/0.mp4 -i path-to/1.mp4 -filter_complex gltransition -y out.mp4
Attached you'll find a zip that contains two files:
vf_gltransition.c
fileNote: I just tried to build for arm64-v8a
Thanks