Projects
Multimedia
ffhevc
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 49
View file
ffhevc.changes
Changed
@@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Mon Apr 03 19:04:00 UTC 2017 - neutrino8@opensuse.org + +- Update to version 3.2.4 + * Support setting the input/output color range + +------------------------------------------------------------------- Tue Mar 28 19:04:00 UTC 2017 - neutrino8@opensuse.org - Update to version 3.2.3
View file
ffhevc.spec
Changed
@@ -17,7 +17,7 @@ Name: ffhevc -Version: 3.2.3 +Version: 3.2.4 Release: 0 Summary: A small shell script for encoding to H.265/HEVC with ffmpeg License: GPL-2.0+
View file
ffhevc-3.2.3.tar.gz/ChangeLog -> ffhevc-3.2.4.tar.gz/ChangeLog
Changed
@@ -1,3 +1,6 @@ +2017-04-03 - ffhevc 3.2.4 + * Support setting the input/output color range + 2017-03-28 - ffhevc 3.2.3 * Update to the default encoding options
View file
ffhevc-3.2.3.tar.gz/ffhevc -> ffhevc-3.2.4.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.2.3 -# Date: 2017-03-28 +# Version: 3.2.4 +# Date: 2017-04-03 # # 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.2.3" +version="3.2.4" CFG="$HOME/.ffhevc" cfgversion="34" @@ -884,6 +884,15 @@ printf "Do a Colorspace/Transfer/Primaries Conversion? [y/N]: " read ctp if [ "$ctp" = "y" -o "$ctp" = "Y" ]; then + printf "Specify the Input/Output Color Range [tv|mpeg|pc|jpeg - default is mpeg/tv]: " + read crange + if [ -z "$crange" ]; then + irange="mpeg" + orange="tv" + else + irange="$(echo "$crange" | awk -F/ '{print $1}')" + orange="$(echo "$crange" | awk -F/ '{print $2}')" + fi video_csmisc_func() { printf "Use 10- or 12-bits BT2020 Transfer? [default is 10]: " read bdepth @@ -926,57 +935,57 @@ read csopt case "$csopt" in 1) - cspace="iall=bt470m:ispace=bt470m:itrc=bt470m:iprimaries=bt470m:irange=mpeg:all=bt470bg:space=bt470bg:trc=bt470bg:primaries=bt470bg:range=tv:dither=fsb" + cspace="iall=bt470m:ispace=bt470m:itrc=bt470m:iprimaries=bt470m:irange=$irange:all=bt470bg:space=bt470bg:trc=bt470bg:primaries=bt470bg:range=$orange:dither=fsb" colorprim=":colormatrix=bt470bg:colorprim=bt470bg:transfer=bt470bg" ;; 2) - cspace="iall=bt470m:ispace=bt470m:itrc=bt470m:iprimaries=bt470m:irange=mpeg:all=bt709:space=bt709:trc=bt709:primaries=bt709:range=tv:dither=fsb" + cspace="iall=bt470m:ispace=bt470m:itrc=bt470m:iprimaries=bt470m:irange=$irange:all=bt709:space=bt709:trc=bt709:primaries=bt709:range=$orange:dither=fsb" colorprim=":colormatrix=bt709:colorprim=bt709:transfer=bt709" ;; 3) video_csmisc_func - cspace="iall=bt470m:ispace=bt470m:itrc=bt470m:iprimaries=bt470m:irange=mpeg:all=bt2020:space=bt2020ncl:trc=bt2020$bd:primaries=bt2020:range=tv:dither=fsb" + cspace="iall=bt470m:ispace=bt470m:itrc=bt470m:iprimaries=bt470m:irange=$irange:all=bt2020:space=bt2020ncl:trc=bt2020$bd:primaries=bt2020:range=$orange:dither=fsb" colorprim=":colormatrix=bt2020$cm:colorprim=bt2020:transfer=bt2020$bd" ;; 4) - cspace="iall=bt470bg:ispace=bt470bg:itrc=bt470bg:iprimaries=bt470bg:irange=mpeg:all=bt470m:space=bt470m:trc=bt470m:primaries=bt470m:range=tv:dither=fsb" + cspace="iall=bt470bg:ispace=bt470bg:itrc=bt470bg:iprimaries=bt470bg:irange=$irange:all=bt470m:space=bt470m:trc=bt470m:primaries=bt470m:range=$orange:dither=fsb" colorprim=":colormatrix=bt470m:colorprim=bt470m:transfer=bt470m" ;; 5) - cspace="iall=bt470bg:ispace=bt470bg:itrc=bt470bg:iprimaries=bt470bg:irange=mpeg:all=bt709:space=bt709:trc=bt709:primaries=bt709:range=tv:dither=fsb" + cspace="iall=bt470bg:ispace=bt470bg:itrc=bt470bg:iprimaries=bt470bg:irange=$irange:all=bt709:space=bt709:trc=bt709:primaries=bt709:range=$orange:dither=fsb" colorprim=":colormatrix=bt709:colorprim=bt709:transfer=bt709" ;; 6) video_csmisc_func - cspace="iall=bt470bg:ispace=bt470bg:itrc=bt470bg:iprimaries=bt470bg:irange=mpeg:all=bt2020:space=bt2020ncl:trc=bt2020$bd:primaries=bt2020:range=tv:dither=fsb" + cspace="iall=bt470bg:ispace=bt470bg:itrc=bt470bg:iprimaries=bt470bg:irange=$irange:all=bt2020:space=bt2020ncl:trc=bt2020$bd:primaries=bt2020:range=$orange:dither=fsb" colorprim=":colormatrix=bt2020$cm:colorprim=bt2020:transfer=bt2020$bd" ;; 7) - cspace="iall=bt709:ispace=bt709:itrc=bt709:iprimaries=bt709:irange=mpeg:all=bt470m:space=bt470m:trc=bt470m:primaries=bt470m:range=tv:dither=fsb" + cspace="iall=bt709:ispace=bt709:itrc=bt709:iprimaries=bt709:irange=$irange:all=bt470m:space=bt470m:trc=bt470m:primaries=bt470m:range=$orange:dither=fsb" colorprim=":colormatrix=bt470m:colorprim=bt470m:transfer=bt470m" ;; 8) - cspace="iall=bt709:ispace=bt709:itrc=bt709:iprimaries=bt709:irange=mpeg:all=bt470bg:space=bt470bg:trc=bt470bg:primaries=bt470bg:range=tv:dither=fsb" + cspace="iall=bt709:ispace=bt709:itrc=bt709:iprimaries=bt709:irange=$irange:all=bt470bg:space=bt470bg:trc=bt470bg:primaries=bt470bg:range=$orange:dither=fsb" colorprim=":colormatrix=bt470bg:colorprim=bt470bg:transfer=bt470bg" ;; 9) video_csmisc_func - cspace="iall=bt709:ispace=bt709:itrc=bt709:iprimaries=bt709:irange=mpeg:all=bt2020:space=bt2020ncl:trc=bt2020$bd:primaries=bt2020:range=tv:dither=fsb" + cspace="iall=bt709:ispace=bt709:itrc=bt709:iprimaries=bt709:irange=$irange:all=bt2020:space=bt2020ncl:trc=bt2020$bd:primaries=bt2020:range=$orange:dither=fsb" colorprim=":colormatrix=bt2020$cm:colorprim=bt2020:transfer=bt2020$bd" ;; 10) video_csmisc_func - cspace="iall=bt2020:ispace=bt2020:itrc=bt2020$bd:iprimaries=bt2020:irange=mpeg:all=bt470m:space=bt470m:trc=bt470m:primaries=bt470m:range=tv:dither=fsb" + cspace="iall=bt2020:ispace=bt2020:itrc=bt2020$bd:iprimaries=bt2020:irange=$irange:all=bt470m:space=bt470m:trc=bt470m:primaries=bt470m:range=$orange:dither=fsb" colorprim=":colormatrix=bt470m:colorprim=bt470m:transfer=bt470m" ;; 11) video_csmisc_func - cspace="iall=bt2020:ispace=bt2020:itrc=bt2020$bd:iprimaries=bt2020:irange=mpeg:all=bt470bg:space=bt470bg:trc=bt470bg:primaries=bt470bg:range=tv:dither=fsb" + cspace="iall=bt2020:ispace=bt2020:itrc=bt2020$bd:iprimaries=bt2020:irange=$irange:all=bt470bg:space=bt470bg:trc=bt470bg:primaries=bt470bg:range=$orange:dither=fsb" colorprim=":colormatrix=bt470bg:colorprim=bt470bg:transfer=bt470bg" ;; 12) video_csmisc_func - cspace="iall=bt2020:ispace=bt2020:itrc=bt2020$bd:iprimaries=bt2020:irange=mpeg:all=bt709:space=bt709:trc=bt709:primaries=bt709:range=tv:dither=fsb" + cspace="iall=bt2020:ispace=bt2020:itrc=bt2020$bd:iprimaries=bt2020:irange=$irange:all=bt709:space=bt709:trc=bt709:primaries=bt709:range=$orange:dither=fsb" colorprim=":colormatrix=bt709:colorprim=bt709:transfer=bt709" ;; "") true ;;
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
.