IMX8MQ gst-play-1.0 and gst-play gives error while playing mp4 video in L5.10.52 release

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

IMX8MQ gst-play-1.0 and gst-play gives error while playing mp4 video in L5.10.52 release

跳至解决方案
1,534 次查看
tejas_patel
Contributor I

Hi,

I am using yocto hardknott imx-5.10.52-2.1.0 release for imx8mq. While playing mp4 video using gst-play-1.0 and gst-play, I am getting bellow error.

=========================================================

 gst-play-1.0 Big_Buck_Bunny_720_10s_30MB.mp4
Press 'k' to see a list of keyboard shortcuts.
Now playing Big_Buck_Bunny_720_10s_30MB.mp4
Prerolling...
====== AIUR: 4.6.2 build on Aug 27 2021 07:05:03. ======
Core: MPEG4PARSER_06.17.18 build on Apr 14 2021 02:39:48
file: /usr/lib/imx-mm/parser/lib_mp4_parser_arm_elinux.so.3.2
------------------------
Track 00 [video_0] Enabled
Duration: 0:00:10.000000000
Language: und
Mime:
video/x-h264, parsed=(boolean)true, alignment=(string)au, stream-format=(string)avc, width=(int)1280, height=(int)720, framerate=(fraction)30/1, codec_data=(buffer)01640032ffe1001b67640032ac7284405005bb0110000003001000000303c0f183184601000768e8438332c8b0
------------------------
====== VPUDEC: 4.6.2 build on Aug 27 2021 07:05:03. ======
wrapper: 3.0.0 (VPUWRAPPER_ARM64_LINUX Build on Jul 16 2021 02:05:07)
vpulib: 1.1.1
firmware: 1.1.1.65535
ERROR GStreamer encountered a general stream error. for file:///run/media/mmcblk1p3/Big_Buck_Bunny_720_10s_30MB.mp4
ERROR debug information: ../git/plugins/aiurdemux/aiurdemux.c(1135): aiurdemux_pull_task (): /GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstAiurDemux:aiurdemux0:
streaming stopped, reason error, state 3
Reached end of play list.
===================================================================

Note: Same command works with L5.4 - zeus release but it is not working with L5.10.52-hardknott release.

Can you help with this issue?

Thanks in advance.

 

0 项奖励
回复
1 解答
1,521 次查看
tejas_patel
Contributor I

Hi,

 

Found the issue and fixed it. I was not enabling vpu_v4l2 node in my dts. After enabling vpu_v4l2 node in dts, able to play video using gst-play.

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,522 次查看
tejas_patel
Contributor I

Hi,

 

Found the issue and fixed it. I was not enabling vpu_v4l2 node in my dts. After enabling vpu_v4l2 node in dts, able to play video using gst-play.

0 项奖励
回复