Projects
Multimedia
ffx264
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 72
View file
ffx264.changes
Changed
@@ -1,4 +1,16 @@ ------------------------------------------------------------------- +Thu Jan 04 20:09:00 UTC 2018 - neutrino8@opensuse.org + +- Update to version 3.6.1 + * Support tweaking the tonemap algorithms for HDR to SDR conversion + * Increased default desat tonemap value from 2.3 to 4.2 + * Support applying color saturation correction when doing an HDR + to SDR conversion + * Added bt2020-12 to the list of transfers when doing color + characteristics copy + * Updated the HDR_to_SDR_instructions.txt file + +------------------------------------------------------------------- Wed Jan 03 08:29:00 UTC 2018 - neutrino8@opensuse.org - Update to version 3.6.0
View file
ffx264.spec
Changed
@@ -17,7 +17,7 @@ Name: ffx264 -Version: 3.6.0 +Version: 3.6.1 Release: 0 Summary: A small shell script for encoding to H.264 with ffmpeg License: GPL-2.0+
View file
ffx264-3.6.0.tar.gz/ChangeLog -> ffx264-3.6.1.tar.gz/ChangeLog
Changed
@@ -1,3 +1,12 @@ +2018-01-04 - ffx264 3.6.1 + * Support tweaking the tonemap algorithms for HDR to SDR conversion + * Increased default desat tonemap value from 2.3 to 4.2 + * Support applying color saturation correction when doing an HDR + to SDR conversion + * Added bt2020-12 to the list of transfers when doing color + characteristics copy + * Updated the HDR_to_SDR_instructions.txt file + 2018-01-03 - ffx264 3.6.0 * Don't hardcode the desaturation strength of the tonemap filter but let is be an option
View file
ffx264-3.6.0.tar.gz/HDR_to_SDR_instructions.txt -> ffx264-3.6.1.tar.gz/HDR_to_SDR_instructions.txt
Changed
@@ -20,6 +20,11 @@ I prefer Mobius but you are free to experiment with the other options. Next, choose the color space option you want. The options presented are pretty straight-forward. + +- (Optional): if colors look too bleak (desaturated) here and there, you can + apply a "color saturation correction" and increase the saturation strength + until you are satisfied. + This is a sub-option part of the "HDR to SDR Conversion" option. - (Optional): Scale down the input to appropriate resolution if you are targeting HD/Full HD/NTSC/PAL output.
View file
ffx264-3.6.0.tar.gz/ffx264 -> ffx264-3.6.1.tar.gz/ffx264
Changed
@@ -2,8 +2,8 @@ # # Small script to encode to H.264/AVC video using FFmpeg and libx264. # Author: Grozdan "microchip" Nikolov <neutrino8@opensuse.org> -# Version: 3.6.0 -# Date: 2018-01-03 +# Version: 3.6.1 +# Date: 2018-01-04 # # ffx264 is free software ; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -24,7 +24,7 @@ brown() { echo -e "\e[0;33m$1\e[0;39;49m"; } error() { echo -e "\e[1;31m$1\e[0;39;49m"; } -version="3.6.0" +version="3.6.1" CFG="$HOME/.ffx264" cfgversion="34" @@ -1020,9 +1020,29 @@ exit 1 ;; esac - printf "Specify the Desaturation Strength [default is 2.3]: " + case "$tmaopt" in + 1) + printf "Specify the Linear Coefficient before Clipping [default is 1.0]: " + ;; + 2) + printf "Specify the Scale Factor to use while stretching [default is 1.0]: " + ;; + 3) + printf "Specify the Exponent of the Function [default is 1.8]: " + ;; + 4) + printf "Specify the local Contrast Coefficient at the Display Peak [default is 0.5]: " + ;; + 6|"") + printf "Specify the Transition Point from Linear to Mobius Transform [default is 0.3]: " + ;; + esac + read tmparam + test ! -z "$tmparam" && tm_param=":param=$tmparam" + + printf "Specify the Tonemap Desaturation Strength [default is 4.2]: " read desat - test -z "$desat" && tm_desat="2.3" || tm_desat="$desat" + test -z "$desat" && tm_desat=":desat=4.2" || tm_desat=":desat=$desat" echo video_chars_func vchars echo @@ -1045,21 +1065,32 @@ else case "${VCHARS[3]}" in smpte2084|bt2020-10) ztrans="2020_10"; coltrans="bt2020-10" ;; + bt2020-12) ztrans="2020_12"; coltrans="bt2020-12" ;; *) ztrans="${VCHARS[3]}"; coltrans="${VCHARS[3]}" ;; esac - zscale="zscale=transfer=$ztrans" + zscale=",zscale=transfer=$ztrans" colorprim=":transfer=$coltrans:colorprim=${VCHARS[4]}:colormatrix=${VCHARS[2]}" + colcopy="1" fi ;; - 1) zscale="zscale=transfer=bt709"; colorprim=":transfer=bt709:colorprim=bt709:colormatrix=bt709" ;; - 2) zscale="zscale=transfer=bt470bg"; colorprim=":transfer=bt470bg:colorprim=bt470bg:colormatrix=bt470bg" ;; - 3) zscale="zscale=transfer=smpte170m"; colorprim=":transfer=smpte170m:colorprim=smpte170m:colormatrix=smpte170m" ;; + 1) zscale=",zscale=transfer=bt709"; colorprim=":transfer=bt709:colorprim=bt709:colormatrix=bt709" ;; + 2) zscale=",zscale=transfer=bt470bg"; colorprim=":transfer=bt470bg:colorprim=bt470bg:colormatrix=bt470bg" ;; + 3) zscale=",zscale=transfer=smpte170m"; colorprim=":transfer=smpte170m:colorprim=smpte170m:colormatrix=smpte170m" ;; *) error "-> Invalid option!" exit 1 ;; esac - test ! -z "$zscale" && tonemap="zscale=transfer=linear,tonemap=$tm_algo:desat=$tm_desat,$zscale," + if [ ! -z "$zscale" -a -z "$colcopy" ]; then + printf "Apply a Color Saturation Correction? [y/N]: " + read satcor + if [ "$satcor" = "y" -o "$satcor" = "Y" ]; then + printf "Specify the Saturation Strength [0.0-3.0 - default is 1.25]: " + read satval + test -z "$satval" && eq=",eq=saturation=1.25" || eq=",eq=saturation=$satval" + fi + fi + test ! -z "$zscale" && tonemap="zscale=transfer=linear,tonemap=$tm_algo$tm_param$tm_desat$zscale$eq," fi fi }
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.