Projects
Multimedia
ffx264
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 70
View file
ffx264.changes
Changed
@@ -1,4 +1,16 @@ ------------------------------------------------------------------- +Tue Jan 02 12:03:00 UTC 2018 - neutrino8@opensuse.org + +- Update to version 3.5.9 + * 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.5.8
View file
ffx264.spec
Changed
@@ -17,7 +17,7 @@ Name: ffx264 -Version: 3.5.8 +Version: 3.5.9 Release: 0 Summary: A small shell script for encoding to H.264 with ffmpeg License: GPL-2.0+
View file
ffx264-3.5.8.tar.gz/ChangeLog -> ffx264-3.5.9.tar.gz/ChangeLog
Changed
@@ -1,3 +1,12 @@ +2018-01-02 - ffx264 3.5.9 + * 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 - ffx264 3.5.8 * Set proper zscale transfer value in the video_hdr_to_sdr_func() function, option 0 (copy color characteristics)
View file
ffx264-3.5.8.tar.gz/ffx264 -> ffx264-3.5.9.tar.gz/ffx264
Changed
@@ -3,7 +3,7 @@ # Small script to encode to H.264/AVC video using FFmpeg and libx264. # Author: Grozdan "microchip" Nikolov <neutrino8@opensuse.org> # Version: 3.5.9 -# Date: 2018-01-01 +# Date: 2018-01-02 # # ffx264 is free software ; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -1040,13 +1040,10 @@ error "-> Skipping HDR to SDR conversion!" echo else - if "${VCHARS3}" = "smpte2084" ; then - ztrans="2020_10" - coltrans="bt2020-10" - else - ztrans="${VCHARS3}" - coltrans="${VCHARS3}" - fi + case "${VCHARS3}" in + smpte2084|bt2020-10) ztrans="2020_10"; coltrans="bt2020-10" ;; + *) ztrans="${VCHARS3}"; coltrans="${VCHARS3}" ;; + esac zscale=",zscale=transfer=$ztrans:primaries=${VCHARS4}:matrix=${VCHARS2}" colorprim=":transfer=$coltrans:colorprim=${VCHARS4}:colormatrix=${VCHARS2}" fi @@ -1417,7 +1414,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" ;; @@ -2878,15 +2875,17 @@ test ! -z "${afiltersi}" && audfiltersi="-filter:a:${audindexi} ${afiltersi}" else - aindexi="$(($(echo "${atracki}" | awk -F: '{print $2}')-1))" - test "${aindexi}" = "-1" && aindexi="0" - - GETAUDCDCi="$($FFPROBE -i "$input" -v quiet -select_streams a:${aindexi} -show_streams -of default=noprint_wrappers=1 | grep '^codec_name' | awk -F= '{print $2}' | tr 'a-z' 'A-Z')" - GETAUDBTRi="$($FFPROBE -i "$input" -v quiet -select_streams a:${aindexi} -show_streams -of default=noprint_wrappers=1 | grep '^bit_rate' | awk -F= '{print $2}')" - - if ! -z "${GETAUDCDCi}" ; then - test ! -z "${GETAUDBTRi}" && audbtrmetai=" @ $(($(echo "${GETAUDBTRi}")/1000)) kbps" - audmetai="-metadata:s:a:${audindexi} title=\"${GETAUDCDCi}${audbtrmetai}\"" + if -z "$batchmode" ; + aindexi="$(($(echo "${atracki}" | awk -F: '{print $2}')-1))" + test "${aindexi}" = "-1" && aindexi="0" + + GETAUDCDCi="$($FFPROBE -i "$input" -v quiet -select_streams a:${aindexi} -show_streams -of default=noprint_wrappers=1 | grep '^codec_name' | awk -F= '{print $2}' | tr 'a-z' 'A-Z')" + GETAUDBTRi="$($FFPROBE -i "$input" -v quiet -select_streams a:${aindexi} -show_streams -of default=noprint_wrappers=1 | grep '^bit_rate' | awk -F= '{print $2}')" + + if ! -z "${GETAUDCDCi}" ; then + test ! -z "${GETAUDBTRi}" && audbtrmetai=" @ $(($(echo "${GETAUDBTRi}")/1000)) kbps" + audmetai="-metadata:s:a:${audindexi} title=\"${GETAUDCDCi}${audbtrmetai}\"" + 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
.