Retrieving video using FFMPEG or, possibly, HTML5

I am making a video gallery and would like some information about the video to display. Does anyone know how I will look for the duration of a video using ffmpeg? Can I get this information using HTML5?

Thank.

0
source share
3 answers

What am I doing (on Linux):

tcprobe -i $ FILE | tail -n1 | cut -d '=' -f3

tcprobe from the Transcode Debian package.

Windows MediaInfo, , .

+1

PHPVideoToolkit...

FFmpeg, FLVTools2 Mencoder , PHP - . FFmpeg-PHP PHP, . , FFmpeg-PHP, , , FFmpeg-PHP , .

PHPVideoToolkit - /, . , , , , , . ( Flash- ffmpeg), , . , , , , , , , , , , - , ​​ ffmpeg-php.

  • Notice, I wrote it, so ask any questions you want to use.
0
source

Source: https://habr.com/ru/post/1780860/


All Articles