dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit 46ca524aec30e32c1934aaebf880aa93947bd191
parent 17f66008e754a1a4a0cb3781b63ae83f3da69ea7
Author: Alex Balgavy <a.balgavy@gmail.com>
Date:   Mon, 22 Jun 2020 12:00:51 +0200

ffmpres: video to mp4 include subtitles

Former-commit-id: 814367a2ef512c706352d507f4438b41c8c25360
Diffstat:
Mscripts/ffmpres | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/ffmpres b/scripts/ffmpres @@ -88,7 +88,7 @@ process_video() { select to_fmt in "MP4" "MP3" "GIF" "NO AUDIO" "CONCAT" "CLIP" "VOLUME" "FAST" "SLOW" "SCREENSHOT"; do case "$to_fmt" in "MP4") - ffmpeg -i "$1" -qscale 0 "${1%%.*}.mp4" + ffmpeg -i "$1" -vcodec copy -qscale 0 -c:s mov_text "${1%%.*}.mp4" break;; "MP3") ffmpeg -i "$1" "${1%%.*}.mp3"