Dear All,
Device: i.MX 6Q
BSP: L3.14.28_1.0.0
My customer wants to use the below gst command to display the jpeg file.
<Command A>
$ gst-launch-1.0 filesrc location=<jpeg file> ! decodebin ! imxg2dvideosink
But, the "imxvpudec" element has been automatically chosen and the element supports only Baseline profile .
BTW, the below command can display the jpeg file except Baseline profile.
<Command B>
gst-launch-1.0 filesrc location=<jpeg file> ! jpegdec ! imxg2dvideosink
[Question]
Do you know the modification method that "jpegdec" is automatically chosen by the <Command A>?
Best Regards,
Keita
Solved! Go to Solution.
Hello,
Looks like, You need using the API rather than gst-launch.
Have a great day,
Yuri
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Yuri,
Thank you for your reply.
> Looks like, You need using the API rather than gst-launch.
Is your mentioned API described in i.MX VPU Application Programming Interface Linux Reference Manual?
The VPU looks only supporting the Baseline profile from Release note & below community.
Issues decoding MJPEG with VPUdec
My customer wants to decode the JPEG with Baseline and other profiles.
So, I think that source code of "decodebin" should change.
Best Regards,
Keita
Hello,
I mean Gst API (C++).
Regards,
Yuri.
Hi Yuri,
Hello. Sorry I couldn't understand the "Gst API (C++)".
What is it?
Best Regards,
Keita
Hi Yuri,
Thank you for your reply.
OK. I got it.
Best Regards,
Keita