Ruby on Rails Tuesday, January 3, 2012

This is such a noobie question.

I have a file, http://www.ultradedup.com/videolib/One-minute-commercial-027.flv

I want to do two simple things:

1) I want to get the file size.

2) I want to read a few hundred bytes from the beginning of the file so as to pick up te flv's time duration.

Are there RoR and/or Ruby facilities to do this?

Ralph Shnelvar

--
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-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment