[Bug 768576] New base class for non-streaming audio formats such as module formats, SID music, MIDI files etc.
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Mon Jul 11 18:59:09 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=768576
--- Comment #7 from Stefan Sauer (gstreamer, gtkdoc dev) <ensonic at sonicpulse.de> ---
Looping is normally done through segmented seek. If it is implicitly done by
the element, then it just appears as a indefinite stream. And since for most
formats even the element does not know much about the loops I don't see what we
can practically do.
Re cutoff time, we could make this a property on the element, but it's kind of
moot, since no generic media player will handle it :/
So one 'solution' that I mentioned before is to run auto-correlation (with a
relative large window like 1 sec) to detect the loop and emit EOS. For this
you'd need to introduce a large internal buffer and with that also 1 sec
latency. You could even fade-out over the buffer when the loop is detected and
emit EOS then.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list