Repository navigation
Releases: website-local/assets
Releases · website-local/assets
Release list
Small videos for mdn-local
This tag holds videos that replaces the large video during downloading from mdn.
See website-local/mdn-local#1118 and website-local/mdn-local#1318
Also note that www.mdnplay.dev here is for *.mdnplay.dev, where the * is some hash of the content.
Full list of replaced videos and encode params
ed_hd.avi (https://archive.org/download/ElephantsDream/ed_hd.avi)
ffmpeg -i ed_hd.avi -s 960x540 -t 15 -c:v msmpeg4v2 -vtag MP42 -b:v 250k -r 24 -c:a ac3 -b:a 32k -ac 2 output.avied_1024_512kb.mp4 (https://archive.org/download/ElephantsDream/ed_1024_512kb.mp4)
ffmpeg -i ed_1024_512kb.mp4 -t 15 -c copy -f mp4 -movflags +faststart out.mp4ed_hd.ogv (https://archive.org/download/ElephantsDream/ed_hd.ogv)
ffmpeg -i ed_hd.ogv -t 15 -c copy out.ogvbigbuckbunny.mp4 (https://mdn.github.io/dom-examples/picture-in-picture/assets/bigbuckbunny.mp4)
Also replaces:
- https://archive.org/download/BigBuckBunny_124/Content/big_buck_bunny_720p_surround.mp4
- https://mdn.github.io/dom-examples/fullscreen-api/assets/bigbuckbunny.mp4
- https://mdn.github.io/dom-examples/document-picture-in-picture/assets/bigbuckbunny.mp4
ffmpeg -i bigbuckbunny.mp4 -c:v libx264 -profile:v high -s 960x540 -level 3.1 -preset slower -b:v 700k -maxrate 2000k -bufsize 2000k -x264-params "cabac=1:ref=4:bframes=3:me=hex:subme=7:rc-lookahead=40:vbv-maxrate=2000:vbv-bufsize=2000" -c:a aac -b:a 32k -movflags +faststart output.mp4coffee.mp4 (https://mdn.github.io/imsc-examples/videos/coffee.mp4)
ffmpeg -i coffee.mp4 -c:v libx264 -profile:v high -level 4.0 -s 960x540 -b:v 300k -maxrate 2500k -bufsize 5000k -x264-params "cabac=1:ref=3:bframes=3:b-adapt=1:direct=1:weightb=1:keyint=infinite:keyint_min=29:scenecut=40:deblock=1,0,0:rc_lookahead=40" -preset slower -c:a aac -b:a 32k -movflags +faststart output.mp4stars.mp4 (https://mdn.github.io/imsc-examples/videos/stars.mp4)
ffmpeg -i stars.mp4 -vf "scale=960:-2,format=yuv420p" -crf 25 -c:v libx264 -x264-params "cabac=1:ref=4:me=hex:subme=8:psy=1:me_range=16:chroma_me=1:trellis=2:8x8dct=1:fast_pskip=1:chroma_qp_offset=-2:threads=34:lookahead_threads=5:interlaced=0:bluray_compat=0:stitchable=1:constrained_intra=0:bframes=3:b_pyramid=2:b_adapt=1:b_bias=0:weightb=1:open_gop=0:weightp=2:keyint=infinite:keyint_min=23:scenecut=40:intra_refresh=0:rc_lookahead=50:mbtree=1:qcomp=0.60:qpmin=5:qpmax=69:qpstep=4:vbv_maxrate=5500:vbv_bufsize=15000:nal_hrd=none" -profile:v high -level 4.0 -color_primaries bt709 -color_trc bt709 -colorspace bt709 -c:a aac -b:a 32k -movflags +faststart output.mp4sintel-short.mp4 (https://mdn.github.io/learning-area/javascript/apis/video-audio/finished/video/sintel-short.mp4)
Also replaces:
- https://mdn.github.io/html-examples/link-rel-preload/video/sintel-short.mp4
- https://www.mdnplay.dev/shared-assets/videos/sintel-short.mp4
ffmpeg -i sintel-short.mp4 -map 0 -c:v libx264 -profile:v baseline -level 3.0 -x264-params "cabac=0:ref=1:deblock=1,0,0:analyse=0x1,0x111:me=umh:subme=8:psy=0:mixed_ref=0:me_range=16:chroma_me=1:fast_pskip=1:threads=6:sliced_threads=0:nr=0:decimate=1:interlaced=0:bluray_compat=0:constrained_intra=0:bframes=0:weightp=0:keyint=250:keyint_min=25:scenecut=40:intra_refresh=0:rc_lookahead=50:rc=abr:mbtree=0:ratetol=1.0:qcomp=0.60:qpmin=10:qpmax=51:qpstep=4:vbv_maxrate=10000:vbv_bufsize=10000:nal_hrd=none:ip_ratio=1.40" -b:v 200k -t 30s -c:a aac -b:a 32k -movflags +faststart -map_metadata 0 -map_chapters 0 -metadata:s:a:0 language=eng output.mp4sintel-short.webm (https://mdn.github.io/learning-area/javascript/apis/video-audio/finished/video/sintel-short.webm)
Also replaces:
- https://mdn.github.io/html-examples/link-rel-preload/video/sintel-short.webm
- https://www.mdnplay.dev/shared-assets/videos/sintel-short.webm
ffmpeg -i sintel-short.webm -t 30 -map 0 -c:v copy -ac 2 -c:a libvorbis -q:a 1 output.webmtears-of-steel-battle-clip-medium.mp4 (https://www.mdnplay.dev/shared-assets/videos/tears-of-steel-battle-clip-medium.mp4)
ffmpeg -y -i "tears-of-steel-battle-clip-medium.mp4" -t 20 -c:v libx264 -profile:v main -level 4.0 -preset medium -crf 28 -x264-params "cabac=1:ref=4:deblock=1:0:0:me=hex:subme=2:psy=1:psy_rd=1.00:8x8dct=0:aq-mode=1:aq-strength=1.00:keyint=240:min-keyint=24:scenecut=40:bframes=3:b_adapt=1:b_pyramid=2:weightb=1:weightp=1" -bf 3 -pix_fmt yuv420p -c:a aac -b:a 32k -ac 2 -movflags +faststart "out.mp4"tears-of-steel-battle-clip-medium.ogg (https://www.mdnplay.dev/shared-assets/videos/tears-of-steel-battle-clip-medium.ogg)
ffmpeg -i tears-of-steel-battle-clip-medium.ogg -ss 0 -t 20 -c:v libtheora -b:v 340k -compression_level 9 -c:a libvorbis -q:a 0 -movflags +faststart -f ogg -y out.oggtears-of-steel-battle-clip-medium.webm (https://www.mdnplay.dev/shared-assets/videos/tears-of-steel-battle-clip-medium.webm)
ffmpeg -ss 0 -i tears-of-steel-battle-clip-medium.webm -t 20 -c:v copy -c:a libvorbis -q:a 0 -f webm -auto-alt-ref 1 out.webmStatic files for mdn-local
Static files for mdn-local