roger roger - 5 months ago 36
PHP Question

is there a way to get video length in php?

Is there a simple solution for this?

Answer

In this post (Querying an audio/video file for information) I explained in detail how to use ffmpeg to get the length of a video file. Using the PHP shell_exec() command you can pass the necessary functions to ffmpeg

Comments