tcking / GiraffePlayer

android video player base on ijkplayer
Apache License 2.0
681 stars 199 forks source link

有声音没有画面 #54

Open LcTerry opened 8 years ago

LcTerry commented 8 years ago

RT 播放视频的时候只有声音没有画面

LcTerry commented 8 years ago

是运行在平板上

tcking commented 8 years ago

是模拟器还是真机?或者把地址贴上来看看

Tandrow commented 7 years ago

我也遇到这个问题,把视频地址放你的demo中也是只有声音没有画面,测试机型魅蓝note,魅族mx6, 视频地址:http://120.76.159.40:8088/showCook_temp/upload/video/2016/8/f8cc1fa856111adb01569cd3055b0148.mp4

求解

Tandrow commented 7 years ago

E/IJKMEDIA: Option http-detect-range-support not found. E/Posix: [Posix_connect Debug]Process com.innoo.kitchen :8088 E/Posix: [Posix_connect Debug]Process com.innoo.kitchen :8088 E/IJKMEDIA: stream 1, offset 0x1f76724: partial file E/IJKMEDIA: av_read_frame error: abb6a7bb( , , , ): AVERROR_EXIT

这是Log输出的, @tcking

tcking commented 7 years ago

应该是没有对应的解码,目前用的so是lite版本的,需要编译一个全功能版本的ijkplayer

If you prefer more codec/format cd config rm module.sh ln -s module-default.sh module.sh

tcking commented 7 years ago

我明天编个全的so试试

Tandrow commented 7 years ago

多谢楼主大人,我今天也在试着自己搭环境编译,如果有空编了全的so,麻烦发一份给我710688298@qq.com,多谢哈 @tcking

tcking commented 7 years ago

note: if the player can't play your video,try download full-featured so which support more codec/format (bigger binary size) to replace ijkplayer-java/src/main/jniLibs (I have try to push a new branch to github but failed)

tcking commented 7 years ago

so文件在这full-featured so,可以播放上面的mp4,本来想push一个新的分支的,push了半天没反应

Tandrow commented 7 years ago

多谢楼主,折腾了半天自己还是没弄好,再次感谢

Tandrow commented 7 years ago

我把so文件替换了,还是只有声音没有画面,是不是我还有地方没有改啊 @tcking

Tandrow commented 7 years ago

我把视频下载下来,本地播放,依旧是只有声音没有画面,于是我把视频压缩了一下在播放,就可以了,是否是视频太清晰太大,缓存大小不够而导致画面无法显示

tcking commented 7 years ago

重新下载下试试,昨天可能上传的时候切错分支了

Tandrow commented 7 years ago

换了新的so包后,可以正常播放了,非常感谢 @tcking