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视频没有声音 只有画面 并且是比正常速度快几倍的速度播放。 #3239

Open Pacific1991 opened 7 years ago

Pacific1991 commented 7 years ago

function:__33-[BaseViewController createHeart]_block_invoke line:78 content:VideoSearchViewController,heart ijkmp_stop() ijkmp_stop()=0 ijkmp_set_inject_opaque(0x1457ee370) ijkmp_set_inject_opaque()=void ijkmp_shutdown_l() aout_close_audio() 2017-06-18 01:53:33.591 Rock[889:163232] OK setup GL SDL_Overlay(ffmpeg): overlay_free_l(0x143275900) SDL_Overlay(ffmpeg): overlay_free_l(0x145737070) SDL_Overlay(ffmpeg): overlay_free_l(0x145f40060) ijkmp_ios_set_view(glView=0x145a64550) ijkmp_ios_set_view(glView=0x145a64550)=void

vtb fail!!! switch to ffmpeg decode!!!! ijkmp_get_msg: FFP_MSG_PREPARED SDL_VoutFFmpeg_CreateOverlay(w=854, h=480, fmt=I420(0x30323449, dp=0x1457eef50) Video: first frame decoded SDL_VoutFFmpeg_CreateOverlay(w=854, h=480, fmt=I420(0x30323449, dp=0x1457eef50) [GLES2] Version = OpenGL ES 2.0 Apple A9 GPU - 77.14 [GLES2] Vendor = Apple Inc. [GLES2] Renderer = Apple A9 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 yuv420p use render yuv420p 2017-06-18 01:53:34.207 Rock[889:166211] IJKSDLGLView: renderbufferStorage fromDrawable IJK_GLES2_Renderer_TexCoords_cropRight SDL_VoutFFmpeg_CreateOverlay(w=854, h=480, fmt=I420(0x30323449, dp=0x1457eef50) avcodec/Audio: first frame decoded 2017-06-18 01:53:34.386 Rock[889:163232] invalidateRenderBuffer 2017-06-18 01:53:34.392 Rock[889:165814] IJKSDLGLView: renderbufferStorage fromDrawable IJK_GLES2_Renderer_TexCoords_cropRight 2017-06-18 01:53:34.427 Rock[889:163232] Previous route: 2017-06-18 01:53:34.428 Rock[889:163232] <AVAudioSessionRouteDescription: 0x145164bc0,

ijkmp_dec_ref(): ref=0 ijkmp_shutdown_l() ijkmp_shutdown_l()=void aout_close_audio() 2017-06-18 01:53:34.478 Rock[889:163232] FFP_MSG_VIDEO_DECODER_OPEN: false 2017-06-18 01:53:34.478 Rock[889:163232] FFP_MSG_VIDEO_SIZE_CHANGED: 854, 480 2017-06-18 01:53:34.478 Rock[889:163232] FFP_MSG_SAR_CHANGED: 1280, 1281 2017-06-18 01:53:34.479 Rock[889:163232] FFP_MSG_PREPARED: ijkmp_get_meta_l ijkmp_get_meta_l()=void 2017-06-18 01:53:34.479 Rock[889:163232] fps in meta 25.000000

function:-[XYVideoPlayerView mediaIsPreparedToPlayDidChange:] line:740 content:mediaIsPreparedToPlayDidChange

function:-[XYVideoPlayerView loadStateDidChange:] line:698 content:loadStateDidChange: IJKMPMovieLoadStatePlaythroughOK: 3

function:-[XYVideoPlayerView moviePlayBackStateDidChange:] line:769 content:IJKMPMoviePlayBackStateDidChange 1: playing 2017-06-18 01:53:34.479 Rock[889:163232] FFP_MSG_VIDEO_SIZE_CHANGED: 854, 480 2017-06-18 01:53:34.486 Rock[889:163232] FFP_MSG_VIDEO_SIZE_CHANGED: 854, 480 2017-06-18 01:53:34.486 Rock[889:163232] FFP_MSG_VIDEO_SIZE_CHANGED: 854, 480 2017-06-18 01:53:34.489 Rock[889:163232] FFP_MSG_VIDEO_RENDERING_START: 2017-06-18 01:53:34.489 Rock[889:163232] FFP_MSG_AUDIO_RENDERING_START: 2017-06-18 01:53:34.509 Rock[889:163232] Previous route: 2017-06-18 01:53:34.509 Rock[889:163232] <AVAudioSessionRouteDescription: 0x146418980, inputs = (null); outputs = ( "<AVAudioSessionPortDescription: 0x145a627d0, type = Speaker; name = \U626c\U58f0\U5668; UID = Speaker; selectedDataSource = (null)>" )> 2017-06-18 01:53:34.509 Rock[889:163232] Current route: 2017-06-18 01:53:34.512 Rock[889:163232] <AVAudioSessionRouteDescription: 0x1462ae930,

raymond1012 commented 7 years ago

检查下pts