开发者

Python video converter packages

Any Packages out there on python which takes a input of a particular video format and convert it to another format 开发者_运维技巧


PyFFmpeg. It's a wrapper around FFmpeg.

Or use subprocess and call your favourite video format conversion program.

>>> import subprocess
>>> command = ['ffmpeg']
>>> subprocess.call(command)

To call ffmpeg with your own command which includes the details required, just extend the command list.


Perhaps this is what you're looking for: http://pymedia.org/features.html
However, it's also possible to simply control the ffmpeg / x264 programs using the subprocess module, that's how I did it

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜