dom/media/benchmark/sample
author criss <ccozmuta@mozilla.com>
Sat, 16 Oct 2021 12:46:38 +0300
changeset 596077 e4581e1d6e4b7bc1e647350c0fb67fd2b57e90c9
parent 293157 1cbabad59a633c1b555b1c6574e11bd12404c022
permissions -rwxr-xr-x
Backed out changeset ce929d9e000a (bug 1732674) for causing nsLineIterator::FindLineContaining crashes (bug 1733047) . a=aryx

#!/bin/bash -e
wget http://people.mozilla.org/~ajones/frame-drop-test/bbb-31.webm -O bbb-31.webm
ffmpeg -i bbb-31.webm -frames:v 8 -codec copy -map 0:0 sWebMSample.webm -y
mv sWebMSample.webm sWebMSample
xxd -i sWebMSample |head --lines=-1 | sed 's/unsigned char/static const uint8_t/' > ../WebMSample.h
rm sWebMSample
rm bbb-31.webm