Projects
Multimedia
ffx264
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 160
View file
ffx264.changes
Changed
@@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Thu Dec 14 17:36:00 UTC 2023 - neutrino8@opensuse.org + +- Update to version 4.1.16 + * Improved compatibility with the BSDs + +------------------------------------------------------------------- Mon Nov 06 18:00:00 UTC 2023 - neutrino8@opensuse.org - Update to version 4.1.15
View file
ffx264.spec
Changed
@@ -17,8 +17,8 @@ Name: ffx264 -Version: 4.1.15 -Release: 1 +Version: 4.1.16 +Release: %mkrel 1 Summary: A small shell script for encoding to H.264/AVC with FFmpeg License: GPL-2.0+ Group: Productivity/Multimedia/Video/Editors and Convertors @@ -26,7 +26,7 @@ Source0: %{name}-%{version}.tar.gz Requires: ffmpeg Requires: bc -Requires: MPlayer +Requires: mplayer Requires: gpac >= 0.8.0 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch
View file
ffx264-4.1.15.tar.gz/ChangeLog -> ffx264-4.1.16.tar.gz/ChangeLog
Changed
@@ -1,3 +1,6 @@ +2023-12-14 - ffhevc 4.1.16 + * Improved compatibility with the BSDs + 2023-11-06 - ffhevc 4.1.15 * Set the setpts + atempo option as default for FPS conversion
View file
ffx264-4.1.15.tar.gz/ffx264 -> ffx264-4.1.16.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.1.15 -# Date: 2023-11-06 +# Version: 4.1.16 +# Date: 2023-12-14 # # 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 "\e0;33m$1\e0;39;49m"; } error() { echo -e "\e1;31m$1\e0;39;49m"; } -version="4.1.15" +version="4.1.16" CFG="$HOME/.ffx264" -cfgversion="42" +cfgversion="43" genconfig_func() { cat<<EOF>>"$CFG" @@ -120,7 +120,7 @@ # libx264 parameters. Modify, if needed, # to fit your needs -X264PARAMS="force-cfr=1:bframes=8: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=3:aq-strength=1.0:psy=1:psy-rd=4.0,0.15:rc-lookahead=60:no-dct-decimate=1: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=8: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=3:aq-strength=1.0:psy=1:psy-rd=1.0,0.15:rc-lookahead=60:no-dct-decimate=1: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) @@ -471,7 +471,7 @@ if -z "$batchmode" ; then - input="$(readlink -e "$input")" + input="$(realpath "$input")" fi if "$SCAN_MULTI_VID_TRACKS" = "y" ; then @@ -515,14 +515,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: " @@ -537,9 +537,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 @@ -575,12 +575,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 @@ -594,7 +594,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" @@ -706,7 +706,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|m4v|mov) MP4COVER="1" ;; esac fi @@ -2335,7 +2335,7 @@ mp4|m4v) 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 @@ -3769,7 +3769,7 @@ vflags1="" vflags2="" 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 ;; *) vflags1=""; vflags2=""; color=""; MKVCOVER2="" ;; @@ -3794,7 +3794,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" @@ -3814,7 +3814,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
.