This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Python imports | |
#GStreamer imports | |
import pygst | |
pygst.require("0.10") | |
import gst | |
class MjpegCamera(object): | |
pipeline = gst.parse_launch("videotestsrc ! jpegenc ! multipartmux boundary=spionisto ! appsink name=endpoint") | |
def __init__(self): |
NewerOlder