bilibili / ijkplayer

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

ios 播放MP4有声音 无画面 #2641

Open wanglifeifei opened 7 years ago

wanglifeifei commented 7 years ago

使用的是硬解,这是log

IJK_GLES2_Renderer_TexCoords_cropRight SDL_VoutVideoToolBox_CreateOverlay(w=352, h=288, fmt=_VTB, dp=0x17067e580) 2017-01-06 11:28:14.559713 emoHome[13291:4023163] FFP_MSG_VIDEO_RENDERING_START:

decode callback -12909 kVTVideoDecoderBadDataErr decodeFrame -12911 kVTVideoDecoderMalfunctionErr vtbformat_init - using avcC atom of size(35), ref_frames(1)m_max_ref_frames 2 after scale width 352 height 288 decode callback -12909 kVTVideoDecoderBadDataErr decodeFrame -12911 kVTVideoDecoderMalfunctionErr vtbformat_init - using avcC atom of size(35), ref_frames(1)m_max_ref_frames 2 after scale width 352 height 288 decode callback -12909 kVTVideoDecoderBadDataErr decodeFrame -12911 kVTVideoDecoderMalfunctionErr vtbformat_init - using avcC atom of size(35), ref_frames(1)m_max_ref_frames 2 after scale width 352 height 288

raymond1012 commented 7 years ago

硬解失败,源文件有问题

wanglifeifei commented 7 years ago

安卓的能正常的播放(使用的也是ijkplayer)

raymond1012 commented 7 years ago

need sample stream

2017-02-10 11:24 GMT+08:00 wanglifeifei notifications@github.com:

安卓的能正常的播放(使用的也是ijkplayer)

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

zmsoft commented 7 years ago

我也遇到了播放有声音,没画面的问题,你解决了吗

wanglifeifei commented 7 years ago

没有,源文件可能是有问题 但是安卓能播,软件也能播放

MonkeyBaby commented 7 years ago

我也遇到了同样的问题,直接运行的demo 然后 给一个地址 播放只有声音没有画面呢 而且播放器怎么那么丑 可以自定义么 我使用其他demo 都是可以播放的 我运行demo的时候 OnlieSamples 也是有声音没有画面

wanglifeifei commented 7 years ago

我这边源文件的确有问题,应该是对视频的纠错处理不一样,但是安卓也是使用的ijkplayer进行播放的,没有问题,我就挺纳闷了。不过这个ijkplaer已经挺强大的了

MonkeyBaby commented 7 years ago

可以使用QQ 交流一下么 1030415247 thankQ

cnmao commented 7 years ago

我这边一直报 IJK_GLES2_Renderer_TexCoords_cropRight 有声音 没有画面 黑屏 。 不知道你们解决了吗?

oushizishu commented 6 years ago

我遇到的情况是: 播放本地视频, 开始播放的瞬间(播放器未初始化完成), App退到后台, 过10秒左右, 再进入前台, 此时只有声音, 视频黑屏, 我diff了一下正常播放的日志, 发现少了"OK setup GL", 于是在 IJKSDLGLView.m 做如下改动(改动的位置 line: 212 & 222): 651521010681_ pic_hd

PengYang1991 commented 5 years ago

我也遇见过播放mp4出现有声音没有画面的问题