Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No codec could be found with id 73728 #23

Closed
edBaev opened this issue May 15, 2014 · 7 comments
Closed

No codec could be found with id 73728 #23

edBaev opened this issue May 15, 2014 · 7 comments

Comments

@edBaev
Copy link

edBaev commented May 15, 2014

Hi. I've tried play this video. https://www.youtube.com/watch?v=Q_Knr7WNf0w&feature=kp

Video works. Audio doesn't work((( I've got this exception "No codec could be found with id 73728"

How I can fix it? Can I use another codec?

And another question. Can the player to play in background?

@bbcallen
Copy link
Contributor

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

@shliama
Copy link

shliama commented May 19, 2014

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?

@bbcallen
Copy link
Contributor

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

@edBaev
Copy link
Author

edBaev commented May 20, 2014

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

@shliama
Copy link

shliama commented May 20, 2014

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.

@bbcallen
Copy link
Contributor

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

might help

@SmallWeed
Copy link

#3900

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants