summaryrefslogtreecommitdiff
path: root/localvideowebencode
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2021-02-11 16:10:56 +0100
committerJonas Smedegaard <dr@jones.dk>2021-02-11 16:10:56 +0100
commite28a7cadea7c879a97e7404ba165a9d6c2c805db (patch)
tree959d0b4cdf05a1457cfbb87f5e484c61c605d5e8 /localvideowebencode
parent9c4b973cfedc75f30d5a3af68b036c64621b04af (diff)
use formats vp9,avc by default (not vp8,vp9,avc), and treat webm as vp9
Diffstat (limited to 'localvideowebencode')
-rwxr-xr-xlocalvideowebencode12
1 files 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