Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8291797
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T13:15:19+00:00 2026-06-08T13:15:19+00:00

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

  • 0

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

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T13:15:21+00:00Added an answer on June 8, 2026 at 1:15 pm

    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–

    • 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

    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

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

    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

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I get the following output error when trying to generate a proxy for a
I got the following output with error message while executing the program that uses
I get the following output for many missing files: warning: Unable to read symbols
I have the following output to the console saying that this class is a
I built the following code to output XML: public static XDocument Serialize<T>(this T source)
I'm issuing the following command convert /path/to/image.jpg +repage /path/output.jpg it works perfectly fine from
The following output appears after running some rake tasks: Loaded suite /usr/bin/rake Started Finished
I get the following output when trying to install json gem on lion: gem
I have the following output: Player name: RON_98 Player name: RON_97 player name: RON_96
See the following output: 1.9.3p194 :001 > player = Player.randomize_for_market => #<Player id: nil,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.