I would like to change the maximum resolution in VLC from 8192 to 16384
Posted: 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:
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?
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",