I upload a video, it uploads fine, it processes fine and it displays fine (well, as fine as Dolphin is capable of anyway)
A member uploads a video, it uploads fine and then gets stuck in processing.
All the files are there. I checked, but the mp4 in the members shows 0.0
One of mine
.flv = 43.6MB
.jpg = 116.74kb
.mp4 =23.51MB
One of his
.flv = 398.65kb
.jpg = 9.32kb
.mp4 = 0 bytes
Both the large and small images are there as well as the flv file but it's not generating the mp4. The file he is trying to upload is about 995 kb's and it's an .avi. I can't figure out why it will work for me and not him.
http://towtalk.net ... Hosted by Zarconia.net! |
Ok, I think I miht have found the issue.
I got a copy of the video. It's an AVI at .99 MB. It only plays for less than 2 seconds. I have the thumbnail capture script for video set at 2 seconds. Do you think it's failing because there isn't enough length to the video to create a thumbnail?
http://towtalk.net ... Hosted by Zarconia.net! |
What kind of video is nearly 100MB, but only two seconds long? BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
didnt see the dot/point? lol was his zipped? I have video tutorials to help you mrpowless.com |
didnt see the dot/point? lol was his zipped?
What kind of video is nearly 100MB, but only two seconds long while compressed?
BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
didnt see the dot/point? lol was his zipped?
What kind of video is nearly 100MB, but only two seconds long while compressed?
That's KB... LOL, not MB
The original file is .9 megs.... and yes, it plays for less than 2 seconds. It does play however in my media player in it's original format. Obviously, I'm going to explain to him this is one f___d up piece of avi video but that still leaves my question unanswered.
in functions_inc.php:
function grabImages($sInputFile, $sOutputFile, $iSec alt= 0, $bForse = false)
I changed it to
function grabImages($sInputFile, $sOutputFile, $iSec alt= 2, $bForse = false)
Then I upload a video that is LESS than that 2 seconds, will the video fail or just the thumbnail?
http://towtalk.net ... Hosted by Zarconia.net! |
didnt see the dot/point? lol was his zipped?
What kind of video is nearly 100MB, but only two seconds long while compressed?
That's KB... LOL, not MB
What kind of person says .99MB instead of 990KB?
BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |
It's an AVI at .99 MB. It only plays for less than 2 seconds.
.
didnt see the dot/point? lol was his zipped?
What kind of video is nearly 100MB, but only two seconds long while compressed?
That's KB... LOL, not MB
What kind of person says .99MB instead of 990KB?
.
LOL, ha ha ha, that's hilarious.  What kind of a person do you think he is?
|
It's an AVI at .99 MB. It only plays for less than 2 seconds.
.
didnt see the dot/point? lol was his zipped?
What kind of video is nearly 100MB, but only two seconds long while compressed?
That's KB... LOL, not MB
What kind of person says .99MB instead of 990KB?
.
LOL, ha ha ha, that's hilarious.  What kind of a person do you think he is?
He's a cartoon character...
|
Since nobody else seems interested in answering the original question, I went ahead and performed some tests.
If you set function grabImages to anything but 0, you risk a video upload failure. If you set it to 10 seconds, all videos that are shorter than 10 secodns will fail the upload and conversion process.
I have set mine at 2 seconds which should be long enough to capture one of the first frames of the movie thereby eliminating the black screen of uncertainty but as I have proven, all movies less than 2 seconds will fail (lol) I am going to accept that as a livable situation and post a disclaimer on the upload page to that effect.
Problem solved....
http://towtalk.net ... Hosted by Zarconia.net! |
Since nobody else seems interested in answering the original question, I went ahead and performed some tests.
If you set function grabImages to anything but 0, you risk a video upload failure. If you set it to 10 seconds, all videos that are shorter than 10 secodns will fail the upload and conversion process.
I have set mine at 2 seconds which should be long enough to capture one of the first frames of the movie thereby eliminating the black screen of uncertainty but as I have proven, all movies less than 2 seconds will fail (lol) I am going to accept that as a livable situation and post a disclaimer on the upload page to that effect.
Problem solved....
I was too preoccupied with your odd wording of file sizes to solve your problem. Also, this honestly sounds like it needs to be reported as either a bug, or an enhancement. There should be something in the script so that when a video is too small for the default thumbnail image, it reverts to some form of a fall-back solution (such as two or one seconds, instead). Or, at least not fail when the thumbnail generator doesn't match the length of the video to work properly. You're a premium member, you make the ticket.
BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin |