[Libav-user] Scale filter converting to grayscale
Carl Eugen Hoyos
ceffmpeg at gmail.com
Mon Apr 30 22:44:14 EEST 2018
2018-04-30 21:10 GMT+02:00, Philippe Gorley
<philippe.gorley at savoirfairelinux.com>:
> It segfaults when writing the frame. I'm expecting a yuv420p frame
But you are asking the filter chain to output gray.
> enum AVPixelFormat pix_fmts[] = { AV_PIX_FMT_GRAY8, AV_PIX_FMT_NONE };
> if ((ret = av_opt_set_int_list(buffersink_ctx, "pix_fmts", pix_fmts,
> Confidentiality Message: This communication (including any files
> transmitted with it) is intended solely for the person or entity to
> whom it is addressed, and may contain confidential or privileged
> information.
Please remove this from mails sent to a public mailing list.
Carl Eugen
More information about the Libav-user
mailing list