From e28a7cadea7c879a97e7404ba165a9d6c2c805db Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Thu, 11 Feb 2021 16:10:56 +0100 Subject: use formats vp9,avc by default (not vp8,vp9,avc), and treat webm as vp9 --- localvideowebencode | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/localvideowebencode b/localvideowebencode index 86a753c..5632685 100755 --- a/localvideowebencode +++ b/localvideowebencode @@ -125,10 +125,10 @@ html favoring open formats with optional non-JavaScript Flash fallback. --formats Container and media formats to use, comma-separated: [container] [video] [audio] theora ogg Ogg Theora Vorbis - vp8 webm WebM VP8 Vorbis - vp9 WebM VP9 Opus + vp8 WebM VP8 Vorbis + vp9 webm WebM VP9 Opus avc h264 mp4 MPEG-4 H.264/AVC AAC-LC - (default: vp8,vp9,avc) + (default: vp9,avc) --audio Audio style: [channels] [bitrate per channel] music max. 2 ~48-64k @@ -197,7 +197,7 @@ exit1() { } # defaults -formats=vp8,vp9,avc +formats=vp9,avc stillframe=0 samplestart=0 samplelength=150 @@ -503,8 +503,8 @@ for format in $(echo "$formats" | sed -e 's/,/ /g'); do case $format in theora|ogg) ogv=yes;; avc|h264|mp4) mp4=yes;; - vp8|webm) webm=yes;; - vp9) webm_vp9=yes;; + vp8) webm=yes;; + vp9|webm) webm_vp9=yes;; *) exit1 "Unknown format \"$format\".";; esac done -- cgit v1.2.3