cavendano Posted September 3, 2007 Share Posted September 3, 2007 can someone look at this and tell me why it isnt working? exec("lame --decode $newfile $wav_name_new");unlink($newfile);exec("sox -t wav $wav_name_new -t wav -s -w -c 2 - trim $start $duration | sox -t wav -s -w -c 2 - -t wav $wav_name fade h 1 $duration 2");exec("/usr/local/bin/faac -w -o $your_name_mp4 $wav_name");exec("lame $wav_name $your_name_mp3");unlink($wav_name);unlink($wav_name_new); its supposed to output a mp4 file Link to comment https://forums.phpfreaks.com/topic/67835-sox-lame-faac-php-wont-do-what-i-want/ Share on other sites More sharing options...
trq Posted September 4, 2007 Share Posted September 4, 2007 Instead of a one liner you might try breaking it up and adding some debugging. The exec function takes a few optional arguments that come in handy for exactly that purpose. Link to comment https://forums.phpfreaks.com/topic/67835-sox-lame-faac-php-wont-do-what-i-want/#findComment-340982 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.