Projects
Multimedia
ffxvid
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 10
View file
ffxvid.changes
Changed
@@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Thu Jun 01 12:06:00 UTC 2017 - neutrino8@opensuse.org + +- Update to version 1.1.0 + * Simplify the scale variable a bit + * Support SMPTE170M colorspace conversion + +------------------------------------------------------------------- Tue May 16 08:57:00 UTC 2017 - neutrino8@opensuse.org - Update to version 1.0.9
View file
ffxvid.spec
Changed
@@ -17,7 +17,7 @@ Name: ffxvid -Version: 1.0.9 +Version: 1.1.0 Release: 0 Summary: A small shell script for encoding to H.264 with ffmpeg License: GPL-2.0+
View file
ffxvid-1.0.9.tar.gz/ChangeLog -> ffxvid-1.1.0.tar.gz/ChangeLog
Changed
@@ -1,3 +1,7 @@ +2017-06-01 - ffxvid 1.1.0 + * Simplify the scale variable a bit + * Support SMPTE170M colorspace conversion + 2017-05-16 - ffxvid 1.0.9 * Added support for FFmpeg's internal Opus audio encoder
View file
ffxvid-1.0.9.tar.gz/ffxvid -> ffxvid-1.1.0.tar.gz/ffxvid
Changed
@@ -2,8 +2,8 @@ # # Small script to encode to Xvid video using FFmpeg. # Author: Grozdan "microchip" Nikolov <neutrino8@opensuse.org> -# Version: 1.0.9 -# Date: 2017-05-16 +# Version: 1.1.0 +# Date: 2017-06-01 # # ffx264 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="1.0.9" +version="1.1.0" CFG="$HOME/.ffxvid" cfgversion="4" @@ -848,63 +848,121 @@ echo brown " Colorspace Conversion" brown " ~~~~~~~~~~~~~~~~~~~~~" - echo " 1 --> BT470M (NTSC) -> BT470BG (PAL)" - echo " 2 --> BT470M (NTSC) -> BT709 (HD/FHD)" - echo " 3 --> BT470M (NTSC) -> BT2020 (4K/UHD)" - echo " 4 --> BT470BG (PAL) -> BT470M (NTSC)" - echo " 5 --> BT470BG (PAL) -> BT709 (HD/FHD)" - echo " 6 --> BT470BG (PAL) -> BT2020 (4K/UHD)" - echo " 7 --> BT709 (HD/FHD) -> BT470M (NTSC)" - echo " 8 --> BT709 (HD/FHD) -> BT470BG (PAL)" - echo " 9 --> BT709 (HD/FHD) -> BT2020 (4K/UHD)" - echo " 10 -> BT2020 (4K/UHD) -> BT470M (NTSC)" - echo " 11 -> BT2020 (4K/UHD) -> BT470BG (PAL)" - echo " 12 -> BT2020 (4K/UHD) -> BT709 (HD/FHD)" + echo " 1 --> BT470M (NTSC) -> SMPTE170M (NTSC)" + echo " 2 --> BT470M (NTSC) -> BT470BG (PAL)" + echo " 3 --> BT470M (NTSC) -> BT709 (HD/FHD)" + echo " 4 --> BT470M (NTSC) -> BT2020 (4K/UHD)" + echo + echo " 5 --> SMPTE170M (NTSC) -> BT470M (NTSC)" + echo " 6 --> SMPTE170M (NTSC) -> BT470BG (PAL)" + echo " 7 --> SMPTE170M (NTSC) -> BT709 (HD/FHD)" + echo " 8 --> SMPTE170M (NTSC) -> BT2020 (4K/UHD)" + echo + echo " 9 --> BT470BG (PAL) -> BT470M (NTSC)" + echo " 10 -> BT470BG (PAL) -> SMPTE170M (NTSC)" + echo " 11 -> BT470BG (PAL) -> BT709 (HD/FHD)" + echo " 12 -> BT470BG (PAL) -> BT2020 (4K/UHD)" + echo + echo " 13 -> BT709 (HD/FHD) -> BT470M (NTSC)" + echo " 14 -> BT709 (HD/FHD) -> SMPTE170M (NTSC)" + echo " 15 -> BT709 (HD/FHD) -> BT470BG (PAL)" + echo " 16 -> BT709 (HD/FHD) -> BT2020 (4K/UHD)" + echo + echo " 17 -> BT2020 (4K/UHD) -> BT470M (NTSC)" + echo " 18 -> BT2020 (4K/UHD) -> SMPTE170M (NTSC)" + echo " 19 -> BT2020 (4K/UHD) -> BT470BG (PAL)" + echo " 20 -> BT2020 (4K/UHD) -> BT709 (HD/FHD)" echo printf "Specify the Colorspace Conversion option [press 'Enter' to skip]: " read csopt case "$csopt" in 1) - cspace="iall=bt470m:ispace=bt470m:itrc=bt470m:iprimaries=bt470m:irange=$irange:all=bt470bg:space=bt470bg:trc=bt470bg:primaries=bt470bg:range=$orange:dither=fsb" + cspace="iall=bt470m:ispace=bt470m:itrc=bt470m:iprimaries=bt470m:irange=$irange:all=smpte170m:space=smpte170m:trc=smpte170m:primaries=smpte170m:range=$orange:dither=fsb" + colorprim=":colormatrix=smpte170m:colorprim=smpte170m:transfer=smpte170m" ;; 2) - cspace="iall=bt470m:ispace=bt470m:itrc=bt470m:iprimaries=bt470m:irange=$irange:all=bt709:space=bt709:trc=bt709:primaries=bt709:range=$orange: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" ;; 3) + 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" + ;; + 4) video_csmisc_func 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) + 5) + cspace="iall=smpte170m:ispace=smpte170m:itrc=smpte170m:iprimaries=smpte170m:irange=$irange:all=bt470m:space=bt470m:trc=bt470m:primaries=bt470m:range=$orange:dither=fsb" + colorprim=":colormatrix=bt470m:colorprim=bt470m:transfer=bt470m" + ;; + 6) + cspace="iall=smpte170m:ispace=smpte170m:itrc=smpte170m:iprimaries=smpte170m:irange=$irange:all=bt470bg:space=bt470bg:trc=bt470bg:primaries=bt470bg:range=$orange:dither=fsb" + colorprim=":colormatrix=bt470bg:colorprim=bt470bg:transfer=bt470bg" + ;; + 7) + cspace="iall=smpte170m:ispace=smpte170m:itrc=smpte170m:iprimaries=smpte170m:irange=$irange:all=bt709:space=bt709:trc=bt709:primaries=bt709:range=$orange:dither=fsb" + colorprim=":colormatrix=bt709:colorprim=bt709:transfer=bt709" + ;; + 8) + video_csmisc_func + cspace="iall=smpte170m:ispace=smpte170m:itrc=smpte170m:iprimaries=smpte170m:irange=$irange:all=bt2020:space=bt2020ncl:trc=bt2020$bd:primaries=bt2020:range=$orange:dither=fsb" + colorprim=":colormatrix=bt2020$cm:colorprim=bt2020:transfer=bt2020$bd" + ;; + 9) 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) + 10) + cspace="iall=bt470bg:ispace=bt470bg:itrc=bt470bg:iprimaries=bt470bg:irange=$irange:all=smpte170m:space=smpte170m:trc=smpte170m:primaries=smpte170m:range=$orange:dither=fsb" + colorprim=":colormatrix=smpte170m:colorprim=smpte170m:transfer=smpte170m" + ;; + 11) 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) + 12) video_csmisc_func 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) + 13) 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) + 14) + cspace="iall=bt709:ispace=bt709:itrc=bt709:iprimaries=bt709:irange=$irange:all=smpte170m:space=smpte170m:trc=smpte170m:primaries=smpte170m:range=$orange:dither=fsb" + colorprim=":colormatrix=smpte170m:colorprim=smpte170m:transfer=smpte170m" + ;; + 15) 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) + 16) video_csmisc_func 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) + 17) video_csmisc_func 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) + 18) + video_csmisc_func + cspace="iall=bt2020:ispace=bt2020:itrc=bt2020$bd:iprimaries=bt2020:irange=$irange:all=smpte170m:space=smpte170m:trc=smpte170m:primaries=smpte170m:range=$orange:dither=fsb" + colorprim=":colormatrix=smpte170m:colorprim=smpte170m:transfer=smpte170m" + ;; + 19) video_csmisc_func 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) + 20) video_csmisc_func 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 ;; *) @@ -1037,7 +1095,8 @@ if [ "$fci" = "y" -o "$fci" = "Y" ]; then fullchroma="+full_chroma_int" fi - test -z "$interlaced" && scale="scale=$res:flags=$scaler$accuround$fullchroma," || scale="scale=$res:interl=1:flags=$scaler$accuround$fullchroma," + test ! -z "$interlaced" && interl=":interl=1" + scale="scale=$res$interl:flags=$scaler$accuround$fullchroma," 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
.