[FFmpeg-devel] [PATCH]: reset resample-sample_fmt in the input stream after decode initialization

Sumit Agarwal sumita at nvidia.com
Fri Dec 16 14:35:19 EET 2016


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.
-----------------------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ffmpeg-reset-resample-format-in-the-input-stream-aft.patch
Type: application/octet-stream
Size: 710 bytes
Desc: 0001-ffmpeg-reset-resample-format-in-the-input-stream-aft.patch
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20161216/bca8181c/attachment.obj>


More information about the ffmpeg-devel mailing list