ffmpeg -y -vsync 0 -hwaccel cuvid -c:v h264_cuvid -i f:/pdz.mp4 -i powercom.png -c:v h264_nvenc -preset slow -profile:v high -b:v 1M -bufsize 5M -maxrate 2M -qmin 0 -g 250 -bf 2 -temporal-aq 1 -rc-lookahead 20 -i_qfactor 0.75 -b_qfactor 1.1 -filter_complex 'hwdownload,format=nv12,overlay=20:20,hwupload_cuda,scale_npp=1280:538' -c:a aac -b:a 64k f:/pdz_out_h264_hevc_logo.mp4
错误:
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'f:/pdz.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf58.27.103
title : www.bd-film.cc
comment : [BD褰辫鍒嗕韩bd-film.cc]
Duration: 02:02:46.46, start: 0.000000, bitrate: 2588 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x808, 2457 kb/s, 24 fps, 24 tbr, 90k tbn, 48 tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 124 kb/s (default)
Metadata:
handler_name : SoundHandler
Stream #0:2: Video: h264, none, 90k tbr, 90k tbn, 180k tbc (attached pic)
Input #1, png_pipe, from 'powercom.png':
Duration: N/A, bitrate: N/A
Stream #1:0: Video: png, rgba(pc), 200x25 [SAR 3780:3780 DAR 8:1], 25 tbr, 25 tbn, 25 tbc
[AVFilterGraph @ 00000264FBDD09C0] No such filter: 'hwdownload,format=nv12,overlay=20:20,hwupload_cuda,scale_npp=1280:538'
Error initializing complex filters.
Invalid argument |