FFMpeg在windwos桌面端推流用硬件解码的遇到问题,求高手指点。

qq_31146159 2025-06-10 15:53:18

在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)

...全文
14 回复 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

4

社区成员

发帖
与我相关
我的任务
社区描述
本社区旨在为FFMPEG交流使用
音视频ffmpeg视频编解码 技术论坛(原bbs)
社区管理员
  • 亭台六七座
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

本社区旨在FFMPEG学习交流

试试用AI创作助手写篇文章吧