command line – How to delay subtitles in ffmpeg
I want the subtitles to appear 3 minutes earlier, the first line in subtitles start at 49 seconds, when i try
ffmpeg -itsoffset -180 -i subtitles.srt -c copy subtitles_delayed.srt
it just makes the first line to appear at the very start of the video (00:00) how can i achieve the desired result?
PS: I am new to this website I am trying to improve my quality of questions.
i’ve tried
ffmpeg -itsoffset -180 -i subtitles.srt -c copy subtitles_delayed.srt
and simply
ffmpeg -re -i {input_file} -c:v libx264 -preset veryfast -b:v 3000k -maxrate 3000k -bufsize 6000k -pix_fmt yuv420p -vf subtitles=subtitles.srt -ss -180 -g 50 -c:a aac -b:a 160k -ac 2 -ar 44100
Read more here: Source link