Projects
Multimedia
ffx264
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 155
View file
ffx264.changes
Changed
@@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Sat Aug 19 18:18:00 UTC 2023 - neutrino8@opensuse.org + +- Update to version 4.1.11 + * Improved FPS detection code + +------------------------------------------------------------------- Thu Aug 17 03:35:00 UTC 2023 - neutrino8@opensuse.org - Update to version 4.1.10
View file
ffx264.spec
Changed
@@ -17,7 +17,7 @@ Name: ffx264 -Version: 4.1.10 +Version: 4.1.11 Release: 1 Summary: A small shell script for encoding to H.264/AVC with FFmpeg License: GPL-2.0+
View file
ffx264-4.1.10.tar.gz/ChangeLog -> ffx264-4.1.11.tar.gz/ChangeLog
Changed
@@ -1,3 +1,6 @@ +2023-08-19 - ffx264 4.1.11 + * Imrpoved FPS detection code + 2023-08-17 - ffx264 4.1.10 * Fix crop detection for HDR content * Set Lanczos as default scaler option
View file
ffx264-4.1.10.tar.gz/ffx264 -> ffx264-4.1.11.tar.gz/ffx264
Changed
@@ -2,8 +2,8 @@ # # Small script to encode to H.264/AVC video using FFmpeg and libx264. # Author: Grozdan "microchip" Nikolov <neutrino8@opensuse.org> -# Version: 4.1.10 -# Date: 2023-08-17 +# Version: 4.1.11 +# Date: 2023-08-19 # # ffx264 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.1.10" +version="4.1.11" CFG="$HOME/.ffx264" cfgversion="42" @@ -995,6 +995,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 @@ -1080,7 +1081,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 FPS" green "-> Setting output FPS to: $(echo "scale=3; $OFPS" | $BC -l)" ofps="-r $OFPS" else @@ -1953,7 +1954,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 @@ -1961,8 +1962,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 + 23.976|24.000|25.000|29.970|50.000|59.940|60.000) 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
.