[英]Android ffmpgeg - Nothing happens
for my current project I compiled myself ffmpeg together with the x264 libary, following this 我目前的项目,我自己编与X264 libary在一起的ffmpeg,以下这
tutorial. 教程。 I already saw many questions regarding this topic, but none of the really helped me.
我已经看到许多有关此主题的问题,但没有一个真正帮助我。 Before that I tried many other things which resulted in many .so files (libavcodec etc.).
在此之前,我尝试了许多其他操作,这些操作导致产生许多.so文件(libavcodec等)。 Since I don't have the time (yet) to work with JNI in depth I wanted to rely to the command line, which the tutorial above seemed to provide.
由于我还没有时间深入研究JNI,因此我想依靠上面的教程似乎提供的命令行。 But here comes the problem: the generated file doesn't do anything (no output and no error messages) when I run it with Process on my Android device.
但是问题来了:当我在Android设备上使用Process运行生成的文件时,它什么也不做(没有输出,也没有错误消息)。 I've come to the conclusion, that the generated file still is a .so file (it is readable with readelf).
我得出的结论是,生成的文件仍然是.so文件(readelf可以读取)。 So far I haven't found a solution to run ffmpeg on my device with the command-line.
到目前为止,我还没有找到使用命令行在设备上运行ffmpeg的解决方案。 Do you know if I did something wrong?
你知道我做错了吗?
Thanks, Daniel 谢谢,丹尼尔
I asked this some time ago but for anyone having problems, here is the solution: 我前段时间问过这个问题,但是对于任何有问题的人,下面是解决方法:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.