Answers for "video steganography using python"

0

video steganography using python

cap1 = cv2.VideoCapture("originalfile.mp4")
print cap1.get(cv2.cv.CV_CAP_PROP_FPS)
cap = cv2.VideoCapture("/%0d.png")
fourcc = cv2.cv.CV_FOURCC(*'XVID')
out = cv2.VideoWriter('stego_video.avi', fourcc, cap1.get(cv2.cv.CV_CAP_PROP_FPS), (1280,720))
i=0
while True:
    ret, frame = cap.read()
    out.write(frame)
    i+=1
    if cv2.waitKey(1) & i<132:
        i+=1
    if cv2.waitKey(1) & i==132:
        break
cap.release()
out.release()
cv2.destroyAllWindows()
Posted by: Guest on September-06-2021

Code answers related to "video steganography using python"

Python Answers by Framework

Browse Popular Code Answers by Language