PyNVVideoCode 2.0.2 - What is causing these warning messages

I get encoder warnings that I can’t seem to get rid of - do not know how or what is causing it. It happens when using container’=”mp4” or without it and I output to .hvec. Attaching decoder.py, encoder.py, recode.py, sample video, and error messages.
Please help.

WarningTest.zip (3.3 MB)

Moreover, the output file has very little metadata. How do I correct that?

PS D:\Test\WarningTest> ffprobe -hide_banner .\output.mp4
Input #0, hevc, from ‘.\output.mp4’:
Duration: N/A, bitrate: N/A
Stream #0:0: Video: hevc (Main), yuv420p(tv), 3840x2160 [SAR 1:1 DAR 16:9], 25 fps, 50 tbr, 1200k tbn

Is there a way to add timestamps to the output frames so that the playback is not jerky (without using external libraries, i.e. just using PyNVVideoCode)?

Output.txt (1.4 KB)