Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #95345

Re: Real-time recoding of video from asx to non-Windows formats

Path csiph.com!eternal-september.org!feeder.eternal-september.org!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <torriem+gmail@torriefamily.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.013
X-Spam-Evidence '*H*': 0.97; '*S*': 0.00; 'bash': 0.07; 'subject:Windows': 0.09; 'themselves,': 0.09; 'transcode': 0.09; 'transcoding': 0.09; 'python': 0.10; 'python.': 0.11; '12:04': 0.16; 'assist.': 0.16; 'from:addr:torriem': 0.16; 'from:name:michael torrie': 0.16; 'linux-': 0.16; 'stream.': 0.16; 'subject:non': 0.16; 'wrote:': 0.16; 'linux,': 0.18; 'script.': 0.18; 'windows': 0.20; 'fairly': 0.22; "aren't": 0.22; 'am,': 0.23; 'header:In-Reply-To:1': 0.24; 'sort': 0.25; 'module': 0.25; 'script': 0.25; 'header:User-Agent:1': 0.26; 'command': 0.26; 'linux': 0.26; 'streaming': 0.27; "i'm": 0.30; 'connection': 0.30; "i'd": 0.31; 'primary': 0.31; 'maybe': 0.33; 'driven': 0.33; 'message-id:@gmail.com': 0.34; 'server': 0.34; 'could': 0.35; 'subject:time': 0.35; 'but': 0.36; 'tool': 0.36; 'to:addr:python- list': 0.36; 'subject:: ': 0.37; 'say': 0.37; 'received:org': 0.37; 'things': 0.38; 'subject:from': 0.39; 'enough': 0.39; 'received:192': 0.39; 'subject:-': 0.39; 'to:addr:python.org': 0.40; 'easy': 0.60; 'your': 0.60; 'devices': 0.61; 'charset:windows-1252': 0.62; 'different': 0.63; 'offer': 0.66; 'media': 0.67; 'computers': 0.70; "state's": 0.84; 'streams': 0.84; 'together,': 0.84; 'thing,': 0.93
X-Virus-Scanned amavisd-new at torriefamily.org
Date Thu, 13 Aug 2015 08:19:40 -0600
From Michael Torrie <torriem@gmail.com>
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version 1.0
To python-list@python.org
Subject Re: Real-time recoding of video from asx to non-Windows formats
References <CAPfdVgHnMgfH=az1JcdU+DOgHtPETP8KA59=WFOvFdVv+x5qFA@mail.gmail.com>
In-Reply-To <CAPfdVgHnMgfH=az1JcdU+DOgHtPETP8KA59=WFOvFdVv+x5qFA@mail.gmail.com>
Content-Type text/plain; charset=windows-1252
Content-Transfer-Encoding 7bit
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://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 <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.168.1439475592.3627.python-list@python.org> (permalink)
Lines 22
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1439475592 news.xs4all.nl 2869 [2001:888:2000:d::a6]:49003
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:95345

Show key headers only | View raw


On 08/12/2015 12:04 AM, Montana Burr wrote:
>     I'm interested in using Python to create a server for streaming my
> state's traffic cameras - which are only available as Windows Media streams
> - to devices that do not natively support streaming Windows Media content
> (think Linux computers & iPads). I know Python makes various problems easy
> to solve, and I'd like to know if this is one of those problems. I would
> like to use a module that works on any Linux- or UNIX-based computer, as my
> primary computer is UNIX-based.

This is a case of use the best tool for the job.  Python could glue the
parts together, but maybe a bash script would be best.  As for the tools
themselves, they aren't going to be Python.  Things like mplayer, vlc,
ffmpeg all might assist.

VLC is very good at this kind of thing, and can be driven from the
command line, say from a bash script.  VLC can connect to a network
stream, transcode it, and offer it up as a different network stream.
However VLC network transcoding is only a one connection at a time sort
of thing, so it may not be enough for your needs.

If your main target is Linux, windows media streams work fairly well
with mplayer or vlc.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Real-time recoding of video from asx to non-Windows formats Michael Torrie <torriem@gmail.com> - 2015-08-13 08:19 -0600

csiph-web