VideoHelp Forum
+ Reply to Thread
Results 1 to 3 of 3
Thread
  1. Hi guys,
    I really tried to find a free and easy way to add a SRT file to a downloaded MP4 movie. Searching for SW on the net was a waste of time. 99% of the claimed FREE advertised programs shows to be trial versions. It really pisses me off.

    So I will try in this forum instead.
    Quote Quote  
  2. Member Budman1's Avatar
    Join Date
    Jul 2012
    Location
    NORTHWEST ILLINOIS, USA
    Search Comp PM
    You could try FFmpeg. It's command line but that lends itself to be used in batch and it's free and portable. The commands are simple.

    To add SRT as a stream (Soft-sub) open a command window and type:
    Code:
    ffmpeg -i infile.mp4 -i infile.srt -c:v copy -c:a copy -c:s mov_text outfile.mp4
    Breaking it down fop simplicity...
    FFmpeg (program),
    -i infile.mp4 (1st Input file with A/V) ,
    -i infile.srt (Input 2nd file of SRT)
    -c:v copy (copy video stream without encoding)
    -c:a copy (Copy Audio Stream without encoding)
    -c mov_text ( Move Subtitle stream as 3rd stream)
    outfile.mp4 (Name of final file with Video, Audio and subtitle Streams)

    To Hard code (Burn in) a subtitle stream use the -vf subtitle (video filter). This will cause re-encoding of the video with quality loss thatcan be kept to a minimum by adding more filters to the encode:
    Code:
    ffmpeg -i video.avi -vf subtitles=subtitle.srt -c:v libx264 -crf 20 -c:a copy out.mp4
    Breaking it down:
    ffmpeg ( The Program)
    -i video.mp4 ( the Input Video)
    -vf subtitles=subtitle.srt (subtitle SRT)
    -c:v libx264 (X264 Codec for encoding)
    -crf 20 (quality adjust , Lower better but bit rate higher, 20 should be near same quality)
    -c:a copy (copy the Audio )
    out.mp4 (name of ouptu file)

    There are others but this is my favorite, works well for sync which some others have problems with.
    Quote Quote  
  3. Budman, just what I need! Thanks man! Will try it this afternoon.

    Morton
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!