diff options
| author | Miguel <m.i@gmx.at> | 2019-03-19 12:04:02 +0100 |
|---|---|---|
| committer | Miguel <m.i@gmx.at> | 2019-03-19 12:04:02 +0100 |
| commit | 2074edea81ea129085f451792b5ef601bbba46c2 (patch) | |
| tree | 6399f8421459bc8d5cba5dd8a5737298d1e0f9ef /00_blog/00015_Admin | |
| parent | ac80f0ef348db426029a70745bb7a15ead38e028 (diff) | |
new stuff and sort stuff
Diffstat (limited to '00_blog/00015_Admin')
| -rw-r--r-- | 00_blog/00015_Admin/00040_Oneliners/index.md | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/00_blog/00015_Admin/00040_Oneliners/index.md b/00_blog/00015_Admin/00040_Oneliners/index.md index c16a515..a4384a0 100644 --- a/00_blog/00015_Admin/00040_Oneliners/index.md +++ b/00_blog/00015_Admin/00040_Oneliners/index.md @@ -39,3 +39,21 @@ not really a one-lier but will print 256 colors in a bash: fi done +## Web Video and Audio + +convert a video to the **WebM** container format, accommodating the **VP8** video codec +and the **MP4** container accommodating the **H.264** codec. + +Providing this two versions of your video should result in a decent coverage according to: +<https://developer.mozilla.org/en-US/docs/Web/HTML/Supported_media_formats#Browser_compatibility> + + ffmpeg -i video.mp4 -vcodec vp8 mazeball.webm + ffmpeg -i video.mp4 -vcodec h264 mazeball.mp4 + +If you require an audio codec as well use **Vorbis** in **WebM** and +**AAC** inside **MP4** respectively. + +Yet before making a final decision, consider that many modern devices +have hardware to assist in video and audio decoding, saving on CPU and +battery consumption. + |
