Projects
Multimedia
ffhevc
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 255
View file
ffhevc.changes
Changed
@@ -1,4 +1,13 @@ ------------------------------------------------------------------- +Sat Nov 23 16:43:00 UTC 2024 - neutrino8@gmail.com + +- Update to version 4.5.12 + * Tweaks to the built-in script preset + * Made the built-in script preset selectable + with the -p option + * Support tune profiles with custom presets (-c option) + +------------------------------------------------------------------- Thu Nov 21 15:25:00 UTC 2024 - neutrino8@gmail.com - Update to version 4.5.11
View file
ffhevc.spec
Changed
@@ -17,7 +17,7 @@ Name: ffhevc -Version: 4.5.11 +Version: 4.5.12 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.11.tar.gz/ChangeLog -> ffhevc-4.5.12.tar.gz/ChangeLog
Changed
@@ -1,3 +1,9 @@ +2024-11-23 - ffhevc 4.5.12 + * Tweaks to the built-in script preset + * Made the built-in script preset selectable + with the -p option + * Support tune profiles with custom presets (-c option) + 2024-11-21 - ffhevc 4.5.11 * Added support for disabling automatic metadata such as video title, audio codec names, etc
View file
ffhevc-4.5.11.tar.gz/ffhevc -> ffhevc-4.5.12.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.11 -# Date: 2024-11-21 +# Version: 4.5.12 +# Date: 2024-11-23 # # 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.5.11" +version="4.5.12" CFG="$HOME/.ffhevc" -cfgversion="84" +cfgversion="85" genconfig_func() { cat<<EOF>>"$CFG" @@ -124,10 +124,9 @@ # Enable verbose logging to a file? LOG="n" -# libx265 parameters. Modify, if needed, -# to fit your needs +# libx265 parameters for the 'script' preset # merange is calculated as: ctu size - 4(luma) - 2(chroma) (- 1 if me=hex is used) -X265PARAMS="ref=5:hme=0:me=star:merange=58:bframes=8:rd=4:rd-refine=0:subme=4:qcomp=0.65: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:rskip=2:rskip-edge-threshold=1:max-merge=2: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:pmode=0:pme=0:b-intra=1:b-adapt=2:b-pyramid=1:tskip=1:tskip-fast=0:fast-intra=0:early-skip=0: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:min-keyint=24:keyint=240" # Leave empty to auto-detect ffmpeg/ffprobe/mplayer # or set your custom ones (eg, /path/to/bin/ffmpeg) @@ -173,7 +172,7 @@ ;; p) case "$OPTARG" in - ultrafast|superfast|veryfast|faster|fast|medium|slow|slower|veryslow|placebo) true ;; + ultrafast|superfast|veryfast|faster|fast|medium|slow|slower|veryslow|placebo|script) true ;; *) error "-> Invalid preset!" error "-> Use: $(basename $0) -h" @@ -237,6 +236,7 @@ echo " slower" echo " veryslow" echo " placebo" + echo " script (built-in script preset optimized for quality)" echo brown " -t <tune>" echo " Use a built-in x265 tune profile. Choose from the following:" @@ -3865,7 +3865,11 @@ test ! -z "$vidfilters" && vfilters="-vf $vidfilters" -test ! -z "$vpreset" && 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=":$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" +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" +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" +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
.