[FFmpeg-devel] [PATCH] ffmpeg_opt.c: Introduce a -vstats_version option and document the existing -vstats format.

Moritz Barsnick barsnick at gmx.net
Tue Jan 24 16:47:36 EET 2017


On Tue, Jan 24, 2017 at 15:45:27 +0100, Moritz Barsnick wrote:
> On Mon, Jan 23, 2017 at 18:25:45 -0800, Sasi Inguva wrote:
> 
> > + at item -vstats_version @var{file}
>                          ^ @var{int}
> 
> > +++ b/ffmpeg.c
> > @@ -1347,6 +1347,7 @@ static void do_video_stats(OutputStream *ost, int frame_size)
> >      enc = ost->enc_ctx;
> >      if (enc->codec_type == AVMEDIA_TYPE_VIDEO) {
> >          frame_number = ost->st->nb_frames;
> > +
> >          fprintf(vstats_file, "frame= %5d q= %2.1f ", frame_number,
> 
> Totally useless and unrelated change.

Actually, I think you lost your change which makes actual use of the
variable vstats_version to allow two different outputs!


More information about the ffmpeg-devel mailing list