[Libav-user] Scale filter converting to grayscale
Philippe Gorley
philippe.gorley at savoirfairelinux.com
Mon Apr 30 22:59:55 EEST 2018
On 2018-04-30 03:44 PM, Carl Eugen Hoyos wrote:
> 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,
I guess I should've looked more carefully. Thank you.
>
>> 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
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>
Cheers,
--
Philippe Gorley
Free Software Consultant | Montréal, Qc
Savoir-faire Linux
More information about the Libav-user
mailing list