h2641987

Results comments of h2641987

videotoolbox-handle-resolution-change 这个已经enable了 应该是分辨率切换后没有获取到sps和pps,也就没有重置解码器,其实解码是有问题的,如果获取到了sps和pps应该就没有问题了

比vitamio加载慢,vitamio画面已经出来了,但是ijkplayer还要再缓冲一下画面才出来

谢谢!按照您的指示,延时确实能够得到改善,不过这个宏BUFFERING_CHECK_PER_MILLISECONDS 也要适当改小一些。 playable_duration_ms这个变量指示的是当前已缓冲的视频时长吗?也就是播放界面上的缓冲进度条。 #define MIN_FRAMES 50000,我把这个宏定义改小,播放界面上的缓冲进度条就会不可见。

@JavanEu 谢谢你的解答,我是想在切换到后台以后音频还继续播放,而视频不进行渲染,降低资源消耗,pause的话音频也暂停了!

I used the Instruments to detect the memory, and found many memores leak during the processing above, I compare to the videoview, but I didn't find any differents, the videoview...

Bytes Used # Leaks Symbol Name 256 Bytes 32.6% 4 mallocz 256 Bytes 32.6% 4 SDL_CreateMutex 256 Bytes 32.6% 4 ijkmeta_create 256 Bytes 32.6% 4 ffp_create 256 Bytes 32.6% 4...

- (IBAction)onClickChaURL:(id)sender { NSURL *theMovieURL = NULL; if (!_urlflag) { theMovieURL = [NSURL URLWithString:@"rtmp://10.242.151.24:1935/live/harold"]; _urlflag = true; } else if (_urlflag) { theMovieURL = [NSURL URLWithString:@"rtmp://10.242.151.24:1935/live/chase"]; _urlflag = false; }...

ffp->meta = NULL are already add in ffp_reset_internal() at k0.3.1version, but the problem are exist

inline static void ffp_reset_internal(FFPlayer _ffp) { /_ ffp->is closed in stream_close() */ ``` /* format/codec options */ av_dict_free(&ffp->format_opts); av_dict_free(&ffp->codec_opts); av_dict_free(&ffp->sws_opts); av_dict_free(&ffp->player_opts); /* ffplay options specified by the user */ av_freep(&ffp->input_filename);...

when i repeat the operation above ,the log print "failed to make complete framebuffer object 8cdd"