Playing next file after another

Stefan Sauer ensonic at hora-obscura.de
Fri Jan 20 06:17:53 PST 2012


On 01/17/2012 06:59 PM, Rossana Guerra wrote:
> Sorry I come intho this conversation, but I had a similar problem. I
> got an error when I did it with video files, it advices me that I
> can't change the state of the pipeline. I tryed to pause and set play
> after setting the URI, but then I got a segmentation faul error.

if you get a segfault, then repeat running your code under gdb and paste
the backtrace here.

Stefan
> Thanks
>
> Rossana
>
> 2012/1/17 Ralph <ralph.gucwa at racelogic.co.uk
> <mailto:ralph.gucwa at racelogic.co.uk>>
>
>
>     Sakurazuka wrote
>     >
>     > Hi.
>     >
>     > In my pipeline mixing music with input from microphone. I have
>     queue of
>     > file paths. I want to open next file after first is finished.
>     How should I
>     > do that?
>     >
>     > I'm using filesrc. Even when I set pipeline to Ready or Null
>     after first
>     > track I got the same warning:
>     >
>     > ** (<unknown>:5232): WARNING **: Changing the `location' property on
>     > filesrc when a file is open is not supported.
>     >
>     > How should I close file then?
>     >
>
>     You should intercept the "about-to-finish" signal and change the
>     URI in the
>     event handler.  I don't have any working example at hand, but I'm
>     pretty
>     sure you should be able to find one after a few minutes of googling.
>
>     --
>     View this message in context:
>     http://gstreamer-devel.966125.n4.nabble.com/Playing-next-file-after-another-tp4303264p4303538.html
>     Sent from the GStreamer-devel mailing list archive at Nabble.com.
>     _______________________________________________
>     gstreamer-devel mailing list
>     gstreamer-devel at lists.freedesktop.org
>     <mailto:gstreamer-devel at lists.freedesktop.org>
>     http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20120120/10c670b5/attachment.html>


More information about the gstreamer-devel mailing list