About JPEG decode by gst command.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

About JPEG decode by gst command.

Jump to solution
1,913 Views
keitanagashima
Senior Contributor I

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

Labels (5)
0 Kudos
Reply
1 Solution
1,589 Views
Yuri
NXP Employee
NXP Employee

Hello,

I mean Gst API (C++).

Regards,

Yuri.

View solution in original post

0 Kudos
Reply
6 Replies
1,589 Views
Yuri
NXP Employee
NXP Employee

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!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply
1,589 Views
keitanagashima
Senior Contributor I

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

0 Kudos
Reply
1,590 Views
Yuri
NXP Employee
NXP Employee

Hello,

I mean Gst API (C++).

Regards,

Yuri.

0 Kudos
Reply
1,589 Views
keitanagashima
Senior Contributor I

Hi Yuri,

Hello. Sorry I couldn't understand the "Gst API (C++)".

What is it?

Best Regards,

Keita

0 Kudos
Reply
1,589 Views
keitanagashima
Senior Contributor I

Hi Yuri,

Thank you for your reply.

OK. I got it.

Best Regards,

Keita

0 Kudos
Reply