I have tried a variety of ways to declare a codec but I keep getting the same error. Is there some syntax I am missing that must be included. Thanks for you help, I have included my code below.
def stream_video():
subprocess.run(['libcamera-vid', '-t', '0','--vflip','--hflip','--framerate','21', '--inline', '--listen', '-o', 'tcp://0.0.0.0:5000','--codec', 'h264'])
def stream_video():
subprocess.run(['libcamera-vid', '-t', '0','--vflip','--hflip','--framerate','21', '--inline', '--listen', '-o', 'tcp://0.0.0.0:5000','--codec', 'h264'])
Statistics: Posted by TunnelRobot — Mon Mar 04, 2024 4:54 pm