[gst-devel] Gstreamer newbe developer help: udp source

Terry Barnaby terry1 at beam.ltd.uk
Fri Jan 12 14:01:04 CET 2007


Hi,

I am trying to come to speed with gstreamer for a project I am working on.
I have a problem trying to play a UDP MP3 source.
I have setup vlc to stream an mp3 file using raw UDP to a port on my 
local host.
I am then trying to play it with:

gst-launch -v udpsrc port=1234 ! mp3parse ! mad ! alsasink

This results in a quick burst of audio (about 0.25 secs) and then nothing.

If I run:
  gst-launch -v udpsrc port=1234 ! filesink location="b.mp3"

followed by:
  gst-launch -v filesrc location="b.mp3" ! mp3parse ! mad ! alsasink

The sound is fine.
The original command does state: "New clock: GstSystemClock"
rather than "New clock: audioclock0" for the later file play command.

Any pointers as to what I am doing wrong would be appreciated.

Cheers


Terry




More information about the gstreamer-devel mailing list