mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 09:15:35 +00:00
6 lines
219 B
Plaintext
6 lines
219 B
Plaintext
|
#!/bin/bash -e
|
||
|
ffmpeg -i bbb-31.webm -frames:v 8 -map 0:0 sWebMSample.webm -y
|
||
|
mv sWebMSample.webm sWebMSample
|
||
|
xxd -i sWebMSample |head --lines=-1 | sed 's/unsigned char/static uint8_t/' > ../WebMSample.h
|
||
|
rm sWebMSample
|