<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>Streaming MP3 Problem</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2>Hello. I am running GStreamer 0.6.1 on RedHat Linux 8.0. I have used</FONT>
<BR><FONT SIZE=2>APT and installed the gstreamer-universe so I could just have everything</FONT>
<BR><FONT SIZE=2>ready at my fingertips. I am both using commandline and writing code. Right</FONT>
<BR><FONT SIZE=2>now I am trying to get one computer to stream to another, however it is not</FONT>
<BR><FONT SIZE=2>working like it should. On the client computer, I have run this in the</FONT>
<BR><FONT SIZE=2>command line: "gst-launch udpsrc ! mad ! osssink". The client runs the</FONT>
<BR><FONT SIZE=2>pipeline and sits and waits. I then go to the server and run</FONT>
<BR><FONT SIZE=2>"gst-launch filesrc location=a.mp3 ! udpsink host=192.168.0.255" (or server first </FONT>
<BR><FONT SIZE=2>and client second, makes no difference in results). The server begins</FONT>
<BR><FONT SIZE=2>streaming and I here the song beginning to play on the client. All of a</FONT>
<BR><FONT SIZE=2>sudden (after about 1-2 seconds) the server pipeline stops and the song</FONT>
<BR><FONT SIZE=2>playing cuts off with a sound as if you were pulling a vinyl off a</FONT>
<BR><FONT SIZE=2>phonograph while it was playing. The same thing happens when I enter</FONT>
<BR><FONT SIZE=2>this into C code, compile, and run the program. I then tried running this</FONT>
<BR><FONT SIZE=2>line on the server "gst-launch filesrc location=a.mp3 ! mp3parse ! udpsink</FONT>
<BR><FONT SIZE=2>host=192.168.0.255" and the same thing happens again (the song plays</FONT>
<BR><FONT SIZE=2>on the client for about a half a second longer).</FONT>
</P>
<P><FONT SIZE=2>This is wgat the server returns:</FONT>
</P>
<P><FONT SIZE=2>[root@localhost test]# gst-launch filesrc location=a.mp3 ! mp3parse !</FONT>
<BR><FONT SIZE=2>udpsink host=10.255.255.255</FONT>
<BR><FONT SIZE=2>INFO ( 1972: 0) Initializing GStreamer Core Library version 0.6.0</FONT>
<BR><FONT SIZE=2>INFO ( 1972: 0) CPU features: (00000000) MMX SSE</FONT>
<BR><FONT SIZE=2>registry: loaded user_registry in 0.000151 seconds</FONT>
<BR><FONT SIZE=2> (/root/.gstreamer/registry.xml)</FONT>
<BR><FONT SIZE=2>registry: loaded global_registry in 0.174187 seconds</FONT>
<BR><FONT SIZE=2> (/var/cache/gstreamer-0.6/registry.xml)</FONT>
<BR><FONT SIZE=2>GStreamer-INFO: 0 live buffer(s)</FONT>
<BR><FONT SIZE=2>GStreamer-INFO: 0 live bufferpool(s)</FONT>
<BR><FONT SIZE=2>GStreamer-INFO: 0 live event(s)</FONT>
<BR><FONT SIZE=2>RUNNING pipeline</FONT>
<BR><FONT SIZE=2>execution ended after 10121 iterations (sum 306369000 ns, average 30270 ns,</FONT>
<BR><FONT SIZE=2>min 2000 ns, max 13244000 ns)</FONT>
<BR><FONT SIZE=2>GStreamer-INFO: 828 live buffer(s)</FONT>
<BR><FONT SIZE=2>GStreamer-INFO: 0 live bufferpool(s)</FONT>
<BR><FONT SIZE=2>GStreamer-INFO: 0 live event(s)</FONT>
<BR><FONT SIZE=2>[root@localhost test]# </FONT>
</P>
<BR>
<P><FONT SIZE=2>Has anyone had this problem? What is it that I am doing wrong? Thanks in advance.</FONT>
</P>
<P><FONT SIZE=2>-C3</FONT>
</P>
</BODY>
</HTML>