H.265 decode,using gstreamer pipeline on IMX8M mini

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

H.265 decode,using gstreamer pipeline on IMX8M mini

2,221件の閲覧回数
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,571件の閲覧回数
wangliu
Contributor I

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

0 件の賞賛

1,571件の閲覧回数
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 件の賞賛