Encoding H.264s at a resolution of 4096×4096 on PC/Windows
Step #1
Export your video in a highres codec. On macOS you can make an Apple Prores and on PC I would recommend an image sequence like PNG or JPG (depending on the quality of the original image). Export the audio as a separate file if you’re using an image sequence.
Step #2
On the PC side, download the latest version of VirtualDub 2 and launch the application. It comes with a couple of executables in the zip file, use VirtualDub64.exe if you’re on Windows 64bit.

VirtualDub is a free video processing utility for Windows
Download Link: https://sourceforge.net/projects/vdfiltermod/files/VirtualDub%20pack/version%2019/
Step #3
Open the media in VirtualDub by clicking on File > Open video file..
Note: If you did not render an image sequence in Step #1, skip to Step #6
Step #4
Adjust the framerate by clicking on Video > Frame Rate. By default the FPS is set to 10 for image sequences. This default value can be changed in the preferences so you don’t have to change it every time.

Step #5
You will need to insert the audio by clicking on Audio > Audio from other file… and selecting the audio file you exported in Step #1.

Step #6
A) Click on File > Save as…
In the ‘Save as’ pop-up select ‘.mp4’ from the ‘Save as type’ dropdown menu and then click on the ‘Change’ button.

B) In the pop-up window, select ‘x264 8bit – H.264/MPEG-4 AVC codec’ and click on ‘Configure’ to configure the h264 compression

C) In the new pop-up window under ‘Rate Control’, select ‘Single pass – bitrate based (ABR)’ and set the average bitrate as desired.

Step #7
Click ‘OK’ on both windows. Change the audio settings to what you need and click the ‘Save’ button

Check your final output for artifacting and tweak the output settings as you see fit.
Hope this helps.
Mike Sevigny
CTO – Torus Media Labs
https://www.torusmedialabs.com