Projects
Multimedia
ffhevc
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 89
View file
ffhevc.changes
Changed
@@ -1,4 +1,13 @@ ------------------------------------------------------------------- +Sat Feb 17 11:52:00 UTC 2018 - neutrino8@opensuse.org + +- Update to version 3.5.8 + * Fixed an issue where in some cases write-testing the output + directory will fail due usage of readlink -f instead of + readlink -m + * Small code optimizations + +------------------------------------------------------------------- Fri Feb 16 21:00:00 UTC 2018 - neutrino8@opensuse.org - Update to version 3.5.7
View file
ffhevc.spec
Changed
@@ -17,7 +17,7 @@ Name: ffhevc -Version: 3.5.7 +Version: 3.5.8 Release: 0 Summary: A small shell script for encoding to H.265/HEVC with ffmpeg License: GPL-2.0+
View file
ffhevc-3.5.7.tar.gz/ChangeLog -> ffhevc-3.5.8.tar.gz/ChangeLog
Changed
@@ -1,3 +1,9 @@ +2018-02-17 - ffhevc 3.5.8 + * Fixed an issue where in some cases write-testing the output + directory will fail due usage of readlink -f instead of + readlink -m + * Small code optimizations + 2018-02-16 - ffhevc 3.5.7 * Implemented HDR side data scanning * Rewrote the hdr script
View file
ffhevc-3.5.7.tar.gz/ffhevc -> ffhevc-3.5.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.5.7 -# Date: 2018-02-16 +# Version: 3.5.8 +# Date: 2018-02-17 # # 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.5.7" +version="3.5.8" CFG="$HOME/.ffhevc" cfgversion="38" @@ -425,7 +425,7 @@ fi if [ -z "$batchmode" ]; then - input="$(readlink -f "$input")" + input="$(readlink -e "$input")" fi if [ ! -z "$batchmode" ]; then @@ -460,9 +460,9 @@ error "-> Could not create the output directory!" exit 1 fi - OUTPUT="$(readlink -f "$output")" + OUTPUT="$(readlink -m "$output")" else - OUTPUT="$(readlink -f "$OUTDIR/$output")" + OUTPUT="$(readlink -m "$OUTDIR/$output")" fi fi @@ -596,7 +596,7 @@ exit 1 ;; esac - METACOVER="-attach \"$(readlink -f "$cover")\" -metadata:s:t mimetype=\"image/$img\"" + METACOVER="-attach \"$(readlink -e "$cover")\" -metadata:s:t mimetype=\"image/$img\"" fi fi fi @@ -1298,17 +1298,18 @@ if [ "$hdr_sd" = "y" -o "$hdr_sd" = "Y" ]; then echo green "-> Scanning for HDR Side Data..." - $FFPROBE -i "$input" -v quiet -select_streams v:0 -show_entries side_data -read_intervals %+1 > "$OUTDIR/hdr_sd$$" + HDRFILE="$OUTDIR/hdr_sd_$$" + $FFPROBE -i "$input" -v quiet -select_streams v:0 -show_entries side_data -read_intervals %+1 > "$HDRFILE" sdarray=([0]=green_x [1]=green_y [2]=blue_x [3]=blue_y [4]=red_x [5]=red_y [6]=white_point_x [7]=white_point_y [8]=min_luminance [9]=max_luminance [10]=max_content [11]=max_average) for i in {0..11}; do - hdrsd[i]="$(grep "^${sdarray[i]}" "$OUTDIR/hdr_sd$$" | tail -1 | awk -F= '{print $2}' | awk -F/ '{print $1}')" + hdrsd[i]="$(grep "^${sdarray[i]}" "$HDRFILE" | tail -1 | awk -F= '{print $2}' | awk -F/ '{print $1}')" if [ -z "${hdrsd[i]}" ]; then - hdrsd[i]="ENOT_AVAILABLE" + hdrsd[i]="ENOT_AVAIL" fi done - rm -f "$OUTDIR/hdr_sd$$" - + rm -f "$HDRFILE" + echo green "-> master-display: G(${hdrsd[0]},${hdrsd[1]})B(${hdrsd[2]},${hdrsd[3]})R(${hdrsd[4]},${hdrsd[5]})WP(${hdrsd[6]},${hdrsd[7]})L(${hdrsd[9]},${hdrsd[8]})" green "-> max-cll: ${hdrsd[10]},${hdrsd[11]}" echo @@ -1337,7 +1338,7 @@ error "-> No such file. Skipping!" echo else - dhdr10=":dhdr10-info=\"$(readlink -f "$json")\"" + dhdr10=":dhdr10-info=\"$(readlink -e "$json")\"" fi fi fi
View file
ffhevc-3.5.7.tar.gz/hdr -> ffhevc-3.5.8.tar.gz/hdr
Changed
@@ -15,7 +15,7 @@ for i in {0..11}; do hdr[i]="$(grep "^${sdarray[i]}" "$hdrfile" | tail -1 | awk -F= '{print $2}' | awk -F/ '{print $1}')" if [ -z "${hdr[i]}" ]; then - hdr[i]="ENOT_AVAILABLE" + hdr[i]="ENOT_AVAIL" fi done
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
.