Projects
Multimedia
ffhevc
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 242
View file
ffhevc.changes
Changed
@@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Thu Dec 14 17:36:00 UTC 2023 - neutrino8@opensuse.org + +- Update to version 4.4.16 + * Improved compatibility with the BSDs + +------------------------------------------------------------------- Mon Nov 06 18:00:00 UTC 2023 - neutrino8@opensuse.org - Update to version 4.4.15
View file
ffhevc.spec
Changed
@@ -17,7 +17,7 @@ Name: ffhevc -Version: 4.4.15 +Version: 4.4.16 Release: %mkrel 1 Summary: A small shell script for encoding to H.265/HEVC with FFmpeg License: GPL-2.0+
View file
ffhevc-4.4.15.tar.gz/ChangeLog -> ffhevc-4.4.16.tar.gz/ChangeLog
Changed
@@ -1,3 +1,6 @@ +2023-12-14 - ffhevc 4.4.16 + * Improved compatibility with the BSDs + 2023-11-06 - ffhevc 4.4.15 * Set the setpts + atempo option as default for FPS conversion
View file
ffhevc-4.4.15.tar.gz/ffhevc -> ffhevc-4.4.16.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.4.15 -# Date: 2023-11-06 +# Version: 4.4.16 +# Date: 2023-12-14 # # 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 "\e0;33m$1\e0;39;49m"; } error() { echo -e "\e1;31m$1\e0;39;49m"; } -version="4.4.15" +version="4.4.16" CFG="$HOME/.ffhevc" cfgversion="83" @@ -472,7 +472,7 @@ fi if -z "$batchmode" ; then - input="$(readlink -e "$input")" + input="$(realpath "$input")" fi if "$SCAN_MULTI_VID_TRACKS" = "y" ; then @@ -516,14 +516,14 @@ error "-> Could not create the output directory!" exit 1 fi - OUTPUT="$(realpath -s "$OUTPUT/\${i%.*}")" + OUTPUT="$(realpath "$OUTPUT/\${i%.*}")" else mkdir -p "$output" 2>/dev/null if $? != 0 ; then error "-> Could not create the output directory!" exit 1 fi - OUTPUT="$(realpath -s "$output/\${i%.*}")" + OUTPUT="$(realpath "$output/\${i%.*}")" fi else printf "Specify a Name for the Output: " @@ -538,9 +538,9 @@ error "-> Could not create the output directory!" exit 1 fi - OUTPUT="$(readlink -m "$output")" + OUTPUT="$(realpath "$output")" else - OUTPUT="$(readlink -m "$OUTDIR/$output")" + OUTPUT="$(realpath "$OUTDIR/$output")" fi fi @@ -576,12 +576,12 @@ fi if ! -z "$batchmode" ; then - if "$(realpath -s "$(dirname "$input")")" = "$(realpath -s "$(dirname "$OUTPUT")")" ; then + if "$(realpath "$(dirname "$input")")" = "$(realpath "$(dirname "$OUTPUT")")" ; then error "-> Input directory matches output directory!" exit 1 fi else - if "$(realpath -s "$input")" = "$(realpath -s "$OUTPUT")" ; then + if "$(realpath "$input")" = "$(realpath "$OUTPUT")" ; then error "-> Input file matches output file!" exit 1 fi @@ -595,7 +595,7 @@ mv -f "$OUTPUT" "$OUTPUT.$$.old" fi else - CHDIR="cd \"$(realpath -s "$(dirname "$input")")\"" + CHDIR="cd \"$(realpath "$(dirname "$input")")\"" FORLOOP_START="for i in *; do" CHKFILE_START="if -f \"\$i\" ; then" CHKFILE_END="fi" @@ -693,7 +693,7 @@ ;; esac case "$CONFMT" in - mkv) MKVCOVER="-attach \"$(readlink -e "$cover")\" -metadata:s:t mimetype=\"image/$img\"" ;; + mkv) MKVCOVER="-attach \"$(realpath "$cover")\" -metadata:s:t mimetype=\"image/$img\"" ;; mp4|mov) MP4COVER="1" ;; esac fi @@ -1625,7 +1625,7 @@ error "-> No such file! Skipping" echo else - dolby_vision_rpu=":dolby-vision-rpu=\"$(readlink -e "$dvrpu")\"" + dolby_vision_rpu=":dolby-vision-rpu=\"$(realpath "$dvrpu")\"" fi fi fi @@ -1684,7 +1684,7 @@ error "-> No such file. Skipping!" echo else - dhdr10=":dhdr10-info=\"$(readlink -e "$json")\"" + dhdr10=":dhdr10-info=\"$(realpath "$json")\"" fi fi fi @@ -2422,7 +2422,7 @@ mp4|mov) submuxer_ext="mov_text" ;; *) submuxer_ext="copy" ;; esac - EXTSUBSi="-i \"$(readlink -e "${subfilei}")\"" + EXTSUBSi="-i \"$(realpath "${subfilei}")\"" subcpyi="-map $i:0 -c:s:${subidxi} $submuxer_ext ${sublngi} -disposition:s:${subidxi} $sdispo" fi done @@ -3839,7 +3839,7 @@ case "$i" in mkv) if ! -z "$MP4COVER" ; then - MKVCOVER2="-attach \"$(readlink -e "$cover")\" -metadata:s:t mimetype=\"image/$img\"" + MKVCOVER2="-attach \"$(realpath "$cover")\" -metadata:s:t mimetype=\"image/$img\"" fi ;; mov) color="$colr"; MKVCOVER2="" ;; @@ -3864,7 +3864,7 @@ echo "" >> "$OUTFILE" echo "echo" >> "$OUTFILE" echo "green \"-> Adding cover image to $i...\"" >> "$OUTFILE" - echo "$MP4BOX -add \"${OUTPUT%.*}.$i\"$color -itags cover=\"$(readlink -e "$cover")\":name=\"$(basename "${OUTPUT%.*}")\":genre=\"$genre\":created=\"$year\":composer=\"$director\":artist=\"$cast\":comment=\"$COMMENT\" -tmp \"$(dirname "$OUTPUT")\" -mpeg4 -new \"${OUTPUT%.*}_COVER_$$.$i\" >/dev/null 2>&1" >> "$OUTFILE" + echo "$MP4BOX -add \"${OUTPUT%.*}.$i\"$color -itags cover=\"$(realpath "$cover")\":name=\"$(basename "${OUTPUT%.*}")\":genre=\"$genre\":created=\"$year\":composer=\"$director\":artist=\"$cast\":comment=\"$COMMENT\" -tmp \"$(dirname "$OUTPUT")\" -mpeg4 -new \"${OUTPUT%.*}_COVER_$$.$i\" >/dev/null 2>&1" >> "$OUTFILE" echo "RET=\$?" >> "$OUTFILE" echo "test \"\$RET\" = \"0\" && green \"-> Done\" || red \"-> Failed!\"" >> "$OUTFILE" echo "if \"\$RET\" = \"0\" ; then" >> "$OUTFILE" @@ -3884,7 +3884,7 @@ esac echo "echo" >> "$OUTFILE" echo "green \"-> Adding cover image to $CONFMT...\"" >> "$OUTFILE" - echo "$MP4BOX -add \"$OUTPUT\"$color -itags cover=\"$(readlink -e "$cover")\":name=\"$(basename "${OUTPUT%.*}")\":genre=\"$genre\":created=\"$year\":composer=\"$director\":artist=\"$cast\":comment=\"$COMMENT\" -tmp \"$(dirname "$OUTPUT")\" -mpeg4 -new \"${OUTPUT%.*}_COVER_$$.$CONFMT\" >/dev/null 2>&1" >> "$OUTFILE" + echo "$MP4BOX -add \"$OUTPUT\"$color -itags cover=\"$(realpath "$cover")\":name=\"$(basename "${OUTPUT%.*}")\":genre=\"$genre\":created=\"$year\":composer=\"$director\":artist=\"$cast\":comment=\"$COMMENT\" -tmp \"$(dirname "$OUTPUT")\" -mpeg4 -new \"${OUTPUT%.*}_COVER_$$.$CONFMT\" >/dev/null 2>&1" >> "$OUTFILE" echo "RET=\$?" >> "$OUTFILE" echo "test \"\$RET\" = \"0\" && green \"-> Done\" || red \"-> Failed!\"" >> "$OUTFILE" echo "if \"\$RET\" = \"0\" ; then" >> "$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
.