Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Macman1993

macrumors 6502
Original poster
Nov 23, 2007
337
16
I just tried using ffmpeg for the first time and after a bit of tinkering I got the following code to make a copy of "video.avi" converted to "video.flv" then I tried using it to do some html5 converting which didn't work (I don't think I have the right version for html5) but now my original code wont work for converting the avi to flv. Does anyone know what could be causing my problem?

ffmpeg command

PHP:
<?php

   define('FFMPEG_LIBRARY', '/usr/local/bin/ffmpeg ');
   $exec_string = FFMPEG_LIBRARY.' -i video.avi video.flv';
   exec($exec_string);
?>

Edit: Never mind, I figured out my issue feel free to delete this thread.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.