7937 Posts in 1537 Topics by 944 members
|Go to End||Next >|
27 October 2009 at 2:03am
Why in DataObjectManager_media_examples createThumbnail function don`t work property? My template display default_thumbnail only. Who can help advice?
27 October 2009 at 2:42am
Have you confirmed that FFMPEG is installed?
27 October 2009 at 3:16am
Yes. I can see message "FFMPEG is installed on your server and working properly. Code: 1"
But thumbnail don`t work, only default_thumbnail.
27 October 2009 at 8:03am
You can look in dataobject_manager/code/flv/ffmpeg_log.txt to see what FFMPEG commands are running. I believe the thumbnail gen commands start with "ffmpeg -i -y" or something like that. You might want to try running those shell commands and see what kind of result you get. Also, make sure the proc_open() function is made available to you by your hosting provider.
28 October 2009 at 2:12am Last edited: 28 October 2009 2:48am
Thanks for good advice. All works
28 October 2009 at 2:52am
Easiest thing to do is write a little script .. maybe in your config.php that uses proc_open(). You should get an error saying you don't have access to that method. If it doesn't work, try using exec() and shell_exec() and let me know if those are open to you..
It's becoming more of an issue that users' hosting environments are restricting the video functions. I need to rethink some of this for the next release.
Also, you'll find the set_ffmpeg_root() function is useful. Some users have had to use an absolute path to the ffmpeg executable to get it to run, e.g.
Or wherever it lives on your sever. You might have to ask your hosting provider, or there might be a unix command like "locate ffmpeg" you can use to find it. A lot of times, the server isn't set up right for calling "ffmpeg" just anywhere. It returns command not found without an absolute path.
28 October 2009 at 5:59am
Thanks for all. can you help me in another question? How I can change video player. I want to open video from my site using my player.
28 October 2009 at 6:18am
This is a feature that I have in my plans, but is not implemented yet. In forthcoming versions, you'll be able to create plugins for specific players.
|Go to Top||Next >|