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