cainkernel / cainplayer Goto Github PK
View Code? Open in Web Editor NEWA Simple Android MediaPlayer using FFmpeg, OpenSLES and OpenGLES base on ffplay
License: GNU General Public License v3.0
A Simple Android MediaPlayer using FFmpeg, OpenSLES and OpenGLES base on ffplay
License: GNU General Public License v3.0
目前在后台播放视频时,openSLES播放会导致卡顿,似乎是视频解码过慢导致了阻塞。前台播放则不存在这个问题。这个应该是一个BUG。
播放器支持用shader做特效播放预览吗?
CainPlayer: http://www.w3school.com.cn/example/html5/mov_bbb.mp4: Protocol not found
老铁,视频编辑功能啥时能可用啊,一直关注中
failed: dlopen failed: cannot locate symbol "atof" referenced by "libffmpeg.so"...
后续支持RGBA渲染,目前已经支持了YUV420P/YUVJ420P格式的OpenGLES渲染处理.
pid: 27960, tid: 28280, name: Thread-55 >>> com.cgfay.cainplayer <<<
signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
因为我想写个基于音乐的播放器,在不断切换下一首的时候,signal 6 ,所以想看下你的例子试一试,发现也出现了类似的问题,我的是在res = av_read_frame(ffmpeg_player_handler->p_avformat_ctx_in, av_packet)一直报错;估计是在release的时候线程中用到了,但是我没有一个很好的解决方法,希望您可以给个思路,谢谢
渲染久一点会出现以下的崩溃:
<sharedmem_gpuobj_alloc:2339>: sharedmem_gpumem_alloc: mmap failed errno 12 Out of memory
OpenGLES渲染支持。目前软解直接转码成RGBA,然后将数据复制到ANativeWindow的效率比较低,同步之后,复制数据会导致画面卡顿。目前Native 层的EGL线程还没封装完成,接下来将会支持
大神,能先把在native层做GPU特效框架搭起来吗?框架搭起来,再添加特效就容易了。
能否接入mediacodec做android平台硬解码
在退出播放器时。读数据包线程会出现偶发的崩溃现象。似乎是解码器被释放了,但读数据包线程仍然没有被释放导致的。
测试发现,某些设备的OpenSLES似乎有比较严重的卡顿、杂音等问题,在播放网络播放媒体流的时候杂音问题尤其明显。我看了下SDL库,Android 部分是采用AudioTrack来实现的,似乎并没有这么明显,除了自身的网络原因之外,似乎并没有出现这样的问题。
videos which has metadata "rotate 90" are rotated how to solve this ?
在快速seek操作时(小于100ms),会出现FFmpeg 内部 Fatal signal 6的崩溃现象
AV_SYNC_VIDEO状态下seek出现画面停止播放一段时间后不再播放的情况。应该是视频同步时钟存在问题。
这个在测试rtmp(香港卫视:rtmp://live.hkstv.hk.lxdns.com/live/hks1)时,出现音视频不同步的问题。音视频同步处理目前有Bug
03-20 14:23:52.908 11810-11810/com.cgfay.cainplayer E/Minikin: Could not get cmap table size!
03-20 14:23:52.912 11810-11828/com.cgfay.cainplayer E/MemoryLeakMonitorManager: MemoryLeakMonitor.jar is not exist!
03-20 14:23:56.362 11810-11958/com.cgfay.cainplayer E/CainPlayer: rtsp://184.72.239.149/vod/mp4://BigBuckBunny_175k.mov: Protocol not found
03-20 14:23:56.364 11810-11959/com.cgfay.cainplayer E/CainPlayer: Metadata could not be retrieved
03-20 14:23:56.365 11810-11959/com.cgfay.cainplayer E/AndroidRuntime: FATAL EXCEPTION: Thread-6
Process: com.cgfay.cainplayer, PID: 11810
java.io.IOException: setDataSource failed.: status = 0xFFFFFFFF
at com.cgfay.media.CainMediaMetadataRetriever.setDataSource(Native Method)
at com.cgfay.cainplayer.activity.AVMediaPlayerActivity$6.run(AVMediaPlayerActivity.java:172)
at java.lang.Thread.run(Thread.java:784)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.