mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 09:15:35 +00:00
d00c420b2c
MozReview-Commit-ID: 4GhSLun9x6Z
6 lines
219 B
Bash
Executable File
6 lines
219 B
Bash
Executable File
#!/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
|