summaryrefslogtreecommitdiff
path: root/localvideowebencode
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2014-09-26 21:12:38 +0200
committerJonas Smedegaard <dr@jones.dk>2014-09-26 21:12:38 +0200
commitc54c6bc11cd6df8c8a167009cea5a8d1fa40b07d (patch)
tree8e0f3dda36200aa23177e4eb146ed83f455f47b9 /localvideowebencode
parentfe3c6634cc01b039863cf1412df6c21d720021f1 (diff)
Tidy help output.
Diffstat (limited to 'localvideowebencode')
-rwxr-xr-xlocalvideowebencode61
1 files changed, 29 insertions, 32 deletions
diff --git a/localvideowebencode b/localvideowebencode
index 126e1b2..be2a188 100755
--- a/localvideowebencode
+++ b/localvideowebencode
@@ -35,11 +35,9 @@ html favoring open formats with optional non-JavaScript Flash fallback.
talkinghead 0.1
action 0.15
(default: none)
- -p, --profile Video format - size with optional rate suffix,
- delimited by @ (except for widescreen labels):
- e.g. 848x480@25 480p25 wvga@25
- (default: none)
- -s, --size: Video frame size:
+ -p, --profile Video frame size and optional rate, delimited by @
+ except "p" labels: e.g. 848x480@25 480p25 wvga@25
+ -s, --size Set video frame size:
[modulus 16]
320x240 qvga
640x480 vga 480p 848x480 wvga
@@ -50,49 +48,48 @@ html favoring open formats with optional non-JavaScript Flash fallback.
480x360 hvga nhd 360p 640x360
800x600 svga
(default: use input size)
- -a, --aspect Display Aspect Ratio in melt format e.g. @16/9
+ -a, --aspect Display Aspect Ratio in melt format: e.g. @16/9
(default: no aspect hinting)
- -r, --rate Video framerate - integer or fraction:
- e.g. 15 1001/24000 25 1001/30000
+ -r, --rate Video framerate: e.g. 25 1001/30000
(default: use input framerate)
- --refbpp Reference bits-per-pixel (relative to 360p30), for
- computing average bitrate when not fixed.
+ --refbpp Reference bits-per-pixel relative to 360p30, for
+ computing average bitrate when not fixed
(default: 0.12)
-b, --bitrate Fixed video bitrate in bytes: e.g. 768k 1M
(default: none - use variable bitrate)
- --formats Containers and codecs to use (comma-sparated):
- container video codec audio codec
- theora ogg Ogg Theora Vorbis
- vp8 webm WebM VP8 Vorbis
- vp9 WebM VP9 Opus
- h264 mp4 MPEG-4 H.264 AAC
+ --formats Containers and codecs to use, comma-separated:
+ [container] [video codec] [audio codec]
+ theora ogg Ogg Theora Vorbis
+ vp8 webm WebM VP8 Vorbis
+ vp9 WebM VP9 Opus
+ h264 mp4 MPEG-4 H.264 AAC
(default: webm,vp9,mp4)
--audio Audio style:
- channels limit Vorbis Opus AAC
- music max 2 64k 64k audio 96k
- hqspeech 1 48k 32k voip 64k
- speech 1 X 48k 32k voip 64k
+ [channels] [limit] [Vorbis] [Opus] [AAC]
+ music max 2 64k 64k audio 96k
+ hqspeech 1 48k 32k voip 64k
+ speech 1 X 48k 32k voip 64k
silence 0
- (default: none - use channel count of 1st input)
- --audioprefilter Add melt audio filter before loudness.
- --loudness Add EBU R128 loudness filter.
- --loudness-data Add loudness filter, with precomputed results.
+ (default: none - use channel count of first input)
+ --audioprefilter Add audio filter before loudness
+ --loudness Add EBU R128 loudness filter
+ --loudness-data Add loudness filter, with precomputed results
(default: none - compute results on-the-fly)
- --filter Add melt filter (applied to all input files)
+ --filter Add filter
--stem Stem of output filenames, optionally with path
- (default: basename of last input file)
+ (default: basename of first input)
-t, --title Title used in html fallback graphics
(default: stem)
- --sample Create only a 150 frames long sample.
- --sample-start Create sample, starting at a specific frame.
+ --sample Create only a 150 frames long sample
+ --sample-start Create sample, starting at a specific frame
(default: start at first frame)
- --sample-length Create sample, of specified length in frames.
- (default: 150 frames - i.e. approx. 5s)
+ --sample-length Create sample of specified length, in frames
+ (default: 150 frames i.e. approx. 5s)
-h, --help This help text
Examples:
- $PRG -s qvga -t "Funny guy" intro.dv myvideo.dv
- $PRG -p 480p --stem funny --filter "grain noise=20" myvideo.dv
+ $PRG -s qvga -t "Funny guy" intro.dv myvideo.dv
+ $PRG -p 480p15 --filter "grain noise=20" myvideo.dv
Recommendations for best results:
* Use square-pixel max. 480 width (vga 480p).