Projects
Multimedia
ffhevc
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 261
View file
ffhevc.changes
Changed
@@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Thu Jan 02 10:04:00 UTC 2025 - neutrino8@gmail.com + +- Update to version 4.5.18 + * Fixed a bug in the cropping code for batch encoding + +------------------------------------------------------------------- Tue Dec 31 11:36:00 UTC 2024 - neutrino8@gmail.com - Update to version 4.5.17
View file
ffhevc.spec
Changed
@@ -17,7 +17,7 @@ Name: ffhevc -Version: 4.5.17 +Version: 4.5.18 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.17.tar.gz/ChangeLog -> ffhevc-4.5.18.tar.gz/ChangeLog
Changed
@@ -1,3 +1,6 @@ +2025-01-02 - ffhevc 4.5.18 + * Fixed a bug in the cropping code for batch encoding + 2024-12-31 - ffhevc 4.5.17 * Don't error out during runtime if a HDR10 value is not set/available
View file
ffhevc-4.5.17.tar.gz/ffhevc -> ffhevc-4.5.18.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.17 -# Date: 2024-12-31 +# Version: 4.5.18 +# Date: 2025-01-02 # # 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.17" +version="4.5.18" CFG="$HOME/.ffhevc" cfgversion="87" @@ -1781,9 +1781,9 @@ else vlength="$VLENGTH" fi - CROPVAL="$($FFMPEG -ss $(($vlength/2)) -i "$input" $vidmap -vf cropdetect -frames:v 1000 -f null - 2>&1 | awk '/crop/ {print $NF}' | awk -F= '{print $2}' | tail -1)" - if ! -z "$CROPVAL" ; then - green "-> ${INFO}Found crop values: $CROPVAL" + CROPVALUES="$($FFMPEG -ss $(($vlength/2)) -i "$input" $vidmap -vf cropdetect -frames:v 1000 -f null - 2>&1 | awk '/crop/ {print $NF}' | awk -F= '{print $2}' | tail -1)" + if ! -z "$CROPVALUES" ; then + green "-> ${INFO}Found crop values: $CROPVALUES" else error "-> ${INFO}Could not find the crop values!" CDEF="???" @@ -1804,7 +1804,7 @@ CROPDETERMINED="n" while "$CROPDETERMINED" != "y" ; do if -z "$cropval" ; then - printf "Specify the Crop Values default is $CROPVAL: " + printf "Specify the Crop Values default is $CROPVALUES: " else printf "Specify the Crop Values last try: "$cropval": " fi @@ -1817,8 +1817,8 @@ echo else if -z "$cropval" ; then - crop="crop=$CROPVAL," - crop_preview="$CROPVAL" + crop="crop=$CROPVALUES," + crop_preview="$CROPVALUES" else crop="crop=$cropval," crop_preview="$cropval"
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
.