H.265 decode,using gstreamer pipeline on IMX8M mini

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

H.265 decode,using gstreamer pipeline on IMX8M mini

2,511 次查看
wangliu
Contributor I

Hi,

I am using gstreamer pipeline to decode H.265 video on imx8m mini board, but I have some problem as follow:

gstreamer pipeline:

gst-launch-1.0 -v filesrc location=h265_720p.265 ! qtdemux ! h265parse ! queue ! vpudec ! glimagesink async=false enable-last-sample=false qos=false sync=false

issue on the Linux shell:

root@imx8mmevk:/unit_tests/Audio#
root@imx8mmevk:/unit_tests/Audio#
root@imx8mmevk:/unit_tests/Audio# gst-launch-1.0 -v filesrc location=h265_720p.265 ! qtdemux ! h265parse ! queue ! vpudec ! glimagesink async=false enable-last-sample=false qos=false sync=false
Setting pipeline to PAUSED ...
====== VPUDEC: 4.4.4 build on May 6 2019 06:48:28. ======
wrapper: 3.0.0 (VPUWRAPPER_ARM64_LINUX Build on Apr 24 2019 05:16:41)
vpulib: 1.1.1
firmware: 1.1.1.0
Pipeline is PREROLLED ...
Got context from element 'sink': gst.gl.GLDisplay=context, gst.gl.GLDisplay=(GstGLDisplay)"\(GstGLDisplayWayland\)\ gldisplaywayland0";
ERROR: from element /GstPipeline:pipeline0/GstQTDemux:qtdemux0: This file is invalid and cannot be played.
Additional debug info:
../../../git/gst/isomp4/qtdemux.c(750): gst_qtdemux_pull_atom (): /GstPipeline:pipeline0/GstQTDemux:qtdemux0:
atom has bogus size 18446464110561329920
ERROR: pipeline doesn't want to preroll.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...

Could you help me to fix this bug? Thanks.

标签 (1)
0 项奖励
回复
2 回复数

1,861 次查看
wangliu
Contributor I

My software version is:     4.14.78-imx_4.14.78_1.0.0_ga+g94da7bd   imx8mmevk.

0 项奖励
回复

1,861 次查看
joanxie
NXP TechSupport
NXP TechSupport

could you play the video by "gplay-1.0 h265_720p.265" or "gst-launch-1.0 uri=file:///h265_720p.265"?

0 项奖励
回复