Neptunus Maris Posted September 11, 2007 Share Posted September 11, 2007 Does anybody know how to convert other video formats to flash as they/after they are uploaded? I saw something at a glance using these functions: shell_exec(); exec(); The conversion code is written in those functions. -Neptune Link to comment https://forums.phpfreaks.com/topic/68863-flash-conversion/ Share on other sites More sharing options...
Neptunus Maris Posted September 11, 2007 Author Share Posted September 11, 2007 I've seen stuff like this: <?php shell_exec("/usr/local/bin/ffmpeg -i ". $src ." -acodec mp3 -ab 56 -ar 22050 -f flv -s 320x240 -aspect 4:3 ". $dest); shell_exec("rm -rf ". $src); ?> is this the right direction? Link to comment https://forums.phpfreaks.com/topic/68863-flash-conversion/#findComment-346112 Share on other sites More sharing options...
Neptunus Maris Posted September 11, 2007 Author Share Posted September 11, 2007 or doe I use the exec() function only for this? Link to comment https://forums.phpfreaks.com/topic/68863-flash-conversion/#findComment-346118 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.