[gst-devel] Streaming MP3 Problem

Ciongoli, Charles CCiongoli at viewpoint.org
Mon May 12 11:43:16 CEST 2003


Hello.  I am running GStreamer 0.6.1 on RedHat Linux 8.0.  I have used
APT and installed the gstreamer-universe so I could just have everything
ready at my fingertips.  I am both using commandline and writing code.
Right
now I am trying to get one computer to stream to another, however it is not
working like it should.  On the client computer, I have run this in the
command line: "gst-launch udpsrc ! mad ! osssink".  The client runs the
pipeline and sits and waits.  I then go to the server and run
"gst-launch filesrc location=a.mp3 ! udpsink host=192.168.0.255" (or server
first 
and client second, makes no difference in results).  The server begins
streaming and I here the song beginning to play on the client.  All of a
sudden (after about 1-2 seconds) the server pipeline stops and the song
playing cuts off with a sound as if you were pulling a vinyl off a
phonograph while it was playing.  The same thing happens when I enter
this into C code, compile, and run the program.  I then tried running this
line on the server "gst-launch filesrc location=a.mp3 ! mp3parse ! udpsink
host=192.168.0.255" and the same thing happens again (the song plays
on the client for about a half a second longer).

This is wgat the server returns:

[root at localhost test]# gst-launch filesrc location=a.mp3 ! mp3parse !
udpsink host=10.255.255.255
INFO ( 1972: 0) Initializing GStreamer Core Library version 0.6.0
INFO ( 1972: 0) CPU features: (00000000) MMX SSE
registry: loaded user_registry in 0.000151 seconds
          (/root/.gstreamer/registry.xml)
registry: loaded global_registry in 0.174187 seconds
          (/var/cache/gstreamer-0.6/registry.xml)
GStreamer-INFO: 0 live buffer(s)
GStreamer-INFO: 0 live bufferpool(s)
GStreamer-INFO: 0 live event(s)
RUNNING pipeline
execution ended after 10121 iterations (sum 306369000 ns, average 30270 ns,
min 2000 ns, max 13244000 ns)
GStreamer-INFO: 828 live buffer(s)
GStreamer-INFO: 0 live bufferpool(s)
GStreamer-INFO: 0 live event(s)
[root at localhost test]# 


Has anyone had this problem? What is it that I am doing wrong?  Thanks in
advance.

-C3 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20030512/2d03031d/attachment.htm>


More information about the gstreamer-devel mailing list