Projects
Multimedia
ffhevc
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 149
View file
ffhevc.changes
Changed
@@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Tue Oct 15 03:57:00 UTC 2019 - neutrino8@opensuse.org + +- Update to version 3.8.8 + * Bugfix: use correct video mapping for crop detection + * Cosmetics + +------------------------------------------------------------------- Mon Oct 14 14:34:00 UTC 2019 - neutrino8@opensuse.org - Update to version 3.8.7
View file
ffhevc.spec
Changed
@@ -17,7 +17,7 @@ Name: ffhevc -Version: 3.8.7 +Version: 3.8.8 Release: 0 Summary: A small shell script for encoding to H.265/HEVC with ffmpeg License: GPL-2.0+
View file
ffhevc-3.8.7.tar.gz/ChangeLog -> ffhevc-3.8.8.tar.gz/ChangeLog
Changed
@@ -1,3 +1,7 @@ +2019-10-15 - ffhevc 3.8.8 + * Bugfix: use correct video mapping for crop detection + * Cosmetics + 2019-10-14 - ffhevc 3.8.7 * Support scanning for multiple video tracks in the input file
View file
ffhevc-3.8.7.tar.gz/ffhevc -> ffhevc-3.8.8.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.8.7 -# Date: 2019-10-14 +# Version: 3.8.8 +# Date: 2019-10-15 # # 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.8.7" +version="3.8.8" CFG="$HOME/.ffhevc" cfgversion="46" @@ -559,8 +559,8 @@ else CHDIR="cd \"$(realpath -s "$(dirname "$input")")\"" FORLOOP_START="for i in *; do" - CHKFILE_START=" if [ -f \"\$i\" ]; then" - CHKFILE_END=" fi" + CHKFILE_START="if [ -f \"\$i\" ]; then" + CHKFILE_END="fi" FORLOOP_END="done" fi @@ -1488,7 +1488,7 @@ video_length_func() { case "$1" in file) VLENGTH="$($FFPROBE -i "$input" -v quiet -select_streams v:0 -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 | tail -1 | awk -F. '{print $1}')" ;; - batch) echo "VLENGTH=\"\$($FFPROBE -i \"\$i\" -v quiet -select_streams v:0 -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 | tail -1 | awk -F. '{print \$1}')\"" ;; + batch) echo "VLENGTH=\"\$($FFPROBE -i \"\$i\" -v quiet -select_streams v:$(echo "$vidmap" | awk '{print $2}' | awk -F: '{print $2}') -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 | tail -1 | awk -F. '{print \$1}')\"" ;; esac } @@ -1497,7 +1497,7 @@ printf "Auto-Crop the Input Files? [y/N]: " read autocrop if [ "$autocrop" = "y" -o "$autocrop" = "Y" ]; then - CROPVAL="\$($FFMPEG -ss \$((\$VLENGTH/2)) -i \"\$i\" -map 0:0 -vf cropdetect=24:4 -frames:v 1000 -f null - 2>&1 | awk '/crop/ {print \$NF}' | awk -F= '{print \$2}' | tail -1)" + CROPVAL="\$($FFMPEG -ss \$((\$VLENGTH/2)) -i \"\$i\" $vidmap -vf cropdetect=24:4 -frames:v 1000 -f null - 2>&1 | awk '/crop/ {print \$NF}' | awk -F= '{print \$2}' | tail -1)" crop="crop=\$CROPVAL," fi else @@ -1509,7 +1509,7 @@ else vlength="$VLENGTH" fi - CROPVAL="$($FFMPEG -ss $(($vlength/2)) -i "$input" -map 0:0 -vf cropdetect=24:4 -frames:v 1000 -f null - 2>&1 | awk '/crop/ {print $NF}' | awk -F= '{print $2}' | tail -1)" + CROPVAL="$($FFMPEG -ss $(($vlength/2)) -i "$input" $vidmap -vf cropdetect=24:4 -frames:v 1000 -f null - 2>&1 | awk '/crop/ {print $NF}' | awk -F= '{print $2}' | tail -1)" if [ ! -z "$CROPVAL" ]; then green "-> Found crop values: $CROPVAL" else
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
.