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 :
--> why vpudec is not able to decode without mpegvideoparse ?
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
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
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
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
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
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