New answers tagged


Never mind. Looks like I needed to add the -vcodec parameter. var params = [ '-i', 'pipe:0', // Tell avconv to expect an input stream (via its stdin) '-f', 'flv', '-vcodec', 'copy', '-strict', 'experimental', URL ];


I install opencv again [best link for install this] and i try to install FFmpeg from repository. affter installation of ffmepg i tried to read ipcamera video stream with this script Note : after finshing opencv cmake, FFmpeg subitems most all get YES. = cv2.VideoCapture("rtsp://user:password@{}:525/stream2".format(ip_camera_address)) And ...


if you need run USBcam import cv2 cap = cv2.VideoCapture(0) while(True): ret, frame = cv2.imshow('frame',frame) if cv2.waitKey(1) & 0xFF == ord('q'): break cap.release() cv2.destroyAllWindows() if you need run IPcam import cv2 cap = cv2.VideoCapture('rtsp://username:password@') while(True): ret, ...

Top 50 recent answers are included