我使用一个p4000卡和所有的要求(驱动程序,工具包,cuda编译),我想通过这个命令把水印的视频
./bin/ffmpeg -hwaccel cuvid -c:v h264_cuvid -i input.mp4 -i input.png -filter_complex "overlay=10:10" -c:v h264_nvenc output.mp4但是我遇到了这个错误
Impossible to convert between the formats supported by the filter 'graph 0 input from stream 0:0' and the filter 'auto_scaler_0'
Error reinitializing filters!
Failed to inject frame into filter network: Function not implemented
Error while processing the decoded data for stream #1:0谢谢你的建议
发布于 2018-04-17 19:29:02
-hwaccel cuvid意味着解码帧将直接进入hw编码器(而不是复制到系统内存中),因此此时不可能向解码帧添加滤波器。尝试删除-hwaccel cuvid,但速度会很慢。https://trac.ffmpeg.org/wiki/HWAccelIntro#CUDACUVIDNVDEC
https://stackoverflow.com/questions/48982866
复制相似问题