Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #39030
| Path | csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!newsfeed.eweka.nl!eweka.nl!feeder3.eweka.nl!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <sambez_14@hotmail.co.uk> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.016 |
| X-Spam-Evidence | '*H*': 0.97; '*S*': 0.00; 'else:': 0.03; 'exit': 0.07; 'issue?': 0.09; 'to:addr:comp.lang.python': 0.09; 'cc:addr :python-list': 0.10; 'appreciated!': 0.16; 'rval': 0.16; 'subject:Recording': 0.16; 'subject:issue': 0.16; 'webcam': 0.16; 'thanks,': 0.18; 'load': 0.19; 'code.': 0.20; 'import': 0.21; 'cc:no real name:2**0': 0.24; 'cc:addr:python.org': 0.25; 'header :In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'cc:2**2': 0.27; 'lines': 0.28; 'url:non-standard http port': 0.30; 'code': 0.31; 'received:google.com': 0.34; 'false': 0.35; 'feed': 0.35; 'there': 0.35; 'method': 0.36; 'subject:: ': 0.38; 'some': 0.38; 'easily': 0.39; 'help': 0.40; 'address': 0.60; 'first': 0.61; 'url:ip addr': 0.62; 'video': 0.65; 'camera': 0.65; 'from:addr:hotmail.co.uk': 0.65; 'sam': 0.65; 'url:cgi': 0.65; 'subject:live': 0.84 |
| X-Received | by 10.49.81.72 with SMTP id y8mr439075qex.42.1361110525779; Sun, 17 Feb 2013 06:15:25 -0800 (PST) |
| Newsgroups | comp.lang.python |
| Date | Sun, 17 Feb 2013 06:15:25 -0800 (PST) |
| In-Reply-To | <mailman.1411.1360161337.2939.python-list@python.org> |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | glegroupsg2000goo.googlegroups.com; posting-host=83.100.234.232; posting-account=TejjHAoAAADkS2KGneh-APCsC96PgtnN |
| References | <ffa5fb6e-2d2c-484c-bfae-1014f1d0ebcc@googlegroups.com> <CALWePYzjYYHErKdd=ZNw78rn5kZv2uQMKLSvJ4Fm_qH=sv3yRQ@mail.gmail.com> <mailman.1407.1360154390.2939.python-list@python.org> <9c18d916-839c-4335-a6fa-c61fd87bd380@googlegroups.com> <mailman.1411.1360161337.2939.python-list@python.org> |
| User-Agent | G2/1.0 |
| X-Google-Web-Client | true |
| X-Google-IP | 83.100.234.232 |
| MIME-Version | 1.0 |
| Subject | Re: Recording live video stream from IP camera issue |
| From | Sam Berry <sambez_14@hotmail.co.uk> |
| To | comp.lang.python@googlegroups.com |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Cc | "python-list@python.org" <python-list@python.org> |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Message-ID | <mailman.1895.1361110534.2939.python-list@python.org> (permalink) |
| Lines | 29 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1361110534 news.xs4all.nl 6893 [2001:888:2000:d::a6]:44707 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:39030 |
Show key headers only | View raw
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", frame)
rval, frame = vc.read()
key = cv2.waitKey(20)
if key == 27: # exit on ESC
break
However using the cv2.Videocapture(ip_address) method will not load my IP camera video feed into the new window. I can view the stream in any web browser or VLC using the IP address http://192.168.1.72:1025/videostream.cgi?user=&pwd=&resolution=8.
Did you have this issue? Is there some lines of code i may need to add?
Any help would be appreciated!
Thanks, Sam
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Recording live video stream from IP camera issue Sam Berry <sambez_14@hotmail.co.uk> - 2013-02-06 04:12 -0800
Re: Recording live video stream from IP camera issue Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-02-06 23:26 +1100
Re: Recording live video stream from IP camera issue Sam Berry <sambez_14@hotmail.co.uk> - 2013-02-06 04:36 -0800
Fwd: Recording live video stream from IP camera issue Xavier Ho <contact@xavierho.com> - 2013-02-06 23:39 +1100
Re: Recording live video stream from IP camera issue Sam Berry <sambez_14@hotmail.co.uk> - 2013-02-06 05:12 -0800
Re: Recording live video stream from IP camera issue Xavier Ho <contact@xavierho.com> - 2013-02-07 01:35 +1100
Re: Recording live video stream from IP camera issue Sam Berry <sambez_14@hotmail.co.uk> - 2013-02-17 06:15 -0800
Re: Recording live video stream from IP camera issue Xavier Ho <contact@xavierho.com> - 2013-02-18 06:57 +1100
Re: Recording live video stream from IP camera issue Sam Berry <sambez_14@hotmail.co.uk> - 2013-02-17 06:15 -0800
Re: Recording live video stream from IP camera issue Sam Berry <sambez_14@hotmail.co.uk> - 2013-02-06 05:12 -0800
Re: Recording live video stream from IP camera issue Sam Berry <sambez_14@hotmail.co.uk> - 2013-02-18 05:03 -0800
csiph-web