After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 796880 - matroskademux : seek to cluster with error throws error during seek
matroskademux : seek to cluster with error throws error during seek
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
1.14.0
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2018-07-27 07:03 UTC by Kumar Vijay Vikram
Modified: 2018-11-03 15:32 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Issue Stream (368.00 KB, application/octet-stream)
2018-07-27 07:03 UTC, Kumar Vijay Vikram
  Details
patch file (2.14 KB, patch)
2018-07-27 07:36 UTC, Kumar Vijay Vikram
none Details | Review

Description Kumar Vijay Vikram 2018-07-27 07:03:44 UTC
Created attachment 373175 [details]
Issue Stream

The attached stream is an error stream. Duration is 0:24:14.9 but plays till 0:11:19.6 as there is no further clusters.

When seek is done to any position greater that 0:11:20, we get an error while executing seek.

The error occurs while the method is gst_matroska_demux_search_pos scanning for matching cluster.

Failure happens because of the following error:

0:00:58.475704730  3013       0xa0c950 ERROR               ebmlread ebml-read.c:141:gst_ebml_peek_id_length:<matroskademux0> Invalid EBML ID size tag (0x8) at position 102897769 (0x6221869)

Refer to attached log file for more details.

During playback, similar error is thrown but gst_matroska_demux_check_parse_error handles the error and searches for next cluster. Similar error handling is required when seeking.

The finding suitable cluster logic in matroska-demux has been changed from GST v1.12 to v1.14.

Expected output:
We expect to play next file without error popup message even if the file has an issue.
Comment 1 Kumar Vijay Vikram 2018-07-27 07:36:07 UTC
Created attachment 373176 [details] [review]
patch file

Patch to skip the cluster with error and continue with next cluster.
Comment 2 Tim-Philipp Müller 2018-08-15 18:27:12 UTC
Thanks for the patch.

The sample file you attached seems to be truncated 368kB, it only contains a few frames. It might be because bugzilla does not allow very large attachments.

Any chance you could make the sample available elsewhere?
Comment 3 Kumar Vijay Vikram 2018-08-17 05:12:39 UTC
(In reply to Tim-Philipp Müller from comment #2)
> Thanks for the patch.
> 
> The sample file you attached seems to be truncated 368kB, it only contains a
> few frames. It might be because bugzilla does not allow very large
> attachments.
> 
> Any chance you could make the sample available elsewhere?

Sorry for the delayed response. I was looking out for ways to share the stream with you.

I am afraid I won't be able to share the stream through ftp as my company doesn't allow. 

Rather would it be possible to share a ftp where I can upload the stream? If yes please share the ftp server location. I will upload the stream to your ftp.
Comment 4 GStreamer system administrator 2018-11-03 15:32:08 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/issues/494.