Ubuntu 20.04
Nikon Z6 ii
Built mtplvcap from source (main - 7cfaf84)
$ ./mtplvcap -max-resolution
[0000] INFO usb: found: 04b0:044c
[0000] INFO usb: found: 8087:07dc
[0000] WARN mtp: detected more than 1 device
[0000] INFO mtp: opening the detected Nikon DSLR: 04b0:044c
[0000] INFO main: started
[0001] INFO lv: getting available resolutions
[0001] INFO lv: available resolutions (higher is larger): [1 2 3]
[0001] INFO lv: automatically use the largest choice: 3
Ubuntu 20.04 Nikon Z6 ii Built mtplvcap from source (main -
7cfaf84
)In http://localhost:42839/, the resolution is 1024x576.