I’m reposting an old post as I can’t find the original one in the list of questions
It’s still related to gstreamer and gst-discoverer-1.0 tool that does not work with some mkv contents whereas it works perfectly on other platforms (linux ubuntu, windows etc).
Example:
gst-discoverer-1.0 -v http://fmr-dev.net/tmp/the_100.mkv
The expected output should start with:
Topology:
container: Matroska
subtitles: Timed Text
audio: MPEG-1 Layer 2 (MP2)
audio: MPEG-1 Layer 2 (MP2)
video: H.264 (High Profile)
Properties:
Duration: 0:45:19.800000000
Seekable: yes
Live: no
Tags:
...
...
...
As I asked the question initialy, @alex.tx had tested it on a TDX XWayland platform, but the output below is not from gst-discoverer-1.0 but from the demuxer itself.:
root@apalis-imx8:~# gst-discoverer-1.0 http://fmr-dev.net/tmp/the_100.mkv
Analyzing http://fmr-dev.net/tmp/the_100.mkv
====== AIUR: 4.5.7 build on Nov 13 2020 08:36:18. ======
Core: MKVPARSER_01.08.08 build on Oct 13 2020 05:39:34
file: /usr/lib/imx-mm/parser/lib_mkv_parser_arm_elinux.so.3.1
------------------------
Track 00 [video_0] Enabled
Duration: 0:40:28.584000000
Language: fre
Mime:
video/x-h264, parsed=(boolean)true, alignment=(string)au, stream-format=(string)avc, width=(int)1920, height=(int)1080, framerate=(fraction)25/1, codec_data=(buffer)01640029ffe1001e67640029acd940780227e5c05a810100a0000003002000000651e30632c001000668e938272c8b
------------------------
------------------------
Track 01 [audio_0] Enabled
Duration: 0:40:28.584000000
Language: fre
Mime:
audio/mpeg, mpegversion=(int)1, channels=(int)2, rate=(int)48000, bitrate=(int)192000
------------------------
I suspect a bug somewhere…maybe not in gstreamer but maybe in the glib ?
At first glance, it seems that the error would come from uridecodebin plugin.
As we tried with gst-discoverer-1.0, there’s a timeout so we can exit.
But using a pipeline with uridecodebin…it never exits.
I have tried both on Apalis IMX8 Ixoard Board and also on a Colibri IMX8X.
On both platforms, we have tried from the official toradex-reference-multimedia image downloaded from Toradex and we have also tried with a fresh built Yocto image.
The result is the same.
Would you please confirm that you experence the same result ?
Thanks.
Karim