Menu

ffmpeg for android ...usage in android command line

2015-10-26
2015-11-02
  • venkatesh babu

    venkatesh babu - 2015-10-26

    Hi,

    I am able to sucessfully build ffmpeg for android in my android source root dir/external.

    I want to know how to install the generated ffmpeg executables on any android phone and use it in the command line.

    Example in command line as

    ffmpeg -version
    or
    ffmpeg -thread_queue_size 512 -analyzeduration 0 -probesize 32 -f v4l2 -s 640x480 -r 30 -i /dev/video0 -thread_queue_size 512 -f alsa -ac 2 -i hw:1 -fflags nobuffer -g 0 http://localhost:8091/feed1.ffm

    REgards
    dk venkatesh babu

     
    • Obucina

      Obucina - 2015-10-27

      Hello,

      Just locate binaries in $OUT folder, and copy them to the target phone. You
      can also put them in APK, and install them from APK.

      As a rule, You will not be able to copy them to the system partition. Also,
      You will need to link statically all libraries You use, or make sure that
      libraries You intend to use are present on the system.

      Best regards

      2015-10-26 7:59 GMT+01:00 venkatesh babu dkvbabu@users.sf.net:

      Hi,

      I am able to sucessfully build ffmpeg for android in my android source
      root dir/external.

      I want to know how to install the generated ffmpeg executables on any
      android phone and use it in the command line.

      Example in command line as

      ffmpeg -version
      or
      ffmpeg -thread_queue_size 512 -analyzeduration 0 -probesize 32 -f v4l2 -s
      640x480 -r 30 -i /dev/video0 -thread_queue_size 512 -f alsa -ac 2 -i hw:1
      -fflags nobuffer -g 0 http://localhost:8091/feed1.ffm

      REgards
      dk venkatesh babu


      ffmpeg for android ...usage in android command line
      https://sourceforge.net/p/ffmpeg4android/discussion/general/thread/64633f6c/?limit=25#1e89


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/ffmpeg4android/discussion/general/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       
      • venkatesh babu

        venkatesh babu - 2015-11-02

        HI Obucina,

        Thanks for the response.

        I am new to Android platform development.

        So please explain in detail (step by step) to copy which files from /out, link files, create APK ,install ,run ffmpeg in android command line(shell).

        REgards
        dk venkatesh babu

         

        Last edit: venkatesh babu 2015-11-02

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.