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

Wim Taymans wim at fluendo.com
Fri Jan 12 14:49:31 CET 2007


On Fri, 2007-01-12 at 13:01 +0000, Terry Barnaby wrote:
> 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.

use sync=false on the alsasink, see
http://bugzilla.gnome.org/show_bug.cgi?id=340842.

Wim
> 
> Cheers
> 
> 
> Terry
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
-- 
Wim Taymans <wim at fluendo.com>





More information about the gstreamer-devel mailing list