[Libav-user] QImage(RGB32) to AVFrame(RGB32)

Carl Eugen Hoyos ceffmpeg at gmail.com
Wed Apr 18 20:21:28 EEST 2018


2018-04-18 7:04 GMT+02:00, Valeriy Shtoma <shtomavaleriy at gmail.com>:

> I want to convert QImage to AVFrame and than push it to
> filter. But when I pushed AVFrame, I got an error:
>
>  [in @ 0x11c71c200] Changing frame properties on the fly
> is not supported by all filters.
>
> and than
>
>  [libx264 @ 0x10ea52c00] Input picture width (640) is greater
>  than stride (0)

The x264 encoder does not support AV_PIX_FMT_ARGB or
any of its friends.
Since x264 does not support alpha, it can improve performance
not to signal a pix_fmt with alpha.

Carl Eugen


More information about the Libav-user mailing list