diff --git a/src/zm_ffmpeg.cpp b/src/zm_ffmpeg.cpp index dd16cf7d3..02dca8ebb 100644 --- a/src/zm_ffmpeg.cpp +++ b/src/zm_ffmpeg.cpp @@ -357,6 +357,7 @@ static void zm_log_fps(double d, const char *postfix) { /* "user interface" functions */ void zm_dump_stream_format(AVFormatContext *ic, int i, int index, int is_output) { char buf[256]; + Debug(1, "Dumping stream index i(%d) index(%d)", i, index ); int flags = (is_output ? ic->oformat->flags : ic->iformat->flags); AVStream *st = ic->streams[i]; AVDictionaryEntry *lang = av_dict_get(st->metadata, "language", NULL, 0); diff --git a/src/zm_videostore.cpp b/src/zm_videostore.cpp index 45cd1d280..d59a9b467 100644 --- a/src/zm_videostore.cpp +++ b/src/zm_videostore.cpp @@ -240,9 +240,9 @@ void VideoStore::dumpPacket( AVPacket *pkt ){ int VideoStore::writeVideoFramePacket(AVPacket *ipkt, AVStream *input_st){//, AVPacket *lastKeyframePkt){ - Debug(3, "before ost_tbcket %d", startTime ); - zm_dump_stream_format( oc, ipkt->stream_index, 0, 1 ); - Debug(3, "before ost_tbcket %d", startTime ); + //Debug(3, "before ost_tbcket %d", startTime ); + //zm_dump_stream_format( oc, ipkt->stream_index, 0, 1 ); + //Debug(3, "before ost_tbcket %d", startTime ); int64_t ost_tb_start_time = av_rescale_q(startTime, AV_TIME_BASE_Q, video_st->time_base); AVPacket opkt, safepkt;