From 2074edea81ea129085f451792b5ef601bbba46c2 Mon Sep 17 00:00:00 2001 From: Miguel Date: Tue, 19 Mar 2019 12:04:02 +0100 Subject: new stuff and sort stuff --- 00_blog/00015_Admin/00040_Oneliners/index.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to '00_blog/00015_Admin') 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: + + + 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. + -- cgit v1.2.3