[gst-devel] Splitting an audio stream

favalex at gmail.com favalex at gmail.com
Fri Aug 29 17:14:00 CEST 2008


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




More information about the gstreamer-devel mailing list