nia1415 Posted June 3, 2013 Share Posted June 3, 2013 Guys i want to put h264 code in my video conversion script help me to sort it out Quote Link to comment Share on other sites More sharing options...
requinix Posted June 3, 2013 Share Posted June 3, 2013 Explain more. Quote Link to comment Share on other sites More sharing options...
nia1415 Posted July 21, 2013 Author Share Posted July 21, 2013 Guys i want to put h264 code in my video conversion script help me to sort it out Guys i need help on this code $cmd = "ffmpeg -i $fname_old -acodec libfaac -ab ".$abr."k -ar $afreq -s ".$sizeX."x".$sizeY." -vcodec x264 -b:v ".$vbr."k -flags +loop -subq 5 -trellis 1 -bf 1 -coder 1 -sc_threshold 40 -qcomp 0.6 -qmax 51 -qdiff 4 $fname_new";         if ($ext == 'mp3') {            $cmd = "ffmpeg -i $fname_old -vn -acodec libmp3lame $fname_new"; somehows this code is not working for me can anybody fix this for me Quote Link to comment Share on other sites More sharing options...
requinix Posted July 21, 2013 Share Posted July 21, 2013 Not working how? You can't just give one-sentence posts and expect us to know what you're talking about or where your problem(s) may be. Quote Link to comment Share on other sites More sharing options...
nia1415 Posted July 23, 2013 Author Share Posted July 23, 2013 well my problem is i am using this code in ffmpeg conversion script for convert videos useing h264 codecs but the problem is that videos are not converting and the main problem is this command line which i posted here so i want your help to fix error in this command line so i can use it for converting videos Quote Link to comment Share on other sites More sharing options...
trq Posted July 23, 2013 Share Posted July 23, 2013 Sorry, but I don't see how the ffmpeg clin program is at all PHP related. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.