Streaming a filesrc to udpsink

Marc Olzheim marc at your.tv
Wed Jul 3 00:04:51 PDT 2013


On Tue, Jul 02, 2013 at 06:37:23AM -0700, Wes Miller wrote:
> I have a server at 10.253.5.153:10000 that accepts an mpegts encoded stream
> over udp.  I want to play an mpeg file to this server.  I tried:
> 
> gst-launch \
>         filesrc location="/home/wmiller/Music/Romance.mp3" 
>      ! decodebin2 caps=audio/mpeg,width=16,depth=16 
>      ! identity 
>      ! mpegtsmux 
>      ! udpsink host=10.253.5.153  port=10000 
> 
> This pipeline does ot "fail" but it plays in about 2 seconds and reports
> that it got eos from the pipeline0.
> 
> What am I missing?

You are missing that there is nothing enforcing the stream to be sent
out at playback speed, so it will send it out as fast as it possibly
can...

Marc


More information about the gstreamer-devel mailing list