How to hardcode subtitles - staxrip/staxrip GitHub Wiki

Hardcoding the subtitles to your video could be done in several ways, although it is recommended not the hardcode them, i.e. just multiplex them to the container file, here is how to hardcode them:

Method 1 - AviSynth

Press Ctrl+H, browse to the subtitles file. You can check the subtitles are displayed in the preview window. Please note this feature was limited to 8 bit sources in older versions of StaxRip. Now it works with 8, 10 and 16 bit sources.

Method 2 - Vapoursynth

Switch to VapourSynth (Click on "AVS Filters" in the main interface, select "Filter Setup", choose "VapourSynth").

Press Ctrl+H, browse to the subtitle file. You can check the subtitles are displayed in the preview window.

Method 3 - Nvidia encoder (Rigaya's NVEnc) subburn feature

NVEnc includes a powerful feature to hardcode (burn in) subtitles. This feature has many options, however you won't be able to see a preview of it, because the hardcoding is done internally to the encoder

In the Encoder's options, look for VPP > Subburn In the Subburn field, type : filename="[Path to Subtitle File][Subtitle File Name]"

Example: if your file is called subtitle.srt and is located in D:\My Files then you must type:

filename="D:\My Files\subtitle.srt"

More information available at the documentation of NVEnc, including how to set some additional parameters: https://github.com/rigaya/NVEnc/blob/master/NVEncC_Options.en.md#--vpp-subburn-param1value1param2value2


Important Note:

To allow special characters in the subtitles to be displayed correctly, they must be saved with the UTF-8 with BOM encoding. You can use the Subtitle Edit App included to do so.