Projects
Multimedia
ffhevc
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 196
View file
ffhevc.changes
Changed
@@ -1,4 +1,13 @@ ------------------------------------------------------------------- +Sat Dec 28 15:40:00 UTC 2019 - neutrino8@opensuse.org + +- Update to version 4.1.4 + * Add support for the noise video filter. Can be beneficial + on (very) clean sources by applying some noise to avoid + things like color/light banding in the encode + * Fine-tuning to the default encoding options + +------------------------------------------------------------------- Wed Dec 25 08:35:00 UTC 2019 - neutrino8@opensuse.org - Update to version 4.1.3
View file
ffhevc.spec
Changed
@@ -17,7 +17,7 @@ Name: ffhevc -Version: 4.1.3 +Version: 4.1.4 Release: 0 Summary: A small shell script for encoding to H.265/HEVC with FFmpeg License: GPL-2.0+
View file
ffhevc-4.1.3.tar.gz/ChangeLog -> ffhevc-4.1.4.tar.gz/ChangeLog
Changed
@@ -1,3 +1,9 @@ +2019-12-28 - ffhevc 4.1.4 + * Add support for the noise video filter. Can be beneficial + on (very) clean sources by applying some noise to avoid + things like color/light banding in the encode + * Fine-tuning to the default encoding options + 2019-12-25 - ffhevc 4.1.3 * More fine-tuning to the default encoding options that should preserve noise and especially mosquito
View file
ffhevc-4.1.3.tar.gz/ffhevc -> ffhevc-4.1.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: 4.1.3 -# Date: 2019-12-25 +# Version: 4.1.4 +# Date: 2019-12-28 # # 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,10 +24,10 @@ brown() { echo -e "\e[0;33m$1\e[0;39;49m"; } error() { echo -e "\e[1;31m$1\e[0;39;49m"; } -version="4.1.3" +version="4.1.4" CFG="$HOME/.ffhevc" -cfgversion="61" +cfgversion="62" genconfig_func() { cat<<EOF>>"$CFG" @@ -57,7 +57,7 @@ # CRF value (0-51) # Leave empty to ask each time -CRF="20" +CRF="21" # Automatically crop the input? AUTOCROP="y" @@ -84,6 +84,7 @@ # Video filters VID_DENOISE="y" +VID_NOISE="y" VID_DEBLOCK="y" VID_SHARPEN="y" VID_ROTATE="y" @@ -122,7 +123,7 @@ # libx265 parameters. Modify, if needed, # to fit your needs # merange is calculated as: ctu size - 4(luma) - 2(chroma) (- 1 if me=hex is used) -X265PARAMS="ref=4:hme=0:me=star:merange=58:bframes=8:rd=4:rd-refine=0:subme=5:qcomp=0.71:fades=1:strong-intra-smoothing=1:ctu=64:qg-size=64:sao=0:selective-sao=0:cu-lossless=0:cutree=1:tu-inter-depth=4:tu-intra-depth=4:rskip=1:max-merge=3:rc-lookahead=100:aq-mode=2:aq-strength=1.0:rdoq-level=1:psy-rdoq=1.6:psy-rd=2.6:limit-modes=0:limit-refs=0:limit-tu=0:deblock=-1,-1:weightb=1:weightp=1:rect=1:amp=0:wpp=1:pmode=0:pme=0:b-intra=1:b-adapt=2:b-pyramid=1:tskip-fast=0:fast-intra=0:early-skip=0:min-keyint=24:keyint=240" +X265PARAMS="ref=4:hme=0:me=star:merange=58:bframes=8:rd=4:rd-refine=0:subme=5:qcomp=0.72:fades=1:strong-intra-smoothing=1:ctu=64:qg-size=64:sao=0:selective-sao=0:cu-lossless=0:cutree=1:tu-inter-depth=4:tu-intra-depth=4:rskip=1:max-merge=4:rc-lookahead=100:aq-mode=2:aq-strength=1.0:rdoq-level=1:psy-rdoq=1.7:psy-rd=2.6:limit-modes=0:limit-refs=0:limit-tu=0:deblock=-1,-1:weightb=1:weightp=1:rect=1:amp=0:wpp=1:pmode=0:pme=0:b-intra=1:b-adapt=2:b-pyramid=1:tskip-fast=0:fast-intra=0:early-skip=0:min-keyint=24:keyint=240" # Leave empty to auto-detect ffmpeg/ffprobe/mplayer # or set your custom ones (eg, /path/to/bin/ffmpeg) @@ -706,9 +707,9 @@ ;; ""|crf) if [ -z "$CRF" ]; then - printf "Specify a CRF Value for the Encoding [0-51 - default is 20]: " + printf "Specify a CRF Value for the Encoding [0-51 - default is 21]: " read crf - test -z "$crf" && CRF="20" || CRF="$crf" + test -z "$crf" && CRF="21" || CRF="$crf" fi ;; esac @@ -798,6 +799,17 @@ fi } +video_noise_func() { + printf "Add Temporal & Uniform Noise to the Input File? [y/N]: " + read tun + if [ "$tun" = "y" -o "$tun" = "Y" ]; then + printf "Specify the Noise Strength [0-100 - default is 2]: " + read nvalue + test -z "$nvalue" && nval="2" || nval="$nvalue" + noise="noise=alls=$nvalue:allf=t+u," + fi +} + video_deblock_func() { printf "Deblock the Input File? [y/N]: " read db @@ -1477,6 +1489,7 @@ read postproc if [ "$postproc" = "y" -o "$postproc" = "Y" ]; then test "$VID_DENOISE" = "y" && video_denoise_func + test "$VID_NOISE" = "y" && video_noise_func test "$VID_DEBLOCK" = "y" && video_deblock_func test "$VID_SHARPEN" = "y" && video_sharpen_func test "$VID_DEINTERLACE" = "y" && video_deinterlace_func @@ -3618,7 +3631,7 @@ test "$CHAPS" = "n" && CHAPS="-map_chapters -1" || CHAPS="-map_chapters 0" -vidfilters="$(echo "$deinterlace$detelecine$tonemap$crop$deblock$denoise$scale$colorspace$unsharp$eq$rotate$pixformat$setpts$fps$framestep$subtitles" | sed 's|,$||')" +vidfilters="$(echo "$deinterlace$detelecine$tonemap$crop$deblock$denoise$scale$noise$colorspace$unsharp$eq$rotate$pixformat$setpts$fps$framestep$subtitles" | sed 's|,$||')" test ! -z "$vidfilters" && vfilters="-vf $vidfilters"
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
.