Ask Your Question

createVideoReader > 4096 px

asked 2020-07-16 14:31:53 -0500

updated 2020-08-05 23:07:40 -0500

supra56 gravatar image

Hello, I am currently developing a program for the distribution of video (or others) on giant LED screens. Some video exceeds 4096px and I can't open them via the "cv::cudacodec::createVideoReader" function

Do you have an idea to solve my problem? I thank you in advance

ps : Here is the error :

Assertion failed (videoFormat.width >= decodeCaps.nMinWidth && videoFormat.height >= decodeCaps.nMinHeight && videoFormat.width <= decodeCaps.nMaxWidth && videoFormat.height <= decodeCaps.nMaxHeight) in cv::cudacodec::detail::VideoDecoder::create
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2020-08-06 15:09:32 -0500

mvuori gravatar image

I guess there are 2 alternatives: 1) modifying the software and hoping it works... 2) as only some videos are too large, the resolution may not be a critical requurement, so a workaround would be pre-rescaling them with FFMPEG

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2020-07-16 14:31:53 -0500

Seen: 55 times

Last updated: Aug 06