AnsweredAssumed Answered

parsing matroska file with gstreame on imx6

Question asked by ieio on Oct 4, 2013
Latest reply on Oct 14, 2013 by ieio

Hi.

I need to play  matroska files and it seems that there is a seeking issue with freescale gstreamer for imx6.

Command used is:gst-launch  playbin2 uri=file:///test.mkv

As far as I understood Freescale gstreamer uses  lib_mkv_parser_arm11_elinux.so.3.1, instead of the one coming with gstreamer.

Here is the output I get:

Core: MKVPARSER_01.04.02  build on Mar  1 2013 14:38:20

  mime: video/x-matroska ; video/webm

  file: /usr/lib/imx-mm/parser/lib_mkv_parser_arm11_elinux.so.3.1

Content Info:

        URI:

              file:///test.mkv

        Idx File:

              /root/.aiur/.test.aidx

        Seekable  : Yes

        Size(byte): 1351578

 

Movie Info:

        Seekable  : Yes

        Live      : No

        Duration  : 0:01:03.563000000

        ReadMode  : Track

        Track     : 1

 

Track 00 [video_000000] Enabled

        Duration: 0:00:27.956000000

        Language: eng

        Mime:

              video/mpeg, mpegversion=(int)4, parsed=(boolean)true, width=(int)640, height=(in

              t)480, framerate=(fraction)30/1, codec_data=(buffer)000001b003000001b2464d5f5047

              204d6f6465000001b509000001000000012000c48881f4514043c1463f

 

The problem is that it takes around 40 second before displaying the content.

The same command on my Ubuntu machine works correctly displaying immediately the content.

I suspect the problem could be that the Movie Duration  is more than Track 00 Duration, and the parser is not able to jump to the content as the one that runs on Ubuntu.

How can I fix it?

Outcomes