gstreamer can't play mp4 file on imx8mq-evk

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

gstreamer can't play mp4 file on imx8mq-evk

247 Views
quanyang_wang
Contributor II

Hi Experts,

I build a imx-image-multimedia yocto project (imx_6.1.55_2.2.0)  and deploy it to i.mx8mqevk board. I tried to play a mp4 file but it failed with the following error log:

root@imx8mqevk:~# gst-launch-1.0 filesrc location=/wqy/1.mp4 typefind=true ! video/quicktime ! aiurdemux ! queue max-size-time=0 ! v4l2h264dec ! autovideosink
Setting pipeline to PAUSED ...

====== V4L2DEC: 1.22.5 build on Oct 19 2023 01:57:00. ======
Pipeline is PREROLLING ...

====== AIUR: 4.8.2 build on Oct 10 2023 02:31:27. ======
Core: MPEG4PARSER_06.21.06 build on Oct 18 2023 10:08:29
file: /usr/lib/imx-mm/parser/lib_mp4_parser_arm_elinux.so.3.2
------------------------
Track 00 [video_0] Enabled
Duration: 0:03:47.458333000
Language: und
Mime:
video/x-h264, parsed=(boolean)true, alignment=(string)au, stream-format=(string)avc, width=(int)4096, height=(int)2304, framerate=(fraction)24/1, codec_data=(buffer)01640033ffe1001867640033acb400800090d0
800000030080000018078c195001000468ce0bcb
------------------------
------------------------
Track 01 [audio_0] Enabled
Duration: 0:03:47.439455000
Language: und
Mime:
audio/mpeg, mpegversion=(int)4, channels=(int)2, rate=(int)44100, bitrate=(int)191992, stream-format=(string)raw, codec_data=(buffer)12100000000000000000000000000000
------------------------
WARNING: from element /GstPipeline:pipeline0/GstAiurDemux:aiurdemux0: Delayed linking failed.
Additional debug info:
/usr/src/debug/gstreamer1.0/1.22.5.imx-r0/gst/parse/grammar.y(855): gst_parse_no_more_pads (): /GstPipeline:pipeline0/GstAiurDemux:aiurdemux0:
failed delayed linking some pad of GstAiurDemux named aiurdemux0 to some pad of GstQueue named queue0
^Chandling interrupt.
Interrupt: Stopping pipeline ...
Setting pipeline to NULL ...
Freeing pipeline ...

Is there any suggestion about this error?

 

0 Kudos
Reply
2 Replies

223 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

 

That Quicktime pluging is not in the supported list maybe this is the problem.

Regards

0 Kudos
Reply

202 Views
quanyang_wang
Contributor II

Hello,

Thank you for replying.

The command line is picked from Section 7.3.1.2 "Video-only playback" of the Document "i.MX Linux User's Guide".  If Quicktime plugins do not work, are there any plugins that can be used to play mp4 files?

Any suggestion is appreciated.

Thanks,

0 Kudos
Reply