I tried with your stream and script and viewed the script in VirtualDub. Everything is fine while your MP4 is not.
Load your script into VirtualDub and single step. Is that OK? If OK, then something went wrong in your subsequent encoding. If not OK, then what is your OS, graphics card, and versions of DGMPGDecNV and CUVID Server?
|