VideoHelp Forum

Our website is made possible by displaying online advertisements to our visitors. Consider supporting us by disable your adblocker or Try ConvertXtoDVD and convert all your movies to DVD. Free trial ! :)
+ Reply to Thread
Results 1 to 3 of 3
  1. how to embedded subtitles in mp4 container format using ffmpeg
    I am trying to embedded srt file into mp4 container.
    Is this possible?
    Is there any way i can encode subtitles in mp4 container
    Quote Quote  
  2. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Search Comp PM
    One thread is enough. Post all your ffmpeg questions in this thread. And this is not latest news. Moving you.
    Quote Quote  
  3. To embed srt subs, first convert to substation alpha (ssa) or advanced substation alpha (ass) format
    ffmpeg -i -y output_subfile.ass

    Then embed using video filter ass:

    ffmpeg -i inputvideo.mp4 -sameq -vf ass=output_subfile.ass -y subtitled_output.mp4

    To encode srt into mp4 use mov_text filter:

    ffmpeg -i inputvideo.mp4 -vcodec copy -acodec copy -i -scodec mov_text -map 0:0 -map 0:1 -map 1:0 -y subtitled_output.mp4
    Quote Quote  

Similar Threads