Projects
Multimedia
ffhevc
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 225
View file
ffhevc.changes
Changed
@@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Mon Feb 08 18:35:00 UTC 2021 - neutrino8@opensuse.org + +- Update to version 4.4.0 + * Support setting the Maximum Decoder Level + +------------------------------------------------------------------- Tue Feb 02 14:05:00 UTC 2021 - neutrino8@opensuse.org - Update to version 4.3.9
View file
ffhevc.spec
Changed
@@ -17,7 +17,7 @@ Name: ffhevc -Version: 4.3.9 +Version: 4.4.0 Release: 0 Summary: A small shell script for encoding to H.265/HEVC with FFmpeg License: GPL-2.0+
View file
ffhevc-4.3.9.tar.gz/ChangeLog -> ffhevc-4.4.0.tar.gz/ChangeLog
Changed
@@ -1,3 +1,6 @@ +2021-02-08 - ffhevc 4.4.0 + * Support setting the Maximum Decoder Level + 2021-02-02 - ffhevc 4.3.9 * Replace the yadif deinterlacer with bwdif. It's faster and provides higher quality
View file
ffhevc-4.3.9.tar.gz/ffhevc -> ffhevc-4.4.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: 4.3.9 -# Date: 2021-02-02 +# Version: 4.4.0 +# Date: 2021-02-08 # # 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="4.3.9" +version="4.4.0" CFG="$HOME/.ffhevc" cfgversion="80" @@ -727,6 +727,50 @@ test -z "$vbv_buf" && vbv_bufsize=":vbv_bufsize=6000"; ffvbv_bufsize="-bufsize 6000k" || vbv_bufsize=":vbv_bufsize=$vbv_buf"; ffvbv_bufsize="-bufsize ${vbv_buf}k" fi +printf "Set the Maximum Decoder Level? [y/N]: " +read mdl +if [ "$mdl" = "y" -o "$mdl"= "Y" ]; then + echo + brown "Decoder Levels" + brown "~~~~~~~~~~~~~~" + echo " 0 --> Level 1 (max bitrate: 128 kbps)" + echo " 1 --> Level 2 (max bitrate: 1,500 kbps)" + echo " 2 --> Level 2.1 (max bitrate: 3,000 kbps)" + echo " 3 --> Level 3 (max bitrate: 6,000 kbps)" + echo " 4 --> Level 3.1 (max bitrate: 10,000 kbps)" + echo " 5 --> Level 4 (max bitrate: 12,000 kbps)" + echo " 6 --> Level 4.1 (max bitrate: 20,000 kbps)" + echo " 7 --> Level 5 (max bitrate: 25,000 kbps)" + echo " 8 --> Level 5.1 (max bitrate: 40,000 kbps)" + echo " 9 --> Level 5.2 (max bitrate: 60,000 kbps)" + echo " 10 -> Level 6 (max bitrate: 60,000 kbps)" + echo " 11 -> Level 6.1 (max bitrate: 120,000 kbps)" + echo " 12 -> Level 6.2 (max bitrate: 240,000 kbps)" + echo + printf "Which Level to Use? [default is 5]: " + read uselevel + case "$uselevel" in + 0) dlevel="1.0" ;; + 1) dlevel="2.0" ;; + 2) dlevel="2.1" ;; + 3) dlevel="3.0" ;; + 4) dlevel="3.1" ;; + 5|"") dlevel="4.0" ;; + 6) dlevel="4.1" ;; + 7) dlevel="5.0" ;; + 8) dlevel="5.1" ;; + 9) dlevel="5.2" ;; + 10) dlevel="6.0" ;; + 11) dlevel="6.1" ;; + 12) dlevel="6.2" ;; + *) + error "-> Invalid option!" + exit 1 + ;; + esac + level_idc=":level-idc=$dlevel" +fi + video_denoise_func() { printf "Denoise the Input File? [y/N]: " read dn @@ -3686,7 +3730,7 @@ test ! -z "$vidfilters" && vfilters="-vf $vidfilters" -test ! -z "$vpreset" && X265PARAMS="$colorprim$interlaced$dolby_vision$dolby_vision_rpu$master_display$max_cll$hdr$hdr_opt$dhdr10$hdr_encopts$min_keyint$max_keyint$chromaloc$vbv_maxrate$vbv_bufsize$dither $vpreset $vtune" || X265PARAMS=":$X265PARAMS$colorprim$interlaced$dolby_vision$dolby_vision_rpu$master_display$max_cll$hdr$hdr_opt$dhdr10$hdr_encopts$min_keyint$max_keyint$chromaloc$vbv_maxrate$vbv_bufsize$dither" +test ! -z "$vpreset" && X265PARAMS="$colorprim$interlaced$dolby_vision$dolby_vision_rpu$master_display$max_cll$hdr$hdr_opt$dhdr10$hdr_encopts$min_keyint$max_keyint$chromaloc$vbv_maxrate$vbv_bufsize$dither$level_idc $vpreset $vtune" || X265PARAMS=":$X265PARAMS$colorprim$interlaced$dolby_vision$dolby_vision_rpu$master_display$max_cll$hdr$hdr_opt$dhdr10$hdr_encopts$min_keyint$max_keyint$chromaloc$vbv_maxrate$vbv_bufsize$dither$level_idc" test ! -z "$COMMENT" && METACOMMENT="-metadata comment=\"$COMMENT\""
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
.