Splitting an audio stream

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Splitting an audio stream

favalex
Hi,

I'm new to gstreamer and I'm experimenting with a little toy project: splitting a radio feed
into songs.

I use python. My pipeline is:

  gnomevfssrc location=http://someradio.com iradio-mode=true ! icydemux ! filesink

When I receive a message of type TAG containing a title I set the location of the filesink:

  pipeline.send_event(gst.event_new_eos())
  pipeline.set_state(gst.STATE_NULL)
  filesink.set_property('location', title)
  pipeline.set_state(gst.STATE_READY)
  pipeline.set_state(gst.STATE_PLAYING)

but the data keeps going into the original location.

What's wrong?

Thanks

Gabriele

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel