Giter Club home page Giter Club logo

Comments (7)

bbcallen avatar bbcallen commented on May 18, 2024

Some rarely used codec has been disabled for smaller size,
Which can be enabled by modify this file
https://github.com/bbcallen/ijkplayer/blob/master/tools/ffmpeg-common-profiles.sh

from ijkplayer.

shliama avatar shliama commented on May 18, 2024

Hi,
I have the same issue, and I've found out that I need to enable amr codecs.
I was trying to add different commands, for example:

export COMMON_FF_CFG_FLAGS="$COMMON_FF_CFG_FLAGS --enable-libopencore-amrnb"
or
export COMMON_FF_CFG_FLAGS="$COMMON_FF_CFG_FLAGS --enable-libopencore-amr"
or
export COMMON_FF_CFG_FLAGS="$COMMON_FF_CFG_FLAGS --enable-libamr-nb"
or
export COMMON_FF_CFG_FLAGS="$COMMON_FF_CFG_FLAGS --enable-decoder =libopencore-amrnb"
etc.

to the ffmpeg-common-profiles.sh, but it haven't worked out.

Can you please help me to add amr support for ijkplayer?

from ijkplayer.

bbcallen avatar bbcallen commented on May 18, 2024

It seems some 3rd party lib should be build first.

See how ijkplayer support build with openssl.
https://github.com/bbcallen/ijkplayer/blob/master/android/compile-openssl.sh

from ijkplayer.

edBaev avatar edBaev commented on May 18, 2024

Thank you for answer. Should we compile the 3rd lib before? I just confused.. what we should compile and how?

from ijkplayer.

shliama avatar shliama commented on May 18, 2024

Well, I've managed to add those amr codecs via changing ffmpeg-common-profiles.sh.

I've added these:
export COMMON_FF_CFG_FLAGS="$COMMON_FF_CFG_FLAGS --enable-decoder=amrnb"
export COMMON_FF_CFG_FLAGS="$COMMON_FF_CFG_FLAGS --enable-decoder=amrwb"

export COMMON_FF_CFG_FLAGS="$COMMON_FF_CFG_FLAGS --enable-muxer=amr"
export COMMON_FF_CFG_FLAGS="$COMMON_FF_CFG_FLAGS --enable-demuxer=amr"

The challange was just to find out correct names.

from ijkplayer.

bbcallen avatar bbcallen commented on May 18, 2024

./configure --list-decoders
./configure --list-muxers
./configure --list-demuxers

might help

from ijkplayer.

SmallWeed avatar SmallWeed commented on May 18, 2024

#3900

from ijkplayer.

Related Issues (20)

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.