-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
58 lines (52 loc) · 1.96 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<html>
<body>
<h1>YouTube Analysis Reproduction Instructions</h1><p>
Our Youtube analysis requires a forked version of Chromium browser which logs render calls, a youtube video download script, an SSIM analysis tool, and a forked version of the mahimahi network emulation toolkit which supports youtube playback in mm-webrecord.
<p>
Tested on Ubuntu 15.04 and 15.10
<p>
<h2>Dependencies</h2>
<div style="white-space: pre-wrap; font-family:monospace;">
sudo apt-get install python autoconf g++-4.9 unzip python-matplotlib gcc pkg-config zlib1g-dev debhelper autotools-dev dh-autoreconf iptables protobuf-compiler libprotobuf-dev pkg-config libssl-dev dnsmasq-base ssl-cert libxcb-present-dev libcairo2-dev libpango1.0-dev iproute2 apache2-dev apache2-bin gcc-arm-linux-gnueabihf g++-4.9-multilib-arm-linux-gnueabihf gcc-4.9-multilib-arm-linux-gnueabihf git g++-5-multilib-arm-linux-gnueabihf
</div>
<h2>youtube-dl</h2>
<div style="white-space: pre-wrap; font-family:monospace;">
sudo wget https://yt-dl.org/downloads/2015.08.09/youtube-dl -O /usr/local/bin/youtube-dl
sudo chmod a+rx /usr/local/bin/youtube-dl
</div>
<h2>SSIM</h2>
#TODO: fix warnings?
<div style="white-space: pre-wrap; font-family:monospace;">
https://github.com/alfalfa/SSIM_analysis
cd SSIM_analysis
autoreconf -fi
sudo apt-get install libavutil-dev libavformat-dev libswscale-dev libx264-dev
./configure
make -j
cd ..
</div>
<h2>mahimahi-fork</h2>
<div style="white-space: pre-wrap; font-family:monospace;">
git clone https://github.com/alfalfa/mahimahi_youtube_record_replay_fork.git
cd mahimahi_youtube_record_replay_fork
./autogen.sh
./configure
make -j
sudo make install
cd ..
</div>
<h2>Forked Chromium setup</h2>
<div style="white-space: pre-wrap; font-family:monospace;">
mkdir Chromium_Fork
cd Chromium_Fork
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
cd depot_tools
export PATH=$PATH:`pwd`
cd ..
fetch chromium
./src/build/install-build-deps.sh
gclient sync
cd src
</div>
</body>
</html>