Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.032 X-Spam-Evidence: '*H*': 0.94; '*S*': 0.00; 'see.': 0.07; 'cc:addr:googlegroups.com': 0.09; 'fetch': 0.09; 'cc:addr:python- list': 0.10; 'feed.': 0.16; 'from:addr:xavierho.com': 0.16; 'from:name:xavier ho': 0.16; 'sender:addr:spaxe85': 0.16; 'subject:Recording': 0.16; 'subject:issue': 0.16; 'wrote:': 0.17; 'module,': 0.17; 'sender:addr:gmail.com': 0.18; 'app': 0.19; 'cheers,': 0.23; 'cc:no real name:2**0': 0.24; 'cc:2**1': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'object,': 0.27; 'message-id:@mail.gmail.com': 0.27; 'record': 0.28; 'case,': 0.29; 'hi,': 0.33; 'received:google.com': 0.34; 'thanks': 0.34; 'received:209.85': 0.35; 'but': 0.36; 'method': 0.36; 'should': 0.36; 'problems': 0.36; 'received:209': 0.37; 'subject:: ': 0.38; 'university': 0.38; 'request.': 0.64; 'video': 0.65; 'camera': 0.65; 'sam': 0.65; 'header:Reply-To:1': 0.68; 'reply-to:no real name:2**0': 0.72; '2013': 0.84; 'berry': 0.84; 'reply-to:addr:contact': 0.84; 'subject:live': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:reply-to:sender:in-reply-to:references:from :date:x-google-sender-auth:message-id:subject:to:cc:content-type; bh=KGY1DXlPkK32R9bmb/JIObUTcSoYIXYXFeHBCRzqICc=; b=A3NUnMko+4efLPAJEjuDH64hOX82Pc4qQKw9ofSDnMBmw5x36k/j4COFb9srpDRier D/UJ7uoHW/C1ClNOnyvHWktBU/l8YsD5LlzvCuHEY2cGSB77bs40hUc5HQFlWMzeesOt t+sztgpL+92bUHB+cfqzmkE6LhT9yTLJO+OnZMbqjfNUNkPzWkXHKX1KbKYLATGyctdG Ut28a/y0+BIwXf4Q/2IEWw6IJdTGJPXfPerZEr/SJKDqrsJFcvl76poh7R0Ee48QmmX2 fQiLLXYG7EsIC5clfcK8gBWttlVy8t1Re+tuXjkPNPCAfTOBezL73XMtKhI+pJYqTSBW Aapg== X-Received: by 10.112.28.9 with SMTP id x9mr11411099lbg.27.1360161327652; Wed, 06 Feb 2013 06:35:27 -0800 (PST) MIME-Version: 1.0 Sender: spaxe85@gmail.com In-Reply-To: <9c18d916-839c-4335-a6fa-c61fd87bd380@googlegroups.com> References: <9c18d916-839c-4335-a6fa-c61fd87bd380@googlegroups.com> From: Xavier Ho Date: Thu, 7 Feb 2013 01:35:07 +1100 X-Google-Sender-Auth: ObZCU_Cv2u5naA7oZ0N2DPTb5JI Subject: Re: Recording live video stream from IP camera issue To: Sam Berry Content-Type: multipart/alternative; boundary=bcaec554dd00c59f4004d50f3c85 Cc: "python-list@python.org" , comp.lang.python@googlegroups.com X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: contact@xavierho.com List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 58 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1360161337 news.xs4all.nl 6937 [2001:888:2000:d::a6]:49392 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:38278 --bcaec554dd00c59f4004d50f3c85 Content-Type: text/plain; charset=UTF-8 On 7 February 2013 00:12, Sam Berry 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 video feed. But it is the > recording i am having problems with. > > I'l look into OpenCV, thanks for the help! > > Sam > I see. In that case, cv2.VideoCapture(ip_address) should return you a video object, which you can check for status and use its .read() method to fetch a frame. :] Cheers, Xav --bcaec554dd00c59f4004d50f3c85 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On 7 February 2013 00:12, Sam Berry <= sambez_14@hotm= ail.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 video feed. But it is the record= ing i am having problems with.

I'l look into OpenCV, thanks for the help!

Sam

I see. =C2=A0In= that case, cv2.VideoCapture(ip_address) should return you a video object, = which you can check for status and use its .read() method to fetch a frame.= :]

Cheers,
Xav=C2=A0

--bcaec554dd00c59f4004d50f3c85--