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

Nicolas George george at nsup.org
Fri Jan 3 15:11:41 EET 2020


Richard DJE (12020-01-03):
> I then executed the following in order to add the subtitles

Doing it in two steps is a terrible idea, the image and sound are
degraded twice.

> *$ ffmpeg -report -i my.mp4 -vf subtitles=my.srt my_sub.mp4*

> The problem I am seeing is that no subtitle is displayed, at all.
> This seems to be confirmed with subtitle:*0*kB.

You won't go very far with a video filter on a file that does not
contain video.

> 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.

No, you ended up with a different issue that seems similar to you.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-user/attachments/20200103/f5031b83/attachment.sig>


More information about the ffmpeg-user mailing list