i'm using ffmpeg to convert videos to desired formats and to generate the thumbnails..
I want to find the total duration of the video to display in the main page along with the thumbnails..
Can i use ffmpeg to find the duration when its being uploaded and store them on the database.?
Is storing the duration in db is necessary or else is there any other method?