Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
kinboy wong
vlc.js
Commits
a4c7a653
Commit
a4c7a653
authored
Nov 05, 2019
by
Mehdi Sabwat
Browse files
fix shell script and add demo video
parent
da7920d2
Changes
1
Hide whitespace changes
Inline
Side-by-side
compile.sh
View file @
a4c7a653
...
...
@@ -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/
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment