Good library for encoding videos in a dynamic language?

I'm looking for an effective library for encoding videos. I would prefer something in one of the Ruby/Python ilk type languages, but I'd use libraries in C or PHP that were good. Essentially, I'm looking for something that wraps ffmpeg, and would allow me to convert H.264 .mp4's into .theora.ogv, .webm, and (this would be nice) .flv files.

Worst case, I could always just use any language to natively execute ffmpeg, using something like command("ffmpeg -i ...etc."), but I'd prefer something a bit higher level/in-language if possible.

I've already looked at RVideo, but couldn't get it to work correctly.


For Python there is PyMedia and pyffmpeg.

If you need a raw usage example, see this.

链接地址: http://www.djcxy.com/p/41226.html

上一篇: 安卓

下一篇: 用动态语言编码视频的好库?