h264_nven decodes only key frame of 4096x4096 video

Examples and samples for those who develop software with FFmpeg.
Post Reply
mrthanhpro
Posts: 1
Joined: Thu Aug 03, 2017 6:56 am

h264_nven decodes only key frame of 4096x4096 video

Post by mrthanhpro » Thu Aug 03, 2017 7:10 am

Hello.

It is very nice to support H/W acceleration in ffmpeg. Thank you so much.
Anyways, I have an issue:
- I used -c:v h264_nvenc to encode 4kx4k video to MP4.
- Then when I try to decode using ffmpeg -hwaccel cuvid -c:v h264_cuvid, it looks only key frame was decoded.
I check the video with VLC, and see the media information, the display resolution is 4096x4096. But buffer dimension is 4096x4098.
I wonder this issue belongs to ffmpeg or nvidia video codec. As I know Nvidia only support 4096x4096 maximized for H264.
If there is anyways to walk around for this issue, plz let me know.

Thank you.

Post Reply