Trimming a video

I’m am building a website where you can upload a video or an audio file. I have a limit of only 15 seconds, but I would like the user to be able to select which 15 seconds of the video or audio file after uploading with an input type=“file”. Is there a special way to do this with javascript or is there any plugins that could do this for me?

You can do it with the EXEC command

http://www.catswhocode.com/blog/19-ffmpeg-commands-for-all-needs

Or use this Extension for php

http://ffmpeg-php.sourceforge.net/

Sponsor our Newsletter | Privacy Policy | Terms of Service