Projects
Multimedia
ffhevc
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 237
View file
ffhevc.changes
Changed
@@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Sat Aug 19 18:18:00 UTC 2023 - neutrino8@opensuse.org + +- Update to version 4.4.11 + * Improved FPS detection code + +------------------------------------------------------------------- Thu Aug 17 03:35:00 UTC 2023 - neutrino8@opensuse.org - Update to version 4.4.10
View file
ffhevc.spec
Changed
@@ -17,7 +17,7 @@ Name: ffhevc -Version: 4.4.10 +Version: 4.4.11 Release: 1 Summary: A small shell script for encoding to H.265/HEVC with FFmpeg License: GPL-2.0+
View file
ffhevc-4.4.10.tar.gz/ChangeLog -> ffhevc-4.4.11.tar.gz/ChangeLog
Changed
@@ -1,3 +1,6 @@ +2023-08-19 - ffhevc 4.4.11 + * Improved FPS detection code + 2023-08-17 - ffhevc 4.4.10 * Fix crop detection for HDR content * Set Lanczos as default scaler option
View file
ffhevc-4.4.10.tar.gz/ffhevc -> ffhevc-4.4.11.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.10 -# Date: 2023-08-17 +# Version: 4.4.11 +# Date: 2023-08-19 # # 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.4.10" +version="4.4.11" CFG="$HOME/.ffhevc" cfgversion="82" @@ -966,6 +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)" } # Used by mc/bobbing deinterlace, IVTC and interlace-aware encoding @@ -1051,7 +1052,7 @@ FPS1="$(echo "$GETFPS" | awk -F/ '{print $1}')" FPS2="$(echo "$GETFPS" | awk -F/ '{print $2}')" OFPS="$(($FPS1*2))/$FPS2" - green "-> Detected $(echo "scale=3; $GETFPS" | $BC -l) FPS" + green "-> Detected $IFPS" green "-> Setting output FPS to: $(echo "scale=3; $OFPS" | $BC -l)" ofps="-r $OFPS" else @@ -2076,7 +2077,7 @@ sleep 1 video_fps_func if ! -z "$GETFPS" ; then - green "-> Detected $(echo "scale=3; $GETFPS" | $BC -l) FPS" + green "-> Detected $IFPS FPS" else error "-> Could not detect the FPS value!" fi @@ -2084,8 +2085,8 @@ printf "Do an FPS Conversion? y/N: " read fpscon if "$fpscon" = "y" -o "$fpscon" = "Y" ; then - case "$GETFPS" in - 24/1|25/1|24000/1001|30000/1001|50/1|60000/1001|60/1) true ;; + case "$IFPS" in + 24.000|25.000|23.976|29.970|50.000|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
.