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>
Has anyone run jhotovy’s version of halfninja’s code successfully so far? Any help in resolving this issue will be greatly appreciated
My screen output:
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>
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
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.
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.
that should work ok
–build details–
employed ( NDK/ ant / android SDK )
by above
You should now have good native libs for ‘ffmpeg’ and for ‘videokit’ in .Project/libs/arm directory.
To get the .apk , i would hook up ant/android to the project by issuing an ‘update’ command like
you will have to read about managing projects from the commandline in developer.android.
when u get ant hooked up, cd to Project directory and run
ant debug
u should get the apk in ./Project/bin directory