The mediainfo CLI app, or ffmpeg if that doesn't work. You can shell
out to the CLI with the back-tick operator, and the return from either
of these will be plain text, suitable for further regular-expression-
bashing.
Walter
On Mar 19, 2011, at 2:30 PM, Ralph Shnelvar wrote:
Saturday, March 19, 2011, 11:12:58 AM, you wrote:
CL> On 19 March 2011 16:47, Ralph Shnelvar <[email protected]>
wrote:
Is there a way in Rails to get the duration (minutes, seconds,
etc.) of
a flash video? I want to display the amount of time to the users
before
they start playing it or downloading it.
CL> Do you know a way of determining the time via command line?
Colin, I do not know how to do so.
I was hoping there was a gem to help me do it.
--
You received this message because you are subscribed to the Google
Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-
[email protected].
To unsubscribe from this group, send email to [email protected]
.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
.
--
You received this message because you are subscribed to the Google Groups "Ruby on
Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.