![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Newbie
Join Date: Dec 2005
Posts: 11
Rep Power: 0
![]() |
PHP newb here...
ffmpeg-php is a PHP extension that adds functions for accessing and retrieving information from movies and audio files. ffmpeg-php provides access to the many audio and video formats supported by ffmpeg. ffmpeg-php requires ffmpeg to be installed on the host system and here is my question. I am going to buy web hosting services from a web host (probably one.com). Will I be able to install the ffmpeg application on their web server in order to install and use ffmpeg-php? Thanks for any help. |
|
|
|
|
|
#2 |
|
Caffeinated Neural Net
Join Date: Jun 2005
Location: Dry west coast of Canada
Posts: 925
Rep Power: 4
![]() |
Re: HELP: ffmpeg-php
This is a question you should ask your hosting service of choice. I'd expect the default answer is 'no', unless you're paying for a dedicated server. With shared hosting, they need to restrict things to prevent one user from buggering up things for the rest.
__________________
A man's knowledge is like an expanding sphere, the surface corresponding to the boundary between the known and the unknown. As the sphere grows, so does its surface; the more a man learns, the more he realizes how much he does not know. Hence, the most ignorant man thinks he knows it all. - L. Sprague de Camp |
|
|
|
|
|
#3 |
|
Newbie
Join Date: May 2008
Posts: 2
Rep Power: 0
![]() |
I just call ffmpeg on command line with php's exec(). It's working fine and pretty fast, didn't want to mess with ffmpeg-php nor installing anything. If your host supports exec() etc. probably you can do it(php safe mode off?).
E.g.: Put ffmpeg.exe to ".../apache/domain.com/ffmpeg.exe" Then: <?php
$fil="c:/videos/movie.mpg";
$command="\"C:\\Progra~1\\Apache~1\\Apache2\\htdocs\\domain.com\\ffmpeg.exe -y -i ".str_replace("/","\\"."\\",$fil)." -vframes 1 -ss 1 -an -vcodec png -f rawvideo -s 160x120 thumbnails\\thumbnail_".md5($fil).".png\"";
exec($command);
?> |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| installing php (beginners question) | spekkio7 | PHP | 4 | Jan 11th, 2008 10:06 AM |
| New PHP Based Forum-RPG | dizdain | Paid Job Offers | 5 | Dec 3rd, 2007 2:32 AM |
| Php with Sun Java System Application Server Platform | lucifer | PHP | 0 | Jun 7th, 2007 4:03 AM |
| Php Tutorial 3 | bulio | PHP | 4 | Jul 16th, 2006 4:00 AM |
| Php Tutorial 1 | bulio | PHP | 17 | May 29th, 2006 4:54 AM |