正在显示
2 个修改的文件
包含
3 行增加
和
1 行删除
| @@ -966,6 +966,8 @@ int SrsHls::on_video(SrsSharedPtrMessage* __video) | @@ -966,6 +966,8 @@ int SrsHls::on_video(SrsSharedPtrMessage* __video) | ||
| 966 | srs_error("hls codec demux video failed. ret=%d", ret); | 966 | srs_error("hls codec demux video failed. ret=%d", ret); |
| 967 | return ret; | 967 | return ret; |
| 968 | } | 968 | } |
| 969 | + srs_info("video decoded, type=%d, codec=%d, avc=%d, cts=%d, size=%d, time=%"PRId64, | ||
| 970 | + sample->frame_type, codec->video_codec_id, sample->avc_packet_type, sample->cts, video->size, video->timestamp); | ||
| 969 | 971 | ||
| 970 | // ignore info frame, | 972 | // ignore info frame, |
| 971 | // @see https://github.com/winlinvip/simple-rtmp-server/issues/288#issuecomment-69863909 | 973 | // @see https://github.com/winlinvip/simple-rtmp-server/issues/288#issuecomment-69863909 |
| @@ -488,7 +488,7 @@ int SrsAvcAacCodec::video_avc_demux(char* data, int size, SrsCodecSample* sample | @@ -488,7 +488,7 @@ int SrsAvcAacCodec::video_avc_demux(char* data, int size, SrsCodecSample* sample | ||
| 488 | // ignored. | 488 | // ignored. |
| 489 | } | 489 | } |
| 490 | 490 | ||
| 491 | - srs_info("video decoded, type=%d, codec=%d, avc=%d, time=%d, size=%d", | 491 | + srs_info("video decoded, type=%d, codec=%d, avc=%d, cts=%d, size=%d", |
| 492 | frame_type, video_codec_id, avc_packet_type, composition_time, size); | 492 | frame_type, video_codec_id, avc_packet_type, composition_time, size); |
| 493 | 493 | ||
| 494 | return ret; | 494 | return ret; |
-
请 注册 或 登录 后发表评论