[PD] udp stream audio from gstreamer (to puredata)
Martin Peach
martin.peach at sympatico.ca
Thu May 9 17:59:24 CEST 2013
On 2013-05-09 11:19, stéfan piat wrote:
> hello,
>
>
> I try to stream audio (wav) from a rasperry pi with Gstreamer and catch
> it in puredata with [udpreceive~]
>
> I am wondering if this is possible ?
Not really. [udpreceive~] is meant to receive from [udpsend~]. They send
packets of audio samples along with the some parameters and a frame
count. Unless your sender formats the data the same way, it just won't
work. The thing to do would be send using a [udpsend~] in the Pi, or
else find out what gstreamer is sending and write an external to decode
that inside of Pd ;)
Martin
>
> To stream I use the following command :
> /gst-launch-1.0 -v alsasrc device=hw:1,0 ! udpsink host=192.168.2.102
> port=5001/
>
> when I send the message [info( to [udpreceive~] I can see there is see
> something coming from the pi but I don't succeed to get any sound...
>
> in the pd-window I got the following error message: /udpreceive~: bad
> header tag (1)/
>
> I guess itś related to the blocksize argument and I miss some arguments
> in gstreamer to communicate ?
>
>
> thanks you for your help
>
> stéfan
>
>
>
>
>
>
>
>
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
>
More information about the Pd-list
mailing list