I am working on a app and I let users to upload videos. The problem is I need to get the width and height of the videos after users submitted the form, but couldn't find a way to do it.
Users can upload any video type, avi, mpeg, mov, flv..
I just need to get width and height metadata of the video, but so far I couldn't find a ruby function or a gem.
thanks.
Try streamio-ffmpeg. It seems to be maintained and relatively up to date.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With