aslkdjfalk

This commit is contained in:
Brooke Vibber 2022-06-26 14:19:06 -07:00
parent cde10f5bf7
commit 1b0a741438
8 changed files with 345 additions and 0 deletions

51
alac.html Normal file
View file

@ -0,0 +1,51 @@
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<title>HLS & flat MP4 ALAC test</title>
</head>
<body>
<h1>HLS & flat MP4 ALAC test</h1>
<p>VP9/ALAC in MP4 (HLS)</p>
<video controls width=640 height=360>
<source type=application/vnd.apple.mpegurl src=combined-vp9-alac.m3u8>
</video>
<p>VP9/ALAC in MP4 (HLS, direct playlist)</p>
<video controls width=640 height=360>
<source type=application/vnd.apple.mpegurl src=combined-vp9-alac-mp4.m3u8>
</video>
<p>VP9/ALAC in MP4 (flat)</p>
<video controls width=640 height=360>
<source type="video/mp4; codecs=&quot;vp09.00.10.08,alac&quot;"" src=polyphon-vp9-alac.mp4>
</video>
<script>
let codes = {
[MediaError.MEDIA_ERR_ABORTED]: 'MEDIA_ERR_ABORTED',
[MediaError.MEDIA_ERR_NETWORK]: 'MEDIA_ERR_NETWORK',
[MediaError.MEDIA_ERR_DECODE]: 'MEDIA_ERR_DECODE',
[MediaError.MEDIA_ERR_SRC_NOT_SUPPORTED]: 'MEDIA_ERR_SRC_NOT_SUPPORTED',
};
function errify(hls, err) {
hls.addEventListener('error', function() {
let {code, message} = this.error;
let codeName = codes[code];
err.textContent = `${code} ${codeName}: ${message}`;
});
}
for (let hls of document.querySelectorAll('video')) {
let err = document.createElement('p');
if (hls.nextSibling) {
hls.parentNode.insertBefore(err, hls.nextSibling);
} else {
hls.parentNode.appendChild(err);
}
errify(hls, err);
}
</script>
</body>
</html>

View file

@ -0,0 +1,38 @@
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-ALLOW-CACHE:YES
#EXT-X-TARGETDURATION:10
#EXTINF:10.000000,
caminandes-llamigos.webm.144p.mjpeg.fallback.0000.mov
#EXTINF:10.000000,
caminandes-llamigos.webm.144p.mjpeg.fallback.0001.mov
#EXTINF:10.000000,
caminandes-llamigos.webm.144p.mjpeg.fallback.0002.mov
#EXTINF:10.000000,
caminandes-llamigos.webm.144p.mjpeg.fallback.0003.mov
#EXTINF:10.000000,
caminandes-llamigos.webm.144p.mjpeg.fallback.0004.mov
#EXTINF:10.000000,
caminandes-llamigos.webm.144p.mjpeg.fallback.0005.mov
#EXTINF:10.000000,
caminandes-llamigos.webm.144p.mjpeg.fallback.0006.mov
#EXTINF:10.000000,
caminandes-llamigos.webm.144p.mjpeg.fallback.0007.mov
#EXTINF:10.000000,
caminandes-llamigos.webm.144p.mjpeg.fallback.0008.mov
#EXTINF:10.000000,
caminandes-llamigos.webm.144p.mjpeg.fallback.0009.mov
#EXTINF:10.000000,
caminandes-llamigos.webm.144p.mjpeg.fallback.0010.mov
#EXTINF:10.000000,
caminandes-llamigos.webm.144p.mjpeg.fallback.0011.mov
#EXTINF:10.000000,
caminandes-llamigos.webm.144p.mjpeg.fallback.0012.mov
#EXTINF:10.000000,
caminandes-llamigos.webm.144p.mjpeg.fallback.0013.mov
#EXTINF:10.000000,
caminandes-llamigos.webm.144p.mjpeg.fallback.0014.mov
#EXTINF:0.041667,
caminandes-llamigos.webm.144p.mjpeg.fallback.0015.mov
#EXT-X-ENDLIST

View file

@ -0,0 +1,54 @@
#EXTM3U
#EXT-X-VERSION:4
#EXT-X-TARGETDURATION:10
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-PLAYLIST-TYPE:VOD
#EXTINF:10.005900,
#EXT-X-BYTERANGE:175404@0
caminandes-llamigos.webm.audio.mp3.ts.ts
#EXTINF:10.004900,
#EXT-X-BYTERANGE:174840@175404
caminandes-llamigos.webm.audio.mp3.ts.ts
#EXTINF:10.004900,
#EXT-X-BYTERANGE:174840@350244
caminandes-llamigos.webm.audio.mp3.ts.ts
#EXTINF:10.004578,
#EXT-X-BYTERANGE:174840@525084
caminandes-llamigos.webm.audio.mp3.ts.ts
#EXTINF:10.005056,
#EXT-X-BYTERANGE:174840@699924
caminandes-llamigos.webm.audio.mp3.ts.ts
#EXTINF:9.978611,
#EXT-X-BYTERANGE:174464@874764
caminandes-llamigos.webm.audio.mp3.ts.ts
#EXTINF:10.005222,
#EXT-X-BYTERANGE:174840@1049228
caminandes-llamigos.webm.audio.mp3.ts.ts
#EXTINF:10.004900,
#EXT-X-BYTERANGE:174840@1224068
caminandes-llamigos.webm.audio.mp3.ts.ts
#EXTINF:10.004889,
#EXT-X-BYTERANGE:174840@1398908
caminandes-llamigos.webm.audio.mp3.ts.ts
#EXTINF:10.004744,
#EXT-X-BYTERANGE:174840@1573748
caminandes-llamigos.webm.audio.mp3.ts.ts
#EXTINF:9.978778,
#EXT-X-BYTERANGE:174464@1748588
caminandes-llamigos.webm.audio.mp3.ts.ts
#EXTINF:10.005056,
#EXT-X-BYTERANGE:174840@1923052
caminandes-llamigos.webm.audio.mp3.ts.ts
#EXTINF:10.004733,
#EXT-X-BYTERANGE:174840@2097892
caminandes-llamigos.webm.audio.mp3.ts.ts
#EXTINF:10.005056,
#EXT-X-BYTERANGE:174840@2272732
caminandes-llamigos.webm.audio.mp3.ts.ts
#EXTINF:10.004900,
#EXT-X-BYTERANGE:174840@2447572
caminandes-llamigos.webm.audio.mp3.ts.ts
#EXTINF:0.119822,
#EXT-X-BYTERANGE:2256@2622412
caminandes-llamigos.webm.audio.mp3.ts.ts
#EXT-X-ENDLIST

View file

@ -0,0 +1,38 @@
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-ALLOW-CACHE:YES
#EXT-X-TARGETDURATION:11
#EXTINF:10.000000,
caminandes-llamigos.webm.audio.vorbis.webm.0000.webm
#EXTINF:10.008000,
caminandes-llamigos.webm.audio.vorbis.webm.0001.webm
#EXTINF:9.994000,
caminandes-llamigos.webm.audio.vorbis.webm.0002.webm
#EXTINF:10.002000,
caminandes-llamigos.webm.audio.vorbis.webm.0003.webm
#EXTINF:10.011000,
caminandes-llamigos.webm.audio.vorbis.webm.0004.webm
#EXTINF:9.997000,
caminandes-llamigos.webm.audio.vorbis.webm.0005.webm
#EXTINF:10.003000,
caminandes-llamigos.webm.audio.vorbis.webm.0006.webm
#EXTINF:9.989000,
caminandes-llamigos.webm.audio.vorbis.webm.0007.webm
#EXTINF:10.005000,
caminandes-llamigos.webm.audio.vorbis.webm.0008.webm
#EXTINF:9.994000,
caminandes-llamigos.webm.audio.vorbis.webm.0009.webm
#EXTINF:10.008000,
caminandes-llamigos.webm.audio.vorbis.webm.0010.webm
#EXTINF:9.992000,
caminandes-llamigos.webm.audio.vorbis.webm.0011.webm
#EXTINF:10.005000,
caminandes-llamigos.webm.audio.vorbis.webm.0012.webm
#EXTINF:9.997000,
caminandes-llamigos.webm.audio.vorbis.webm.0013.webm
#EXTINF:10.008000,
caminandes-llamigos.webm.audio.vorbis.webm.0014.webm
#EXTINF:0.104000,
caminandes-llamigos.webm.audio.vorbis.webm.0015.webm
#EXT-X-ENDLIST

View file

@ -0,0 +1,29 @@
#EXTM3U
# Define the audio tracks for Vorbis and MP3
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="vorbis",NAME="English",LANGUAGE="en-US",AUTOSELECT=YES,DEFAULT=YES,CHANNELS="2",URI="caminandes-llamigos.webm.audio.vorbis.webm.m3u8"
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="mp3",NAME="English",LANGUAGE="en-US",AUTOSELECT=YES,DEFAULT=YES,CHANNELS="2",URI="caminandes-llamigos.webm.audio.mp3.combined.m3u8"
# Vorbis-based preferred for MSE
#EXT-X-STREAM-INF:BANDWIDTH=5000000,RESOLUTION=1920x1080,FRAME-RATE=24.0,CODECS="vp09.00.10.08,vorbis",AUDIO="vorbis"
caminandes-llamigos.webm.1080p.vp9.fast.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=2500000,RESOLUTION=1280x720,FRAME-RATE=24.0,CODECS="vp09.00.10.08,vorbis",AUDIO="vorbis"
caminandes-llamigos.webm.720p.vp9.fast.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=850000,RESOLUTION=854x480,FRAME-RATE=24.0,CODECS="vp09.00.10.08,vorbis",AUDIO="vorbis"
caminandes-llamigos.webm.480p.vp9.fast.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=350000,RESOLUTION=640x360,FRAME-RATE=24.0,CODECS="vp09.00.10.08,vorbis",AUDIO="vorbis"
caminandes-llamigos.webm.360p.vp9.fast.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=250000,RESOLUTION=426x240,FRAME-RATE=24.0,CODECS="vp09.00.10.08,vorbis",AUDIO="vorbis"
caminandes-llamigos.webm.240p.vp9.fast.m3u8
# MP3 for Safari on iOS HLS player
#EXT-X-STREAM-INF:BANDWIDTH=5000000,RESOLUTION=1920x1080,FRAME-RATE=24.0,CODECS="vp09.00.10.08,mp4a.40.34",AUDIO="mp3"
caminandes-llamigos.webm.1080p.vp9.fast.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=2500000,RESOLUTION=1280x720,FRAME-RATE=24.0,CODECS="vp09.00.10.08,mp4a.40.34",AUDIO="mp3"
caminandes-llamigos.webm.720p.vp9.fast.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=875000,RESOLUTION=854x480,FRAME-RATE=24.0,CODECS="vp09.00.10.08,mp4a.40.34",AUDIO="mp3"
caminandes-llamigos.webm.480p.vp9.fast.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=375000,RESOLUTION=640x360,FRAME-RATE=24.0,CODECS="vp09.00.10.08,mp4a.40.34",AUDIO="mp3"
caminandes-llamigos.webm.360p.vp9.fast.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=275000,RESOLUTION=426x240,FRAME-RATE=24.0,CODECS="vp09.00.10.08,mp4a.40.34",AUDIO="mp3"
caminandes-llamigos.webm.240p.vp9.fast.m3u8

40
vp8-webm.html Normal file
View file

@ -0,0 +1,40 @@
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<title>Flat VP8 WebM tests</title>
</head>
<body>
<h1>Flat VP8 WebM tests</h1>
<p>WebM VP8/Vorbis marked as <code>video/webm; codecs="vp8, vorbis"</code>:</p>
<video controls width=640 height=360>
<source type="video/webm; codecs=&quot;vp8, vorbis&quot;" src=polyphon-vp8-vorbis.webm>
</video>
<p>WebM VP8/Vorbis marked as <code>video/webm</code>:</p>
<video controls width=640 height=360>
<source type="video/webm" src=polyphon-vp8-vorbis.webm>
</video>
<p>WebM VP8/Vorbis unmarked:</p>
<video controls width=640 height=360 src=polyphon-vp8-vorbis.webm>
</video>
<p>WebM VP8 (no audio) marked as <code>video/webm; codecs="vp8"</code>:</p>
<video controls width=640 height=360>
<source type="video/webm; codecs=&quot;vp8&quot;" src=polyphon-vp8.webm>
</video>
<p>WebM VP8 (no audio) marked as <code>video/webm</code>:</p>
<video controls width=640 height=360>
<source type="video/webm" src=polyphon-vp8.webm>
</video>
<p>WebM VP8 (no audio) unmarked:</p>
<video controls width=640 height=360 src=polyphon-vp8.webm>
</video>
</body>
</html>

38
vp8.html Normal file
View file

@ -0,0 +1,38 @@
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<title>Flat VP8 tests</title>
</head>
<body>
<h1>Flat WebM test</h1>
<p>WebM VP8/Vorbis marked as such:</p>
<video id=flat1 controls width=640 height=360>
<source type="video/webm; codecs=&quot;vp8, vorbis&quot;" src=polyphon-vp8-vorbis.webm>
</video>
<p>WebM VP8/Vorbis unmarked:</p>
<video id=flat2 controls width=640 height=360 src=polyphon-vp8-vorbis.webm>
</video>
<p>WebM VP8 (no audio) unmarked:</p>
<video id=flat3 controls width=640 height=360 src=polyphon-vp8.webm>
</video>
<p>MP4 VP8 (no audio), marked as vp8:</p>
<video id=flat4 controls width=640 height=360>
<source type="video/mp4; codecs=&quot;vp8&quot;" src=polyphon-vp8.mp4>
</video>
<p>MP4 VP8 (no audio), marked as vp08:</p>
<video id=flat5 controls width=640 height=360>
<source type="video/mp4; codecs=&quot;vp08&quot;" src=polyphon-vp8.mp4>
</video>
<p>MP4 VP8 (no audio), unmarked:</p>
<video id=flat6 controls width=640 height=360 src=polyphon-vp8.mp4>
</video>
</body>
</html>

57
vp9.html Normal file
View file

@ -0,0 +1,57 @@
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
<title>Flat VP9 tests</title>
</head>
<body>
<h1>Flat WebM test</h1>
<p>WebM VP9/Opus marked as such:</p>
<video id=flat1 controls width=640 height=360>
<source type="video/webm; codecs=&quot;vp9, opus&quot;" src=polyphon-vp9-opus.webm>
</video>
<p>WebM VP9/Opus unmarked:</p>
<video id=flat2 controls width=640 height=360 src=polyphon-vp9-opus.webm>
</video>
<p>WebM VP9 (no audio) unmarked:</p>
<video id=flat3 controls width=640 height=360 src=polyphon-vp9.webm>
</video>
<p>MP4 VP9/MP3, marked as vp09.00.10.08, mp4a.6b:</p>
<video id=flat4 controls width=640 height=360>
<source type="video/mp4; codecs=&quot;vp09.00.10.08, mp4a.6b&quot;" src=polyphon-vp9-mp3.mp4>
</video>
<p>MP4 VP9/MP3, marked as vp09.00.10.08, mp3:</p>
<video id=flat5 controls width=640 height=360>
<source type="video/mp4; codecs=&quot;vp09.00.10.08, mp3&quot;" src=polyphon-vp9-mp3.mp4>
</video>
<p>MP4 VP9/MP3, marked as vp9, mp3:</p>
<video id=flat6 controls width=640 height=360>
<source type="video/mp4; codecs=&quot;vp9, mp3&quot;" src=polyphon-vp9-mp3.mp4>
</video>
<p>MP4 VP9/MP3, unmarked:</p>
<video id=flat7 controls width=640 height=360 src=polyphon-vp9-mp3.mp4>
</video>
<p>MP4 VP9 (no audio), marked as vp09.00.10.08:</p>
<video id=flat8 controls width=640 height=360>
<source type="video/mp4; codecs=&quot;vp09.00.10.08&quot;" src=polyphon-vp9.mp4>
</video>
<p>MP4 VP9 (no audio), marked as vp9:</p>
<video id=flat9 controls width=640 height=360>
<source type="video/mp4; codecs=&quot;vp9&quot;" src=polyphon-vp9.mp4>
</video>
<p>MP4 VP9 (no audio), unmarked:</p>
<video id=flat10 controls width=640 height=360 src=polyphon-vp9.mp4>
</video>
</body>
</html>