I have been using FFmpeg for about a month now, its been great.
Im a noobie in php but still im trying 🙂 Im making bulk video uploader/importer to database. Looking ideas how to extract thumbnails from videos on upload and add those thumbnails to mysql database for each video… :/ Im trying using ffmpeg, but i dont found the way how to implement it to my code…
I want to know how to get the duration, dimension and size of uploaded video file in PHP. The file can be in any video format.
I’ve successfully installed ffmpeg using ssh, as root, on my dedicated server (CentOS 7).
ffmpeg works fine – but now I need to use it without root access.
I have been meaning to install
ffmpeg as an extension to my PHP setup. So before I can install it, I need to
phpize it. I installed
sudo apt-get install php5-dev. But now when I run
phpize I get the following error :
I’ve written a whole system in PHP and bash on the server to convert and stream videos in HTML5 on my VPS. The conversion is done by ffmpeg in the background and the contents is output to block.txt.
I am wanting to use ffmpeg to convert video to .flv in php. Currently I have this working, but it hangs the browser until the file is uploaded and is finished. I have been looking at the php docs on how to run an exec() process in the background, while updating the process using the returned PID. Here is what I found:
I have installed xampp 1.7.4 with php version 5.3.5 on windows xp.
How to install ffmpeg in xampp with php 5.3.5 on windows xp?
I have a web page, which (among other things) needs to extract a specific frame from a user-uploaded video. The user seeks to a particular part of a .mp4 in the player, then clicks a button, and an ajax call gets fired off to a php script which takes the .mp4, and the exact time from the video, and uses that to extract a “thumbnail” frame.
I am in the process of using
shell_exec() for the first time. I am trying to convert some video files on my server using the ffmpeg shell script.