[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:45:27 EET 2017


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.

> +        "Version of the vstats format to use."},
            ^ for consistency, this probably shouldn't be a capital letter.

Moritz


More information about the ffmpeg-devel mailing list