播放有声音,没有画面,贴上日志
- Dominant language
- C
- Stars
- 33.2k
- Forks
- 8.2k
- PR merge metrics
- No merged PRs in 30d
Description
做成短视频播放,上下滑动,视频没有画面,只有声音。重新滑回该视频又可以播放。贴上不能播放的日志,望大神能看看问题。
2022-01-07 18:59:05.554015+0800 Ring[29928:3483499] invalidateRenderBuffer
2022-01-07 18:59:05.554171+0800 Ring[29928:3487038] IJKSDLGLView: renderbufferStorage fromDrawable
2022-01-07 18:59:05.559193+0800 Ring[29928:3487806] IJKSDLGLView:display: unable to tryLock GL active: 0
IJK_GLES2_Renderer_TexCoords_cropRight
2022-01-07 18:59:05.574538+0800 Ring[29928:3483499] invalidateRenderBuffer
2022-01-07 18:59:05.574637+0800 Ring[29928:3486716] IJKSDLGLView: renderbufferStorage fromDrawable
2022-01-07 18:59:05.575069+0800 Ring[29928:3487806] IJKSDLGLView:display: unable to tryLock GL active: 0
IJK_GLES2_Renderer_TexCoords_cropRight
ijkmp_stop()
aout_pause_audio(1)
ijkmp_stop()=0
ijkmp_set_inject_opaque(0x2810c73f0)
ijkmp_set_inject_opaque()=void
ijkmp_set_ijkio_inject_opaque(0x2810c73f0)
ijkmp_set_ijkio_inject_opaque()=void
ijkmp_stop()
2022-01-07 18:59:06.026846+0800 Ring[29928:3483499] OK setup GL
ijkmp_ios_set_view(glView=0x1096403c0)
ijkmp_ios_set_view(glView=0x1096403c0)=void
ijkmp_seek_to(300)
ijkmp_seek_to(300)=-3
aout_pause_audio(1)
ijkmp_set_data_source(url="https://videoringbssdlbig.tx.ring.com/202201071813/6a4d49f9b97a87bb1c6edb0d4dd3637c/038e66965930966e6f04d539d75b246d.mp4")
ijkmp_set_data_source(url="https://videoringbssdlbig.tx.ring.com/202201071813/6a4d49f9b97a87bb1c6edb0d4dd3637c/038e66965930966e6f04d539d75b246d.mp4")=0
ijkmp_prepare_async()
ijkmp_prepare_async()=0
ijkmp_start()
ijkmp_start()=-3
ijkmp_stop()=0
ijkmp_shutdown_l()
aout_pause_audio(1)
aout_pause_audio(1)
aout_close_audio()
ijkmp_shutdown_l()=void
ijkmp_set_inject_opaque(0x0)
ijkmp_set_inject_opaque()=void
ijkmp_set_ijkio_inject_opaque(0x0)
ijkmp_set_ijkio_inject_opaque()=void
ijkmp_dec_ref(): ref=0
ijkmp_shutdown_l()
ijkmp_shutdown_l()=void
aout_close_audio()
2022-01-07 19:03:22.784986+0800 Ring[29928:3483499] FFP_MSG_OPEN_INPUT:
2022-01-07 19:03:22.805120+0800 Ring[29928:3483499] [NSURLSession sharedSession] may not be invalidated
2022-01-07 19:03:23.602997+0800 Ring[29928:3483499] FFP_MSG_FIND_STREAM_INFO:
aout_open_audio()
aout_pause_audio(0)
2022-01-07 19:03:23.668915+0800 Ring[29928:3483499] FFP_MSG_AUDIO_RENDERING_START:
vtbformat_init - using avcC atom of size(41), ref_frames(0)m_max_ref_frames 2
vtbformat_init - using avcC atom of size(41), ref_frames(2)m_max_ref_frames 2
after scale width 720 height 1280
2022-01-07 19:03:23.717085+0800 Ring[29928:3483499] FFP_MSG_VIDEO_DECODER_OPEN: true
flushed last keyframe pts 0
ijkmp_get_msg: FFP_MSG_PREPARED
2022-01-07 19:03:23.717249+0800 Ring[29928:3483499] FFP_MSG_COMPONENT_OPEN:
2022-01-07 19:03:23.717325+0800 Ring[29928:3483499] FFP_MSG_VIDEO_SIZE_CHANGED: 720, 1280
2022-01-07 19:03:23.717389+0800 Ring[29928:3483499] FFP_MSG_SAR_CHANGED: 0, 1
2022-01-07 19:03:23.717444+0800 Ring[29928:3483499] FFP_MSG_PREPARED:
ijkmp_get_meta_l
ijkmp_get_meta_l()=void
2022-01-07 19:03:23.717534+0800 Ring[29928:3483499] fps in meta 30.000000
ijkmp_set_playback_rate(1.000000)
ijkmp_set_playback_rate()=void
ijkmp_set_playback_volume(1.000000)
ijkmp_set_playback_volume()=void
vtbformat_init - using avcC atom of size(41), ref_frames(2)m_max_ref_frames 2
after scale width 720 height 1280
aout_close_audio()
SDL_VoutVideoToolBox_CreateOverlay(w=720, h=1280, fmt=_VTB, dp=0x280732440)
aout_set_volume()
Video: first frame decoded
2022-01-07 19:03:23.774039+0800 Ring[29928:3483499] FFP_MSG_VIDEO_SIZE_CHANGED: 720, 1280
avcodec/Audio: first frame decoded
2022-01-07 19:03:23.774160+0800 Ring[29928:3483499] FFP_MSG_VIDEO_DECODED_START:
2022-01-07 19:03:23.774232+0800 Ring[29928:3483499] FFP_MSG_AUDIO_DECODED_START:
SDL_VoutVideoToolBox_CreateOverlay(w=720, h=1280, fmt=_VTB, dp=0x280732440)
2022-01-07 19:03:23.776777+0800 Ring[29928:3483499] FFP_MSG_VIDEO_SIZE_CHANGED: 720, 1280
SDL_VoutVideoToolBox_CreateOverlay(w=720, h=1280, fmt=_VTB, dp=0x280732440)
2022-01-07 19:03:23.779309+0800 Ring[29928:3483499] FFP_MSG_VIDEO_SIZE_CHANGED: 720, 1280
[GLES2] Version = OpenGL ES 2.0 Metal - 94.5
[GLES2] Vendor = Apple Inc.
[GLES2] Renderer = Apple A14 GPU
[GLES2] Extensions = GL_OES_depth_texture GL_OES_depth_texture_cube_map GL_OES_depth24 GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_mapbuffer GL_OES_packed_depth_stencil GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_texture_float GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_vertex_array_object GL_EXT_blend_minmax GL_EXT_color_buffer_half_float GL_EXT_debug_label GL_EXT_debug_marker GL_EXT_discard_framebuffer GL_EXT_draw_instanced GL_EXT_instanced_arrays GL_EXT_map_buffer_range GL_EXT_occlusion_query_boolean GL_EXT_pvrtc_sRGB GL_EXT_read_format_bgra GL_EXT_separate_shader_objects GL_EXT_shader_framebuffer_fetch GL_EXT_shader_texture_lod GL_EXT_shadow_samplers GL_EXT_sRGB GL_EXT_texture_filter_anisotropic GL_EXT_texture_rg GL_EXT_texture_storage GL_APPLE_clip_distance GL_APPLE_color_buffer_packed_float GL_APPLE_copy_texture_levels GL_APPLE_framebuffer_multisample GL_APPLE_rgb_422 GL_APPLE_sync GL_APPLE_texture_format_BGRA8888 GL_APPLE_texture_max_level GL_APPLE_texture_packed_float GL_IMG_read_format GL_IMG_texture_compression_pvrtc
create render yuv420sp_vtb
use render yuv420sp_vtb
IJK_GLES2_Renderer_TexCoords_cropRight
2022-01-07 19:03:23.788162+0800 Ring[29928:3483499] FFP_MSG_VIDEO_RENDERING_START:
2022-01-07 19:03:23.788309+0800 Ring[29928:3483499] invalidateRenderBuffer
2022-01-07 19:03:23.788395+0800 Ring[29928:3489805] IJKSDLGLView:display: unable to tryLock GL active: 0
2022-01-07 19:03:23.799520+0800 Ring[29928:3483499] invalidateRenderBuffer
2022-01-07 19:03:23.799719+0800 Ring[29928:3489807] IJKSDLGLView: renderbufferStorage fromDrawable
2022-01-07 19:03:23.800518+0800 Ring[29928:3483499] invalidateRenderBuffer
2022-01-07 19:03:23.800666+0800 Ring[29928:3489805] IJKSDLGLView: renderbufferStorage fromDrawable
IJK_GLES2_Renderer_TexCoords_cropRight
IJK_GLES2_Renderer_TexCoords_cropRight
Contributor guide
No contributing guide indexed for this repository
Research direction
No source file or test is named. Start by reproducing the iOS short-video vertical-swipe case and trace the IJKSDLGLView, VideoToolBox, and IJK_GLES2_Renderer_TexCoords_cropRight log paths around the failed render. Done means identifying the cause and confirming that video frames render reliably after swiping while audio continues normally.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, ios
- Domain
- audio-video-rtc, mobile-dev
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 18/100