Re: libvlc: How get current video resolution?
This may be more than you wanted so feel free to edit it:
Code:
mpv libvlc_video_get_width/libvlc_video_get_height and libvlc_video_get_size {Your File Here}
output:
Code:
(+) Video --vid=1 (*) (h264 1920x1080 24.000fps)
(+) Audio --aid=1 --alang=en (*) (eac3 6ch 48000Hz)
Subs --sid=1 --slang=en 'English [SDH]' (subrip)
AO: [pipewire] 48000Hz 5.1(side) 6ch floatp
VO: [gpu] 1920x1080 yuv420p
AV: 00:03:58 / 00:39:49 (10%) A-V: 0.000
Exiting... (Quit)
"When you practice gratefulness, there is a sense of respect toward others." >>Dalai Lama
Bookmarks