Projects
Multimedia
ffx264
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 138
View file
ffx264.changes
Changed
@@ -1,4 +1,13 @@ ------------------------------------------------------------------- +Sat Dec 28 15:40:00 UTC 2019 - neutrino8@opensuse.org + +- Update to version 4.0.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 + +------------------------------------------------------------------- Mon Nov 11 13:51:00 UTC 2019 - neutrino8@opensuse.org - Update to version 4.0.3
View file
ffx264.spec
Changed
@@ -17,7 +17,7 @@ Name: ffx264 -Version: 4.0.3 +Version: 4.0.4 Release: 0 Summary: A small shell script for encoding to H.264/AVC with FFmpeg License: GPL-2.0+
View file
ffx264-4.0.3.tar.gz/ChangeLog -> ffx264-4.0.4.tar.gz/ChangeLog
Changed
@@ -1,3 +1,9 @@ +2019-12-28 - ffx264 4.0.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-11-11 - ffx264 4.0.3 * Added support for the (newer) deblock filter
View file
ffx264-4.0.3.tar.gz/ffx264 -> ffx264-4.0.4.tar.gz/ffx264
Changed
@@ -2,8 +2,8 @@ # # Small script to encode to H.264/AVC video using FFmpeg and libx264. # Author: Grozdan "microchip" Nikolov <neutrino8@opensuse.org> -# Version: 4.0.3 -# Date: 2019-11-01 +# Version: 4.0.4 +# Date: 2019-12-28 # # 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,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.0.3" +version="4.0.4" CFG="$HOME/.ffx264" -cfgversion="40" +cfgversion="41" genconfig_func() { cat<<EOF>>"$CFG" @@ -84,6 +84,7 @@ # Video filters VID_DENOISE="y" +VID_NOISE="y" VID_DEBLOCK="y" VID_SHARPEN="y" VID_ROTATE="y" @@ -119,7 +120,7 @@ # libx264 parameters. Modify, if needed, # to fit your needs -X264PARAMS="force-cfr=1:bframes=6:keyint=240:min-keyint=24:ref=4:trellis=2:merange=24:direct-pred=auto:chroma-me=1:mbtree=1:me=umh:subme=10:b-adapt=2:aq-mode=1:aq-strength=1.05:psy=1:psy-rd=1.05,0.15:rc-lookahead=60:weightb=1:weightp=2:mixed-refs=1:b-pyramid=normal:fast-pskip=0:deblock=-1,-1:8x8dct=1:cabac=1:partitions=p8x8,b8x8,i8x8,i4x4:threads=auto" +X264PARAMS="force-cfr=1:bframes=6:keyint=240:min-keyint=24:ref=4:trellis=2:merange=24:direct-pred=auto:chroma-me=1:mbtree=1:me=umh:subme=10:b-adapt=2:aq-mode=2:aq-strength=1.0:psy=1:psy-rd=1.05,0.15:rc-lookahead=100:weightb=1:weightp=2:mixed-refs=1:b-pyramid=normal:fast-pskip=0:deblock=-1,-1:8x8dct=1:cabac=1:partitions=p8x8,b8x8,i8x8,i4x4:threads=auto" # Leave empty to auto-detect ffmpeg/ffprobe/mplayer # or set your custom ones (eg, /path/to/bin/ffmpeg) @@ -810,6 +811,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 @@ -1483,6 +1495,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 @@ -3555,7 +3568,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
.