ComfyUI Node
π₯ Burn Subtitle
A ComfyUI node in MediaForge/Subtitle with 27 inputs and 1 output.
π₯ Burn Subtitle
- frames
- audio
- final_video_path
βvideo_pathinput/sample.mp4βΊ
βsrt_pathinput/sample.srtβΊ
βfilename_prefixMediaForge/subtitledβΊ
βcodech264 NVIDIA GPU (h264_nvenc)βΊ
βcrf18βΊ
βpresetmediumβΊ
βfont(ζ .ttf / .otf / .ttc δΈι² plugin/font/ εΎιζ°ζ΄η)βΊ
βfont_size24βΊ
βfont_color_hex#FFFFFFβΊ
βboldtrueβΊ
βitalicfalseβΊ
βletter_spacing0.0βΊ
βoutline_color_hex#000000βΊ
βoutline_width2βΊ
βshadow_depth1βΊ
βborder_style1βΊ
βback_color_hex#000000βΊ
βalignmentbottom_center (2)βΊ
βmargin_v20βΊ
βmargin_l50βΊ
βmargin_r50βΊ
βtensor_fps30.0βΊ
βkeep_source_audiotrueβΊ
βtarget_fps0.0βΊ
βsrt_textββΊ
CategoryMediaForge/Subtitle
Inputs (27)
| Name | Type | Default | Description |
|---|---|---|---|
| video_path | STRING | input/sample.mp4 | β |
| srt_path | STRING | input/sample.srt | β |
| filename_prefix | STRING | MediaForge/subtitled | β |
| codec | COMBO | h264 NVIDIA GPU (h264_nvenc) | 7 options: h264 (libx264), hevc (libx265), av1 (libsvtav1), prores (prores_ks), h264 NVIDIA GPU (h264_nvenc), hevc NVIDIA GPU (hevc_nvenc), +1 |
| crf | INT | 180β51 | β |
| preset | COMBO | medium | 9 options: ultrafast, superfast, veryfast, faster, fast, medium, +3 |
| font | COMBO | (ζ .ttf / .otf / .ttc δΈι² plugin/font/ εΎιζ°ζ΄η) | 1 options: (ζ .ttf / .otf / .ttc δΈι² plugin/font/ εΎιζ°ζ΄η) |
| font_size | INT | 248β150 | β |
| font_color_hex | STRING | #FFFFFF | β |
| bold | BOOLEAN | true | β |
| italic | BOOLEAN | false | β |
| letter_spacing | FLOAT | 0.00β20 | β |
| outline_color_hex | STRING | #000000 | β |
| outline_width | INT | 20β10 | β |
| shadow_depth | INT | 10β10 | β |
| border_style | INT | 11β3 | β |
| back_color_hex | STRING | #000000 | β |
| alignment | COMBO | bottom_center (2) | 9 options: bottom_left (1), bottom_center (2), bottom_right (3), middle_left (4), middle_center (5), middle_right (6), +3 |
| margin_v | INT | 200β500 | β |
| margin_l | INT | 500β1000 | β |
| margin_r | INT | 500β1000 | β |
| framesopt | IMAGE | β | |
| tensor_fpsopt | FLOAT | 30.01β240 | β |
| audioopt | AUDIO | β | |
| keep_source_audioopt | BOOLEAN | true | β |
| target_fpsopt | FLOAT | 0.00β240 | β |
| srt_textopt | STRING | β |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| final_video_path | STRING | β |