dom/media/benchmark/sample
author Anthony Jones <ajones@mozilla.com>
Tue, 12 Apr 2016 19:49:50 +1200
changeset 293157 1cbabad59a633c1b555b1c6574e11bd12404c022
parent 287446 604c7c7a01f3c31ec84c43d8a757f52b7a714e07
permissions -rwxr-xr-x
Bug 1263839 - WebM is now actually a VP9 sample; r=me MozReview-Commit-ID: M1YITCfRgj

#!/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