Projects
Multimedia
ffhevc
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 256
View file
ffhevc.changes
Changed
@@ -1,4 +1,14 @@ ------------------------------------------------------------------- +Mon Nov 25 15:43:00 UTC 2024 - neutrino8@gmail.com + +- Update to version 4.5.13 + * Support both Lanczos3 and Lanczos4 in the zscale filter + * Enable grain-optimized ratecontrol in case tune profile + 'grain' is used. Also add an option to enable/disable it + during runtime + * Updated the man page + +------------------------------------------------------------------- Sat Nov 23 16:43:00 UTC 2024 - neutrino8@gmail.com - Update to version 4.5.12
View file
ffhevc.spec
Changed
@@ -17,7 +17,7 @@ Name: ffhevc -Version: 4.5.12 +Version: 4.5.13 Release: %mkrel 1 Summary: A small shell script for encoding to H.265/HEVC with FFmpeg License: GPL-2.0+
View file
ffhevc-4.5.12.tar.gz/ChangeLog -> ffhevc-4.5.13.tar.gz/ChangeLog
Changed
@@ -1,3 +1,10 @@ +2024-11-25 - ffhevc 4.5.13 + * Support both Lanczos3 and Lanczos4 in the zscale filter + * Enable grain-optimized ratecontrol in case tune profile + 'grain' is used. Also add an option to enable/disable it + during runtime + * Updated the man page + 2024-11-23 - ffhevc 4.5.12 * Tweaks to the built-in script preset * Made the built-in script preset selectable
View file
ffhevc-4.5.12.tar.gz/ffhevc -> ffhevc-4.5.13.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@gmail.com> -# Version: 4.5.12 -# Date: 2024-11-23 +# Version: 4.5.13 +# Date: 2024-11-25 # # 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,7 +24,7 @@ brown() { echo -e "\e0;33m$1\e0;39;49m"; } error() { echo -e "\e1;31m$1\e0;39;49m"; } -version="4.5.12" +version="4.5.13" CFG="$HOME/.ffhevc" cfgversion="85" @@ -126,7 +126,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:hme=0:me=star:merange=26:subme=4:bframes=8:rd=4:rd-refine=0:qcomp=0.60:fades=1:strong-intra-smoothing=0:ctu=32:qg-size=32:sao=0:selective-sao=0:cu-lossless=0:cutree=1:tu-inter-depth=4:tu-intra-depth=4:max-merge=2:rskip=2:rskip-edge-threshold=1:rc-lookahead=60:aq-mode=2:aq-strength=1.0:rdoq-level=1:psy-rd=4.0:psy-rdoq=15.0:limit-modes=0:limit-refs=1:limit-tu=0:deblock=-3,-3:weightb=1:weightp=1:rect=1:amp=0:wpp=1:b-intra=1:b-adapt=2:b-pyramid=1:tskip=1:tskip-fast=0:fast-intra=0:early-skip=0:splitrd-skip=0:refine-mv=3:refine-intra=1:refine-inter=1:min-keyint=24:keyint=240" +X265PARAMS="ref=4:hme=0:me=star:merange=26:subme=4:bframes=8:rd=4:rd-refine=0:qcomp=0.60:fades=1:strong-intra-smoothing=0:ctu=32:qg-size=32:sao=0:selective-sao=0:cu-lossless=0:cutree=1:tu-inter-depth=4:tu-intra-depth=4:max-merge=2:rskip=2:rskip-edge-threshold=1:rc-lookahead=60:aq-mode=2:aq-strength=1.0:rdoq-level=1:psy-rd=4.0:psy-rdoq=15.0:limit-modes=0:limit-refs=1:limit-tu=0:deblock=-3,-3:weightb=1:weightp=1:rect=1:amp=0:wpp=1:b-intra=1:b-adapt=2:b-pyramid=1:tskip=1:tskip-fast=0:fast-intra=0:early-skip=0:splitrd-skip=0:refine-mv=3:refine-intra=1:refine-inter=1" # Leave empty to auto-detect ffmpeg/ffprobe/mplayer # or set your custom ones (eg, /path/to/bin/ffmpeg) @@ -720,6 +720,14 @@ ;; esac +if -z "$(echo "$vtune" | grep 'grain')" ; then + printf "Enable Grain-Optimized Ratecontrol? y/N: " + read grainopt + if "$grainopt" = "y" -o "$grainopt" = "Y" ; then + rc_grain=":rc_grain=1" + fi +fi + printf "Set the VBV Maxrate/Buffer Size? y/N: " read vbv if "$vbv" = "y" -o "$vbv" = "Y" ; then @@ -1972,7 +1980,8 @@ echo " 2 -> Bicubic" echo " 3 -> Spline16" echo " 4 -> Spline36" - echo " 5 -> Lanczos" + echo " 5 -> Lanczos3" + echo " 6 -> Lanczos4" echo printf "Specify the Software Scaler default is 5: " read swsopt @@ -1982,13 +1991,14 @@ 2) zfilter="bicubic" ;; 3) zfilter="spline16" ;; 4) zfilter="spline36" ;; - 5|"") zfilter="lanczos" ;; + 5|"") zfilter="lanczos"; zparam=":param_a=3" ;; + 6) zfilter="lanczos"; zparam=":param_a=4" ;; *) error "-> Invalide software scaler!" exit 1 ;; esac - scale="zscale=width=$ZWIDTH:height=$ZHEIGHT:filter=$zfilter," + scale="zscale=width=$ZWIDTH:height=$ZHEIGHT:filter=$zfilter$zparam," ;; esac fi @@ -3858,17 +3868,17 @@ fi test "$COPY_METADATA" = "n" && METADATA="-map_metadata -1" || METADATA="-map_metadata 0" - test "$CHAPS" = "n" && CHAPS="-map_chapters -1" || CHAPS="-map_chapters 0" -vidfilters="$(echo "$deinterlace$detelecine$colorspace$tonemap$crop$deblock$denoise$scale$noise$unsharp$eq$rotate$pixformat$setpts$fps$framestep$subtitles" | sed 's|,$||')" - test ! -z "$vidfilters" && vfilters="-vf $vidfilters" +test ! -z "$(echo "$vtune" | grep 'grain')" && rc_grain=":rc_grain=1" + +vidfilters="$(echo "$deinterlace$detelecine$tonemap$colorspace$crop$deblock$denoise$scale$noise$unsharp$eq$rotate$pixformat$setpts$fps$framestep$subtitles" | sed 's|,$||')" if ! -z "$(echo "$vpreset" | grep 'script')" -o ! -z "$PRESETFILE" ; then - X265PARAMS=":$X265PARAMS$colorprim$interlaced$dolby_vision$dolby_vision_rpu$master_display$max_cll$hdr10$hdr10_opt$dhdr10$hdr_encopts$min_keyint$max_keyint$chromaloc$vbv_maxrate$vbv_bufsize$dither$level_idc $vtune" + X265PARAMS=":$X265PARAMS$colorprim$interlaced$dolby_vision$dolby_vision_rpu$master_display$max_cll$hdr10$hdr10_opt$dhdr10$hdr_encopts$min_keyint$max_keyint$chromaloc$vbv_maxrate$vbv_bufsize$dither$level_idc$rc_grain $vtune" else - X265PARAMS="$colorprim$interlaced$dolby_vision$dolby_vision_rpu$master_display$max_cll$hdr10$hdr10_opt$dhdr10$hdr_encopts$min_keyint$max_keyint$chromaloc$vbv_maxrate$vbv_bufsize$dither$level_idc $vpreset $vtune" + X265PARAMS="$colorprim$interlaced$dolby_vision$dolby_vision_rpu$master_display$max_cll$hdr10$hdr10_opt$dhdr10$hdr_encopts$min_keyint$max_keyint$chromaloc$vbv_maxrate$vbv_bufsize$dither$level_idc$rc_grain $vpreset $vtune" fi test ! -z "$COMMENT" && METACOMMENT="-metadata comment=\"$COMMENT\""
View file
ffhevc-4.5.12.tar.gz/ffhevc.1 -> ffhevc-4.5.13.tar.gz/ffhevc.1
Changed
@@ -3,7 +3,7 @@ .de IPs .IP "\\$1" .. -.TH ffhevc 1 "Oct 24, 2019" +.TH ffhevc 1 "Nov 25, 2024" .SH NAME ffhevc @@ -82,6 +82,8 @@ .B veryslow .br .B placebo +.br +.B script (built-in script preset optimized for quality) .RE . .TP
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
.