Sorry that you keep getting an error "Could not complete command because of a program error" in Photoshop 2020 when rendering a video.
For troubleshooting: Could you please turn on the Legacy Compositing option in Performance preferences? Choose Edit > Preferences > Performance (Windows) or Photoshop > Preferences > Performance (macOS). Select Legacy Compositing. Quit and relaunch Photoshop.