[FFmpeg-user] countless dropping frema warnings
Jan Ehrhardt
phpdev at ehrhardt.nl
Fri Apr 4 23:07:32 CEST 2014
Jan Ehrhardt in gmane.comp.video.ffmpeg.user (Wed, 02 Apr 2014 07:06:01
+0200):
>This commit is leading to countless warnings:
>http://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=41e7e46cac507e993af6d656c8d3672ba3f9e304
I ended up with a patch to make the 'Drop' error VERBOSE, just like the
'Dup' error a few lines later.
The patch is here:
https://github.com/Jan-E/MyMpeg/blob/master/ffmpeg_patches/revert_dropping_frame_error.patch
And at the end of this message
Jan
diff --git a/ffmpeg.c b/ffmpeg.c
index 25001f5..2850746 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -895,7 +895,7 @@ static void do_video_out(AVFormatContext *s,
nb_frames = FFMIN(nb_frames, ost->max_frames - ost->frame_number);
if (nb_frames == 0) {
nb_frames_drop++;
- av_log(NULL, AV_LOG_WARNING,
+ av_log(NULL, AV_LOG_VERBOSE,
"*** dropping frame %d from stream %d at ts
%"PRId64"\n",
ost->frame_number, ost->st->index, in_picture->pts);
return;
More information about the ffmpeg-user
mailing list