[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[pygame] PyPanda/ Webcam info



Panagiotis Halatsakos writes:
 > Hi guys!
 > 
 > I am wondering with what program does the broadcasting of the
 > streaming video, on the PyPanda program. I am interested in making
 > something similar, but I can't do this with windows media encoder,
 > or the program that comes with my webcam.
 > 


Hi, I'm the author of PyPanda. It doesn't actually involve streaming
video in the usual sense - the San Diego Zoo Pandacam just sends a
series of jpg images, one after another, in the hopes that the
receiving browser can deal with that.  All I do is connect to the
server, grab one image byte by byte, detect the end of the image file,
assemble the bytes into the jpg format, then display it, and wait for
the next image.

So, if the 'video' you're interested in is composed of a series of
unconnected image files, you can use my technique - the code for
pyPanda may help you get started.  However, if your source is actually
sending 'streaming video' of a more sophisticated type, I'm afraid
you're going to have to identify the format and do some reading :)

-- 
David Clark
Futility on #pygame at irc.openprojects.net

____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org