On Fri, Apr 11, 2008 at 03:42:02AM +0200, ydegoyon@free.fr wrote:
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
that is more|less what i use, except i have to transcode mjpeg to mp4, ogg or mpeg, because if i try to push mjpeg into the pipe, pdp_rawin is crashing. Is it possible for [pdp_rawin] to set different type?
|||Ctrl + Alt + Back|||
|||restart your view|||