Projects
Multimedia
ffhevc
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 78
View file
ffhevc.changes
Changed
@@ -1,4 +1,16 @@ ------------------------------------------------------------------- +Tue Jan 02 12:03:00 UTC 2018 - neutrino8@opensuse.org + +- Update to version 3.5.0 + * Disabled audio metadata for batch mode when using audio copy, + until I figure out how to do it in a decent way + * Removed default software scaler parameters for bicubic/spline + They are already the default in FFmpeg so no need to force + them + * Use a case statement instead of if condition in option 0 of + the video_hdr_to_sdr_func() function + +------------------------------------------------------------------- Mon Jan 01 23:03:00 UTC 2018 - neutrino8@opensuse.org - Update to version 3.4.9
View file
ffhevc.spec
Changed
@@ -17,7 +17,7 @@ Name: ffhevc -Version: 3.4.9 +Version: 3.5.0 Release: 0 Summary: A small shell script for encoding to H.265/HEVC with ffmpeg License: GPL-2.0+
View file
ffhevc-3.4.9.tar.gz/ChangeLog -> ffhevc-3.5.0.tar.gz/ChangeLog
Changed
@@ -1,3 +1,12 @@ +2018-01-02 - ffhevc 3.5.0 + * Disabled audio metadata for batch mode when using audio copy, + until I figure out how to do it in a decent way + * Removed default software scaler parameters for bicubic/spline + They are already the default in FFmpeg so no need to force + them + * Use a case statement instead of if condition in option 0 of + the video_hdr_to_sdr_func() function + 2018-01-01 - ffhevc 3.4.9 * Set proper zscale transfer value in the video_hdr_to_sdr_func() function, option 0 (copy color characteristics)
View file
ffhevc-3.4.9.tar.gz/ffhevc -> ffhevc-3.5.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.4.8 -# Date: 2018-01-01 +# Version: 3.5.0 +# Date: 2018-01-02 # # 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.4.8" +version="3.5.0" CFG="$HOME/.ffhevc" cfgversion="38" @@ -1026,13 +1026,10 @@ error "-> Skipping HDR to SDR conversion!" echo else - if [ "${VCHARS[3]}" = "smpte2084" ]; then - ztrans="2020_10" - coltrans="bt2020-10" - else - ztrans="${VCHARS[3]}" - coltrans="${VCHARS[3]}" - fi + case "${VCHARS[3]}" in + smpte2084|bt2020-10) ztrans="2020_10"; coltrans="bt2020-10" ;; + *) ztrans="${VCHARS[3]}"; coltrans="${VCHARS[3]}" ;; + esac zscale=",zscale=transfer=$ztrans:primaries=${VCHARS[4]}:matrix=${VCHARS[2]}" colorprim=":transfer=$coltrans:colorprim=${VCHARS[4]}:colormatrix=${VCHARS[2]}" fi @@ -1442,7 +1439,7 @@ printf "Specify the Scaler Tuning option [default is 0]: " read swstune case "$swstune" in - 0|"") swsparam0=":param0=0.00"; swsparam1=":param1=0.60" ;; + 0|"") true ;; 1) swsparam0=":param0=0.00"; swsparam1=":param1=0.50" ;; 2) swsparam0=":param0=0.33"; swsparam1=":param1=0.33" ;; 3) swsparam0=":param0=1.00"; swsparam1=":param1=0.00" ;; @@ -2888,15 +2885,17 @@ test ! -z "${afilters[i]}" && audfilters[i]="-filter:a:${audindex[i]} ${afilters[i]}" else - aindex[i]="$(($(echo "${atrack[i]}" | awk -F: '{print $2}')-1))" - test "${aindex[i]}" = "-1" && aindex[i]="0" - - GETAUDCDC[i]="$($FFPROBE -i "$input" -v quiet -select_streams a:${aindex[i]} -show_streams -of default=noprint_wrappers=1 | grep '^codec_name' | awk -F= '{print $2}' | tr '[a-z]' '[A-Z]')" - GETAUDBTR[i]="$($FFPROBE -i "$input" -v quiet -select_streams a:${aindex[i]} -show_streams -of default=noprint_wrappers=1 | grep '^bit_rate' | awk -F= '{print $2}')" - - if [ ! -z "${GETAUDCDC[i]}" ]; then - test ! -z "${GETAUDBTR[i]}" && audbtrmeta[i]=" @ $(($(echo "${GETAUDBTR[i]}")/1000)) kbps" - audmeta[i]="-metadata:s:a:${audindex[i]} title=\"${GETAUDCDC[i]}${audbtrmeta[i]}\"" + if [ -z "$batchmode" ]; then + aindex[i]="$(($(echo "${atrack[i]}" | awk -F: '{print $2}')-1))" + test "${aindex[i]}" = "-1" && aindex[i]="0" + + GETAUDCDC[i]="$($FFPROBE -i "$input" -v quiet -select_streams a:${aindex[i]} -show_streams -of default=noprint_wrappers=1 | grep '^codec_name' | awk -F= '{print $2}' | tr '[a-z]' '[A-Z]')" + GETAUDBTR[i]="$($FFPROBE -i "$input" -v quiet -select_streams a:${aindex[i]} -show_streams -of default=noprint_wrappers=1 | grep '^bit_rate' | awk -F= '{print $2}')" + + if [ ! -z "${GETAUDCDC[i]}" ]; then + test ! -z "${GETAUDBTR[i]}" && audbtrmeta[i]=" @ $(($(echo "${GETAUDBTR[i]}")/1000)) kbps" + audmeta[i]="-metadata:s:a:${audindex[i]} title=\"${GETAUDCDC[i]}${audbtrmeta[i]}\"" + fi fi 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
.