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

2015-08-13 Thread Python UL



On 12-08-15 08:04, Montana Burr wrote:

Hi,

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.




Hi Montana,

You should take a look at FFmpeg (www.ffmpeg.org).

There's a python wrapper but I doubt you need it.
https://github.com/mhaller/pyffmpeg

gr
Arno
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: CLI framework using python

2014-10-09 Thread Python UL


On 09-10-14 14:20, vijna...@gmail.com wrote:

Hi,

I need to develop a python CLI framework.

For example if i need to set an ip address in linux:

ifconfig eth0 172.16.25.125

I should be able to use python to do the above.

1. The user will execute a python script to which i will pass the params eth0 
and ip address (something like ifconf.py  eth0 172.16.25.125)

2. Within the script i grab the params and do something to the effect of user 
executing 'ifconfig eth0 172.16.25.125' from the shell.

3. There are other such commands for which i will be using python scripts. I 
came across pyCLI, but it doesn't have much documentation, so couldn't figure 
out how to move forward.

4. The CLI framework needs to reuse code so i didn't want to use pure python 
and develop a framework from scratch. Rather use something like pyCLI/CLIFF.

The problem is lack of documentation with examples on how to use the above.

Any guidance would be greatly appreciated.

Regards  Thanks,
Vij


Hi Vij

Maybe you can have a look at iPython: 
http://ipython.org/ipython-doc/stable/interactive/tutorial.html


gr
Arno
--
https://mail.python.org/mailman/listinfo/python-list