AnsweredAssumed Answered

problem on IMX8M and 4K gstreamer decoding

Question asked by Frederic DUCHASSIN on Jan 29, 2019
Latest reply on Feb 22, 2019 by Frederic DUCHASSIN

Hello,

 

I try to decode MPEG2TS video stream using imx8m and gstreamer.

Attached here, you can find the stream which gives me problems (4K stream from Astra):

 

https://wetransfer.com/downloads/f7337743ed38a3fed90dabb7fa20572420190129112122/7e39868bf451393a4768e241d67f329820190129112122/6cb654

 

The pipeline for playing video service 1 is :

gst-launch-1.0 pciesrc ! typefind ! queue ! aiurdemux name=d program-number=1 ! multiqueue name =q d. ! q. q. ! decodebin ! queue ! kmssink q. ! decodebin ! queue ! audioconvert ! alsasink

With this video service, all is decoded correctly.

 

The pipeline for playing video service 2 is :

gst-launch-1.0 pciesrc ! typefind ! queue ! aiurdemux name=d program-number=2 ! multiqueue name =q d. ! q. q. ! decodebin ! queue ! kmssink q. ! decodebin ! queue ! audioconvert ! alsasink

With this video the service is not well decoded : i have only video or only audio...

 

The difference between service 1 and 2 is audio encoding : service 1 use eac3, service 2 use mpeg1.

 

When audio is eac3, i never get problem. But when audio is mpeg1, it never works smoothly.

 

Thanks in advance for your help.

 

BTW : i use BSP 4.9.88

Outcomes