About JPEG decode by gst command.

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

About JPEG decode by gst command.

ソリューションへジャンプ
2,849件の閲覧回数
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

ラベル(5)
0 件の賞賛
返信
1 解決策
2,525件の閲覧回数
Yuri
NXP Employee
NXP Employee

Hello,

I mean Gst API (C++).

Regards,

Yuri.

元の投稿で解決策を見る

0 件の賞賛
返信
6 返答(返信)
2,525件の閲覧回数
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 件の賞賛
返信
2,525件の閲覧回数
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 件の賞賛
返信
2,526件の閲覧回数
Yuri
NXP Employee
NXP Employee

Hello,

I mean Gst API (C++).

Regards,

Yuri.

0 件の賞賛
返信
2,525件の閲覧回数
keitanagashima
Senior Contributor I

Hi Yuri,

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

What is it?

Best Regards,

Keita

0 件の賞賛
返信
2,525件の閲覧回数
keitanagashima
Senior Contributor I

Hi Yuri,

Thank you for your reply.

OK. I got it.

Best Regards,

Keita

0 件の賞賛
返信