Comments (7)
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.
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.
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.
Thank you for answer. Should we compile the 3rd lib before? I just confused.. what we should compile and how?
from ijkplayer.
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.
./configure --list-decoders
./configure --list-muxers
./configure --list-demuxers
might help
from ijkplayer.
from ijkplayer.
Related Issues (20)
- iOS如何使用ijk 源码调试ffmpeg。 求回复 HOT 1
- 致B站CEO陈睿的一封公开信
- Android 如何获取如何获取rtmp协议的视频SEI数据 HOT 1
- m2芯片下模拟器打出来的framework,在模拟器上没法用啊?
- 在同一页面,同时播放两个不同地址的rtsp流协议,两个surfaceview都为一个流的画面,有大佬知道为什么嘛?
- iOS 在 shutdown 偶發 av_freep 的 Sigabrt abort crash HOT 1
- 如何解析自定义metata呢
- Help for pinch to zoom HOT 4
- Fast Rewind and Fast Forward
- Call to undeclared function 'av_dict_get'; ISO C99 and later do not support implicit function declarations HOT 2
- crash thread
- thread
- Android如何处理视频源信息在尾部的情况 HOT 1
- ijk 编译版本k0.8.8 ,ffmpeg是4.0版本,播放av1格式的视频,听到音频,视频没出来,日志显示没有找到视频的解码器,求帮助!
- 怎么编译出Mac版本的库
- 长时间播放RTSP奔溃:Fatal signal 11 (SIGSEGV), code 1,faut addr 0xfc in tid 7962 (RenderThread)
- 屏蔽声音问题
- 按照官方步骤编辑 运行官方demo 报 Showing All Messages Linker command failed with exit code 1 (use -v to see invocation)
- 一直无法播放RTSP视频流
- No accelerated colorspace conversion found from yuv422p to rgba.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ijkplayer.