Originally Posted by pavaka
Before I start you have to know that my english is not great
Recently I have bought premium version of your Linux converter.
Its very good script, but i have little problem with it.
When i paste youtube link and click "Convert" very often i have to wait really long time until conversation starts. Conversation goes fast. But the reaction to start it is very slow. I have good hosting and my other quite big sites work good on it.
8 GHz CPU
4096 MB RAM
40 GB space
4000 GB transfer (month)
99,9 % uptime
my website is: www.meconvert.com
Do you know why the reaction before it starts converting is soooo long(sometimes its never starts to convert)?
I was speaking with my hosting proividers and they told me that the reason is lquality of connection between my servers and youtube servers.
I see 2 possible scenarios here:
1) For some reason, your download progress bar is not being flushed from the buffer to the screen. That would explain why you never see the download progress bar, and you only see the conversion progress bar. OR,
2) Your ability to connect to YouTube servers is poor, but once you are able to establish a connection, the download speed is lightening quick. This would also explain the long wait time and the fact that you never see the download progress bar.
One thing that I noticed about your site is that, usually, the wait time before the conversion progress bar appears seems to be directly proportional to the length/size of the video. That would seem to indicate that the problem is likely #1 in the above list.
Also, the download progress bar markup is in the source code of your page following conversion. It just isn't moved out of the buffer until page loading completes. Meaning output buffer flushing is not working as expected.
The following code pushes output out of the buffer and to the screen during code execution:
I use that code throughout the conversion process. Have you modified or deleted this code? Perhaps PHP was compiled incorrectly or corrupted on your server, and it is affecting output control functions
When output control functions are working properly, the buffer is flushed during the video download and you see the download progress bar prior to the conversion progress bar.
Try some experiments with the output control functions on your server. See if you can isolate the problem. Let me know what you find.