What kind of FLV url does it give you? Same as mine?
Just trying to figure out if the problem comes from the URL...
Else it means that it comes from the download, I'll have to figure out why it creates a 0kb file in the video folder and then directly try to convert it as if it was completed..!
Hi, i have came across something. when i put a URL to convert the video into mp3 and before it downloads i refresh the page or close it, script does not stops downloading the video it keeps on downloading video....has anyone seen this with them as well?
What kind of FLV url does it give you? Same as mine?
Just trying to figure out if the problem comes from the URL...
Else it means that it comes from the download, I'll have to figure out why it creates a 0kb file in the video folder and then directly try to convert it as if it was completed..!
For some reason your server is grabbing it from the cache of youtube & not the main url.
Yes I saw that it's very similar in the source of the YouTube page,
so why are you saying that my problem may be that my server grab the cache URL and not the main url? It seems that youtube itself takes the cache, so I guess this is actually the main url. Don't know if I'm clear enough here hehe.
If my link is good, I really don't see where my issue come from then...
orditeck, I tried to convert your video. The first time, it said there was an error downloading the video. The second time --- well it's still downloading at the moment (so it is downloading, but VERY slowly).
I converted another video and it worked fine.
My best guess is that YouTube is currently experiencing some server difficulties or perhaps is changing parts of their site's front end.
I do know that YouTube has been making some changes with their channel layouts recently, so it wouldn't surprise me if we are in for another format change site-wide. In that case, I'll have to make some changes to the code to adjust. Keep me posted.
orditeck, I tried to convert your video. The first time, it said there was an error downloading the video. The second time --- well it's still downloading at the moment (so it is downloading, but VERY slowly).
I converted another video and it worked fine.
My best guess is that YouTube is currently experiencing some server difficulties or perhaps is changing parts of their site's front end.
I do know that YouTube has been making some changes with their channel layouts recently, so it wouldn't surprise me if we are in for another format change site-wide. In that case, I'll have to make some changes to the code to adjust. Keep me posted.
Hi,
thanks for your answer.
The problem appears with every video I tried.
I tried the same videos on some live URL people gave here and it was working...
You can also try my demo if you want: http://188.165.33.43/yt/index.php
There is just no download. It creates an emply .flv and try to convert it, that's it.
Hi, i have came across something. when i put a URL to convert the video into mp3 and before it downloads i refresh the page or close it, script does not stops downloading the video it keeps on downloading video....has anyone seen this with them as well?
If you are having problems with people abandoning conversions, my suggestion to you is to run a cron job periodically that purges both the '/logs/' and '/videos/' directories. You can check the 'last modified' dates of each of the files in those directories to verify that the files are older than a certain date, and therefore OK to delete.
That will get rid of the files. If you are looking to stop the downloads midstream to save bandwidth, then that's a different problem. Offhand, I don't know how that would be accomplished. You'd have to find a way to stop the cURL process at any time, and not just after a certain period or when the connection times out, i.e.: