New answers tagged

0

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 ];


1

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. self.stream = cv2.VideoCapture("rtsp://user:password@{}:525/stream2".format(ip_camera_address)) And ...


1

if you need run USBcam import cv2 cap = cv2.VideoCapture(0) while(True): ret, frame = cap.read() 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@192.168.1.64/1') while(True): ret, ...


Top 50 recent answers are included