John Joyce
8/19/2007 9:18:00 PM
On Aug 19, 2007, at 3:55 PM, Phlip wrote:
> John Reiter wrote:
>
>> So, I have an upcoming project that will require writing a program
>> that
>> can do some simple video playback. I would need it to be cross
>> platform
>> (at least Windows and OS X, which rules out the gstreamer and xine
>> bindings for ruby that I've seen), and it would need to be able to
>> play
>> some common video formats like mpeg-1 and avi.
>
> Just a guess; the format of the future is a video rendered as a Flash
> animation. Then you put the backend in whatever format you want,
> and render
> on-demand into Flash. That even supports Linux!
>
>> I would love to write this in ruby
>
> Ruby can only be the glue code there. Video playback is >cough< CPU
> intensive...
>
>
Yep. You could have bindings/API of some sort like the way RMAgick
works for ImageMagick, but the core code is going to be C/C++ every
time for video. Especially cross-platform.