Projects
Multimedia
ffhevc
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 238
View file
ffhevc.changes
Changed
@@ -1,4 +1,13 @@ ------------------------------------------------------------------- +Mon Aug 21 12:05:00 UTC 2023 - neutrino8@opensuse.org + +- Update to version 4.4.12 + * Update to the default encoding options + * By default, force signaling of HDR10 in case max-cll is + unknown or 0,0 + * Various small improvements + +------------------------------------------------------------------- Sat Aug 19 18:18:00 UTC 2023 - neutrino8@opensuse.org - Update to version 4.4.11
View file
ffhevc.spec
Changed
@@ -17,7 +17,7 @@ Name: ffhevc -Version: 4.4.11 +Version: 4.4.12 Release: 1 Summary: A small shell script for encoding to H.265/HEVC with FFmpeg License: GPL-2.0+
View file
ffhevc-4.4.11.tar.gz/ChangeLog -> ffhevc-4.4.12.tar.gz/ChangeLog
Changed
@@ -1,3 +1,9 @@ +2023-08-21 - ffhevc 4.4.12 + * Update to the default encoding options + * By default, force signaling of HDR10 in + case max-cll is unknown or 0,0 + * Various small improvements + 2023-08-19 - ffhevc 4.4.11 * Improved FPS detection code
View file
ffhevc-4.4.11.tar.gz/ffhevc -> ffhevc-4.4.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@opensuse.org> -# Version: 4.4.11 -# Date: 2023-08-19 +# Version: 4.4.12 +# Date: 2023-08-21 # # 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.4.11" +version="4.4.12" CFG="$HOME/.ffhevc" -cfgversion="82" +cfgversion="83" genconfig_func() { cat<<EOF>>"$CFG" @@ -56,7 +56,7 @@ NICE="19" # CRF value (0-51) -# Leave empty to ask each time +# Leave empty to ask each time12442735 CRF="23" # Automatically crop the input? @@ -123,7 +123,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:hme=0:me=star:merange=58:bframes=8:rd=4:rd-refine=0:subme=4:qcomp=0.63: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=3:aq-strength=1.0:rdoq-level=1:psy-rd=4.5:psy-rdoq=15.0:limit-modes=0:limit-refs=0: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=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" # Leave empty to auto-detect ffmpeg/ffprobe/mplayer # or set your custom ones (eg, /path/to/bin/ffmpeg) @@ -966,7 +966,7 @@ # Used by mc/bobbing deinterlace and FPS conversion video_fps_func() { GETFPS="$($FFPROBE -i "$input" -v quiet -select_streams v:$vidtrack -show_entries stream=r_frame_rate -of default=noprint_wrappers=1:nokey=1 | tail -1)" - IFPS="$(echo "scale=3; $GETFPS" | $BC -l)" + IFPS="$(echo "scale=3; $GETFPS" | $BC -l | sed 's|\.000||')" } # Used by mc/bobbing deinterlace, IVTC and interlace-aware encoding @@ -1659,11 +1659,7 @@ read clli test ! -z "$clli" && max_cll=":max-cll=$clli" if -z "$clli" -o "$clli" = "0,0" ; then - printf "Force signaling of HDR10 in case max-cll is 0,0? y/N: " - read fhdr - if "$fhdr" = "y" -o "$fhdr" = "Y" ; then - hdr10=":hdr10=1" - fi + hdr10=":hdr10=1" fi printf "Flag the file as HLG (Hybrid Log Gamma)? y/N: " read fhlg @@ -1930,7 +1926,7 @@ fi printf "Specify the $swscaler scaler $swstype $swsval - default is $swsdef: " read swstune - test ! -z "$swstune" && swsparam0=":param0=$swstune" + test ! -z "$swstune" && swsparam0=":param0=$swstune" || swsparam0=":param0=$swsdef" ;; esac printf "Enable Accurate Rounding? y/N: " @@ -2018,7 +2014,6 @@ esac colorprim=":colormatrix=$matrix:colorprim=$prim:transfer=$transfer" # For MP4Box mov output - # # 1st value: color primary # 2nd value: transfer # 3rd value: matrix @@ -2086,7 +2081,7 @@ read fpscon if "$fpscon" = "y" -o "$fpscon" = "Y" ; then case "$IFPS" in - 24.000|25.000|23.976|29.970|50.000|59.940|60) true ;; + 24|25|23.976|29.970|50|59.940|60) true ;; ""|*) echo error "-> Detected FPS is not supported yet!"
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
.