Hi,
I am asking since I see so many other knowledgable folks on here. I have installed ffmpeg and a youtube clone script on my main site. The problem is in the upload and processing script.
I have set php and apache to allow up to 50mb file uploads and that is working just fine. Here is what is supposed to happen with the script and wha tis really happening:
1. Information page is displayed with input boxes.
2. When a user submits this page a row in the video database is created
3. The users uploads the file on the next page
4. This page then calls ffmpeg to process the video into an flv formatted file.
5. Once ffmpeg is complete the script takes the input from ffmpeg and updates the row in the database with the flv name and the video duration.
Here is what is weird. If the file is less than about 5mb, then all of this works no prob. More than 5mb and the script fails right before #5 above. The video flv is created no matter how big the uploaded video but for some reason the script is broken and the data is never sent back from ffmpeg.
Has anyone ever heard of something like this? I can cnfirm its not ffmpeg. I have manually converted huge videos up to 75mb from the shell and it will do it with no errors. The installer of the script thinks that for some reason if the server is using too much resources for too long it doesnt allow ffmpeg to report back to the script like it will for smaller and shorter files.
I have tried everything I know (which isnt alot mind you). I am hoping someon here might be able to point me in the right direction.
Thanks again for any help you can give,
-Jason
I am asking since I see so many other knowledgable folks on here. I have installed ffmpeg and a youtube clone script on my main site. The problem is in the upload and processing script.
I have set php and apache to allow up to 50mb file uploads and that is working just fine. Here is what is supposed to happen with the script and wha tis really happening:
1. Information page is displayed with input boxes.
2. When a user submits this page a row in the video database is created
3. The users uploads the file on the next page
4. This page then calls ffmpeg to process the video into an flv formatted file.
5. Once ffmpeg is complete the script takes the input from ffmpeg and updates the row in the database with the flv name and the video duration.
Here is what is weird. If the file is less than about 5mb, then all of this works no prob. More than 5mb and the script fails right before #5 above. The video flv is created no matter how big the uploaded video but for some reason the script is broken and the data is never sent back from ffmpeg.
Has anyone ever heard of something like this? I can cnfirm its not ffmpeg. I have manually converted huge videos up to 75mb from the shell and it will do it with no errors. The installer of the script thinks that for some reason if the server is using too much resources for too long it doesnt allow ffmpeg to report back to the script like it will for smaller and shorter files.
I have tried everything I know (which isnt alot mind you). I am hoping someon here might be able to point me in the right direction.
Thanks again for any help you can give,
-Jason