[FFmpeg-user] Can't get ffpmeg to add subtitles to mp4 files

Ashish Jha ashish.jha at hoichoi.tv
Sat Jan 4 11:43:16 EET 2020


Try below mentioned command:

ffmpeg -i input.mp4 -filter:v subtitles=subtitle.srt output.mp4

it's working for me.


--
Ashish
________________________________
From: ffmpeg-user <ffmpeg-user-bounces at ffmpeg.org> on behalf of Ted Park <kumowoon1025 at gmail.com>
Sent: Saturday, January 4, 2020 2:05 PM
To: FFmpeg user questions <ffmpeg-user at ffmpeg.org>
Subject: Re: [FFmpeg-user] Can't get ffpmeg to add subtitles to mp4 files

> I also tried different subtitles' commands like
>
> *$ ffmpeg -i my.pm4 -i my.srt -c copy -c:s mov_text my_sub.mp4*
>
> But I end up with the exact same issue.
>
> I Googled a lot yesterday, read a lot of different ways to add subtitles
> using FFmpeg but none of them worked.

That should have worked as far as adding the subtitles goes, but without video, where are you expecting them to show up? If you’re looking for karaoke-type display, you’re probably going to need a different approach.
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-user mailing list