Cannot play a 4K mkv content with v4l2h265dec plugin

karimchtx karim_atiki at hotmail.com
Mon Mar 22 10:15:08 UTC 2021


Hi,I'm currently trying to play a 4K content on an IMX8 based board, an
apalis imx8.I planed to use the v4l2h265dec decoder, as at first glance, the
imx vpudec plugin is not available for this processor, though it's supported
on imx8m and mx8mm.I've designed the following pipeline:root at apalis-imx8:~#
XDG_RUNTIME_DIR=/run/user/0 gst-launch-1.0 -v filesrc
location=/media/sda1/4K_content.2160p.UHD.BLURAY.REMUX.HDR.HEVC.x265.mkv   !
matroskademux name=d d. ! queue ! h265parse ! v4l2h265dec !
waylandsinkUnfortunately, I systematicaly get the following error, whatever
I try to change the pipeline.
Setting pipeline to PAUSED ...Pipeline is PREROLLED ...Got context from
element 'sink': gst.gl.GLDisplay=context,
gst.gl.GLDisplay=(GstGLDisplay)"\(GstGLDisplayWayland\)\
gldisplaywayland0";Setting pipeline to PLAYING ...New clock:
GstSystemClock/GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps =
video/x-h265, level=(string)5.1, tier=(string)high, profile=(string)main-10,
codec_data=(buffer)012220000000b0000000000099f000fcfdfafa00000f04a00001002140010c01fff00b00000030000030099148c0c00000fa40001770140a10001003d420101222000000300b00000030000030099a001e020021c4db148e490a50bc06d4244026d9400000fa4000177018930397800057bcc0017d7be78f1e8a2000100084401c072f69bfb64a70001003d4e010538428219561c292e3a1fdf34154454d4520546974616e2046696c6520332e382e31362028342e382e31362e302920202020202080,
stream-format=(string)hvc1, alignment=(string)au, width=(int)3840,
height=(int)2160, pixel-aspect-ratio=(fraction)1/1,
fraction)24000/1001/GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps
= video/x-h265, level=(string)5.1, tier=(string)high,
profile=(string)main-10,
codec_data=(buffer)012220000000b0000000000099f000fcfdfafa00000f04a00001002140010c01fff00b00000030000030099148c0c00000fa40001770140a10001003d420101222000000300b00000030000030099a001e020021c4db148e490a50bc06d4244026d9400000fa4000177018930397800057bcc0017d7be78f1e8a2000100084401c072f69bfb64a70001003d4e010538428219561c292e3a1fdf34154454d4520546974616e2046696c6520332e382e31362028342e382e31362e302920202020202080,
stream-format=(string)hvc1, alignment=(string)au, width=(int)3840,
height=(int)2160, pixel-aspect-ratio=(fraction)1/1,
fraction)24000/1001/GstPipeline:pipeline0/GstH265Parse:h265parse0.GstPad:sink:
caps = video/x-h265, level=(string)5.1, tier=(string)high,
profile=(string)main-10,
codec_data=(buffer)012220000000b0000000000099f000fcfdfafa00000f04a0000100214002000000300b00000030000030099148c0c00000fa40001770140a10001003d420101222000000300b00000030000030099a001e020021c4db148e490a50bc06d4244026d9400000fa4000177018930397800057bcc0017d7be78f1e8a2000100084401c072f69bfb64a70001003d4ec9bb89248219561c292e3a1fdf34154454d4520546974616e2046696c6520332e382e31362028342e382e31362e302920202020202080,
stream-format=(string)hvc1, alignment=(string)au, width=(int)3840,
height=(int)2160,
pixel-aspect-ratio=(fractimerate=(fraction)24000/1001/GstPipeline:pipeline0/GstH265Parse:h265parse0.GstPad:src:
caps = video/x-h265, level=(string)5.1, tier=(string)high,
profile=(string)main-10, stream-format=(string)byte-stream,
alignment=(string)au, width=(int)3840, heigh,
pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)24000/1001,
chroma-format=(string)4:2:0, bit-depth-luma=(uint)10,
bit-depth-chroma=(uint)10,
parsed=(boolean)true/GstPipeline:pipeline0/v4l2h265dec:v4l2h265dec0.GstPad:sink:
caps = video/x-h265, level=(string)5.1, tier=(string)high,
profile=(string)main-10, stream-format=(string)byte-stream,
alignment=(string)au, width=(int)3840, hei60,
pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)24000/1001,
chroma-format=(string)4:2:0, bit-depth-luma=(uint)10,
bit-depth-chroma=(uint)10, parsed=(boolean)trueERROR: from element
/GstPipeline:pipeline0/GstMatroskaDemux:d: Internal data stream
error.Additional debug info:../git/gst/matroska/matroska-demux.c(5715):
gst_matroska_demux_loop ():
/GstPipeline:pipeline0/GstMatroskaDemux:d:streaming stopped, reason
not-negotiated (-4)Execution ended after 0:00:00.131678311Setting pipeline
to PAUSED ...Setting pipeline to READY ...Setting pipeline to NULL ...Total
showed frames (0), playing for (0:00:00.132085050), fps (0.000).
Is there something obviously wrong in my pipeline ?Thanks for your
feedback.K.



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20210322/579b0224/attachment.htm>


More information about the gstreamer-devel mailing list