ruby on rails 3 - Requesting header information of a file -


Anyway, I can only request header information for any media. For example, Header should request the information so that its video length can be found. I tried to use ffmpeg -i {video_url} and I did this but I found out that it actually downloads the given media in local storage and returns the header information Which clearly enhances roundtrip time.

So I really appreciate if there is any idea to find the length of the media in a fly. BTWW, I have Ruby on Rail application where I have to implement it.

You can ffprobe -show_format . Ffprobe comes with FFmpeg, and should have been compiled and installed with it.

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -