summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlocalvideowebencode27
1 files changed, 9 insertions, 18 deletions
diff --git a/localvideowebencode b/localvideowebencode
index 2d349ff..00613e1 100755
--- a/localvideowebencode
+++ b/localvideowebencode
@@ -17,19 +17,9 @@
#
# Depends: libav-tools melt ffmpegthumbnailer
#
-# Origins:
-# http://diveintohtml5.org/video.html
-# http://camendesign.com/code/video_for_everybody
-# http://www.streaminglearningcenter.com/articles/so-you-want-to-get-to-know-h264.html
-# http://www.penguinproducer.com/2012/01/ladspa-noise-removal/
-#
-# Possible flashplayers:
-# http://www.internetmarketingnotes.com/2010/07/free-embeddable-flash-video-flv-players-for-commercial-use/
-#
# TODO: offer to skip rendering again if an output file exist already
# TODO: support --width and --height (resolving the other part from input/forced aspect ratio)
# TODO: support --formats (comma-separated, to allow e.g. excluding webm even if supported)
-# TODO: add --speech option, using mono, lower audio rate, and (when solved how) speex
set -e
@@ -90,18 +80,19 @@ melt avformat consumer.
When video bitrate is set, 2-pass encoding is used for MPEG-4 output.
Hints:
- * Use max. 640x480 pixel size for widest compatibility
- (ie. square-pixel 640x360 or anamorphic svcd_ntsc_wide for 16:9)
+ * Use square-pixel max. 480 width (vga 480p) for widest compatibility.
* Use a modulus 16 profile (qvga vga 480p 720p) for best compression.
- * Append these for single-mic speech: ac=1 ar=32000 ab=64k
* Set bitrate for optimal MPEG-4/WebM bits-per-pixel ratio:
+ talking head: 0.1
+ high-motion or detailed content: 0.15
- (inspect result with mediainfo)
-
-More info: <http://camendesign.com/code/video_for_everybody>
- <http://www.streaminglearningcenter.com/>
- <http://en.wikipedia.org/wiki/HTML5_video>
+ (inspect bits-per-pixel ratio with mediainfo)
+
+More info:
+<http://camendesign.com/code/video_for_everybody>
+<http://www.streaminglearningcenter.com/articles/configuring-your-streaming-video-(for-newbies).html>
+<http://en.wikipedia.org/wiki/HTML5_video>
+<http://www.penguinproducer.com/2012/01/ladspa-noise-removal/>
+<http://www.internetmarketingnotes.com/2010/07/free-embeddable-flash-video-flv-players-for-commercial-use/>
EOF
}