streamio/streamio-ffmpeg — pull request #45 by phillipoertel (2012-12-23 16:17:38+00:00)
Title: Autorotate option for #transcode and #screenshot

Hi,

first of all, thanks for your Ruby ffmpeg library! We're using it in production at beta.torial.com and it helped us a lot to simplify our video conversion code.

As you probably know, videos from mobile devices are often displayed "sideways" or upside down in the browser, since the browser doesn't evaluate the video's rotation metadata. So we have streamio-ffmpeg do that :-) and rotate the video accordingly. Both the #screenshot and the #transcode command support this.

We introduced some architectural changes since just "patching it in" got a bit messy, but did so in a TDD way, so everything should work as it did before. We have had the code running in production for 1-2 months now without issues; keep in mind our site is still low volume, though.

If you feel this would be a useful addition, go ahead and pull the changes in! We'd be very happy about that, of course.

Cheers,
Phillip