diff options
author | Jonas Smedegaard <dr@jones.dk> | 2014-09-16 11:34:25 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2014-09-16 11:35:05 +0200 |
commit | 6bfdcf89d763e736b0b1728156ebd63cf62b7796 (patch) | |
tree | 09eca8e7b149aaf296a77ed143373f4b87034c79 | |
parent | 48a9a2f5a1527f61cc6ec3a814fe44e6246fcb79 (diff) |
Fix 240p width to be half of 480p.
-rwxr-xr-x | localvideowebencode | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/localvideowebencode b/localvideowebencode index 0cec126..2d349ff 100755 --- a/localvideowebencode +++ b/localvideowebencode @@ -43,11 +43,12 @@ html favoring open formats with optional non-JavaScript Flash fallback. -p, --profile Video format: [modulus 16] - 320x240 qvga 240p 432x240 wqvga + 320x240 qvga 640x480 vga 480p 848x480 wvga 576p 1024x576 wsvga 1024x768 xga hd 720p 1280x720 wxga [modulus 8] + 240p 424x240 wqvga 480x360 hvga nhd 360p 640x360 800x600 svga -s, --size Output size (ffmpeg): WIDTHxHEIGHT vga qcif etc. @@ -202,9 +203,9 @@ case "$profile" in _melt_video="${size:-width=1024 height=768}${_melt_video:+ $_melt_video}" webmpreset="${webmpreset:-720p}" ;; - 240p|432x240|wqvga) + 240p|424x240|wqvga) _melt_in="-profile=atsc_720p_25${_melt_in:+ $_melt_in}" - _melt_video="${size:-width=432 height=240}${_melt_video:+ $_melt_video}" + _melt_video="${size:-width=424 height=240}${_melt_video:+ $_melt_video}" webmpreset="${webmpreset:-360p}" ;; 360p|640x360|nhd) |