I have a website that uses the Video module to allow users to upload videos. I want to limit the duration(both minimum and maximum) of the video that the user uploads.

For Example:

Users cannot upload videos that are more than 10mins and less than 5mins. So the duration of their videos should be in-between 5 to 10mins.

Thanks in advance...

1 Answer 1


You can't do that at the moment, but you can set up your presets to limit the length of the transcoded video. I hope that is sufficient for you.

  • Thanks... Is there any other way to limit the length of the uploaded video (using custom code)?
    – Sharan
    Commented Jun 12, 2012 at 20:14
  • If you are using FFmpeg, you could develop a validator that invokes FFmpeg and reads the length. Commented Jun 13, 2012 at 12:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.