latest VLC windows cannot play video with frame size larger than 8192
It is hard coded to regard the big frame invalid in the file vlc/modules/codec/avcodec/video.c
avcodec_align_dimensions2(ctx, &width, &height, aligns);
}
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",
width, height, ctx->width, ctx->height );
return -1; /* invalid display size */
}
fmt->i_width = width;
The most modern GPUs can already support more texture resolution than 8192 now. This outdated code is blocking VLC playing big frame.
Anyone can provide some fix and provide the compiled file please?