View Single Post
Old 05-20-2009, 07:37 AM  
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,575
Quote:
Originally Posted by nation-x View Post
Code:
function grabScreen($clip, $thumb, $dimensions) {
    //$dimensions should be in WxH format
    //$thumb should contain the full path to the image you want created
    $screengrab = "/usr/local/bin/ffmpeg -y -i '{$clip}' -f mjpeg -ss 10 -vframes 1 -s {$dimensions} -an '{$thumb}'";
    @system($screengrab);
}
whats the difference between using ffmpeg executable and the php module?
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


My Cam Feeds Script / Gallery Scraper / WPXXX Theme / Free Templates
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote