bilibili / ijkplayer

Android/iOS video player based on FFmpeg n3.4, with MediaCodec, VideoToolbox support.
GNU General Public License v2.0
32.24k stars 8.09k forks source link

amr support #3462

Open chenmengxuan2 opened 6 years ago

chenmengxuan2 commented 6 years ago

you told me that i need enable amr demux and decode to support amr ,but i want to know how to enable amr demux and decode , I do not know where to start. if you can help me ,I will be very grateful to you

raymond1012 commented 6 years ago

see config/module-lite.sh

chenmengxuan2 commented 6 years ago

I had seen the config/module-lite.sh , but i found nothing about support amr

raymond1012 commented 6 years ago

so need add

2017-08-10 18:02 GMT+08:00 chenmengxuan2 notifications@github.com:

I had seen the config/module-lite.sh , but i found nothing about support amr

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Bilibili/ijkplayer/issues/3462#issuecomment-321508454, or mute the thread https://github.com/notifications/unsubscribe-auth/AEOmlttXBapVWFIY7qUjR4Z4TuTEltEdks5sWtVJgaJpZM4OzDwX .

chenmengxuan2 commented 6 years ago

so how to add amr to ios ,I had known about Android

raymond1012 commented 6 years ago

don't need

chenmengxuan2 commented 6 years ago

so how to support amr , could you give me a detailed answer

rx1105 commented 6 years ago

https://github.com/Bilibili/ijkplayer/issues/23

JustDo23 commented 6 years ago

默认配置并不支持播放 amr 格式音频文件。在 module-lite.sh 文件中添加如下配置

# ./configure --list-decoders
export COMMON_FF_CFG_FLAGS="$COMMON_FF_CFG_FLAGS --enable-decoder=amrnb"
export COMMON_FF_CFG_FLAGS="$COMMON_FF_CFG_FLAGS --enable-decoder=amrwb"

# ./configure --list-muxers
export COMMON_FF_CFG_FLAGS="$COMMON_FF_CFG_FLAGS --enable-muxer=amr"

# ./configure --list-demuxers
export COMMON_FF_CFG_FLAGS="$COMMON_FF_CFG_FLAGS --enable-demuxer=amr"
chenmengxuan2 commented 6 years ago

你好,我已经找到方法了,不过还是谢谢你

发自网易邮箱大师

在2018年03月27日 19:04,JustDo23notifications@github.com 写道:

默认配置并不支持播放 amr 格式音频文件。在 module-lite.sh 文件中添加如下配置

./configure --list-decodersexport COMMON_FF_CFG_FLAGS="$COMMON_FF_CFG_FLAGS --enable-decoder=amrnb"export COMMON_FF_CFG_FLAGS="$COMMON_FF_CFG_FLAGS --enable-decoder=amrwb"# ./configure --list-muxersexport COMMON_FF_CFG_FLAGS="$COMMON_FF_CFG_FLAGS --enable-muxer=amr"# ./configure --list-demuxersexport COMMON_FF_CFG_FLAGS="$COMMON_FF_CFG_FLAGS --enable-demuxer=amr"

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.