I'm having problems burning subs into 4K videos. (2025)

TL;DR - My GTX 1050Ti is failing when trying to encode 4K to 4K burning in subs.

Edit Bonus: Anyone that can help me solve this problem I will gladly show you a very simple way to download movies from a shared plex server that is not yours, without the owners permission.

A little background....

I use Plex to watch all my video content including 4K. I don't transcode anything! Only Direct Play on both Video and Audio.

I find that subtitles can cause transcoding within Plex so I prefer to burn in subs for a movies that have foreign language parts. I have used many programs to do this the the past including StaxRip and Handbrake but I prefer Pavtube. It seems to be the simplest and does well with hardware acceleration. I'm happy with the results I get.

I'm running into an issue with 4K movies. Pavtube and StaxRip both fail at the beginning of conversion. I'm not able to get the Pavtube logs but I have included the StaxRip logs at the end of this post. I prefer StaxRip for this job because I believe it is one of the only programs that can retain HDR color space in the process.

I'm at my wits end and I cant figure out whats wrong.

Things i've tried:

All Nvidia drivers are up to date.
Nvidia GForce and Nvidia control panel are up to date.
All system drivers are up to date.
OS is up to date.
StaxRip x64 2.0.0 all up to date

Hardware specs:

i5-2400S 2.5GHz (Sandy Bridge) CPU
Intel DH67CL Motherboard
DDR3-1600 8Gx4 = 32GB Ram
MSI GTX 1050Ti GPU
EVGA 6000W PSU
256GB SSD M.2 with SATA III 6GBs adapter (only for OS and encoding software)
Windows 10 Pro OS

I think it looks cool! https://imgur.com/gallery/jsec83h

I only use this for Plex and video encoding, no gaming.

Does anyone have any ideas? Are there any test programs I can use to test NVENC on the GPU?

Thank You in advance!

StaxRip Logs:

-------------------------- System Environment --------------------------

StaxRip : 2.0.0.0
Windows : Windows 10 Pro 1803
Language : English (United States)
CPU : Intel(R) Core(TM) i5-2400S CPU @ 2.50GHz
GPU : NVIDIA GeForce GTX 1050 Ti
Memory : 3 GB
Resolution : 1920 x 1080
DPI : 144

------------------------ MediaInfo Source File ------------------------

F:\The.Martian.2015.Extended.Cut.PROPER.UHD.BluRay .2160p.TrueHD.Atmos.7.1.HEVC.REMUX-FraMeSToR.mkv

General
Complete name : F:\The.Martian.2015.Extended.Cut.PROPER.UHD.BluRay .2160p.TrueHD.Atmos.7.1.HEVC.REMUX-FraMeSToR.mkv
Format : Matroska
Format version : Version 4 / Version 2
File size : 37.3 GiB
Duration : 2 h 31 min
Overall bit rate : 35.3 Mb/s
Encoded date : UTC 2018-11-03 18:16:02
Writing application : mkvmerge v28.1.0 ('Morning Child') 64-bit
Writing library : libebml v1.3.6 + libmatroska v1.4.9

Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Commercial name : HDR10
Format profile : Main 10@L5.1@High
Codec ID : V_MPEGH/ISO/HEVC
Duration : 2 h 31 min
Bit rate : 34.7 Mb/s
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 (23976/1000) FPS
Original frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0 (Type 2)
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.174
Stream size : 36.6 GiB (98%)
Writing library : ATEME Titan KFE 3.7.3 (4.7.3.1003)
Default : Yes
Forced : No
Color range : Limited
Color primaries : BT.2020
Transfer characteristics : PQ
Matrix coefficients : BT.2020 non-constant
Mastering display color primaries : Display P3
Mastering display luminance : min: 0.0000 cd/m2, max: 1000 cd/m2

Audio
ID : 2
Format : AC-3
Format/Info : Audio Coding 3
Codec ID : A_AC3
Duration : 2 h 31 min
Bit rate mode : Constant
Bit rate : 640 kb/s
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Bit depth : 16 bits
Compression mode : Lossy
Delay relative to video : -1 ms
Stream size : 693 MiB (2%)
Title : AC3 5.1
Language : English
Service kind : Complete Main
Default : No
Forced : No

----------------- Demux MKV using mkvextract 28.2.0.7 -----------------

"C:\Users\Nicholas\Desktop\Video Editing Tools\StaxRip-x64-2.0.0.0\Apps\MKVToolNix\mkvextract.exe" F:\The.Martian.2015.Extended.Cut.PROPER.UHD.BluRay .2160p.TrueHD.Atmos.7.1.HEVC.REMUX-FraMeSToR.mkv tracks 1:"F:\The.Martian.2015.Exte..._temp\The.Martian.20 15.Extended.Cut.PROPER.UHD.BluRay.2160p.TrueHD.Atm os.7.1.HEVC.REMUX-FraMeSToR ID1 -1ms English AC3 5.1.ac3" --ui-language en

Extracting track 1 with the CodecID 'A_AC3' to the file 'F:\The.Martian.2015.Exte..._temp\The.Martian.2015 .Extended.Cut.PROPER.UHD.BluRay.2160p.TrueHD.Atmos .7.1.HEVC.REMUX-FraMeSToR ID1 -1ms English AC3 5.1.ac3'. Container format: Dolby Digital (AC-3)

Start: 9:32:58 AM
End: 9:38:10 AM
Duration: 00:05:11

General
Complete name : F:\The.Martian.2015.Exte..._temp\The.Martian.2015. Extended.Cut.PROPER.UHD.BluRay.2160p.TrueHD.Atmos. 7.1.HEVC.REMUX-FraMeSToR ID1 -1ms English AC3 5.1.ac3
Format : AC-3
Format/Info : Audio Coding 3
File size : 693 MiB
Duration : 2 h 31 min
Overall bit rate mode : Constant
Overall bit rate : 640 kb/s

Audio
Format : AC-3
Format/Info : Audio Coding 3
Duration : 2 h 31 min
Bit rate mode : Constant
Bit rate : 640 kb/s
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 693 MiB (100%)
Service kind : Complete Main

--------------------------- AviSynth Script ---------------------------

LoadCPlugin("C:\Users\Nicholas\Desktop\Video Editing Tools\StaxRip-x64-2.0.0.0\Apps\Plugins\both\ffms2\ffms2.dll")
LoadPlugin("C:\Users\Nicholas\Desktop\Video Editing Tools\StaxRip-x64-2.0.0.0\Apps\Plugins\both\VSFilterMod\VSFilterMod. dll")
FFVideoSource("F:\The.Martian.2015.Extended.Cut.PR OPER.UHD.BluRay.2160p.TrueHD.Atmos.7.1.HEVC.REMUX-FraMeSToR.mkv", colorspace = "YV12", \
cachefile = "F:\The.Martian.2015.Exte..._temp\The.Martian.2015 .Extended.Cut.PROPER.UHD.BluRay.2160p.TrueHD.Atmos .7.1.HEVC.REMUX-FraMeSToR.ffindex")
TextSubMod("F:\Downloads\The.Martian.2015.Extended .Cut.PROPER.UHD.BluRay.2160p.TrueHD.Atmos.7.1.HEVC .REMUX-FraMeSToR.srt")
Histogram("levels", Bits=10)

-------------------------- Script Properties --------------------------

Source Frame Count : 217718
Source Frame Rate : 23.976024
Source Duration : 02:31:20.6550000
Target Frame Count : 217718
Target Frame Rate : 23.976024
Target Duration : 02:31:20.6550000

----------------------- MediaInfo Audio Source 1 -----------------------

General
Complete name : F:\The.Martian.2015.Exte..._temp\The.Martian.2015. Extended.Cut.PROPER.UHD.BluRay.2160p.TrueHD.Atmos. 7.1.HEVC.REMUX-FraMeSToR ID1 -1ms English AC3 5.1.ac3
Format : AC-3
Format/Info : Audio Coding 3
File size : 693 MiB
Duration : 2 h 31 min
Overall bit rate mode : Constant
Overall bit rate : 640 kb/s

Audio
Format : AC-3
Format/Info : Audio Coding 3
Duration : 2 h 31 min
Bit rate mode : Constant
Bit rate : 640 kb/s
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 kHz
Frame rate : 31.250 FPS (1536 SPF)
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 693 MiB (100%)
Service kind : Complete Main

---------------- Error Video encoding using NVEnc 4.20 ----------------

Video encoding using NVEnc 4.20 failed with exit code: 1 (0x1)

The exit code might be a system error code: STATUS_WAIT_1

The exit code might be a system error code: Incorrect function.

------------------- Video encoding using NVEnc 4.20 -------------------

"C:\Users\Nicholas\Desktop\Video Editing Tools\StaxRip-x64-2.0.0.0\Apps\NVEnc\NVEncC64.exe" --vbrhq 3200 --codec h265 --preset quality --level 4.1 --output-depth 10 --weightp --lookahead 32 --aq --colormatrix bt2020nc --colorprim bt2020 --transfer smpte2084 --vpp-deband -i F:\The.Martian.2015.Exte..._temp\The.Martian.2015. Extended.Cut.PROPER.UHD.BluRay.2160p.TrueHD.Atmos. 7.1.HEVC.REMUX-FraMeSToR.avs -o F:\The.Martian.2015.Exte..._temp\The.Martian.2015. Extended.Cut.PROPER.UHD.BluRay.2160p.TrueHD.Atmos. 7.1.HEVC.REMUX-FraMeSToR_out.h265

HEVC encode with weightp is known to be unstable on some environments.
Consider not using weightp with HEVC encode if unstable.
Failed to Initialize the encoder
.: 8 (NVENC indicates that one or more of the parameter passed to the API call is invalid.)

------------------- Video encoding using NVEnc 4.20 -------------------

"C:\Users\Nicholas\Desktop\Video Editing Tools\StaxRip-x64-2.0.0.0\Apps\NVEnc\NVEncC64.exe" --vbrhq 3200 --codec h265 --preset quality --level 4.1 --output-depth 10 --weightp --lookahead 32 --aq --colormatrix bt2020nc --colorprim bt2020 --transfer smpte2084 --vpp-deband -i F:\The.Martian.2015.Exte..._temp\The.Martian.2015. Extended.Cut.PROPER.UHD.BluRay.2160p.TrueHD.Atmos. 7.1.HEVC.REMUX-FraMeSToR.avs -o F:\The.Martian.2015.Exte..._temp\The.Martian.2015. Extended.Cut.PROPER.UHD.BluRay.2160p.TrueHD.Atmos. 7.1.HEVC.REMUX-FraMeSToR_out.h265

HEVC encode with weightp is known to be unstable on some environments.
Consider not using weightp with HEVC encode if unstable.
Failed to Initialize the encoder
.: 8 (NVENC indicates that one or more of the parameter passed to the API call is invalid.)

Start: 9:40:18 AM
End: 9:40:25 AM
Duration: 00:00:06

Edit: I used the follow guide for StaxRip settings.
https://www.youtube.com/watch?v=WVMVuG1fEWY

I'm having problems burning subs into 4K videos. (2025)

References

Top Articles
Latest Posts
Recommended Articles
Article information

Author: Roderick King

Last Updated:

Views: 6151

Rating: 4 / 5 (71 voted)

Reviews: 94% of readers found this page helpful

Author information

Name: Roderick King

Birthday: 1997-10-09

Address: 3782 Madge Knoll, East Dudley, MA 63913

Phone: +2521695290067

Job: Customer Sales Coordinator

Hobby: Gunsmithing, Embroidery, Parkour, Kitesurfing, Rock climbing, Sand art, Beekeeping

Introduction: My name is Roderick King, I am a cute, splendid, excited, perfect, gentle, funny, vivacious person who loves writing and wants to share my knowledge and understanding with you.