Projects
Multimedia
ffhevc
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 85
View file
ffhevc.changes
Changed
@@ -1,4 +1,12 @@ ------------------------------------------------------------------- +Fri Feb 16 10:31:00 UTC 2018 - neutrino8@opensuse.org + +- Update to version 3.5.6 + * Replace an ffprobe log level occurance of -v error to -v quiet + * Added a small script called "hdr" to get HDR values from a file + which then can be used in ffhevc's HDR options menu + +------------------------------------------------------------------- Wed Feb 07 04:15:00 UTC 2018 - neutrino8@opensuse.org - Update to version 3.5.5
View file
ffhevc.spec
Changed
@@ -17,7 +17,7 @@ Name: ffhevc -Version: 3.5.5 +Version: 3.5.6 Release: 0 Summary: A small shell script for encoding to H.265/HEVC with ffmpeg License: GPL-2.0+
View file
ffhevc-3.5.5.tar.gz/ChangeLog -> ffhevc-3.5.6.tar.gz/ChangeLog
Changed
@@ -1,3 +1,8 @@ +2018-02-16 - ffhevc 3.5.6 + * Replace an ffprobe log level occurance of -v error to -v quiet + * Added a small script called "hdr" to get HDR values from a file + which then can be used in ffhevc's HDR options menu + 2018-02-07 - ffhevc 3.5.5 * Update transfer chars to support latest changes to zimg from git
View file
ffhevc-3.5.5.tar.gz/Makefile -> ffhevc-3.5.6.tar.gz/Makefile
Changed
@@ -8,7 +8,9 @@ mkdir -p -m 755 $(PREFIX)/bin $(DOCDIR)/ffhevc $(MANDIR) cp -f ffhevc $(PREFIX)/bin + cp -f hdr $(PREFIX)/bin chmod 755 $(PREFIX)/bin/ffhevc + chmod 755 $(PREFIX)/bin/hdr cp -f AUTHORS LICENSE README ChangeLog Dynamic_HDR10_Example.json *.txt $(DOCDIR)/ffhevc chmod 644 $(DOCDIR)/ffhevc/* cp -f ffhevc.1 $(MANDIR) @@ -16,5 +18,6 @@ uninstall: rm -f $(PREFIX)/bin/ffhevc + rm -f $(PREFIX)/bin/hdr rm -f $(MANDIR)/ffhevc.1.gz rm -rf $(DOCDIR)/ffhevc
View file
ffhevc-3.5.5.tar.gz/ffhevc -> ffhevc-3.5.6.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.5 -# Date: 2018-02-07 +# Version: 3.5.6 +# Date: 2018-02-16 # # 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.5" +version="3.5.6" CFG="$HOME/.ffhevc" cfgversion="38" @@ -761,7 +761,7 @@ # Used by mc/bobbing deinterlace and FPS conversion video_fps_func() { - GETFPS="$($FFPROBE -i "$input" -v error -select_streams v:0 -show_entries stream=r_frame_rate -of default=noprint_wrappers=1:nokey=1 | tail -1)" + GETFPS="$($FFPROBE -i "$input" -v quiet -select_streams v:0 -show_entries stream=r_frame_rate -of default=noprint_wrappers=1:nokey=1 | tail -1)" } # Used by mc/bobbing deinterlace, IVTC and interlace-aware encoding
View file
ffhevc-3.5.6.tar.gz/hdr
Added
@@ -0,0 +1,34 @@ +#!/bin/bash +# Small and dirty script to get HDR values which +# can be fed to ffhevc's HDR options menu + +test -z "$1" && echo "Usage: hdr <file>" && exit 1 + +FILE="$(realpath -s "$1")" + +hdrfile="/tmp/hdr$$" + +ffprobe -i "$FILE" -v quiet -select_streams v:0 -show_entries side_data -read_intervals %+1 > "$hdrfile" + +G_X="$(grep '^green_x' "$hdrfile" | awk -F= '{print $2}' | awk -F/ '{print $1}' | tail -1)" +G_Y="$(grep '^green_y' "$hdrfile" | awk -F= '{print $2}' | awk -F/ '{print $1}' | tail -1)" + +B_X="$(grep '^blue_x' "$hdrfile" | awk -F= '{print $2}' | awk -F/ '{print $1}' | tail -1)" +B_Y="$(grep '^blue_y' "$hdrfile" | awk -F= '{print $2}' | awk -F/ '{print $1}' | tail -1)" + +R_X="$(grep '^red_x' "$hdrfile" | awk -F= '{print $2}' | awk -F/ '{print $1}' | tail -1)" +R_Y="$(grep '^red_y' "$hdrfile" | awk -F= '{print $2}' | awk -F/ '{print $1}' | tail -1)" + +WP_X="$(grep '^white_point_x' "$hdrfile" | awk -F= '{print $2}' | awk -F/ '{print $1}' | tail -1)" +WP_Y="$(grep '^white_point_y' "$hdrfile" | awk -F= '{print $2}' | awk -F/ '{print $1}' | tail -1)" + +L_MIN="$(grep '^min_luminance' "$hdrfile" | awk -F= '{print $2}' | awk -F/ '{print $1}' | tail -1)" +L_MAX="$(grep '^max_luminance' "$hdrfile" | awk -F= '{print $2}' | awk -F/ '{print $1}' | tail -1)" + +MAX_C="$(grep '^max_content' "$hdrfile" | awk -F= '{print $2}' | awk -F/ '{print $1}' | tail -1)" +MAX_AVG="$(grep '^max_average' "$hdrfile" | awk -F= '{print $2}' | awk -F/ '{print $1}' | tail -1)" + +echo "master-display: G($G_X,$G_Y)B($B_X,$B_Y)R($R_X,$R_Y)WP($WP_X,$WP_Y)L($L_MAX,$L_MIN)" +echo "max-cll: $MAX_C,$MAX_AVG" + +rm -f "$hdrfile"
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
.