Thanks for the advice! I looked into it, seems using windows was an issue,
switched to ubuntu and it worked!
Just wondering if you have used opencv for recording purposes?
Or if you know of any python documentation for opencv2?
Information is hard to come by!
Thanks again, Sam
--
Hi Xav,
Iv been looking into OpenCV, i can easily stream my laptops webcam using this
code.
import cv2
cv2.namedWindow(preview)
vc = cv2.VideoCapture(0)
if vc.isOpened(): # try to get the first frame
rval, frame = vc.read()
else:
rval = False
while rval:
cv2.imshow(preview,
Hi Sam,
Did you compile your OpenCV with gstreamer? That's where I'd look first.
Cheers,
Xav
On 18 February 2013 01:15, Sam Berry sambez...@hotmail.co.uk wrote:
Hi Xav,
Iv been looking into OpenCV, i can easily stream my laptops webcam using
this code.
import cv2
Hey,
I have no vast knowledge of python, but i came across this code to capture
video from my IP camera
import urllib2
import time
import logging
print Recording video...
response = urllib2.urlopen(IP Address)
filename = time.strftime(%Y%m%d%H%M%S,time.localtime())+.avi
f = open(filename,
Sam Berry wrote:
Hey,
I have no vast knowledge of python, but i came across this code to capture
video from my IP camera
import urllib2
import time
import logging
print Recording video...
response = urllib2.urlopen(IP Address)
filename =
On 6 February 2013 23:12, Sam Berry sambez...@hotmail.co.uk wrote:
I have no vast knowledge of python, but i came across this code to capture
video from my IP camera
This code works, however when i try to playback the .avi file in VLC
player...
I've been working with several IP cameras
Thank you for the quick reply!
I found this code just from multiple google searches, but yer it mentioned
online video streaming, however my IP camera would be streaming in Mjpeg format
(I thought been able to convert between the two formats seemed way to easy!)
So i'm guessing its just 20mb
Hi,
This is for a university project.
My issue is that i have built an App using pythons Kivy module, and i need to
be able to stream and record from an IP camera upon request.
I have just used the VLC.exe to stream the video feed. But it is the recording
i am having problems with.
I'l look
On 7 February 2013 00:12, Sam Berry sambez...@hotmail.co.uk wrote:
Hi,
This is for a university project.
My issue is that i have built an App using pythons Kivy module, and i need
to be able to stream and record from an IP camera upon request.
I have just used the VLC.exe to stream the