Projects
Multimedia
ffx264
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 104
View file
ffx264.changes
Changed
@@ -1,4 +1,12 @@ ------------------------------------------------------------------- +Fri Oct 11 10:26:00 UTC 2019 - neutrino8@opensuse.org + +- Update to version 3.8.4 + * Support hardcoding external or embedded subtitles. + Requires libass support in FFmpeg + * Fixed a typo in the subtitles code + +------------------------------------------------------------------- Wed Sep 25 09:53:00 UTC 2019 - neutrino8@opensuse.org - Update to version 3.8.3
View file
ffx264.spec
Changed
@@ -17,7 +17,7 @@ Name: ffx264 -Version: 3.8.3 +Version: 3.8.4 Release: 0 Summary: A small shell script for encoding to H.264 with ffmpeg License: GPL-2.0+
View file
ffx264-3.8.3.tar.gz/ChangeLog -> ffx264-3.8.4.tar.gz/ChangeLog
Changed
@@ -1,3 +1,8 @@ +2019-10-11 - ffx264 3.8.4 + * Support hardcoding external or embedded subtitles. + Requires libass support in FFmpeg + * Fixed a typo in the subtitles code + 2019-09-25 - ffx264 3.8.3 * Revert using audindex[i] var for audio metadata detection
View file
ffx264-3.8.3.tar.gz/ffx264 -> ffx264-3.8.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: 3.8.3 -# Date: 2019-09-25 +# Version: 3.8.4 +# Date: 2019-10-11 # # 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,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.8.3" +version="3.8.4" CFG="$HOME/.ffx264" cfgversion="35" @@ -2060,8 +2060,9 @@ echo " 0 -> Copy subtitles from the input file" echo " 1 -> Add external subtitle files (SRT/SSA only!)" echo " 2 -> Copy subs from input file + add external ones (SRT/SSA only!)" + echo " 3 -> Hardcode a subtitle (text-based subs only!)" echo - printf "Sepcify the Subtitle option [press 'Enter' to skip]: " + printf "Specify the Subtitle Option [press 'Enter' to skip]: " read subopt case "$subopt" in 0) video_subtitles_func infile ;; @@ -2088,6 +2089,37 @@ esac fi ;; + 3) + echo + echo " 0 -> Hardcode an External Subtitle (text-based subs only!)" + echo " 1 -> Hardcode an Embedded Subtitle (text-based subs only!)" + echo + printf "Specify the Subtitle Option [press 'Enter' to skip]: " + read sub + case "$sub" in + 0) + printf "Provide the Subtitle File: " + read -e subfile + if [ ! -z "$subfile" ]; then + if [ ! -f "$subfile" ]; then + echo + error "-> No such file! Skipping!" + echo + else + subtitles="subtitles=\"$(realpath -s "$subfile")\"," + fi + fi + ;; + 1) + printf "Specify the Subtitle Position [default is 0 (first sub)]: " + read subpos + test -z "$subpos" && subtitles="subtitles=\"$(realpath -s "$input")\":si=0," || subtitles="subtitles=\"$(realpath -s "$input")\":si=$subpos," + ;; + ""|*) + true + ;; + esac + ;; "") true ;; @@ -3211,7 +3243,7 @@ test "$CHAPS" = "n" && CHPS="-map_chapters -1" -vidfilters="$(echo "$deinterlace$detelecine$tonemap$crop$deblock$denoise$scale$colorspace$unsharp$eq$rotate$pixformat$setpts$fps$framestep" | sed 's|,$||')" +vidfilters="$(echo "$deinterlace$detelecine$tonemap$crop$deblock$denoise$scale$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
.