GNOME Bugzilla – Bug 796880
matroskademux : seek to cluster with error throws error during seek
Last modified: 2018-11-03 15:32:08 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.
Created attachment 373176 [details] [review] patch file Patch to skip the cluster with error and continue with next cluster.
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?
(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.
-- 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.