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 644808 - [matroskademux] Add support for chained segments
[matroskademux] Add support for chained segments
Status: RESOLVED DUPLICATE of bug 334082
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-03-15 10:43 UTC by Andoni Morales
Modified: 2013-06-10 11:58 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
0001-matroskademux-fragmented-patch.patch (1.41 KB, patch)
2011-03-15 10:43 UTC, Andoni Morales
needs-work Details | Review

Description Andoni Morales 2011-03-15 10:43:31 UTC
Created attachment 183415 [details] [review]
0001-matroskademux-fragmented-patch.patch

We should support chained segments in the demuxer.
Attached is a first approach that would be valid from live streams where seeks are not involved.
Comment 1 Sebastian Dröge (slomo) 2011-03-15 11:56:37 UTC
For a new segment you should reset the complete demuxer state, including index and tracks and everything. You also should remove all existing pads from the demuxers and then add the new pads as if you started a new file.

Implementing this in pull mode and in general with seeking support will be a lot of work probably.
Comment 2 Andoni Morales 2011-03-15 12:48:59 UTC
Would it make sense to have it at least in push mode for live streams?
The flv demuxer, for example, has a way to check if it's a live stream to avoid generating an index. Can we use this approach for the matroska demuxer as well to at least support chained segments for live?
Comment 3 Sebastian Dröge (slomo) 2011-03-15 18:52:51 UTC
Yes, you can use the SEEKING query to check if upstream is able to handle seek requests. If it isn't you can implement support for chained segments by resetting the demuxer state when you see a new segment (including removal of pads) and then continue as if a new file was opened.
Comment 4 Sebastian Dröge (slomo) 2013-06-10 11:58:28 UTC
Marking as duplicate of #334082 . Any progress on this Andoni?

*** This bug has been marked as a duplicate of bug 334082 ***