Coder Social home page Coder Social logo

hacko97 / ffmpeg-android-example Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hausnerr/ffmpeg-android-example

0.0 0.0 0.0 1.08 MB

Example app that use ffmpeg library to play video

License: Apache License 2.0

C 69.15% Java 24.92% Makefile 5.94%

ffmpeg-android-example's Introduction

ffmpeg-android-example

Example app that use ffmpeg library to play video.

Requirements

  1. Installed Android NDK,
  2. Builded project https://github.com/HausnerR/ffmpeg-android-build.

Howto

  1. Make sure paths to SDK and NDK in local.properties are valid,
  2. Make sure paths to pre-builded ffmpeg in Android.mk are valid,
  3. Push test.mp4 to your phone internal storage root folder,
  4. Build and run app.

Important things

Remember that supported formats depends on ffmpeg compile params. If you compile this example with not modified ffmpeg-android-build script, you only get support for playing local mp4 files.

This example by default use h264_mediacodec ffmpeg decoder. If it failed to initialize, you got error (no fallback written).

All errors are outputted to logcat. No popups or something. It's just example app.

Inspiration

ffmpeg-android-example's People

Contributors

hausnerr avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.