View Single Post
Old 07-22-2011, 09:15 AM   PM User | #54
chump2877
Senior Coder

 
chump2877's Avatar
 
Join Date: Dec 2004
Location: the U.S. of freakin' A.
Posts: 2,549
Thanks: 15
Thanked 131 Times in 124 Posts
chump2877 is on a distinguished road
Quote:
Originally Posted by expertmac View Post
I trying with many videos but i got same error.i can't convert single video

http://www.youtube.com/watch?v=6g6g2mvItp4
this url i trying
I was able to convert the video at that URL (the Maroon 5 song)...

So if the code is working for me, and I was able to convert a video that you are not able to convert, then I can only assume the problem is with your server setup...

If it was working for you before, then your server setup must have changed recently. I would:

1) Turn error handling on in the code (comment out ini_set('display_errors',0)
2) Check your server error logs
3) Make sure FFmpeg is functional within your server setup
4) Download a fresh copy of FFmpeg
5) Make sure that you can execute commands on the server with PHP's exec()

Also I saw a comment somewhere else in this thread about which PHP version can run this code. Since my code uses PHP 5 OOP, it should be run on PHP 5 or higher.

Good luck!
__________________
Regards, R.J.

---------------------------------------------------------

Help spread the word! Like my YouTube-to-Mp3 Conversion Script on Facebook !! :)
[Related videos and tutorials are also available at my YouTube channel]
chump2877 is offline   Reply With Quote