Projects
Multimedia
ffhevc
Sign Up
Log In
Username
Password
We truncated the diff of some files because they were too big. If you want to see the full diff for every file,
click here
.
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 58
View file
ffhevc.changes
Changed
@@ -1,4 +1,19 @@ ------------------------------------------------------------------- +Mon Jun 05 03:55:00 UTC 2017 - neutrino8@opensuse.org + +- Update to version 3.3.2 + * Remove redundant software scaler warning and exit in + the sws_func() function for the config file + * Added support for the experimental software scaler + * Lower psy-rdoq from 2.5 to 1.5 and psy-rd from 2.5 to + 2.0 to eliminate ringing artifacts + * No need to enclose the values of max-cll in quotes + * Removed additional encoder info on max audio channels support + * Added support for software scaler tuning where applicable + * Added example JSON file for Dynamic HDR10+ to the package + * Updated the Makefile + +------------------------------------------------------------------- Sun Jun 04 21:45:00 UTC 2017 - neutrino8@opensuse.org - Update to version 3.3.1
View file
ffhevc.spec
Changed
@@ -17,7 +17,7 @@ Name: ffhevc -Version: 3.3.1 +Version: 3.3.2 Release: 0 Summary: A small shell script for encoding to H.265/HEVC with ffmpeg License: GPL-2.0+ @@ -50,6 +50,6 @@ %defattr(-,root,root) %{_bindir}/%{name} %{_mandir}/man1/%{name}.1%{ext_man} -%doc AUTHORS ChangeLog LICENSE README preset.txt +%doc AUTHORS ChangeLog LICENSE README preset.txt Dynamic_HDR10_Example.json %changelog
View file
ffhevc-3.3.1.tar.gz/ChangeLog -> ffhevc-3.3.2.tar.gz/ChangeLog
Changed
@@ -1,3 +1,16 @@ +2017-06-05 - ffhevc 3.3.2 + * Remove redundant software scaler warning and exit in + the sws_func() function for the config file + * Added support for the experimental software scaler + * Lower psy-rdoq from 2.5 to 1.5 and psy-rd from 2.5 to + 2.0 to eliminate ringing artifacts + * No need to enclose the values of max-cll in quotes + * Removed additional encoder info on max audio channels support + * Added support for software scaler tuning where applicable + * Added example JSON file for Dynamic HDR10+ to the + package + * Updated the Makefile + 2017-06-04 - ffhevc 3.3.1 * Further optimizations to the default encoding options * Match software scaler options in config file with the
View file
ffhevc-3.3.2.tar.gz/Dynamic_HDR10_Example.json
Added
@@ -0,0 +1,58 @@ +[ + { + "BezierCurveData": { + "Anchor0": 461, + "Anchor1": 584, + "Anchor10": 971, + "Anchor11": 989, + "Anchor12": 1002, + "Anchor13": 1011, + "Anchor2": 651, + "Anchor3": 708, + "Anchor4": 761, + "Anchor5": 808, + "Anchor6": 851, + "Anchor7": 888, + "Anchor8": 921, + "Anchor9": 949, + "KneePointX": 0, + "KneePointY": 0, + "NumberOfAnchors": 14 + }, + "LocalParameters": [ + ], + "LuminanceParameters": { + "AverageRGB": 13925, + "MaxScl0": 39521, + "MaxScl1": 39521, + "MaxScl2": 39521, + "PercentileLuminance": { + "NumberOfPercentiles": 10, + "PercentileLuminance0": 0, + "PercentileLuminance1": 1, + "PercentileLuminance2": 2, + "PercentileLuminance3": 79, + "PercentileLuminance4": 2514, + "PercentileLuminance5": 39521, + "PercentileLuminance6": 39522, + "PercentileLuminance7": 39523, + "PercentileLuminance8": 39524, + "PercentileLuminance9": 39525, + "PercentilePercentage0": 1, + "PercentilePercentage1": 5, + "PercentilePercentage2": 10, + "PercentilePercentage3": 25, + "PercentilePercentage4": 50, + "PercentilePercentage5": 75, + "PercentilePercentage6": 90, + "PercentilePercentage7": 95, + "PercentilePercentage8": 98, + "PercentilePercentage9": 99 + } + }, + "NumberOfWindows": 1, + "SceneFrameIndex": 0, + "SceneId": 0, + "TargetedSystemDisplayMaximumLuminance": 400 + } +]
View file
ffhevc-3.3.1.tar.gz/Makefile -> ffhevc-3.3.2.tar.gz/Makefile
Changed
@@ -9,7 +9,7 @@ cp -f ffhevc $(PREFIX)/bin chmod 755 $(PREFIX)/bin/ffhevc - cp -f AUTHORS LICENSE README ChangeLog preset.txt $(DOCDIR)/ffhevc + cp -f AUTHORS LICENSE README ChangeLog preset.txt Dynamic_HDR10_Example.json $(DOCDIR)/ffhevc chmod 644 $(DOCDIR)/ffhevc/* cp -f ffhevc.1 $(MANDIR) gzip -9 -f $(MANDIR)/ffhevc.1
View file
ffhevc-3.3.1.tar.gz/ffhevc -> ffhevc-3.3.2.tar.gz/ffhevc
Changed
@@ -2,8 +2,8 @@ # # Small script to encode to H.265/HEVC video using FFmpeg and libx265. # Author: Grozdan "microchip" Nikolov <neutrino8@opensuse.org> -# Version: 3.3.1 -# Date: 2017-06-04 +# Version: 3.3.2 +# Date: 2017-06-05 # # ffhevc is free software ; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -24,10 +24,10 @@ brown() { echo -e "\e[0;33m$1\e[0;39;49m"; } error() { echo -e "\e[1;31m$1\e[0;39;49m"; } -version="3.3.1" +version="3.3.2" CFG="$HOME/.ffhevc" -cfgversion="35" +cfgversion="36" genconfig_func() { cat<<EOF>>"$CFG" @@ -63,16 +63,17 @@ # Leave empty to ask each time or # set a default software scaler # -# 0 = fast_bilinear +# 0 = fast bilinear # 1 = bilinear # 2 = bicubic -# 3 = neighbor -# 4 = area -# 5 = bicublin -# 6 = gauss +# 3 = nearest neighbor +# 4 = area averaging +# 5 = luma bicubic/chroma bilinear +# 6 = gaussian # 7 = sinc # 8 = lanczos # 9 = spline +# 10 = experimental # SCALER="" @@ -111,7 +112,7 @@ # libx265 parameters. Modify, if needed, # to fit your needs # merange is calculated as: ctu size - 4(luma) - 2(chroma) (- 1 if me=hex is used) -X265PARAMS="ref=4:me=star:bframes=6:rd=5:subme=3:merange=58:strong-intra-smoothing=0:ctu=64:sao=0:cu-lossless=0:cutree=1:tu-inter-depth=3:tu-intra-depth=3:rskip=1:max-merge=3:rc-lookahead=60:aq-mode=1:aq-strength=1.1:rdoq-level=1:psy-rdoq=2.5:psy-rd=2.5:limit-modes=1:limit-refs=3:limit-tu=4:rd-refine=1:deblock=-3,-3:weightb=1:weightp=1:rect=1:amp=0:wpp=1:pmode=0:pme=0:b-intra=1:b-adapt=2:b-pyramid=1:tskip-fast=0:fast-intra=0:early-skip=0:min-keyint=24:keyint=240" +X265PARAMS="ref=4:me=star:bframes=6:rd=5:subme=3:merange=58:strong-intra-smoothing=0:ctu=64:sao=0:cu-lossless=0:cutree=1:tu-inter-depth=3:tu-intra-depth=3:rskip=1:max-merge=3:rc-lookahead=60:aq-mode=1:aq-strength=1.1:rdoq-level=1:psy-rdoq=1.5:psy-rd=2.0:limit-modes=1:limit-refs=3:limit-tu=4:rd-refine=1:deblock=-3,-3:weightb=1:weightp=1:rect=1:amp=0:wpp=1:pmode=0:pme=0:b-intra=1:b-adapt=2:b-pyramid=1:tskip-fast=0:fast-intra=0:early-skip=0:min-keyint=24:keyint=240" # Leave empty to auto-detect ffmpeg/ffprobe or # set your custom ones (eg, /path/to/bin/ffmpeg) @@ -1075,7 +1076,7 @@ test ! -z "$mdcv" && master_display=":master-display=$mdcv" printf "Specify the Content Light Level Info (max-cll) [press 'Enter' to skip]: " read clli - test ! -z "$clli" && max_cll=":max-cll=\"$clli\"" + test ! -z "$clli" && max_cll=":max-cll=$clli" printf "Add Luma/Chroma Offsets (hdr-opt)? [y/N]: " read lcoffset if [ "$lcoffset" = "y" -o "$lcoffset" = "Y" ]; then @@ -1170,12 +1171,9 @@ 7) scaler="sinc" ;; 8) scaler="lanczos" ;; 9) scaler="spline" ;; + 10) scaler="experimental" ;; *) case "$1" in - config) - error "-> Invalid software scaler in config file '$CFG'" - exit 1 - ;; script) error "-> Invalid option!" exit 1 @@ -1188,23 +1186,24 @@ echo brown " Software Scalers" brown " ~~~~~~~~~~~~~~~~" - echo " 0 -> Fast Bilinear" - echo " 1 -> Bilinear" - echo " 2 -> Bicubic" - echo " 3 -> Neighbor" - echo " 4 -> Area" - echo " 5 -> Luma Bicubic/Chroma Bilinear" - echo " 6 -> Gaussian" - echo " 7 -> Sinc" - echo " 8 -> Lanczos" - echo " 9 -> Natural Bicubic Spline" + echo " 0 --> Fast Bilinear" + echo " 1 --> Bilinear" + echo " 2 --> Bicubic" + echo " 3 --> Nearest Neighbor" + echo " 4 --> Area Averaging" + echo " 5 --> Luma Bicubic/Chroma Bilinear" + echo " 6 --> Gaussian" + echo " 7 --> Sinc" + echo " 8 --> Lanczos" + echo " 9 --> Natural Bicubic Spline" + echo " 10 -> Experimental" echo printf "Sepcify the Software Scaler [default is 9]: " read swsopt sws_func script else case "$SCALER" in - [0-9]) + [0-9]|10) sws_func config echo green "-> Using software scaler set in config file '$CFG'" @@ -1216,6 +1215,78 @@ ;; esac fi + case "$swsopt" in + 2) + echo + brown "Scaler Tuning" + brown "~~~~~~~~~~~~~" + echo " 0 -> Default (0.00, 0.60)" + echo " 1 -> VirtualDub's \"Precise Bicubic\" (0.00, 0.75)" + echo " 2 -> Custom" + echo + printf "Select the Scaler Tuning option [default is 0]: " + read swstune + case "$swstune" in + 0|"") swsparam0=":param0=0.00"; swsparam1=":param1=0.60" ;; + 1) swsparam0=":param0=0.00"; swsparam1=":param1=0.75" ;; + 2) + printf "Specify the Custom Scaler Tuning options [default is 0.00:0.60]: " + read swscus + if [ ! -z "$swscus" ]; then + swsparam0=":param0=$(echo "$swscus" | awk -F: '{print $1}')" + swsparam1=":param1=$(echo "$swscus" | awk -F: '{print $2}')" + fi + ;; + *) + error "-> Invalid option!" + exit 1 + ;; + esac + ;; + 6|8) + if [ "$swsopt" = "6" ]; then + swscaler="Gaussian" + swsharp="0-100" + else + swscaler="Lanczos" + swsharp="0-10" + fi + printf "Specify the $swscaler scaler Sharpness [$swsharp - default is 0]: " + read swstune + test ! -z "$swstune" && swsparam0=":param0=$swstune" + ;; + 9) + echo + brown "Scaler Tuning" + brown "~~~~~~~~~~~~~" + echo " 0 -> Default (0.00, 0.60)" + echo " 1 -> Catmull-Rom Spline (0.00, 0.50)" + echo " 2 -> Mitchell-Netravali Spline (0.33, 0.33)" + echo " 3 -> Cubic B-Spline (1.00, 0.00)" + echo " 4 -> Custom" + echo + printf "Specify the Scaler Tuning option [default is 0]: " + read swstune + case "$swstune" in + 0|"") swsparam0=":param0=0.00"; swsparam1=":param1=0.60" ;; + 1) swsparam0=":param0=0.00"; swsparam1=":param1=0.50" ;; + 2) swsparam0=":param0=0.33"; swsparam1=":param1=0.33" ;; + 3) swsparam0=":param0=1.00"; swsparam1=":param1=0.00" ;; + 4) + printf "Specify the Custom Scaler Tuning options [default is 0.00:0.60]: " + read swscus + if [ ! -z "$swscus" ]; then + swsparam0=":param0=$(echo "$swscus" | awk -F: '{print $1}')" + swsparam1=":param1=$(echo "$swscus" | awk -F: '{print $2}')" + fi + ;; + *) + error "-> Invalid option" + exit 1 + ;; + esac + ;; + esac printf "Enable Accurate Rounding? [y/N]: " read around if [ "$around" = "y" -o "$around" = "Y" ]; then @@ -1227,7 +1298,7 @@ fullchroma="+full_chroma_int" fi test ! -z "$interlaced" && interl=":interl=1" - scale="scale=$res$interl:flags=$scaler$accuround$fullchroma," + scale="scale=$res$interl:flags=$scaler$accuround$fullchroma$swsparam0$swsparam1,"
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
.