Projects
Multimedia
ffhevc
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 266
View file
ffhevc.changes
Changed
@@ -1,4 +1,12 @@ ------------------------------------------------------------------- +Sat Nov 01 07:07:00 UTC 2025 - microchip8@proton.me + +- Update to version 4.6.4 + * Reworked the internal script preset + * Lowered the Cb/Cr qp offsets to -2 for HDR encodings + * Increased the Cb/Cr qp offsets to 1 for SDR encodings + +------------------------------------------------------------------- Fri Oct 31 08:45:00 UTC 2025 - microchip8@proton.me - Update to version 4.6.3
View file
ffhevc.spec
Changed
@@ -17,7 +17,7 @@ Name: ffhevc -Version: 4.6.3 +Version: 4.6.4 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.3.tar.gz/ChangeLog -> ffhevc-4.6.4.tar.gz/ChangeLog
Changed
@@ -1,3 +1,8 @@ +2025-11-01 - ffhevc 4.6.4 + * Reworked the internal script preset + * Lowered the Cb/Cr qp offsets to -2 for HDR encodings + * Increased the Cb/Cr qp offsets to 1 for SDR encodings + 2025-10-31 - ffhevc 4.6.3 * Set qp-adaptation-range to 2.0 for the script preset * Enable asymmetric partitions for the script preset
View file
ffhevc-4.6.3.tar.gz/ffhevc -> ffhevc-4.6.4.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.3 -# Date: 2025-10-31 +# Version: 4.6.4 +# Date: 2025-11-01 # # 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.3" +version="4.6.4" CFG="$HOME/.ffhevc" -cfgversion="92" +cfgversion="93" genconfig_func() { cat<<EOF>>"$CFG" @@ -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=1:hme-search=umh,umh,star:subme=7:bframes=6: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:qp-adaptation-range=2.0:rc-lookahead=60:aq-mode=1:aq-strength=1.1: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=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=1:refine-inter=1" +X265PARAMS="ref=4:me=umh:merange=52:subme=7:bframes=6:rd=4:rd-refine=0:qcomp=0.62: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=1:refine-inter=1" # Leave empty to auto-detect ffmpeg/ffprobe/mplayer # or set your custom ones (eg, /path/to/bin/ffmpeg) @@ -1732,7 +1732,7 @@ fi if ! -z "$master_display" -o ! -z "$max_cll" -o ! -z "$dhdr10" -o ! -z "$dolby_vision" -o ! -z "$dolby_vision_rpu" ; then - hdr_encopts=":open-gop=0:repeat-headers=1:cbqpoffs=-1:crqpoffs=-1$hlg" + hdr_encopts=":open-gop=0:repeat-headers=1:cbqpoffs=-2:crqpoffs=-2$hlg" fi if ! -z "$batchmode" ; then @@ -1750,7 +1750,7 @@ echo " hdrsdsd=\"\$(grep \"^\${sdarraysd}\" \"\$HDRFILE\" | tail -1 | awk -F= '{print \$2}' | awk -F/ '{print \$1}')\"" echo " done" echo " rm -f \"\$HDRFILE\"" - echo " hdr_encopts=\":hdr10-opt=1:open-gop=0:repeat-headers=1:cbqpoffs=-1:crqpoffs=-1\"" + echo " hdr_encopts=\":hdr10-opt=1:open-gop=0:repeat-headers=1:cbqpoffs=-2:crqpoffs=-2\"" echo " mast_disp=\"G(\${hdrsd0},\${hdrsd1})B(\${hdrsd2},\${hdrsd3})R(\${hdrsd4},\${hdrsd5})WP(\${hdrsd6},\${hdrsd7})L(\${hdrsd9},\${hdrsd8})\"" echo " max_cll=\":max-cll=\${hdrsd10},\${hdrsd11}\"" } @@ -1762,6 +1762,11 @@ fi fi +# For SDR encodings +if -z "$hdr_encopts" -a -z "$colorspace" ; then + cbcrqpoffs=":cbqpoffs=1:crqpoffs=1" +fi + # Used by cropping and bitrate # calc for target file size video_length_func() { @@ -3907,9 +3912,9 @@ test ! -z "$vidfilters" && vfilters="-vf $vidfilters" 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$rc_grain $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$cbcrqpoffs $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$rc_grain $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$cbcrqpoffs $vpreset $vtune" fi test ! -z "$COMMENT" && METACOMMENT="-metadata comment=\"$COMMENT\""
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
.