Projects
Multimedia
ffhevc
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 67
View file
ffhevc.changes
Changed
@@ -1,4 +1,18 @@ ------------------------------------------------------------------- +Thu Jul 20 18:49:00 UTC 2017 - neutrino8@opensuse.org + +- Update to version 3.4.0 + * 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 + +------------------------------------------------------------------- Tue Jul 11 11:39:00 UTC 2017 - neutrino8@opensuse.org - Update to version 3.3.9
View file
ffhevc.spec
Changed
@@ -17,7 +17,7 @@ Name: ffhevc -Version: 3.3.9 +Version: 3.4.0 Release: 0 Summary: A small shell script for encoding to H.265/HEVC with ffmpeg License: GPL-2.0+
View file
ffhevc-3.3.9.tar.gz/ChangeLog -> ffhevc-3.4.0.tar.gz/ChangeLog
Changed
@@ -1,3 +1,14 @@ +2017-07-20 - ffhevc 3.4.0 + * 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-07-11 - ffhevc 3.3.9 * Support setting the min/max keyframe/IDR intervals
View file
ffhevc-3.3.9.tar.gz/ffhevc -> ffhevc-3.4.0.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: 3.3.9 -# Date: 2017-07-11 +# Version: 3.4.0 +# Date: 2017-07-20 # # 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 "\e[0;33m$1\e[0;39;49m"; } error() { echo -e "\e[1;31m$1\e[0;39;49m"; } -version="3.3.9" +version="3.4.0" CFG="$HOME/.ffhevc" cfgversion="37" @@ -423,7 +423,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)_$$" @@ -435,14 +437,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: " @@ -483,17 +485,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 @@ -1245,7 +1245,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
.