Continuos playbak in 1.6
Jesus
observer1 at hotmail.es
Tue Feb 16 18:00:57 UTC 2016
Not exactly the server is a mpd server it plays music files one after the other in the same stream so the stream never ends I have noticed it sends something like eos betwen songs I don't remember clearly, the thing is that in 1.4.5 this works as "I expect" the stream never ends and so the playbin never stops but in 1.6 the bin stops playing with every diferent music, I have checked the pipeline status and it says is playing but there is no sound, using gst-launch with the same playbin it plays continuously it only buffers a lot betwen songs
________________________________________
De: gstreamer-devel <gstreamer-devel-bounces at lists.freedesktop.org> en nombre de Sebastian Dröge <sebastian at centricular.com>
Enviado: martes, 16 de febrero de 2016 17:09
Para: Discussion of the development of and with GStreamer
Asunto: Re: Continuos playbak in 1.6
On Di, 2016-02-16 at 16:29 +0000, Jesus wrote:
> Hi
>
> Thats the program I use for my tests the only thing missing is the
> attached makefile, I don't change the uri because it doesn't change
> the next file is played in the same stream and because I don't know
> where to change it, I tried to change when the status was
> void_pending but the only diference is that the uri is not null but
> it doesn't play, I tried to use the about to finish signal but I'm
> not sure if I did it right, the signal never fired maybe because is a
> live stream, the uri is passed to the program only once at program
> start.
In your code it just plays the file from beginning to end and then does
nothing anymore. If you want to restart playback at the end (i.e. when
receiving the EOS message), you could either do a flushing seek to the
beginning again and set the pipeline back to PLAYING, or just set the
pipeline to READY and then PLAYING again, or alternatively do something
with segment seeks.
--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
More information about the gstreamer-devel
mailing list