Hello,
i have to add 1 srt to multiple video as a hardsub with ffmpeg.
I have the command to do that only with one, but for many?
Thanks
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 11 of 11
Thread
-
-
What is your question? You know how to do it with one, but not for many?
If so, post the commands you are using now for one, then people can see how to modify it for many.
Also, "hardsub" usually refers to burning in the subtitle to the video, so it's always there. This requires re-encoding of the video. Is this what you want? -
Batch job;
Code:for %%g in (*.mp4,*.mkv,*.avi) do ( ffmpeg -i %%g -vf subtitles=asd.srt %%~ng_out.%%~xg )
-
Thanks but i get this error
[Attachment 66250 - Click to enlarge] -
Sorry. Typo. Tested this
Code:for %%g in (*.mp4,*.mkv,*.avi) do ( ffmpeg -i %%g -vf subtitles=asd.srt %%~ng_out%%~xg )
-
im having a similar problem, i have 5 videos with 5 subtitles and i would to like join them all with hardcoded subs in one file, i tried several programs but it only converts to individual videos, i could join them afterwards without converting them again but i think the bitrate/fps/resolution needs to be the same in all of them, a slight mismatch in bitrate wont let me join them (not sure about it).
Can anyone help?
ThanksI love it when a plan comes together! -
File names with spaces need to be enclosed in double quotes (Windows)
Code:for %%g in (*.mp4,*.mkv,*.avi) do ( ffmpeg -i "%%g" -vf subtitles=asd.srt "%%~ng_out%%~xg" )
Cheers -
Similar Threads
-
Adding a Subtitle(srt) to and MP4 Video File
By MHHMHH in forum Newbie / General discussionsReplies: 25Last Post: 25th Jan 2021, 11:46 -
Adding .srt to 1080p .mkv NOT WORKING!
By The_WRATH in forum SubtitleReplies: 8Last Post: 11th Apr 2020, 07:06 -
Batch adding black video at the end of multiple MP4
By sheeracali in forum Newbie / General discussionsReplies: 3Last Post: 25th Jan 2020, 12:44 -
Multiple vtt's to single srt
By qaqaqaq in forum SubtitleReplies: 3Last Post: 15th Sep 2019, 00:50 -
Hardsub Timing for SRT subtitle
By sunny in forum SubtitleReplies: 1Last Post: 10th Feb 2018, 07:09