[PD] IP camera and pidip

ydegoyon at free.fr ydegoyon at free.fr
Fri Apr 11 03:42:02 CEST 2008


let's see, does your ip cam delivers you a stream in the form of
http://ip:port/something.someformat ??
where someformat = mp4, mpg, ogg ?

in that case, you can use that solution :

in a  shell script :

rm /tmp/pipe
mknod /tmp/pipe p
mencoder -nosound -ovc raw -of rawvideo -vf format=rgb24,crop=320:240 
http://ip:port/something.someformat -o /tmp/pipe

in pd :

pdp_rawin /tmp/pipe bitmap/rgb/320x240


t'es in t'es bat wrote:

> Thanks for answer,
> .....but i hope to realize a stream, i need it for my concept,
> Anyone have a strategy to get the ip camera stream in mjpeg in pdip
> for pdp_canvas
> Or do i have to use another lib for that job????

More information about the Pd-list mailing list