Current time: 12-18-2017, 06:43 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Hosted Site + Video Issues...
03-26-2011, 06:38 AM
Post: #21
RE: Hosted Site + Video Issues...
Did you install from the zip file here: https://sites.google.com/a/webpagetest.o...eleases/21 ? There is a video/templates directory with a bunch of template files in it. Video won't work without them (maybe something is hiding the files in windows if you're uploading from there?)
Visit this user's website Find all posts by this user
Quote this message in a reply
03-26-2011, 07:22 AM
Post: #22
RE: Hosted Site + Video Issues...
Yeah, that directory is there with 1-9.avs and bare.avs... I thought you were talking about content/work/video/templates, my apologizes.

Yes, that is the download link I used.
Find all posts by this user
Quote this message in a reply
03-26-2011, 08:03 AM
Post: #23
RE: Hosted Site + Video Issues...
Sorry for the confusion. I may have to provide a replacement compare.php with logging enabled because it looks like it is having problems creating the zip file.

In your php.ini, how much memory is php configured to allow?
How many videos were you trying to compare?

Thanks,

-Pat
Visit this user's website Find all posts by this user
Quote this message in a reply
03-29-2011, 12:16 AM
Post: #24
RE: Hosted Site + Video Issues...
2 gigs memory and was trying 2 videos, even fails trying 1 video
Find all posts by this user
Quote this message in a reply
03-30-2011, 07:27 AM
Post: #25
Wink RE: Hosted Site + Video Issues...
Okay fixed it. The problem ended up being that pclZip couldn't write to the directory after the zip file had already been created (hence why the #.avs file didn't exist and it only contained 1 set of images). For future reference the error I ended up getting when I did the following echo $zip->errorInfo(true); was

Code:
PCLZIP_ERR_READ_OPEN_FAIL (-2) : Unable to open temporary file 'pclzip-4d3603fd043e1.tmp' in binary write mode

The fix was to edit the lib/pclzip.lib.php file and add

Code:
define( 'PCLZIP_TEMPORARY_DIR', '/tmp/' );

Now video works like a charm Big Grin
Find all posts by this user
Quote this message in a reply
03-30-2011, 08:26 AM
Post: #26
RE: Hosted Site + Video Issues...
Wow, nice find! I'll see if I can configure pclzip at runtime to use the same tmp directory as the rest of webpagetest.
Visit this user's website Find all posts by this user
Quote this message in a reply
03-31-2011, 12:06 AM (This post was last modified: 03-31-2011 12:26 AM by mydigitalvoid.)
Post: #27
RE: Hosted Site + Video Issues...
The video creation is now working but wow is it slow. If I do a compare with say cnn.com and foxnews.com the testing is normal, but video creation takes > 10 minutes but on wpt.org it's < 1 minute. What can be done to speed this up? The window's box is a vm and the specs are:

Windows XP SP 3
Intel Xeon CPU 2.27GHz
2GB or RAM
I should also point out that this box only has an onboard video card which may be the issue.
Find all posts by this user
Quote this message in a reply
03-31-2011, 10:41 PM (This post was last modified: 03-31-2011 10:42 PM by pmeenan.)
Post: #28
RE: Hosted Site + Video Issues...
Video card wouldn't be an issue, there isn't any offload on the processing. 10 minutes is crazy-long.

The videos are rendered as part of the normal tester work. When the testers request work, if a video is pending it will get processed at a higher priority than any pending tests. That does mean though that if the tester is in the middle of a large job (bunch of runs for a slow site) that it won't pick up the video job until the current one is done. Do you know if the agent was busy doing something else when the video was requested?

If you still have debugging on the urlblast log you can see the time between when x264 was launched and when it completed to make sure it is the actual render that took that long. There's no good reason that it should ever take longer than a few seconds to actually create the video (they are short, at a low frame rate and there are usually a small number of actual frames to combine).

Thanks,

-Pat
Visit this user's website Find all posts by this user
Quote this message in a reply
04-01-2011, 04:09 AM
Post: #29
RE: Hosted Site + Video Issues...
Okay, I think I got it working correctly. During all my testing and what not, there were a lot of zip and unzipped files in work/video. Cleaning that all out seemed to do the trick, everything seems to be processing quickly.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)