开发者

Using Python to crop an AVI file [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.

开发者_开发技巧

Closed 9 years ago.

Improve this question

I have a media file (AVI or mpeg doesn't really matter) I'd like to just get the top half of the each frame and remove the lower half from my video. IS there any library in python that can help me?


I'd recommend ffmpeg. There's a wrapper for python (http://code.google.com/p/pyffmpeg/), though I never tried it.

If that doesn't work, you could just launch a child process for the ffmpeg command-line tool from the interpreter.


I am experimenting with the Python interface to OpenCV. It is capable of doing real time calculations on the movie stream.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜