[FFmpeg-cvslog] rtsp: warning when max_delay reached
ffmpeg | branch: master | Eloi BAIL <eloi.b...@savoirfairelinux.com> | Tue Sep 15 11:38:23 2015 -0400| [1ec611a10228945d2ec8a9cf6c5531dee6b7ee56] | committer: Martin Storsjö rtsp: warning when max_delay reached packets are queued due to packet reordering until the queue reach its maximal size or max delay is reached. This commit adds a warning trace when max delay is reached. Signed-off-by: Eloi BAIL <eloi.b...@savoirfairelinux.com> Signed-off-by: Martin Storsjö <mar...@martin.st> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1ec611a10228945d2ec8a9cf6c5531dee6b7ee56 --- libavformat/rtsp.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index 90a6b75..d2c99ea 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -2112,6 +2112,8 @@ redo: } if (len == AVERROR(EAGAIN) && first_queue_st && rt->transport == RTSP_TRANSPORT_RTP) { +av_log(s, AV_LOG_WARNING, +"max delay reached. need to consume packet\n"); rtsp_st = first_queue_st; ret = ff_rtp_parse_packet(rtsp_st->transport_priv, pkt, NULL, 0); goto end; ___ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog
[FFmpeg-cvslog] rtpdec: inform jitter buffer size
ffmpeg | branch: master | Eloi BAIL <eloi.b...@savoirfairelinux.com> | Tue Sep 15 11:38:22 2015 -0400| [d555bd69e792e42d94bd909b30d9bfef01db4e25] | committer: Martin Storsjö rtpdec: inform jitter buffer size This commit print as AV_LOG_VERBOSE the jitter buffer size. It might be the default value or the value set by application. Signed-off-by: Eloi BAIL <eloi.b...@savoirfairelinux.com> Signed-off-by: Martin Storsjö <mar...@martin.st> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d555bd69e792e42d94bd909b30d9bfef01db4e25 --- libavformat/rtpdec.c |4 1 file changed, 4 insertions(+) diff --git a/libavformat/rtpdec.c b/libavformat/rtpdec.c index 5706f16..34c77f8 100644 --- a/libavformat/rtpdec.c +++ b/libavformat/rtpdec.c @@ -513,6 +513,10 @@ RTPDemuxContext *ff_rtp_parse_open(AVFormatContext *s1, AVStream *st, s->ic = s1; s->st = st; s->queue_size = queue_size; + +av_log(s->st ? s->st->codec : NULL, AV_LOG_VERBOSE, +"setting jitter buffer size to %d\n", s->queue_size); + rtp_init_statistics(>statistics, 0); if (st) { switch (st->codec->codec_id) { ___ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog
[FFmpeg-cvslog] rtpdec: add a trace when jitter buffer is full
ffmpeg | branch: master | Eloi BAIL <eloi.b...@savoirfairelinux.com> | Tue Sep 15 11:38:21 2015 -0400| [ff7f6ea9db2a77d74f7e68a716f53ba1f3f85017] | committer: Martin Storsjö rtpdec: add a trace when jitter buffer is full This commit adds a warning trace when jitter buffer is full. It helps to understand leading decoding issues. Signed-off-by: Eloi BAIL <eloi.b...@savoirfairelinux.com> Signed-off-by: Martin Storsjö <mar...@martin.st> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ff7f6ea9db2a77d74f7e68a716f53ba1f3f85017 --- libavformat/rtpdec.c |5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libavformat/rtpdec.c b/libavformat/rtpdec.c index 0efcdb9..5706f16 100644 --- a/libavformat/rtpdec.c +++ b/libavformat/rtpdec.c @@ -804,8 +804,11 @@ static int rtp_parse_one_packet(RTPDemuxContext *s, AVPacket *pkt, *bufptr = NULL; /* Return the first enqueued packet if the queue is full, * even if we're missing something */ -if (s->queue_len >= s->queue_size) +if (s->queue_len >= s->queue_size) { +av_log(s->st ? s->st->codec : NULL, AV_LOG_WARNING, + "jitter buffer full\n"); return rtp_parse_queued_packet(s, pkt); +} return -1; } } ___ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog
[FFmpeg-cvslog] rtpdec: inform jitter buffer size
ffmpeg | branch: master | Eloi BAIL <eloi.b...@savoirfairelinux.com> | Mon Sep 14 14:02:17 2015 -0400| [bc3ea394154bfca8cfb3a831d0c65a6b579bd710] | committer: Michael Niedermayer rtpdec: inform jitter buffer size This commit print as AV_LOG_INFO the jitter buffer size. It might be the default value or the value set by application. Signed-off-by: Eloi BAIL <eloi.b...@savoirfairelinux.com> Signed-off-by: Michael Niedermayer <mich...@niedermayer.cc> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=bc3ea394154bfca8cfb3a831d0c65a6b579bd710 --- libavformat/rtpdec.c |4 1 file changed, 4 insertions(+) diff --git a/libavformat/rtpdec.c b/libavformat/rtpdec.c index fee9547..d544c1b 100644 --- a/libavformat/rtpdec.c +++ b/libavformat/rtpdec.c @@ -520,6 +520,10 @@ RTPDemuxContext *ff_rtp_parse_open(AVFormatContext *s1, AVStream *st, s->ic = s1; s->st = st; s->queue_size = queue_size; + +av_log(s->st ? s->st->codec : NULL, AV_LOG_VERBOSE, +"setting jitter buffer size to %d\n", s->queue_size); + rtp_init_statistics(>statistics, 0); if (st) { switch (st->codec->codec_id) { ___ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog
[FFmpeg-cvslog] rtpdec: add a trace when jitter buffer is full
ffmpeg | branch: master | Eloi BAIL <eloi.b...@savoirfairelinux.com> | Mon Sep 14 14:02:16 2015 -0400| [0edf6c8b2a976d8af5d4211da565ca30b9759737] | committer: Michael Niedermayer rtpdec: add a trace when jitter buffer is full This commit adds an error trace when jitter buffer is full. It helps to understand leading decoding issues. Signed-off-by: Michael Niedermayer <mich...@niedermayer.cc> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0edf6c8b2a976d8af5d4211da565ca30b9759737 --- libavformat/rtpdec.c |5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libavformat/rtpdec.c b/libavformat/rtpdec.c index d544c1b..c50e98b 100644 --- a/libavformat/rtpdec.c +++ b/libavformat/rtpdec.c @@ -815,8 +815,11 @@ static int rtp_parse_one_packet(RTPDemuxContext *s, AVPacket *pkt, *bufptr = NULL; /* Return the first enqueued packet if the queue is full, * even if we're missing something */ -if (s->queue_len >= s->queue_size) +if (s->queue_len >= s->queue_size) { +av_log(s->st ? s->st->codec : NULL, AV_LOG_ERROR, +"jitter buffer full\n"); return rtp_parse_queued_packet(s, pkt); +} return -1; } } ___ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog