Projects
Multimedia
ffxvid
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 18
View file
ffxvid.changes
Changed
@@ -1,4 +1,18 @@ ------------------------------------------------------------------- +Thu Jul 20 18:49:00 UTC 2017 - neutrino8@opensuse.org + +- Update to version 1.1.8 + * Bugfix: use realpath instead of readlink for the OUTPUT + var when running in batch mode. Fixes the issue where + readlink will follow the full path in case the input + is a symlink which may result of encoding files we + were not asked to + * Don't print cropped resolution during runtime + if batch mode is selected + * Remove check for realpath. It is now required and not + optional + +------------------------------------------------------------------- Wed Jun 14 12:15:00 UTC 2017 - neutrino8@opensuse.org - Update to version 1.1.7
View file
ffxvid.spec
Changed
@@ -17,7 +17,7 @@ Name: ffxvid -Version: 1.1.7 +Version: 1.1.8 Release: 0 Summary: A small shell script for encoding to H.264 with ffmpeg License: GPL-2.0+
View file
ffxvid-1.1.7.tar.gz/ChangeLog -> ffxvid-1.1.8.tar.gz/ChangeLog
Changed
@@ -1,3 +1,14 @@ +2017-07-20 - ffxvid 1.1.8 + * Bugfix: use realpath instead of readlink for the OUTPUT + var when running in batch mode. Fixes the issue where + readlink will follow the full path in case the input + is a symlink which may result of encoding files we + were not asked to + * Don't print cropped resolution during runtime + if batch mode is selected + * Remove check for realpath. It is now required and not + optional + 2017-06-14 - ffxvid 1.1.7 * Make software scaler tweaking optional * Added support for the unsharp filter for sharpen/blur
View file
ffxvid-1.1.7.tar.gz/ffxvid -> ffxvid-1.1.8.tar.gz/ffxvid
Changed
@@ -2,8 +2,8 @@ # # Small script to encode to Xvid video using FFmpeg. # Author: Grozdan "microchip" Nikolov <neutrino8@opensuse.org> -# Version: 1.1.7 -# Date: 2017-06-14 +# Version: 1.1.8 +# Date: 2017-06-20 # # 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 "\e[0;33m$1\e[0;39;49m"; } error() { echo -e "\e[1;31m$1\e[0;39;49m"; } -version="1.1.7" +version="1.1.8" CFG="$HOME/.ffxvid" cfgversion="7" @@ -363,7 +363,9 @@ exit 1 fi -input="$(readlink -f "$input")" +if [ -z "$batchmode" ]; then + input="$(readlink -f "$input")" +fi if [ ! -z "$batchmode" ]; then OUTPUT="$OUTDIR/$(basename $0)_$$" @@ -375,14 +377,14 @@ error "-> Could not create the output directory!" exit 1 fi - OUTPUT="$(readlink -f "$OUTPUT/\${i%.*}")" + OUTPUT="$(realpath -s "$OUTPUT/\${i%.*}")" else mkdir -p "$output" 2>/dev/null if [ $? != 0 ]; then error "-> Could not create the output directory!" exit 1 fi - OUTPUT="$(readlink -f "$output/\${i%.*}")" + OUTPUT="$(realpath -s "$output/\${i%.*}")" fi else printf "Specify a Name for the Output: " @@ -423,17 +425,15 @@ OUTPUT="$OUTPUT.$CONFMT" -if [ -x "$(which realpath 2>/dev/null)" ]; then - if [ ! -z "$batchmode" ]; then - if [ "$(realpath -s "$(dirname "$input")")" = "$(realpath -s "$(dirname "$OUTPUT")")" ]; then - error "-> Input directory matches output directory!" - exit 1 - fi - else - if [ "$(realpath -s "$input")" = "$(realpath -s "$OUTPUT")" ]; then - error "-> Input file matches output file!" - exit 1 - fi +if [ ! -z "$batchmode" ]; then + if [ "$(realpath -s "$(dirname "$input")")" = "$(realpath -s "$(dirname "$OUTPUT")")" ]; then + error "-> Input directory matches output directory!" + exit 1 + fi +else + if [ "$(realpath -s "$input")" = "$(realpath -s "$OUTPUT")" ]; then + error "-> Input file matches output file!" + exit 1 fi fi @@ -1140,7 +1140,9 @@ HEIGHT="$($FFPROBE -i "$input" -v error -select_streams v:0 -show_entries stream=height -of default=noprint_wrappers=1:nokey=1 | tail -1)" if [ ! -z "$crop" ]; then green "-> Original resolution: ${WIDTH}x${HEIGHT}" - green "-> Cropped resolution: $(echo "$crop" | sed 's|crop=||' | awk -F: '{print $1}')x$(echo "$crop" | awk -F: '{print $2}')" + if [ -z "$batchmode" ]; then + green "-> Cropped resolution: $(echo "$crop" | sed 's|crop=||' | awk -F: '{print $1}')x$(echo "$crop" | awk -F: '{print $2}')" + fi else green "-> Detected ${WIDTH}x${HEIGHT}" fi
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
.