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

Date 2015-08-13 08:19 -0600
From Michael Torrie <torriem@gmail.com>
Subject Re: Real-time recoding of video from asx to non-Windows formats
References <CAPfdVgHnMgfH=az1JcdU+DOgHtPETP8KA59=WFOvFdVv+x5qFA@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.168.1439475592.3627.python-list@python.org> (permalink)

Show all headers | 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