Re: [Libav-user] Scale filter converting to grayscale

2018-04-30 Thread Philippe Gorley
On 2018-04-30 03:44 PM, Carl Eugen Hoyos wrote: 2018-04-30 21:10 GMT+02:00, Philippe Gorley : 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[] = {

Re: [Libav-user] Scale filter converting to grayscale

2018-04-30 Thread Carl Eugen Hoyos
2018-04-30 21:10 GMT+02:00, Philippe Gorley : > 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 =