I’ve posted a few messages on this list before, but this is my first
real question :).
I’ve written a script, using Rake, to automate the conversion of a
bunch of AVI video files to a DVD image I can burn and watch on my TV.
It’s working OK so far, and I promise I’ll post the code as soon as I
get home from work :).
The problem I have is that this rakefile still requires some manual
tweaking before every execution, because it makes some calculations
based on the original video’s resolution (i.e., 640x480, 704x396,
etc.), and must also use slightly different parameters if the original
video is widescreen.
So, is there a Ruby library or some Linux utility I can use from Ruby
that can find out the domensions of a video file? That would allow me
to make the process completely automated.