Neither "qtdemux" nor "matroskademux" can be used wih h265 decode ?

Hi,

I obtain these errors when trying to decode h265 :

  1. With qtdemux :
    ubuntu@tegra-ubuntu:~$ gst-launch-1.0 filesrc location = /home/ubuntu/Desktop/Training/ForTest.mp4 ! qtdemux ! queue ! h265parse ! omxh265dec ! nvoverlaysink -e

ERROR: from element /GstPipeline:pipeline0/GstQTDemux:qtdemux0: GStreamer encountered a general stream error.

  1. With matroskademux :
    gst-launch-1.0 filesrc location = /home/ubuntu/Desktop/Training/ForTest.mp4 ! matroskademux ! queue ! h265parse ! omxh265dec ! nvoverlaysink -e

ERROR: from element /GstPipeline:pipeline0/GstMatroskaDemux:matroskademux0: Could not demultiplex stream.

so which demux can be used with h265 ?

Thanks,

Hi,

Someone can explain to me what is the cause of these 2 errors, I know from others topics that “qtdemux” is incompatible with h265 and that we should use “matroskademux” instead it, but why I obtain error when using the latter ?

Regards,

I obtain the same errors with all NVIDIA accelerated decoder (vp8, vp9 and mpeg4) except h264.

Hi Nostalgie, both qtdemux and matroskademux suppor h265 demux. You may check if your video file is with valid h265 stream.
Please also check http://gstreamer-devel.966125.n4.nabble.com/