Projects
Multimedia
ffxvid
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 51
View file
ffxvid.changes
Changed
@@ -1,4 +1,12 @@ ------------------------------------------------------------------- +Fri Oct 11 10:26:00 UTC 2019 - neutrino8@opensuse.org + +- Update to version 1.4.1 + * 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 1.4.0
View file
ffxvid.spec
Changed
@@ -17,7 +17,7 @@ Name: ffxvid -Version: 1.4.0 +Version: 1.4.1 Release: 0 Summary: A small shell script for encoding to H.264 with ffmpeg License: GPL-2.0+
View file
ffxvid-1.4.0.tar.gz/ChangeLog -> ffxvid-1.4.1.tar.gz/ChangeLog
Changed
@@ -1,3 +1,8 @@ +2019-10-11 - ffxvid 1.4.1 + * Support hardcoding external or embedded subtitles. + Requires libass support in FFmpeg + * Fixed a typo in the subtitles code + 2019-09-25 - ffxvid 1.4.0 * Revert using audindex[i] var for audio metadata detection
View file
ffxvid-1.4.0.tar.gz/ffxvid -> ffxvid-1.4.1.tar.gz/ffxvid
Changed
@@ -2,8 +2,8 @@ # # Small script to encode to Xvid video using FFmpeg. # Author: Grozdan "microchip" Nikolov <neutrino8@opensuse.org> -# Version: 1.4.0 -# Date: 2019-09-25 +# Version: 1.4.1 +# 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="1.4.0" +version="1.4.1" CFG="$HOME/.ffxvid" cfgversion="9" @@ -1888,8 +1888,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 ;; @@ -1916,6 +1917,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 ;; @@ -3018,7 +3050,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
.