Projects
Multimedia
ffx264
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 175
View file
ffx264.changes
Changed
@@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Thu Jan 02 10:04:00 UTC 2025 - neutrino8@gmail.com + +- Update to version 4.2.13 + * Fixed a bug in the cropping code for batch encoding + * Updated the built-in script preset + +------------------------------------------------------------------- Mon Dec 09 15:23:00 UTC 2024 - neutrino8@gmail.com - Update to version 4.2.12
View file
ffx264.spec
Changed
@@ -1,7 +1,7 @@ # # spec file for package ffx264 # -# Copyright (c) 2024 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2025 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: ffx264 -Version: 4.2.12 +Version: 4.2.13 Release: %mkrel 1 Summary: A small shell script for encoding to H.264/AVC with FFmpeg License: GPL-2.0+
View file
ffx264-4.2.12.tar.gz/ChangeLog -> ffx264-4.2.13.tar.gz/ChangeLog
Changed
@@ -1,3 +1,7 @@ +2025-01-02 - ffx264 4.2.13 + * Fixed a bug in the cropping code for batch encoding + * Updated the built-in script preset + 2024-12-09 - ffx264 4.2.12 * Moved cropping code into its own function and display informative crop values message when running in batch
View file
ffx264-4.2.12.tar.gz/ffx264 -> ffx264-4.2.13.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@gmail.com> -# Version: 4.2.12 -# Date: 2024-12-09 +# Version: 4.2.13 +# Date: 2025-01-02 # # 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,10 +24,10 @@ brown() { echo -e "\e0;33m$1\e0;39;49m"; } error() { echo -e "\e1;31m$1\e0;39;49m"; } -version="4.2.12" +version="4.2.13" CFG="$HOME/.ffx264" -cfgversion="45" +cfgversion="46" genconfig_func() { cat<<EOF>>"$CFG" @@ -123,7 +123,7 @@ LOG="n" # libx264 parameters for the 'script' preset -X264PARAMS="force-cfr=1:bframes=8:ref=4:trellis=2:merange=32:direct-pred=auto:chroma-me=1:mbtree=1:me=umh:subme=10:b-adapt=2:aq-mode=2:aq-strength=1.0:psy=1:psy-rd=1.0,0.10:rc-lookahead=60:no-dct-decimate=1:weightb=1:weightp=2:mixed-refs=1:b-pyramid=normal:fast-pskip=0:deblock=-1,-1:8x8dct=1:cabac=1:partitions=p8x8,b8x8,i8x8,i4x4:threads=auto" +X264PARAMS="force-cfr=1:bframes=8:ref=4:trellis=2:merange=32:direct-pred=auto:chroma-me=1:mbtree=1:me=umh:subme=11:b-adapt=2:aq-mode=2:aq-strength=1.0:psy=1:psy-rd=1.0,0.10:rc-lookahead=60:no-dct-decimate=1:weightb=1:weightp=2:mixed-refs=1:b-pyramid=normal:fast-pskip=0:deblock=-1,-1:8x8dct=1:cabac=1:partitions=p8x8,b8x8,i8x8,i4x4:threads=auto" # Leave empty to auto-detect ffmpeg/ffprobe/mplayer # or set your custom ones (eg, /path/to/bin/ffmpeg) @@ -1628,13 +1628,13 @@ green "-> ${INFO}Detecting crop values..." video_length_func file if -z "$VLENGTH" -o "$VLENGTH" = "N/A" ; then - vlength="300" + vlength="500" 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="???" @@ -1655,7 +1655,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 @@ -1668,8 +1668,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
.