h264_cuvid (without hwaccel) + hwupload_cuda filter is currently broken. The resample_sample_fmt in the input stream is not updated after h264_cuvid decoder is initialized, due to this reconfiguration of the filter graph is triggered after the decode. During reconfiguration, Scale filter is inserted after hwupload_cuda filter and the filter configuration fails during format merging.
Try the following command line to observe the issue: ffmpeg -y -c:v h264_cuvid -i amazing.264 -vf hwupload_cuda -c:v h264_nvenc out.264 Thanks, Sumit ----------------------------------------------------------------------------------- This email message is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. -----------------------------------------------------------------------------------
0001-ffmpeg-reset-resample-format-in-the-input-stream-aft.patch
Description: 0001-ffmpeg-reset-resample-format-in-the-input-stream-aft.patch
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel