Ask Your Question
0

createVideoReader > 4096 px

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

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

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
0

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

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

Question Tools

1 follower

Stats

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

Seen: 236 times

Last updated: Aug 06 '20