[FFmpeg-devel] [PATCH] scale_npp: fix passthrough mode

Yogender Gupta ygupta at nvidia.com
Tue Oct 25 05:34:17 EEST 2016


The pass through mode is broken, since error is returned when none of the stages is needed. In such a case only 0 should be returned.

Try command line with i/p resolution = o/p resolution to observe the issue.

Sample Command Line : ffmpeg -y -hwaccel cuvid -c:v h264_cuvid -vsync 0 -i amazing_10.mp4 -vf scale_npp=1920:1072 -vcodec h264_nvenc tmp0.mp4 (amazing.mp4 should be 1920x1072 in this case)

Thanks,
Yogender


-----------------------------------------------------------------------------------
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-scale_npp-fix-passthrough-mode.patch
Type: application/octet-stream
Size: 819 bytes
Desc: 0001-scale_npp-fix-passthrough-mode.patch
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20161025/da597c56/attachment.obj>


More information about the ffmpeg-devel mailing list