When I first started developing this plugin I looked in to FFMPEG PHP libraries, and it seemed like the main one hadn’t been updated in several years. Ultimately I decided that it was an unnecessary middleman because any PHP library designed to work with FFMPEG still requires FFMPEG to be installed on the server. It’s hard enough to require FFMPEG, requiring a particular PHP library on top of it that wasn’t being maintained and required an ancient version of FFMPEG was too much to ask.
Now there seem to be some newer ones, but I’m not sure if many hosts allow them and which one is most popular. Do you have a link to the documentation for the one you’re using? As far as I know FFMPEG PHP libraries don’t actually contain FFMPEG within them. They’re just an API for accessing FFMPEG. I don’t know how your server is setup, but it sounds like your host doesn’t allow EXEC, but does allow activating FFMPEG through this particular PHP library. Or it just doesn’t give you access to the FFMPEG binaries? I’m just guessing, because this is the first I’ve heard of this kind of configuration. I might be able to add an option to use this PHP library, but I suspect it will be a few months before I could accomplish it.
Yes, my host doesn’t have the ffmpeg binary installed on, so the php extension is useless. That’s why i’m looking for an another tool to parse the video frame, either in Php or in javascript … Isn’t the manual generation (in single media admin page) done with browser technologies?
Thank’s for your answer, if you think in a tool that can help me do this i’ll have to code it anyway so i’ll share it there.
Have a good day.
From what I can tell my plugin is unique in its use of browser decoding to make thumbnails, but it’s not particularly difficult. The basic idea is to load a video element, draw it onto a canvas, then save the canvas as a file. Batch processing thumbnails using the browser is on my list of features for a premium add-on but I’m constantly pushing that premium idea into the future.
You might be able to modify my JS script to automatically swap out the video source and post ID on an attachment page, generate a thumbnail, save it and continue to loop through all the available videos, but you might find it’s more trouble to figure out the specifics of my code than it’s worth.
Ok i’ve found it, thanks for your informations.
The canvas capture code will do the trick since i have no other option ^^. I’ll post the result here.
The FFMPEG is just for thumbnails right? It’s not keeping my video from working is it? I’m trying to find out why this plugin doesn’t seem to be working on my site.
I tried it here:
http://michaelallenonline.com/betty-gilpin-clip-in-elementary/
@michael Allen, you are correct that FFMPEG is not necessary for embedding videos. It appears that you’re not using my plugin on that page, but if you want to troubleshoot, please start a new thread for your issue and post a link to a page that is using my plugin.