Commit a4c7a653 authored by Mehdi Sabwat's avatar Mehdi Sabwat
Browse files

fix shell script and add demo video

parent da7920d2
......@@ -28,7 +28,7 @@ fi
cd $WORK_DIR
# Go go go vlc
if [ ! -d "vlc" ]; then
if [ ! -d vlc ]; then
diagnostic "VLC source not found, cloning"
git clone http://git.videolan.org/git/vlc.git vlc
checkfail "vlc source: git clone failed"
......@@ -154,9 +154,14 @@ cd vlc/build-emscripten
emcc vlc-modules.c -o vlc-modules.bc -pthread
cd ../..
url="http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4"
# copy Dolby_Canyon.vob
diagnostic "copying video"
cp Dolby_Canyon.vob vlc/build-emscripten/Dolby_Canyon.vob
diagnostic "getting video"
cd vlc/build-emscripten/
curl ${url} -o BigBuckBunny.mp4
cd $WORK_DIR
diagnostic "Generating executable"
cp main.c vlc/build-emscripten/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment