Opened 2 hours ago
Last modified 2 hours ago
#11358 new defect
Is this a bug with the NVIDIA decoder?
Reported by: | qyt | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | ffmpeg |
Version: | git-master | Keywords: | hardware |
Cc: | qyt | Blocked By: | |
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description (last modified by )
The video encounters errors when using NVIDIA hardware decoders, but there are no issues with software decoding.
like this command:ffmpeg -c:v h264_cuvid -i input.mp4 -c:v h264_nvenc -c:a copy output.mp4
But there is no problem using this command:ffmpeg -i input.mp4 -c:v h264_nvenc -c:a copy output.mp4
I have tried many versions from https://www.gyan.dev/ffmpeg/builds/ and https://github.com/BtbN/FFmpeg-Builds/releases, and the issue persists in all of them.
I tried uploading the original video to https://streams.videolan.org/upload/, but after uploading, I’m not sure where it went. This is the original video I uploaded to Google. The video doesn't play correctly after being hardware-decoded and hardware-encoded. However, when using software decoding and hardware encoding, it plays normally.
https://drive.google.com/file/d/15Oui3mIB3nXfyv-kVGPhvEivuo2te7an/view?usp=sharing