rojline.set_property("gain", 12000) #--------------------------------------------------------------------------------- rojolsa = Gst.ElementFactory.make("rojolsa", "olsa0") pipeline.add(rojolsa) #--------------------------------------------------------------------------------- fakesink = Gst.ElementFactory.make("fakesink", "sink0") pipeline.add(fakesink) ######################################################################################## # link... import groj groj.link(fakesrc, rojpointer, rojline, rojolsa, fakesink) ######################################################################################## ret = pipeline.set_state(Gst.State.PLAYING) assert ret != Gst.StateChangeReturn.FAILURE, "error: play" try: import signal signal.pause() except KeyboardInterrupt: pipeline.set_state(Gst.State.NULL) print("CTRL-C")
#rojscreen.set_property("mode", "lin") rojscreen.set_property("mode", "log") rojscreen.set_property("wscr", 888) rojscreen.set_property("hscr", 800) rojscreen.set_property("update", 10) rojscreen.set_property("channel", 1) rojscreen.set_property("oval", -30) #--------------------------------------------------------------------------------- fakesink = Gst.ElementFactory.make("fakesink", "sink0") pipeline.add(fakesink) ######################################################################################## # link... import groj groj.link(fakesrc, rojload, rojparcel, rojreass, rojraster, rojkadr, rojscreen, fakesink) ######################################################################################## ret = pipeline.set_state(Gst.State.PLAYING) assert ret != Gst.StateChangeReturn.FAILURE, "error: play" try: import signal signal.pause() except KeyboardInterrupt: pipeline.set_state(Gst.State.NULL) print("CTRL-C")
#rojscreen.set_property("mode", "lin") rojscreen.set_property("mode", "log") rojscreen.set_property("wscr", 1192) rojscreen.set_property("hscr", 600) rojscreen.set_property("update", 10) rojscreen.set_property("channel", 1) rojscreen.set_property("oval", -30) #--------------------------------------------------------------------------------- fakesink = Gst.ElementFactory.make("fakesink", "sink0") pipeline.add(fakesink) ######################################################################################## # link... import groj groj.link(fakesrc, rojload, rojparcel, rojstft, rojconvert, rojkadr, rojscreen, fakesink) ######################################################################################## ret = pipeline.set_state(Gst.State.PLAYING) assert ret != Gst.StateChangeReturn.FAILURE, "error: play" try: import signal signal.pause() except KeyboardInterrupt: pipeline.set_state(Gst.State.NULL) print("CTRL-C")
#rojscreen.set_property("mode", "lin") rojscreen.set_property("mode", "log") #rojscreen.set_property("wscr", 1100) rojscreen.set_property("hscr", 900) rojscreen.set_property("update", 3) rojscreen.set_property("channel", 1) rojscreen.set_property("oval", -30) #--------------------------------------------------------------------------------- fakesink = Gst.ElementFactory.make("fakesink", "sink0") pipeline.add(fakesink) ######################################################################################## # link... import groj groj.link(fakesrc, rojgener, rojnoise, rojfilter, rojparcel, rojstft, rojconvert, rojscreen, fakesink) ######################################################################################## ret = pipeline.set_state(Gst.State.PLAYING) assert ret != Gst.StateChangeReturn.FAILURE, "error: play" try: import signal signal.pause() except KeyboardInterrupt: pipeline.set_state(Gst.State.NULL) print("CTRL-C")
#rojscreen.set_property("wscr", 1100) rojscreen.set_property("hscr", 900) rojscreen.set_property("update", 3) rojscreen.set_property("channel", 1) rojscreen.set_property("oval", -30) #--------------------------------------------------------------------------------- fakesink = Gst.ElementFactory.make("fakesink", "sink0") pipeline.add(fakesink) ######################################################################################## # link... import groj groj.link(fakesrc, rojgener, rojnoise, rojfilter, rojparcel, rojstft, rojconvert, rojscreen, fakesink) ######################################################################################## ret = pipeline.set_state(Gst.State.PLAYING) assert ret != Gst.StateChangeReturn.FAILURE, "error: play" try: import signal signal.pause() except KeyboardInterrupt: pipeline.set_state(Gst.State.NULL) print("CTRL-C")
rojscreen.set_property("mode", "log") rojscreen.set_property("wscr", 987) rojscreen.set_property("hscr", 900) rojscreen.set_property("update", 10) rojscreen.set_property("channel", 1) rojscreen.set_property("oval", -30) #--------------------------------------------------------------------------------- fakesink = Gst.ElementFactory.make("fakesink", "sink0") pipeline.add(fakesink) ######################################################################################## # link... import groj groj.link(fakesrc, rojload, rojparcel, rojtransform, rojconvert, rojscreen, fakesink) ######################################################################################## ret = pipeline.set_state(Gst.State.PLAYING) assert ret != Gst.StateChangeReturn.FAILURE, "error: play" try: import signal signal.pause() except KeyboardInterrupt: pipeline.set_state(Gst.State.NULL) print("CTRL-C")
rojscreen.set_property("wscr", 1192) rojscreen.set_property("hscr", 600) rojscreen.set_property("update", 10) rojscreen.set_property("channel", 1) rojscreen.set_property("oval", -30) # --------------------------------------------------------------------------------- fakesink = Gst.ElementFactory.make("fakesink", "sink0") pipeline.add(fakesink) ######################################################################################## # link... import groj groj.link(fakesrc, rojload, rojparcel, rojstft, rojconvert, rojkadr, rojscreen, fakesink) ######################################################################################## ret = pipeline.set_state(Gst.State.PLAYING) assert ret != Gst.StateChangeReturn.FAILURE, "error: play" try: import signal signal.pause() except KeyboardInterrupt: pipeline.set_state(Gst.State.NULL) print("CTRL-C")
#rojscreen.set_property("mode", "lin") rojscreen.set_property("mode", "log") #rojscreen.set_property("wscr", 1100) rojscreen.set_property("hscr", 1024) rojscreen.set_property("update", 3) rojscreen.set_property("channel", 1) rojscreen.set_property("oval", -30) #--------------------------------------------------------------------------------- fakesink = Gst.ElementFactory.make("fakesink", "sink0") pipeline.add(fakesink) ######################################################################################## # link... import groj groj.link(fakesrc, rojpointer, rojfilter, rojparcel, rojstft, rojconvert, rojscreen, fakesink) ######################################################################################## ret = pipeline.set_state(Gst.State.PLAYING) assert ret != Gst.StateChangeReturn.FAILURE, "error: play" try: import signal signal.pause() except KeyboardInterrupt: pipeline.set_state(Gst.State.NULL) print("CTRL-C")
#rojscreen.set_property("wscr", 1100) rojscreen.set_property("hscr", 1024) rojscreen.set_property("update", 3) rojscreen.set_property("channel", 1) rojscreen.set_property("oval", -30) #--------------------------------------------------------------------------------- fakesink = Gst.ElementFactory.make("fakesink", "sink0") pipeline.add(fakesink) ######################################################################################## # link... import groj groj.link(fakesrc, rojpointer, rojfilter, rojparcel, rojstft, rojconvert, rojscreen, fakesink) ######################################################################################## ret = pipeline.set_state(Gst.State.PLAYING) assert ret != Gst.StateChangeReturn.FAILURE, "error: play" try: import signal signal.pause() except KeyboardInterrupt: pipeline.set_state(Gst.State.NULL) print("CTRL-C")
rojline = Gst.ElementFactory.make("rojline", "line0") pipeline.add(rojline) rojline.set_property("gain", 12000) #--------------------------------------------------------------------------------- rojolsa = Gst.ElementFactory.make("rojolsa", "olsa0") pipeline.add(rojolsa) #--------------------------------------------------------------------------------- fakesink = Gst.ElementFactory.make("fakesink", "sink0") pipeline.add(fakesink) ######################################################################################## # link... import groj groj.link(fakesrc, rojpointer, rojline, rojolsa, fakesink) ######################################################################################## ret = pipeline.set_state(Gst.State.PLAYING) assert ret != Gst.StateChangeReturn.FAILURE, "error: play" try: import signal signal.pause() except KeyboardInterrupt: pipeline.set_state(Gst.State.NULL) print("CTRL-C")
rojline.set_property("gain", 12000) #--------------------------------------------------------------------------------- rojolsa = Gst.ElementFactory.make("rojolsa", "olsa0") pipeline.add(rojolsa) #--------------------------------------------------------------------------------- fakesink = Gst.ElementFactory.make("fakesink", "sink0") pipeline.add(fakesink) ######################################################################################## # link... import groj groj.link(fakesrc, rojgener, rojline, rojolsa, fakesink) ######################################################################################## ret = pipeline.set_state(Gst.State.PLAYING) assert ret != Gst.StateChangeReturn.FAILURE, "error: play" try: import signal signal.pause() except KeyboardInterrupt: pipeline.set_state(Gst.State.NULL) print("CTRL-C")
rojscreen.set_property("wscr", 1100) rojscreen.set_property("hscr", 800) rojscreen.set_property("update", 10) rojscreen.set_property("channel", 1) rojscreen.set_property("oval", -30) #--------------------------------------------------------------------------------- fakesink = Gst.ElementFactory.make("fakesink", "sink0") pipeline.add(fakesink) ######################################################################################## # link... import groj groj.link(fakesrc, queue, rojgener, rojfilter0, rojline, rojfilter1, rojparcel, rojstft, rojconvert, rojscreen, fakesink) ######################################################################################## ret = pipeline.set_state(Gst.State.PLAYING) assert ret != Gst.StateChangeReturn.FAILURE, "error: play" try: import signal signal.pause() except KeyboardInterrupt: pipeline.set_state(Gst.State.NULL) print("CTRL-C")