61 | | The actual VLC Client which requests the video can be set up using this script. For streaming this video from the Apache server and in order to instrumentize and measure the DASH bit-rate using !LabWiki we need to execute the following commands. |
| 61 | The actual VLC Client which requests the video can be set up using this script. For streaming this video from the Apache server and in order to instrumentize and measure the DASH bit-rate using !LabWiki we need to execute the following commands.[[BR]] |
| 62 | |
| 63 | This script needs to be executed manually to monitor the progress of VLC Client installation |
| 64 | |
| 65 | {{{ |
| 66 | #!/bin/bash |
| 67 | |
| 68 | apt-get install -y --force-yes subversion |
| 69 | echo 'deb http://download.opensuse.org/repositories/home:cdwertmann:oml/xUbuntu_12.04/ /' >> /etc/apt/sources.list.d/oml2.list |
| 70 | curl http://download.opensuse.org/repositories/home:cdwertmann:oml/xUbuntu_12.04/Release.key -o /root/Release.key |
| 71 | apt-key add - < /root/Release.key |
| 72 | |
| 73 | apt-get -y --force-yes update |
| 74 | apt-get -y --force-yes -f install |
| 75 | apt-get -y --force-yes install oml2 |
| 76 | |
| 77 | apt-get build-dep -y --force-yes vlc |
| 78 | cd /root/ |
| 79 | svn co http://witestlab.poly.edu/repos/omlapps/vlc/vlc-2.1.0-git/ |
| 80 | cd /root/vlc-2.1.0-git |
| 81 | apt-get install -y --force-yes liboml2-dev checkinstall build-essential cmake libtool automake autoconf git-core ffmpeg libxcb-shm0-dev libxcb-xv0-dev libx11-xcb-dev libcdparanoia-dev libcdio-paranoia-dev libcdio-cdda-dev libqt4-dev qt4-dev-tools qt4-qmake nasm yasm libasm-dev lua5.1 |
| 82 | |
| 83 | apt-get autoremove |
| 84 | |
| 85 | ./configure LIBS="-loml2" --enable-run-as-root |
| 86 | make |
| 87 | make install |
| 88 | |
| 89 | }}} |