I recall many years ago I was able to extend a video by multiple minutes of a black screen, by extracting the timestamps (PTS?) of frames to a text file, then increasing the timestamp of the final frame (or end of video?) by a very large number. Sadly I'm unable to find the files or program I used to do it.