On 2018-04-30 03:44 PM, Carl Eugen Hoyos wrote:
2018-04-30 21:10 GMT+02:00, Philippe Gorley
<philippe.gor...@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@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user


Cheers,

--
Philippe Gorley
Free Software Consultant | Montréal, Qc
Savoir-faire Linux
_______________________________________________
Libav-user mailing list
Libav-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to