Projects
Multimedia
ffhevc
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 145
View file
ffhevc.changes
Changed
@@ -1,4 +1,12 @@ ------------------------------------------------------------------- +Fri Oct 11 10:26:00 UTC 2019 - neutrino8@opensuse.org + +- Update to version 3.8.5 + * 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.4
View file
ffhevc.spec
Changed
@@ -17,7 +17,7 @@ Name: ffhevc -Version: 3.8.4 +Version: 3.8.5 Release: 0 Summary: A small shell script for encoding to H.265/HEVC with ffmpeg License: GPL-2.0+
View file
ffhevc-3.8.4.tar.gz/ChangeLog -> ffhevc-3.8.5.tar.gz/ChangeLog
Changed
@@ -1,3 +1,8 @@ +2019-10-11 - ffhevc 3.8.5 + * Support hardcoding external or embedded subtitles. + Requires libass support in FFmpeg + * Fixed a typo in the subtitles code + 2019-09-25 - ffhevc 3.8.4 * Revert using audindex[i] var for audio metadata detection
View file
ffhevc-3.8.4.tar.gz/ffhevc -> ffhevc-3.8.5.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.8.4 -# Date: 2019-09-25 +# Version: 3.8.5 +# Date: 2019-10-11 # # 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 "\e[0;33m$1\e[0;39;49m"; } error() { echo -e "\e[1;31m$1\e[0;39;49m"; } -version="3.8.4" +version="3.8.5" CFG="$HOME/.ffhevc" cfgversion="44" @@ -528,8 +528,8 @@ else CHDIR="cd \"$(realpath -s "$(dirname "$input")")\"" FORLOOP_START="for i in *; do" - CHKFILE_START="if [ -f \"\$i\" ]; then" - CHKFILE_END="fi" + CHKFILE_START=" if [ -f \"\$i\" ]; then" + CHKFILE_END=" fi" FORLOOP_END="done" fi @@ -2166,8 +2166,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 ;; @@ -2194,6 +2195,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 ;; @@ -3300,7 +3332,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
.