Current time: 11-13-2019, 02:08 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Private WPT server - filmstrip images are all the same image
05-16-2014, 11:20 AM (This post was last modified: 05-17-2014 07:33 AM by sidbala.)
Post: #1
Private WPT server - filmstrip images are all the same image
Hello there!

I have a private WPT server. I have one mobile agent connected to it (nodejs with Chrome on Android)

The results display the timelines correctly. However, when I enter filmstrip mode, all of the thumbnails are populated with the same image - one displaying the completely loaded page.

I can see that the video is recorded on the agent (There is an .mp4 file)

On the server, I have the video in the following path:
Code:
/var/www/webpagetest/results/14/05/16/EM/4/1_video.mp4

However, the directory below is has a single image:
Code:
/var/www/webpagetest/results/14/05/16/EM/4/1_video/ms_000000.jpg

The directory below contains a labels.txt with a single line - the URL of the webpage tested and a testinfo.json.gz file
Code:
/var/www/webpagetest/results/video/14/05/16/EM/4.1.0/

I have a feeling that it is receiving the video, but is unable to extract the correct frames. How do I go about debugging this?

Setup:
WPT Server: Running Ubuntu 12.04 with Php5, apache2, ffmpeg, imagemagick
Android Chome Agent: Running Ubuntu 12.04 with ffmpeg, node
Find all posts by this user
Quote this message in a reply
05-23-2014, 12:32 AM
Post: #2
RE: Private WPT server - filmstrip images are all the same image
- Can you play the video file directly, and does it look fine?
- What do you get when you run "ffmpeg" on the console? If you're using the default build included with ubuntu that is going to be the problem and you need to replace it with this: http://johnvansickle.com/ffmpeg/
Visit this user's website Find all posts by this user
Quote this message in a reply
07-10-2014, 10:52 AM (This post was last modified: 07-10-2014 10:53 AM by sidbala.)
Post: #3
RE: Private WPT server - filmstrip images are all the same image
(05-23-2014 12:32 AM)pmeenan Wrote:  - Can you play the video file directly, and does it look fine?
- What do you get when you run "ffmpeg" on the console? If you're using the default build included with ubuntu that is going to be the problem and you need to replace it with this: http://johnvansickle.com/ffmpeg/

Hi Patrick,

The link you provided seems to have only static builds for ffmpeg 2.x on linux. Installing these binaries on my machines causes the filmstrip view to display nothing at all.

Since install/index.php specifically asks for 1.x ffmpeg, I ended up building my own ffmpeg static versions starting from 1.2.7 (the latest 1.x) version and trying each one.

2.2.4 - filmstrip view doesn't show any images at all.
1.2.7 - only a single image of the final page load is shown - probably decimate is broken?
1.2.5 - filmstrip view doesn't show any images at all.
1.1.12 - ended up working just as it does on the public website.

So it would seem that on my specific platform(Ubuntu 12.04), WPT requires 1.1.x instead of simply 1.x for filmstrip. If someone wanted the static build, I can provide the binary.

Thanks,
Sid
Find all posts by this user
Quote this message in a reply
12-17-2014, 08:06 PM
Post: #4
RE: Private WPT server - filmstrip images are all the same image
any reason why not use the binary supplied with wpt itself, which is v 1.2.3?

cp ${WPT_DOWNLOAD_TARGET_DIR}/utils/video/bin/linux-x64/ffmpeg /usr/bin
chmod ugo+x /usr/bin/ffmpeg

building from git takes a fairly long time (and I'm not sure now whether it would work based on the below).

# this takes a very long time... WPT ships with an executable
#cd /opt
#git clone git://source.ffmpeg.org/ffmpeg.git ffmpeg
#cd ffmpeg/
#./configure
#make install



(07-10-2014 10:52 AM)sidbala Wrote:  
(05-23-2014 12:32 AM)pmeenan Wrote:  - Can you play the video file directly, and does it look fine?
- What do you get when you run "ffmpeg" on the console? If you're using the default build included with ubuntu that is going to be the problem and you need to replace it with this: http://johnvansickle.com/ffmpeg/

Hi Patrick,

The link you provided seems to have only static builds for ffmpeg 2.x on linux. Installing these binaries on my machines causes the filmstrip view to display nothing at all.

Since install/index.php specifically asks for 1.x ffmpeg, I ended up building my own ffmpeg static versions starting from 1.2.7 (the latest 1.x) version and trying each one.

2.2.4 - filmstrip view doesn't show any images at all.
1.2.7 - only a single image of the final page load is shown - probably decimate is broken?
1.2.5 - filmstrip view doesn't show any images at all.
1.1.12 - ended up working just as it does on the public website.

So it would seem that on my specific platform(Ubuntu 12.04), WPT requires 1.1.x instead of simply 1.x for filmstrip. If someone wanted the static build, I can provide the binary.

Thanks,
Sid
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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