Forum Moderators: coopster

Message Too Old, No Replies

converting video to flv with ffmpeg using php

         

MrGecko

10:05 pm on May 13, 2007 (gmt 0)

10+ Year Member



hey i'm trying to convert videos to flv with ffmpeg using php
i have tried exec("ffmpeg -i video.mov video.flv");
and that did not work
i'm finding no success
please help

jatar_k

1:11 pm on May 14, 2007 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



does that command work from the actual command line?

MrGecko

9:16 pm on May 14, 2007 (gmt 0)

10+ Year Member



Yes

eelixduppy

9:30 pm on May 14, 2007 (gmt 0)



Are you getting any error messages from your script? Also, do you have safe_mode enabled? If you do, you can only execute programs within the safe_mode_exec_dir [us2.php.net].

MrGecko

9:56 pm on May 14, 2007 (gmt 0)

10+ Year Member



i don't know any thing about safe mode
i'm using the default stetings

eelixduppy

10:08 pm on May 14, 2007 (gmt 0)



It is turned off by default, although just to make sure, what does the following code give you?

echo (ini_get("safe_mode"))? 'Enabled':'Disabled';

Also, are you receiving any errors? Have you checked your log?