AnsweredAssumed Answered

mpeg2 video decoding issue on IMX8M

Question asked by Frederic DUCHASSIN on May 3, 2019
Latest reply on May 6, 2019 by Frederic DUCHASSIN



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 ?