Jump to content

Length of video file


soycharliente

Recommended Posts

You will most likely use the command line via the system or exec commands, as you will need access to ffmpeg to retrieve it. As far as I am aware, PHP does not have this support built into PHP. Use the commandline guide you posted, just run a system / exec command. I would store the retrieved value in the database that way you are not constantly running it on video files, if you have a database backend. Only update it if the video has been updated.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.