Open InkosiZhong opened 1 year ago
Similarly, I found a similar restrict at encoding side.
When I use HEVC
, the smallest video I can encode is 48x130
. (h>=48
and w>=130
)
The line of code referenced by the error: https://github.com/NVIDIA/VideoProcessingFramework/blob/master/PyNvCodec/TC/src/NvDecoder.cpp#L342
This is an answer i got internally: For NVDEC, Limits are different per codecs. NVDECODE API cuvidGetDecoderCaps() can be used to query min/max supported resolution on underlying GPU. For HEVC, nvdec support min 144x144. H264 is 48x16.
Not sure if this is satisfying feedback but i also doubt that at this small resolution CPU decode might be a bottleneck.
When I use
SampleDecode.py
to decode a video with resolution128x130
, some errors are raised as follow,As I vary the input resolution, I found this error will happen when
width<130
orheight<130
. I'm wondering that if there any solution to enable the decoding for such a small video?