I would like to change the maximum resolution in VLC from 8192 to 16384

This forum is about all development around libVLC.
mrowe101
New Cone
New Cone
Posts: 3
Joined: 14 Sep 2022 00:25

I would like to change the maximum resolution in VLC from 8192 to 16384

Postby mrowe101 » 16 Sep 2022 23:46

Hello,

I am looking to increase the maximum resolution that VLC supports. Services like Potplayer and MPV allow this resolution however, I would like to use some of VLC's other features.

Looking through the source code I found this files in demux and more importantly this function in modules/codec/avcodec/video.c that limits the resolution:

Code: Select all

if( width == 0 || height == 0 || width > 8192 || height > 8192 || width < ctx->width || height < ctx->height ) { msg_Err(dec, "Invalid frame size %dx%d vsz %dx%d",
So I naively switched the values out for what I would need and then recompiled. That obviously didn't work so now my question is: How much would I have to change to achieve a higher resolution or more importantly is it possible?

Rémi Denis-Courmont
Developer
Developer
Posts: 15266
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: I would like to change the maximum resolution in VLC from 8192 to 16384

Postby Rémi Denis-Courmont » 17 Sep 2022 11:38

If other players can do it, it's doable. Can't know how mucj work it takes until it's done.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 7 guests