Loop a file using playbin without artefacts
Sebastian Dröge
sebastian at centricular.com
Sun May 24 06:05:28 PDT 2015
On Fr, 2015-05-22 at 13:33 -0400, Nicolas Dufresne wrote:
> Hi,
>
> I fixed you script to properly loop over the file. Though, I notice
> it's broken in 1.4.5, but works in git master. Please file a bug, we
> will try and find out what need to be backported. I tested with a MP4
> file (qtdemux).
I fixed some things in qtdemux, see
https://bugzilla.gnome.org/show_bug.cgi?id=726709
There's also a test application in
gst-plugins-good/tests/icles/test-segment-seeks
This does not loop, but it does seamless seeks for a stream to play it
from beginning to end, e.g.: [0,0.5], [0.5,1.0], [1.0,1.5], ...
You can easily change that code to do loops instead. It has all the
logic how you should do segment seeks for looping or other "special"
playback operations.
--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150524/21f05847/attachment.sig>
More information about the gstreamer-devel
mailing list