Newbie - Unable to setup udpsrc

Federico Zamperini fzamperini at tiscali.it
Wed Dec 5 06:59:20 PST 2012


You don't have to worry where the UDP packets come from, you just have 
to "listen" on the correct port on your host:

gst-launch-1.0 udpsrc port=1234 ! fakesink

The sender must send the packets to the correct (remote) port:

gst-launch [src ! encoder ! payloader etc. ]  ! udpsink 
host=<receiver_address> port=1234


Il 05/12/2012 15:43, Krzysztof Konopko ha scritto:
> I guess if you used port in the 'uri' property you shouldn't specify it
> again via 'port' property. It's quite possible that udpsrc concatenates
> 'uri' and 'port' and passes the result to some utility function that
> resolves it to IP address and port number.
>
> HTH,
> Kris
>
> On 05/12/12 14:20, Baby Octopus wrote:
>> I'm trying to run a simple udp sink using following command
>>
>> gst-launch-1.0 udpsrc uri=udp://192.168.2.109:1234 port=1234 ! fakesink
>>
>> where 192.168.2.109 in on of the system on the network(Ping to this system
>> works perfectly fine)
>>
>> I get the following error when I run
>>
>> Setting pipeline to PAUSED ...
>> ERROR: Pipeline doesn't want to pause.
>> ERROR: from element /GstPipeline:pipeline0/GstUDPSrc:udpsrc0: Could not
>> get/set settings from/on resource.
>> Additional debug info:
>> gstudpsrc.c(888): gst_udpsrc_start ():
>> /GstPipeline:pipeline0/GstUDPSrc:udpsrc0:
>> bind failed: Error binding to address: Cannot assign requested address
>> Setting pipeline to NULL ...
>> Freeing pipeline ...
>> rsd7 at rsd7-ThinkCentre-M57e:~$
>>
>> What could be the issue?
>>
>> ~BO
>>
>>
>>
>>
>>
>> --
>> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Newbie-Unable-to-setup-udpsrc-tp4657244.html
>> Sent from the GStreamer-devel mailing list archive at Nabble.com.
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
> -----
> Nessun virus nel messaggio.
> Controllato da AVG - www.avg.com
> Versione: 2013.0.2793 / Database dei virus: 2629/5906 -  Data di rilascio: 19/11/2012
> Database dei virus interno non c aggiornato.
>
>


More information about the gstreamer-devel mailing list