Page 1 of 1

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

Posted: 16 Sep 2022 23:46
by mrowe101
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?

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

Posted: 17 Sep 2022 11:38
by RĂ©mi Denis-Courmont
If other players can do it, it's doable. Can't know how mucj work it takes until it's done.