diff options
author | Jonas Smedegaard <dr@jones.dk> | 2014-09-12 23:05:39 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2014-09-12 23:05:39 +0200 |
commit | 19e6acf971e8239061198548f7c52d07f2a2c874 (patch) | |
tree | 1dcbba81eba8f90bfe05fed95554bda7e19d8fd1 | |
parent | f647e59dbb90f656937c6201f3774b3c5f63050d (diff) |
Fix always use progressive output (apparently input profile isn't adequate).
-rwxr-xr-x | localvideowebencode | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/localvideowebencode b/localvideowebencode index 8f43b52..ffec56f 100755 --- a/localvideowebencode +++ b/localvideowebencode @@ -227,7 +227,7 @@ case "$profile" in webmpreset="${webmpreset:-720p}" ;; '') - _melt_video="progressive=1 frame_rate_den=1${_melt_video:+ $_melt_video}" + _melt_video="frame_rate_den=1${_melt_video:+ $_melt_video}" [ "25" != "$rate" ] || _melt_video="{_melt_video:+$_melt_video }frame_rate_num=$rate" ;; *) exit1 "Unknown profile \"$profile\" - please specify size and aspect directly.";; @@ -280,7 +280,7 @@ esac # TODO: When verified beneficial, add option real_time=-2 melt="melt -progress" _melt_in="${_melt_in:+$_melt_in }$sample" -_melt_video="$_melt_video${bitrate:+ vb=${bitrate}}${size:+ s=$size}${aspect:+ aspect=$aspect}" +_melt_video="progressive=1 $_melt_video${bitrate:+ vb=${bitrate}}${size:+ s=$size}${aspect:+ aspect=$aspect}" _melt_ogg="$_melt_video f=ogg vcodec=libtheora${bitrate:- qscale=5}" _melt_h264="$_melt_video $_melt_h264${bitrate:- qscale=5}" _melt_webm="$_melt_video${webmpreset:+- vpre=libvpx-$webmpreset}" |