[FFmpeg-devel] [PATCH]lavf/matroskaenc: Print an error if an unreadable rawvideo pix_fmt is written
Moritz Barsnick
barsnick at gmx.net
Wed Jan 11 13:24:22 EET 2017
On Tue, Jan 10, 2017 at 17:05:47 +0100, Carl Eugen Hoyos wrote:
> + enum AVPixelFormat pix_fmt = avpriv_find_pix_fmt(avpriv_pix_fmt_bps_avi,
> + par->bits_per_coded_sample);
> + if (par->format != pix_fmt && par->format != AV_PIX_FMT_NONE)
> + av_log(s, AV_LOG_ERROR, "%s rawvideo cannot be written to vfw mkv, output file will be unreadable\n",
> + av_get_pix_fmt_name(par->format));
Should it really be an error (and not a warning) if its detection
doesn't change ffmpeg's behavior?
Just wondering,
Moritz
More information about the ffmpeg-devel
mailing list