Projects
Multimedia
ffhevc
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 157
View file
ffhevc.changes
Changed
@@ -1,4 +1,13 @@ ------------------------------------------------------------------- +Mon Oct 21 03:40:00 UTC 2019 - neutrino8@opensuse.org + +- Update to version 3.9.3 + * Add support for verbose logging to a log file + * Bugfix: -map_metadata and -map_chapters where not set + to 0 when the respective options in the config file + were set to "y" + +------------------------------------------------------------------- Sun Oct 20 04:39:00 UTC 2019 - neutrino8@opensuse.org - Update to version 3.9.2
View file
ffhevc.spec
Changed
@@ -17,7 +17,7 @@ Name: ffhevc -Version: 3.9.2 +Version: 3.9.3 Release: 0 Summary: A small shell script for encoding to H.265/HEVC with ffmpeg License: GPL-2.0+
View file
ffhevc-3.9.2.tar.gz/ChangeLog -> ffhevc-3.9.3.tar.gz/ChangeLog
Changed
@@ -1,7 +1,13 @@ +2019-10-21 - ffhevc 3.9.3 + * Add support for verbose logging to a log file + * Bugfix: -map_metadata and -map_chapters where not set + to 0 when the respective options in the config file + were set to "y" + 2019-10-20 - ffhevc 3.9.2 * Added support for embedding of SRT/SSA/ASS subtitles - in the MP4/MOV container - * Moved back to MP4Box for adding cover art to MP4. + in the MP4 container + * Moved back to MP4Box for adding cover art to MP4/MOV. Apparently, after lots of testing, atomicparsley creates files that hang during playback * Cosmetics
View file
ffhevc-3.9.2.tar.gz/ffhevc -> ffhevc-3.9.3.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.9.2 -# Date: 2019-10-20 +# Version: 3.9.3 +# Date: 2019-10-21 # # 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="3.9.2" +version="3.9.3" CFG="$HOME/.ffhevc" -cfgversion="49" +cfgversion="50" genconfig_func() { cat<<EOF>>"$CFG" @@ -116,6 +116,9 @@ # Copy chapters from input? CHAPS="y" +# Enable verbose logging to a file? +LOG="n" + # 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) @@ -556,6 +559,17 @@ OUTPUT="$OUTPUT.$CONFMT" +if [ "$LOG" = "y" ]; then + if [ -z "$batchmode" ]; then + export FFREPORT="level=40:file=$(echo "${OUTPUT%.*}_verbose.log" | sed 's| |_|g')" + else + verbose_func() { + echo "export FFREPORT=\"level=40:file=\$(echo \"$(dirname "$OUTPUT")/\${i%.*}_verbose.log\" | sed 's| |_|g')\"" + } + fi + verbose="-v verbose" +fi + if [ ! -z "$batchmode" ]; then if [ "$(realpath -s "$(dirname "$input")")" = "$(realpath -s "$(dirname "$OUTPUT")")" ]; then error "-> Input directory matches output directory!" @@ -3416,9 +3430,9 @@ input="\$i" fi -test "$METADATA" = "n" && MDATA="-map_metadata -1" +test "$METADATA" = "n" && MDATA="-map_metadata -1" || MDATA="-map_metadata 0" -test "$CHAPS" = "n" && CHPS="-map_chapters -1" +test "$CHAPS" = "n" && CHPS="-map_chapters -1" || CHPS="-map_chapters 0" vidfilters="$(echo "$deinterlace$detelecine$tonemap$crop$deblock$denoise$scale$colorspace$unsharp$eq$rotate$pixformat$setpts$fps$framestep$subtitles" | sed 's|,$||')" @@ -3449,14 +3463,14 @@ OPTS3="${audparams[*]} $subparams $strict $movflags $MKVCOVER \"$OUTPUT\"" ;; esac - echo "nice -n $NICE $FFMPEG -i \"$input\" $VIDOPTS -c:v libx265 -x265-params $passone$X265PARAMS $OPTS1" + echo "nice -n $NICE $FFMPEG $verbose -i \"$input\" $VIDOPTS -c:v libx265 -x265-params $passone$X265PARAMS $OPTS1" case "$1" in 2p|3p) echo - echo "nice -n $NICE $FFMPEG -i \"$input\" $VIDOPTS -c:v libx265 -x265-params $passtwo$X265PARAMS $OPTS2" + echo "nice -n $NICE $FFMPEG $verbose -i \"$input\" $VIDOPTS -c:v libx265 -x265-params $passtwo$X265PARAMS $OPTS2" if [ "$1" = "3p" ]; then echo - echo "nice -n $NICE $FFMPEG -i \"$input\" $VIDOPTS -c:v libx265 -x265-params $passtwo$X265PARAMS $OPTS3" + echo "nice -n $NICE $FFMPEG $verbose -i \"$input\" $VIDOPTS -c:v libx265 -x265-params $passtwo$X265PARAMS $OPTS3" fi ;; esac @@ -3474,6 +3488,11 @@ echo "" >> "$OUTFILE" echo "" >> "$OUTFILE" echo "$FORLOOP_START" >> "$OUTFILE" + if [ "$LOG" = "y" ]; then + echo "" >> "$OUTFILE" + verbose_func >> "$OUTFILE" + echo "" >> "$OUTFILE" + fi echo "$CHKFILE_START" >> "$OUTFILE" if [ "$addhdr" = "y" -o "$addhdr" = "Y" ]; then hdr_sd_func >> "$OUTFILE"
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
.