Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!217.188.199.168.MISMATCH!takemy.news.telefonica.de!telefonica.de!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.046 X-Spam-Evidence: '*H*': 0.91; '*S*': 0.00; 'python.': 0.02; 'parameters': 0.04; 'subject:using': 0.09; 'subject:videos': 0.09; 'posted': 0.15; 'from:addr:torriem': 0.16; 'from:name:michael torrie': 0.16; 'subject:python': 0.16; 'wrote:': 0.18; 'manual': 0.22; 'header:User-Agent:1': 0.23; 'instance,': 0.24; 'videos,': 0.24; 'player': 0.26; 'defined': 0.27; 'header:In-Reply-To:1': 0.27; 'wondering': 0.29; 'subject:) ': 0.29; 'streaming': 0.30; "i'm": 0.30; 'page.': 0.31; 'parameters.': 0.31; 'post.': 0.31; 'could': 0.34; 'problem': 0.35; 'subject: (': 0.35; 'problem.': 0.35; 'but': 0.35; 'there': 0.35; 'application': 0.37; 'too': 0.37; 'sometimes': 0.38; 'message-id:@gmail.com': 0.38; 'to:addr :python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'how': 0.40; 'solve': 0.60; 'mentioned': 0.61; 'charset:windows-1252': 0.65; 'broadcast': 0.68; 'flash': 0.69; 'goal': 0.75; 'areas.': 0.84; 'different.': 0.84; 'gabriel': 0.84; 'urban': 0.91 X-Virus-Scanned: amavisd-new at torriefamily.org Date: Mon, 02 Feb 2015 20:12:53 -0700 From: Michael Torrie User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: python-list@python.org Subject: Re: Downloading videos (in flash applications) using python References: <317e4983-7deb-4557-91d3-00c9e3991739@googlegroups.com> <40193f0c-fe96-423b-9cf8-8b0e98530613@googlegroups.com> <87vbjk15id.fsf@jester.gateway.sonic.net> <54cfd799$0$2831$e4fe514c@news2.news.xs4all.nl> <9b2d7ee4-2f2f-4e14-9a2c-7d1531147280@googlegroups.com> In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list 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: 19 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1422934265 news.xs4all.nl 2829 [2001:888:2000:d::a6]:59284 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:85118 On 02/02/2015 04:21 PM, Gabriel Ferreira wrote: > The problem is that this particular website uses a flash player > application do broadcast the live images of the urban areas. I'm not > too familiar with Flash Applications. I don't know how to deal with > them using Python. I was wondering if someone could help me solve > this problem. The goal is recording & downloading those videos, from > the mentioned website. And, yes, it has to be an automated program > (no manual work). As I said before you need to look into the RTP protocol. There are utilities for proxying and dumping the stream parameters. Once they are known you can pull them in using rtmpdump. Sometimes the stream parameters can be determined from the web page. get_iplayer, for instance, can create rtp parameters for BBC programs and then stream them with rtmpdump, since the parameters seem to be well defined and consistent. But every streaming site is going to be different. I posted the link to the rtmpdump utilities in my other post. You may be to drive rtmpdump from Python.