Projects
Multimedia
ffhevc
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 53
View file
ffhevc.changes
Changed
@@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Tue May 16 08:57:00 UTC 2017 - neutrino8@opensuse.org + +- Update to version 3.2.7 + * Added support for FFmpeg's internal Opus audio encoder + +------------------------------------------------------------------- Sun May 14 09:36:00 UTC 2017 - neutrino8@opensuse.org - Update to version 3.2.6
View file
ffhevc.spec
Changed
@@ -17,7 +17,7 @@ Name: ffhevc -Version: 3.2.6 +Version: 3.2.7 Release: 0 Summary: A small shell script for encoding to H.265/HEVC with ffmpeg License: GPL-2.0+
View file
ffhevc-3.2.6.tar.gz/ChangeLog -> ffhevc-3.2.7.tar.gz/ChangeLog
Changed
@@ -1,3 +1,6 @@ +2017-05-16 - ffhevc 3.2.7 + * Added support for FFmpeg's internal Opus audio encoder + 2017-05-14 - ffhevc 3.2.6 * Bugfix in the software scale code. Use an if conditional to check for an y/n answer
View file
ffhevc-3.2.6.tar.gz/ffhevc -> ffhevc-3.2.7.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.6 -# Date: 2017-05-14 +# Version: 3.2.7 +# Date: 2017-05-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 "\e0;33m$1\e0;39;49m"; } error() { echo -e "\e1;31m$1\e0;39;49m"; } -version="3.2.6" +version="3.2.7" CFG="$HOME/.ffhevc" cfgversion="34" @@ -1685,7 +1685,8 @@ echo " DTS -----> Channels Support: 6 (codec max)" echo " AAC -----> Channels Support: 8 (ffmpeg max)" echo " FDK-AAC -> Channels Support: 8 (ffmpeg max)" - echo " Opus ----> Channels Support: 8 (ffmpeg max)" + echo " Libopus -> Channels Support: 8 (ffmpeg max)" + echo " Opus ----> Channels Support: 2 (encoder max)" echo " Vorbis --> Channels Support: 8 (ffmpeg max)" echo " MP3 -----> Channels Support: 2 (codec max)" echo " TrueHD --> Channels Support: 6 (encoder max)" @@ -1756,12 +1757,18 @@ abroptsi="32-320" abrdefi="320" ;; - opus) + libopus) acdci="libopus" ametai="Opus" abroptsi="6-512" abrdefi="384" ;; + opus) + acdci="opus" + ametai="Opus" + abroptsi="6-512" + abrdefi="192" + ;; vorbis) acdci="libvorbis" ametai="Vorbis" @@ -1827,17 +1834,17 @@ case "$c" in ts|mts|m2ts) case "${acodeci}" in - alac|opus) conerror_func ;; + alac|libopus|opus) conerror_func ;; esac ;; mp4) case "${acodeci}" in - pcm|opus|truehd|alac) conerror_func ;; + pcm|libopus|opus|truehd|alac) conerror_func ;; esac ;; mov) case "${acodeci}" in - pcm|opus|flac|truehd) conerror_func ;; + pcm|libopus|opus|flac|truehd) conerror_func ;; esac ;; esac @@ -1884,7 +1891,7 @@ esac case "${acodeci}" in - ac3|eac3|truehd|dts|aac|fdk*|mp3|vorbis|opus|"") + ac3|eac3|truehd|dts|aac|fdk*|mp3|vorbis|libopus|opus|"") printf "Track $i: Specify the Audio Bitrate in kbps ${abroptsi} - default is ${abrdefi}: " read abri test -z "${abri}" && abitratei="${abrdefi}k" || abitratei="${abri}k" @@ -1894,15 +1901,15 @@ esac case "${acodeci}" in - ac3|eac3|"") chanrangei="1-6"; defchani="6" ;; - aac|opus|vorbis|flac|alac|pcm) chanrangei="1-8"; defchani="8" ;; - mp3) chanrangei="1-2"; defchani="2" ;; - truehd) chanrangei="2/5/6"; defchani="6" ;; - dts) chanrangei="1/2/4/5/6"; defchani="6" ;; + ac3|eac3|"") chanrangei="1-6"; defchani="6" ;; + aac|libopus|vorbis|flac|alac|pcm) chanrangei="1-8"; defchani="8" ;; + mp3|opus) chanrangei="1-2"; defchani="2" ;; + truehd) chanrangei="2/5/6"; defchani="6" ;; + dts) chanrangei="1/2/4/5/6"; defchani="6" ;; fdk*) case "${aacprofi}" in - aac_low|aac_he|aac_ld) chanrangei="1-8"; defchani="8" ;; - *) chanrangei="1-2"; defchani="2" ;; + aac_low|aac_he|aac_ld) chanrangei="1-8"; defchani="8" ;; + *) chanrangei="1-2"; defchani="2" ;; esac ;; esac @@ -1963,12 +1970,20 @@ ;; esac ;; - mp3) + mp3|opus) case "${achi}" in 1|2) true ;; *) - error "-> MP3 supports only 1-2 channels!" - exit 1 + case "${acodeci}" in + mp3) + error "-> MP3 supports only 1-2 channels!" + exit 1 + ;; + opus) + error "-> Internal Opus encoder supports only 1-2 channels!" + exit 1 + ;; + esac ;; esac ;; @@ -2102,7 +2117,7 @@ ;; esac ;; - opus) + libopus) echo " 0 -> Mono 4 -> 5.0 8 -> 7.1" echo " 1 -> Stereo 5 -> 5.1" echo " 2 -> 3.0 6 -> 6.1" @@ -2126,7 +2141,7 @@ ;; esac ;; - mp3) + mp3|opus) echo " 0 -> Mono" echo " 1 -> Stereo" echo @@ -2290,6 +2305,19 @@ brown " Supported Sample Rates" brown " ~~~~~~~~~~~~~~~~~~~~~~" case "${acodeci}" in + opus) + echo " 0 -> 48000 Hz" + echo + printf "Track $i: Specify the Audio Sample Rate option default is 0: " + read aratei + case "${aratei}" in + 0|"") audhzi="48000" ;; + *) + error "-> Invalid option!" + exit 1 + ;; + esac + ;; ac3|eac3|"") echo " 0 -> 32000 Hz" echo " 1 -> 44100 Hz" @@ -2387,7 +2415,7 @@ ;; esac ;; - opus) + libopus) echo " 0 -> 8000 Hz" echo " 1 -> 12000 Hz" echo " 2 -> 16000 Hz"
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
.