5
社区成员




在windows平台用ffmpeg推流,用了h264_nvenc来提速,但是在一个机器上就是报编码不支持,查了ffmpeg库是支持的,显卡也支持,求高手帮忙。
[h264 nvenc @ 000002d6d677fe80] 1 CUDA capable devices found
[h264 nvenc @ 000002d6d677fc80] [ GPÚ #0 - < NVIDIA GeForce RTX 4060 > has Compute SM 8.9 ]Igdigrab @ 000002d6d6779d00]Cursor pos (678.553)(668,543)
Last message repeated 2 times{h264 nvenc @ 000002d6d677fc80] Codec not supported
lgdigrab @ 000002d6d6779d00]Cursor pos (678,553)*(668,543)[h264 nvenc @ 000002d6d677fc80]} No capable devices found
[h264 nvenc@ 000002d6d677fc80] Nvenc unloaded
[vost:0:0/h264 nvenc @ 000002d6d677f900} Error while opening encoder maybe incorrect parameters such as bit rate,rate, width or height.
ivf#00 @ 000002d6d679b240] Error sending frames to consumers: Generic error in an externai library(、
vf#00 @ 000002d6d679b240] Task finished with error code: -542398533 (Generic error in an externa! library)
1f#0,0 @ 000002d6d679b240} Terminating thread with retum code -542398533 (Generic error in an external ibrary)ivost*0:0/h264 nvenc @000002d6d677f900] Encoder thread received EOFbost#00/h264 nvenc @ 000002d6d677f900] Could not open encoder before EOFivost#0:0fn264 nvenc @000002d6d677f900] Task finished with error code; -22 (invalid argument)iyost10:0/n264 nvenc @ 000002d6d677f900j Terminating thread with return code -22 (invalid argument)【h264 nvenc @ 000002d6d677fc80] Codec not supported
lgdigrab @ 000002d6d6779d00]Cursor pos (678,553)*(668,543)[h264 nvenc @ 000002d6d677fc80]} No capable devices found[h264 nvenc@ 000002d6d677fc80] Nvenc unloaded
[vost:0:0/h264 nvenc @ 000002d6d677f900} Error while opening encoder maybe incorrect parameters such as bit rate,rate, width or height.ivf#00 @ 000002d6d679b240] Error sending frames to consumers: Generic error in an externai library(vf#00 @ 000002d6d679b240] Task finished with error code: -542398533 (Generic error in an externa! library)1f#0,0 @ 000002d6d679b240} Terminating thread with retum code -542398533 (Generic error in an external ibrary)ivost*0:0/h264 nvenc @000002d6d677f900] Encoder thread received EOFbost#00/h264 nvenc @ 000002d6d677f900] Could not open encoder before EOFivost#0:0fn264 nvenc @000002d6d677f900] Task finished with error code; -22 (invalid argument)iyost10:0/n264 nvenc @ 000002d6d677f900j Terminating thread with return code -22 (invalid argument)