Projects
Multimedia
ffhevc
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 33
View file
ffhevc.changes
Changed
@@ -1,4 +1,12 @@ ------------------------------------------------------------------- +Sun Jan 08 11:24:00 UTC 2017 - neutrino8@opensuse.org + +- Update to version 3.1.0 + * Support SMPTE-2084 transfer characteristics + * Placed the video post-processing filters in their own sub-menu + * Some small changes to the FPS conversion code + +------------------------------------------------------------------- Fri Jan 06 10:53:00 UTC 2017 - neutrino8@opensuse.org - Update to version 3.0.9
View file
ffhevc.spec
Changed
@@ -17,7 +17,7 @@ Name: ffhevc -Version: 3.0.9 +Version: 3.1.0 Release: 0 Summary: A small shell script for encoding to H.265/HEVC with ffmpeg License: GPL-2.0+
View file
ffhevc-3.0.9.tar.gz/ChangeLog -> ffhevc-3.1.0.tar.gz/ChangeLog
Changed
@@ -1,3 +1,8 @@ +2017-01-08 - ffhevc 3.1.0 + * Support SMPTE-ST-2084 transfer characteristics + * Placed the video post-processing filters in their own sub-menu + * Some small changes to the FPS conversion code + 2017-01-06 - ffhevc 3.0.9 * Bugfix: default output directory wasn't made when running in batch mode
View file
ffhevc-3.0.9.tar.gz/ffhevc -> ffhevc-3.1.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: 3.0.9 -# Date: 2017-01-06 +# Version: 3.1.0 +# Date: 2017-01-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="3.0.9" +version="3.1.0" CFG="$HOME/.ffhevc" cfgversion="33" @@ -605,7 +605,7 @@ ;; esac -if [ "$VID_DENOISE" = "y" ]; then +video_denoise_func() { printf "Denoise the Input File? [y/N]: " read dn if [ "$dn" = "y" -o "$dn" = "Y" ]; then @@ -649,9 +649,9 @@ ;; esac fi -fi +} -if [ "$VID_DEBLOCK" = "y" ]; then +video_deblock_func() { printf "Deblock the Input File? [y/N]: " read db if [ "$db" = "y" -o "$db" = "Y" ]; then @@ -696,7 +696,7 @@ ;; esac fi -fi +} # Used by mc/bobbing deinterlace and FPS conversion video_fps_func() { @@ -729,11 +729,11 @@ esac } -if [ "$VID_DEINTERLACE" = "y" ]; then +video_deinterlace_func() { printf "Deinterlace the Input File? [y/N]: " read deint if [ "$deint" = "y" -o "$deint" = "Y" ]; then - video_deinterlace_func() { + video_deint_func() { printf "Use Motion-Compensation Deinterlacing? [y/N]: " read mcd if [ "$mcd" = "y" -o "$mcd" = "Y" ]; then @@ -756,7 +756,7 @@ printf "Specify the Deinterlace Method [default is 0]: " read dmethod case "$dmethod" in - 0|"") video_deinterlace_func ofps ;; + 0|"") video_deint_func ofps ;; 1) echo green "-> Detecting FPS value..." @@ -773,7 +773,7 @@ error "-> Could not detect the FPS value!" fi echo - video_deinterlace_func bob + video_deint_func bob bob="1" ;; *) @@ -782,9 +782,9 @@ ;; esac fi -fi +} -if [ "$VID_DETELECINE" = "y" ]; then +video_detelecine_func() { if [ -z "$deinterlace" ]; then printf "DeTelecine (IVTC) the Input File? [y/N]: " read detel @@ -803,9 +803,9 @@ detelecine="detelecine=first_field=$forder:pattern=$pulldown," fi fi -fi +} -if [ "$VID_ROTATE" = "y" ]; then +video_rotate_func() { printf "Rotate the Video? [y/N]: " read rot if [ "$rot" = "y" -o "$rot" = "Y" ]; then @@ -832,6 +832,16 @@ ;; esac fi +} + +printf "Use Post-Processing Video Filters? [y/N]: " +read postproc +if [ "$postproc" = "y" -o "$postproc" = "Y" ]; then + test "$VID_DENOISE" = "y" && video_denoise_func + test "$VID_DEBLOCK" = "y" && video_deblock_func + test "$VID_DEINTERLACE" = "y" && video_deinterlace_func + test "$VID_DETELECINE" = "y" && video_detelecine_func + test "$VID_ROTATE" = "y" && video_rotate_func fi if [ -z "$deinterlace" ]; then @@ -971,6 +981,15 @@ exit 1 ;; esac + case "$colprim" in + [3-6]) + printf "Use SMPTE-ST-2084 Transfer Characteristics? [y/N]: " + read smpte + if [ "$smpte" = "y" -o "$smpte" = "Y" ]; then + transfer="smpte-st-2084" + fi + ;; + esac colorprim=":colormatrix=$matrix:colorprim=$prim:transfer=$transfer" fi @@ -978,18 +997,19 @@ # Not supported with interlaced encoding, # deinterlacing with a bobber and IVTC if [ -z "$interlaced" -a -z "$bob" -a -z "$detelecine" ]; then + echo + green "-> Detecting FPS value..." + sleep 1 + video_fps_func + if [ ! -z "$GETFPS" ]; then + green "-> Detected $GETFPS FPS" + else + error "-> Could not detect the FPS value!" + fi + echo printf "Do an NTSC <-> PAL or NTSC <-> NTSC FPS conversion? [y/N]: " read fpscon if [ "$fpscon" = "y" -o "$fpscon" = "Y" ]; then - echo - green "-> Detecting FPS value..." - sleep 1 - video_fps_func - if [ ! -z "$GETFPS" ]; then - green "-> Detected $GETFPS FPS" - else - error "-> Could not detect the FPS value!" - fi case "$GETFPS" in 24/1|25/1|24000/1001|30000/1001) true ;; ""|*)
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
.