mpeg2 video decoding issue on IMX8M

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

mpeg2 video decoding issue on IMX8M

1,528件の閲覧回数
fredericduchass
Contributor III

Hello,

I try to decode an MPEG2TS video stream on my IMX8M but i get a lot framerate with several display glictches.

The pipeline used is :

gst-launch-1.0 filesrc location=/run/media/sda1/TS/test/testMpeg2.ts ! tsdemux ! vpudec ! queue ! kmssink

video file : attached to this post

OS : Yocto Sumo

Kernel : 4.14.78

tsdemux : 1.14.0

Some informations :

This pipeline with mpegvideoparse is working :

  • gst-launch-1.0 filesrc location=/run/media/sda1/TS/test/testMpeg2_1.ts ! tsdemux ! mpegvideoparse ! vpudec ! queue ! kmssink

--> why vpudec is not able to decode without mpegvideoparse ?

  • Using aiurdemux (without mpegvideoparse) instead of tsdemux gives better decoding but it gives me other failure in other case.

gst-launch-1.0 filesrc location=/run/media/sda1/TS/test/testMpeg2.ts ! aiurdemux ! vpudec ! queue ! kmssink

--> why aiurdemux is better in this case ?

BR

Frédéric

ラベル(1)
0 件の賞賛
返信
4 返答(返信)

1,399件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Frédéric

one can try

gst-launch-1.0 filesrc location=file_HD.ts ! video/mpegts ! tsdemux ! queue max-size-time=0 ! vpudec ! queue max-size-time=0 ! waylandsink

use Demo Images from

i.MX Software | NXP 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信

1,399件の閲覧回数
fredericduchass
Contributor III

Hi Igor,

My problem is with this particular file. With others files, I have no problem.

For sure, there is a problem using tsdemux + vpudec with this file.

Can you try with the TS file that I have provided ?

BR

Frédéric

0 件の賞賛
返信

1,399件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Frédéric

seems you are using and developing own gstreamer sources as mentioned on
IMX8M and custom Gstreamer source 

NXP supports only own imx-gst1.0-plugin - i.MX Gstreamer 1.0 Plugin   described in Linux L4.14.98_2.0.0 Documentation

For support with own gstreamer customizations may be suggested to proceed with extended support of NXP Professional Services:
NXP Professional Services | NXP 

Best regards
igor

0 件の賞賛
返信

1,399件の閲覧回数
fredericduchass
Contributor III

Hi Igor,

There is not link with the other post I've made.... (particlualrly with my custom gstreamer source)

Read carrefully but in the problem explain at the top, i use a "filesrc".

My pipeline is not specific. Every user can read an mpeg2ts file.

BR

Frédéric 

0 件の賞賛
返信