python - Doing anything useful with audio with opencv? -
i'm attempting have fun ip photographic camera using python , opencv. photographic camera outputs rtsp stream contains audio. here's code.
import cv video = cv.capturefromfile("rtsp://admin:1234@cam_door/ipcam.sdp") cv.namedwindow("ip camera", cv.cv_window_autosize) while true: cv.grabframe(video) frame = cv.retrieveframe(video) cv.showimage("ip camera", frame) cv.waitkey(50)
this works , see cameras stream fine, problem, of course of study sound exclusively stripped stream. :(
how do useful audio, save whole thing file, without loosing audio?
python opencv
No comments:
Post a Comment