致命错误问题 - jhotovy的版本Android的ffmpeg的-X264的 - github.com/jhotovy/android-ffmpeg.git [英] fatal Error Issues - jhotovy's version of android-ffmpeg-x264 - github.com/jhotovy/android-ffmpeg.git

查看:354
本文介绍了致命错误问题 - jhotovy的版本Android的ffmpeg的-X264的 - github.com/jhotovy/android-ffmpeg.git的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

下面是输出发行 init-submodules.sh 。我不断收到这种

The following is the output for issuing init-submodules.sh. I keep receiving this

error:fatal error:
    Unable to checkout '15e02184e136e47ecff01bf56aca
    The49d8e2646fb4' in submodule path 'Project/jni/ffmpeg'<br>

有没有人遇到halfninja的$ C $的jhotovy的C版成功这么远?解决此问题的任何帮助将大大AP preciated结果

Has anyone run jhotovy's version of halfninja's code successfully so far? Any help in resolving this issue will be greatly appreciated

我的屏幕输出:

    gipsyblues@android-general:~/android-ffmpeg$ ./init-submodules.sh <br>
    ls: cannot access ./jni/ffmpeg/*: No such file or directory<br>
    Submodule 'ffmpeg' (git://git.videolan.org/ffmpeg.git) registered for path   Project/jni     /ffmpeg'<br>
    Submodule 'x264' (git://git.videolan.org/x264.git) registered for path 'Project/jni    /x264'<br>
    user.name=xxxxxxx <br>
    user.email=yyyyyyy <br>
    core.repositoryformatversion=0<br>
    core.filemode=true<br>
    core.bare=false<br>
    core.logallrefupdates=true<br>
    remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*<br>
    remote.origin.url=git://github.com/jhotovy/android-ffmpeg.git
    branch.master.remote=origin<br>
    branch.master.merge=refs/heads/master<br>
    submodule.ffmpeg.url=git://git.videolan.org/ffmpeg.git<br>
    submodule.x264.url=git://git.videolan.org/x264.git<br>
    Initialized empty Git repository in /home/gipsyblues/android-ffmpeg/Project/jni/ffmpeg  /.git/<br>
    remote: Counting objects: 237417, done.<br>
    remote: Compressing objects: 100% (57251/57251), done.<br>
    remote: Total 237417 (delta 186957), reused 228690 (delta 179782)<br>
    Receiving objects: 100% (237417/237417), 59.89 MiB | 5.22 MiB/s, done.<br>
    Resolving deltas: 100% (186957/186957), done.<br>
    fatal: reference is not a tree: 15e02184e136e47ecff01bf56aca49d8e2646fb4<br>
    Unable to checkout '15e02184e136e47ecff01bf56aca49d8e2646fb4' in submodule path    'Project/jni/ffmpeg'<br>
   gipsyblues@android-general:~/android-ffmpeg$ <br>

我已经成功运行原始版本halfninja这也是在 githuib.com/halfninja/android-ffmpeg-x264.< BR>我已搜查遍互联网,我没有找到这个问题的任何引用。没有人有该实现任何成功

I have successfully run the original halfninja version which is also at githuib.com/halfninja/android-ffmpeg-x264.<br> I have searched all over the Internet and i am not finding any reference to this issue. Anyone had any success with that implementation

推荐答案

我今天再次(克隆jhotovy Android的ffmpeg)来做到了,没有被列入上拉为init_submodule.sh ffmpeg的子模块。

try this version

i did it again today ( cloned jhotovy android-ffmpeg ) and ffmpeg submodule was not included in the pull for init_submodule.sh.

进入原稿项目上混帐获得ffmpeg的目录(请参阅halfninja)和其他放下一切,合并的ffmpeg'到jhotovy文件结构。

go to the orig project on git to get the 'ffmpeg' directory ( see halfninja ) and drop everything else , merging 'ffmpeg' into the jhotovy file structure.

这应该工作确定

- 打造细节 -

--build details--


  • 请确保您的构建ENV是良好的交叉工具链被
    采用(NDK / ANT / Android SDK中)

  • 请确保u必须同步的NDK你到相应的ENV瓦尔在JNI目录中生成脚本

  • 克隆'hotovy'为增加OGG / Vorbis格式/ Theora格式

  • 克隆'halfninja得到中止的ffmpeg'子模块不再办理
    通过上述

  • 从halfninja变成./Proj/jni/ffmpeg的hotovy版本
  • 合并./Project/jni/ffmpeg
  • cd到'hotovy./Proj/jni和运行config_make_everything.sh

  • 检查输出上面,留在JNI DIR

  • 运行'$ NDK / NDK的构建V = 1 -B'检查输出

  • make sure that your build env is good for cross toolchains being employed ( NDK/ ant / android SDK )
  • make sure that u have synched your NDK to the appropriate ENV vars in the build scripts in the jni directory
  • clone 'hotovy' for the additions ogg/vorbis/theora
  • clone 'halfninja' to get the aborted 'ffmpeg' submodule no longer handled by above
  • merge ./Project/jni/ffmpeg from 'halfninja' into 'hotovy' version of ./Proj/jni/ffmpeg
  • cd to 'hotovy' ./Proj/jni and run 'config_make_everything.sh'
  • check output from above, stay in jni dir
  • and run ' $NDK/ndk-build V=1 -B' checking output

您现在应该有'ffmpeg的'和为。项目/库/ ARM目录videokit'好本地库。

You should now have good native libs for 'ffmpeg' and for 'videokit' in .Project/libs/arm directory.

要获得.apk文件,我会通过发出更新命令像

To get the .apk , i would hook up ant/android to the project by issuing an 'update' command like

android create project -n ffmpegtst -t 1 -p ffmpegtst -k com.b2bpo.media.ffmpeg.test -a RecordActivity  

您必须了解从developer.android命令行管理项目。

you will have to read about managing projects from the commandline in developer.android.

当u得到蚂蚁迷上了,cd到项目目录并运行

when u get ant hooked up, cd to Project directory and run

蚂蚁调试

ü应该得到的apk在./Project/bin目录

u should get the apk in ./Project/bin directory

这篇关于致命错误问题 - jhotovy的版本Android的ffmpeg的-X264的 - github.com/jhotovy/android-ffmpeg.git的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆