Is there any sample using VPU to do color space conversion and scaling in IMX8MQ?
Hello
Do you want to evaluate imx8mq vpu? if yes, you just connect imx8mq with hdmi, the image supports hdmi output as default, then you can use gstreamer to decode the file outpting to the hdmi, the gstreamer commands, you can refer to the document you send, I post abc three commands which use gstreamer to decode video by VPU to the display
Regards
Hi @Bio_TICFSL ,
gst-launch-1.0 filesrc location=videotestsrc_720x576.ts ! tsdemux ! h264parse ! imxvpudec_h264 ! ....
Currently, we are able to use imxvpudec_h264 for decoding H264, but the output is only in NV12 format. However, our AI model only accepts RGB input, so we need to perform a color space conversion. Unfortunately, at the moment, the only option available is to use the CPU for this conversion. I'm not sure if the VPU on the IMX8MQ is capable of performing color space conversion and downscaling.
Can anybody help answer?
Thanks.