Hello,
I'm using vaapi hw decoder to decode h264 from an IPcamera. I followed the example at https://github.com/FFmpeg/FFmpeg/blob/master/doc/examples/hw_decode.c Everything went smoothly, I get the VAAPI surface from GPU via av_hwframe_transfer_data(), however the frame->format, AV_PIX_FMT_VAAPI_VLD, is unsupported by QT(I'm using QT for my GUI). I'm trying to convert this AV_PIX_FMT_VAAPI_VLD to yuv420p or RGB24. I've tried using filter "scale_vaapi=w=640:h=360:format= yuv420p", but without any success, got error " Impossible to convert between the formats supported by the filter 'Parsed_scale_vaapi_0' and the filter 'auto_scaler_0' " I've been stuck for 2 days, not sure what to do. How do I convert AV_PIX_FMT_VAAPI_VLD to yuv or rgb?
_______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
