Projects
Multimedia
ffhevc
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 270
View file
ffhevc.changes
Changed
@@ -1,4 +1,13 @@ ------------------------------------------------------------------- +Wed Nov 12 22:30:00 UTC 2025 - microchip8@proton.me + +- Update to version 4.6.6 + * Lower subme from 7 to 5 in the script preset and + increase aq-strength to 1.1 + * Support setting a default zimg scaler in the config + file + +------------------------------------------------------------------- Sun Nov 09 11:43:00 UTC 2025 - microchip8@proton.me - Update to version 4.6.5
View file
ffhevc.spec
Changed
@@ -17,7 +17,7 @@ Name: ffhevc -Version: 4.6.5 +Version: 4.6.6 Release: %mkrel 1 Summary: A small shell script for encoding to H.265/HEVC with FFmpeg License: GPL-2.0+
View file
ffhevc-4.6.5.tar.gz/ChangeLog -> ffhevc-4.6.6.tar.gz/ChangeLog
Changed
@@ -1,3 +1,9 @@ +2025-11-12 - ffhevc 4.6.6 + * Lower subme from 7 to 5 in the script preset and + increase aq-strength to 1.1 + * Support setting a default zimg scaler in the config + file + 2025-11-09 - ffhevc 4.6.5 * Set max-cll to 0,0 in case no values were detected * Warn user that HDR10 will be disabled in case of
View file
ffhevc-4.6.5.tar.gz/ffhevc -> ffhevc-4.6.6.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 <microchip8@proton.me> -# Version: 4.6.5 -# Date: 2025-11-09 +# Version: 4.6.6 +# Date: 2025-11-12 # # 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 "\e0;33m$1\e0;39;49m"; } error() { echo -e "\e1;31m$1\e0;39;49m"; } -version="4.6.5" +version="4.6.6" CFG="$HOME/.ffhevc" -cfgversion="93" +cfgversion="94" genconfig_func() { cat<<EOF>>"$CFG" @@ -66,7 +66,7 @@ SCALE="y" # Leave empty to ask each time or -# set a default software scaler +# set a default FFmpeg scaler # # 0 = fast bilinear # 1 = bilinear @@ -82,6 +82,15 @@ # SCALER="" +# Leave empty to ask each time or +# set a default zimg scaler. +# +# Choose between: point, bilinear, +# bicubic, spline16, spline36, +# lanczos3 and lanczos4 +# +ZSCALER="" + # Video filters VID_DENOISE="y" VID_NOISE="y" @@ -126,7 +135,7 @@ # libx265 parameters for the 'script' preset # merange is calculated as: ctu size - 4(luma) - 2(chroma) (- 1 if me=hex is used) -X265PARAMS="ref=4:me=umh:merange=52:subme=7:bframes=6:rd=4:rd-refine=0:qcomp=0.63:fades=1:strong-intra-smoothing=0:ctu=32:qg-size=32:sao=0:selective-sao=0:cu-lossless=1:cutree=1:tu-inter-depth=4:tu-intra-depth=4:max-merge=4:rskip=2:rskip-edge-threshold=1:qp-adaptation-range=1.2:rc-lookahead=60:aq-mode=1:aq-strength=1.0:rdoq-level=1:psy-rd=4.0:psy-rdoq=15.0:limit-modes=1:limit-refs=1:limit-tu=0:deblock=-3,-3:weightb=1:weightp=1:rect=1:amp=1:wpp=1:b-intra=1:b-adapt=2:b-pyramid=1:tskip=0:tskip-fast=0:fast-intra=0:early-skip=0:splitrd-skip=0:refine-mv=3:refine-intra=4:refine-inter=1" +X265PARAMS="ref=4:me=umh:merange=52:subme=5:bframes=6:rd=4:rd-refine=0:qcomp=0.63:fades=1:strong-intra-smoothing=0:ctu=32:qg-size=32:sao=0:selective-sao=0:cu-lossless=1:cutree=1:tu-inter-depth=4:tu-intra-depth=4:max-merge=4:rskip=2:rskip-edge-threshold=1:qp-adaptation-range=1.2:rc-lookahead=60:aq-mode=1:aq-strength=1.1:rdoq-level=1:psy-rd=4.0:psy-rdoq=15.0:limit-modes=1:limit-refs=1:limit-tu=0:deblock=-3,-3:weightb=1:weightp=1:rect=1:amp=1:wpp=1:b-intra=1:b-adapt=2:b-pyramid=1:tskip=0:tskip-fast=0:fast-intra=0:early-skip=0:splitrd-skip=0:refine-mv=3:refine-intra=4:refine-inter=1" # Leave empty to auto-detect ffmpeg/ffprobe/mplayer # or set your custom ones (eg, /path/to/bin/ffmpeg) @@ -2004,32 +2013,41 @@ *) ZWIDTH="$(echo "$res" | awk -Fx '{print $1}')" ZHEIGHT="$(echo "$res" | awk -Fx '{print $2}')" - echo - brown "Software Scalers" - brown "~~~~~~~~~~~~~~~~" - echo " 0 -> Point" - echo " 1 -> Bilinear" - echo " 2 -> Bicubic" - echo " 3 -> Spline16" - echo " 4 -> Spline36" - echo " 5 -> Lanczos3" - echo " 6 -> Lanczos4" - echo - printf "Specify the Software Scaler default is 5: " - read swsopt - case "$swsopt" in - 0) zfilter="point" ;; - 1) zfilter="bilinear" ;; - 2) zfilter="bicubic" ;; - 3) zfilter="spline16" ;; - 4) zfilter="spline36" ;; - 5|"") zfilter="lanczos"; zparam=":param_a=3" ;; - 6) zfilter="lanczos"; zparam=":param_a=4" ;; - *) - error "-> Invalide software scaler!" - exit 1 - ;; - esac + if ! -z "$ZSCALER" ; then + echo + green "-> Using zcale software scaler '$ZSCALER' set in config file '$CFG'" + echo + zfilter="$ZSCALER" + test "$ZSCALER" = "lanczos3" && zparam=":param_a=3" + test "$ZSCALER" = "lanczos4" && zparam=":param_a=4" + else + echo + brown "Software Scalers" + brown "~~~~~~~~~~~~~~~~" + echo " 0 -> Point" + echo " 1 -> Bilinear" + echo " 2 -> Bicubic" + echo " 3 -> Spline16" + echo " 4 -> Spline36" + echo " 5 -> Lanczos3" + echo " 6 -> Lanczos4" + echo + printf "Specify the Software Scaler default is 5: " + read swsopt + case "$swsopt" in + 0) zfilter="point" ;; + 1) zfilter="bilinear" ;; + 2) zfilter="bicubic" ;; + 3) zfilter="spline16" ;; + 4) zfilter="spline36" ;; + 5|"") zfilter="lanczos"; zparam=":param_a=3" ;; + 6) zfilter="lanczos"; zparam=":param_a=4" ;; + *) + error "-> Invalide software scaler!" + exit 1 + ;; + esac + fi scale="zscale=width=$ZWIDTH:height=$ZHEIGHT:filter=$zfilter$zparam," ;; esac
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
.