Commit 1f8d7285 authored by Brendan Long's avatar Brendan Long

Fix download links, removed videos that are hard to find, and update...

Fix download links, removed videos that are hard to find, and update get_files.sh to get the RUI test media.
parent 86634634
......@@ -10,12 +10,5 @@ Most of the files aren't included in the repo because want to keep it
reasonably small. If WebKit is checked out in the same directory as this
repo, the "counting" videos will be taken from `../webkit/LayoutTests/media`.
To get local copies of Sintel, use wget, or download them in your browser, then
put them in the same folder as demo.html.
## Output
When you click buttons that should have output, they print to the web console.
To get to it in the WebKit test browser, right click on anything on the page,
choose "Inspect Element", then in the panel that shows up, click the "Console"
tab.
To get local copies of Sintel and the RUI test media (ClosedCaptions.ts and
UserPrivateStreams.ts), use `./get_files.sh`.
......@@ -25,14 +25,11 @@ var config = {
/* List of media options. Name will be shown on the button label, url is the URL */
media: [{
label: "Tears of Steel (MPEG-TS + CEA 608)",
url: "http://10.49.5.101/videos/Ultimate-Stream-1280x720-5Mb-mpeg2v-ac3_0100_CC_Trim.ts"
}, {
label: "Sintel Trailer (Theora + Vorbis + Kate)",
url: "http://ftp.nluug.nl/ftp/graphics/blender/apricot/trailer/sintel_trailer-480p.ogv"
url: "http://download.blender.org/durian/trailer/sintel_trailer-480p.ogv"
}, {
label: "Sintel Trailer (h264 + aac + Subtitles)",
url: "http://ftp.nluug.nl/ftp/graphics/blender/apricot/trailer/Sintel_Trailer1.480p.DivX_Plus_HD.mkv"
url: "http://download.blender.org/durian/trailer/Sintel_Trailer1.480p.DivX_Plus_HD.mkv"
}, {
label: "Multi Track Test File (Ogg; 2x Theora + 2x Vorbis)",
url: "test.ogv"
......@@ -57,15 +54,12 @@ var config = {
}, {
label: "WebKit Counting-Subtitled (Local File; ogg; Theora + Kate)",
url: "../webkit/LayoutTests/media/content/counting-subtitled-kate.ogv"
}, {
label: "WebKit Two Audio and Video Tracks (Local File; Matroska; mpeg4 + srt)",
url: "../webkit/LayoutTests/media/content/two-audio-and-video-tracks.mkv"
}, {
label: "WebKit Counting (Local File; MPEG-TS)",
url: "../webkit/LayoutTests/media/content/counting.ts"
}, {
label: "Ogg Skeleton File",
url: "skeleton.ogv"
label: "WebKit Two Audio and Video Tracks (Local File; Matroska; mpeg4 + srt)",
url: "../webkit/LayoutTests/media/content/two-audio-and-video-tracks.mkv"
}, {
label: "Chromium Bear (Local File; webm; VP8 + WebVTT",
url: "../chromium/src/media/test/data/bear-vp8-webvtt.webm"
......@@ -76,11 +70,11 @@ var config = {
label: "Local RTP Stream (whatever's on port 5004)",
url: "rtp://localhost:5004"
}, {
label: "O-MP2TS_SN-1.mpg (DLNA test video?)",
url: "O-MP2TS_SN-1.mpg"
label: "ClosedCaption.ts (DLNA test video?)",
url: "media/ClosedCaption.ts"
}, {
label: "SPTS-1_track-2_referenced_videos-1min.ts (DLNA test video?)",
url: "SPTS-1_track-2_referenced_videos-1min.ts"
label: "UserPrivateStreams.ts (DLNA test video?)",
url: "media/UserPrivateStreams.ts"
}],
/* Whether or not to show native controls */
......
#!/bin/bash
# This script attempts to download the "local files" for demo.html.
# The Ultimate Stream will only download if you're on the RUI
# private network.
FILES=(http://ftp.nluug.nl/ftp/graphics/blender/apricot/trailer/Sintel_Trailer1.480p.DivX_Plus_HD.mkv http://10.49.5.101/videos/Ultimate-Stream-1280x720-5Mb-mpeg2v-ac3_0100_CC_Trim.ts)
FILES=(http://download.blender.org/durian/trailer/Sintel_Trailer1.480p.DivX_Plus_HD.mkv http://download.blender.org/durian/trailer/sintel_trailer-480p.ogv)
for file in ${FILES[@]} ; do
if [[ ! -f $(basename "$file") ]] ; then
wget --tries=1 "$file"
fi
done
if [[ ! -f media/ClosedCaption.ts ]] || [[ ! -f media/UserPrivateStreams.ts ]] ; then
wget http://html5.cablelabs.com/dlna-rui-test/dlna/media/media.tar.gz && tar -xf media.tar.gz
rm -f media.tar.gz
fi
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