[软件求助] 求助关于OBS推流出现编码器错误的问题

Traincontain-avatar

Traincontain

2022-04-09T16:49:53+00:00

[img]https://img.nga.178.com/attachments/mon_202204/12/9aQn3a1-57z3KkT1kSec-4q.jpg[/img]

[img]https://img.nga.178.com/attachments/mon_202204/12/9aQ8mrp-32aaK2jT3cSrp-l9.jpg[/img]

如题和图片所示
配置是I5 8400+英睿达8G*2+华硕猛禽3060ti
系统是Win11 21H2 22000.593,OBS版本是27.2.4,N卡驱动是512.15

貌似自从更新了OBS版本到27之后,就开始出问题了(不知道N卡驱动有没有锅),都是在直播LOL的时候,打完结束游戏,就有可能出现以上图片的情况
一般表现为在直播LOL时,打完退出,然后在点赞页面,就会卡住,有过直接黑屏,点啥不管用,只能强制关机重启
这一次是弹出了这个窗口,OBS自己重新恢复了(但其实没有恢复),好郁闷啊。。以前都没有这个情况的(_|||)
Traincontain-avatar

Traincontain

有没有大佬帮忙解答一下[s:ac:晕]
Merlijn-avatar

Merlijn

你把错误日志发出来啊
Traincontain-avatar

Traincontain

[quote][pid=602399423,31439809,1]Reply[/pid] Post by [uid=60519280]lvsemi[/uid] (2022-04-12 09:02):

你把错误日志发出来啊[/quote]啊这,不在家里了,在上班了,得晚上才能搞了[s:ac:惊]
Traincontain-avatar

Traincontain

OBS里看了一下,这居然没算错误报告里(错误报告文件夹里也是空的),是在日志文件里看的
Traincontain-avatar

Traincontain

Reply to [pid=602399423,31439809,1]Reply[/pid] Post by [uid=60519280]lvsemi[/uid] (2022-04-12 09:02)

大佬,传不了TXT的文件,我就直接贴出来好了,还请帮忙看看

23:34:09.771: CPU Name: Intel(R) Core(TM) i5-8400 CPU @ 2.80GHz
23:34:09.771: CPU Speed: 2808MHz
23:34:09.771: Physical Cores: 6, Logical Cores: 6
23:34:09.771: Physical Memory: 16299MB Total, 9520MB Free
23:34:09.771: Windows Version: 10.0 Build 22000 (release: 2009; revision: 593; 64-bit)
23:34:09.771: Running as administrator: true
23:34:09.771: Aero is Enabled (Aero is always on for windows 8 and above)
23:34:09.771: Windows 10 Gaming Features:
23:34:09.771:   Game Bar: On
23:34:09.771:   Game DVR: On
23:34:09.771:   Game DVR Background Recording: Off
23:34:09.772:   Game Mode: Off
23:34:09.772:   Hardware GPU Scheduler: Off
23:34:09.776: Sec. Software Status:
23:34:09.777:
23:34:09.777:
23:34:09.778: Current Date/Time: 2022-04-11, 23:34:09
23:34:09.778: Browser Hardware Acceleration: true
23:34:09.778: Hide OBS windows from screen capture: false
23:34:09.778: Qt Version: 5.15.2 (runtime), 5.15.2 (compiled)
23:34:09.778: Portable mode: false
23:34:10.122: OBS 27.2.4 (64-bit, windows)
23:34:10.122: ---------------------------------
23:34:10.123: ---------------------------------
23:34:10.123: audio settings reset:
23:34:10.123:   samples per sec: 48000
23:34:10.123:   speakers: 2
23:34:10.139: ---------------------------------
23:34:10.139: Initializing D3D11...
23:34:10.139: Available Video Adapters:
23:34:10.142:   Adapter 0: NVIDIA GeForce RTX 3060 Ti
23:34:10.142:    Dedicated VRAM: 4146069504
23:34:10.142:    Shared VRAM: 4250540032
23:34:10.142:    PCI ID: 10de:2489
23:34:10.142:    Driver Version: 30.0.15.1215
23:34:10.142:    output 0:
23:34:10.142:    name=ASUS VG249
23:34:10.142:    pos={0, 0}
23:34:10.142:    size={1920, 1080}
23:34:10.142:    attached=true
23:34:10.142:    refresh=144
23:34:10.142:    space=RGB_FULL_G22_NONE_P709
23:34:10.142:    sdr_white_nits=80
23:34:10.142:    nit_range=[min=0.500000, max=270.000000, max_full_frame=270.000000]
23:34:10.146: Loading up D3D11 on adapter NVIDIA GeForce RTX 3060 Ti (0)
23:34:10.260: D3D11 loaded successfully, feature level used: b000
23:34:10.260: DXGI increase maximum frame latency success
23:34:10.260: D3D11 GPU priority setup success
23:34:10.717: ---------------------------------
23:34:10.717: video settings reset:
23:34:10.717:   base resolution: 1920x1080
23:34:10.717:   output resolution: 1920x1080
23:34:10.717:   downscale filter: Bilinear
23:34:10.717:   fps: 60/1
23:34:10.717:   format: NV12
23:34:10.717:   YUV mode: 709/Partial
23:34:10.717: NV12 texture support enabled
23:34:10.718: Audio monitoring device:
23:34:10.718:   name: 默认
23:34:10.718:   id: default
23:34:10.718: ---------------------------------
23:34:10.741: No AJA devices found, skipping loading AJA UI plugin
23:34:10.741: Failed to initialize module 'aja-output-ui.dll'
23:34:10.760: No AJA devices found, skipping loading AJA plugin
23:34:10.760: Failed to initialize module 'aja.dll'
23:34:10.788: Skipping module '../../obs-plugins/64bit/chrome_elf.dll', not an OBS plugin
23:34:10.928: [CoreAudio encoder]: Adding CoreAudio AAC encoder
23:34:10.942: Failed to load 'en-US' text for module: 'decklink-captions.dll'
23:34:10.958: Failed to load 'en-US' text for module: 'decklink-ouput-ui.dll'
23:34:11.077: [AMF] Unable to load 'amfrt64.dll', error code 126.
23:34:11.078: [AMF] AMF Test failed due to one or more errors.
23:34:11.078: Failed to initialize module 'enc-amf.dll'
23:34:11.188: Skipping module '../../obs-plugins/64bit/libcef.dll', not an OBS plugin
23:34:11.219: Skipping module '../../obs-plugins/64bit/libEGL.dll', not an OBS plugin
23:34:11.262: Skipping module '../../obs-plugins/64bit/libGLESv2.dll', not an OBS plugin
23:34:11.327: [obs-browser]: Version 2.17.13
23:34:11.327: [obs-browser]: CEF Version 95.0.0-MediaHandler.2467+g8092a57+chromium-95.0.4638.69
23:34:11.377: NVENC supported
23:34:11.393: [noise suppress]: NVIDIA RTX denoiser disabled, redistributable not found
23:34:11.640: [vlc-video]: Couldn't find VLC installation, VLC video source disabled
23:34:11.792: A DeckLink iterator could not be created. The DeckLink drivers may not be installed
23:34:11.793: No blackmagic support
23:34:11.842: ---------------------------------
23:34:11.842: Loaded Modules:
23:34:11.842: win-wasapi.dll
23:34:11.842: win-mf.dll
23:34:11.842: win-dshow.dll
23:34:11.842: win-decklink.dll
23:34:11.842: win-capture.dll
23:34:11.842: vlc-video.dll
23:34:11.842: text-freetype2.dll
23:34:11.842: rtmp-services.dll
23:34:11.842: obs-x264.dll
23:34:11.842: obs-vst.dll
23:34:11.842: obs-transitions.dll
23:34:11.842: obs-text.dll
23:34:11.842: obs-qsv11.dll
23:34:11.842: obs-outputs.dll
23:34:11.842: obs-filters.dll
23:34:11.842: obs-ffmpeg.dll
23:34:11.842: obs-browser.dll
23:34:11.842: logi_obs_plugin_x64.dll
23:34:11.842: image-source.dll
23:34:11.842: frontend-tools.dll
23:34:11.842: decklink-ouput-ui.dll
23:34:11.842: decklink-captions.dll
23:34:11.842: coreaudio-encoder.dll
23:34:11.842: ---------------------------------
23:34:11.849:

Startup complete

23:34:11.983: All scene data cleared
23:34:11.983: ------------------------------------------------
23:34:11.992: [win-wasapi: '桌面音频'] update settings:
23:34:11.992:   device id: default
23:34:11.992:   use device timing: 1
23:34:12.005: [Loaded global audio device]: '桌面音频'
23:34:12.005: [win-wasapi: '麦克风/Aux'] update settings:
23:34:12.005:   device id: {0.0.1.00000000}.{5228f812-bd0f-45d5-8713-86202f52adbd}
23:34:12.005:   use device timing: 0
23:34:12.005: [Loaded global audio device]: '麦克风/Aux'
23:34:12.045: WASAPI: Device '麦克风 (4- S21)' [48000 Hz] initialized
23:34:12.052: WASAPI: Device '扬声器 (2- High Definition Audio Device)' [48000 Hz] initialized
23:34:12.108: adding 64 milliseconds of audio buffering, total audio buffering is now 64 milliseconds (source: 麦克风/Aux)
23:34:12.108:
23:34:12.174: [win-wasapi: '音频输出采集'] update settings:
23:34:12.174:   device id: default
23:34:12.174:   use device timing: 1
23:34:12.174: [window-capture: '窗口采集'] update settings:
23:34:12.174:   executable: League of Legends.exe
23:34:12.174:   method selected: Automatic
23:34:12.174:   method chosen: BitBlt
23:34:12.174:
23:34:12.174: [window-capture: '主界面'] update settings:
23:34:12.174:   executable: LeagueClientUx.exe
23:34:12.174:   method selected: Automatic
23:34:12.174:   method chosen: BitBlt
23:34:12.174:
23:34:12.200: WASAPI: Device '扬声器 (2- High Definition Audio Device)' [48000 Hz] initialized
23:34:12.467: ---------------------------------
23:34:12.467: [DShow Device: '圆刚GC551'] settings updated:
23:34:12.467:   video device: AVerMedia GC551 Video Capture
23:34:12.467:   video path: \\?\usb#vid_07ca&pid_0551#312144203652#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\{8ec460c4-0d2e-46fd-ad9b-331ff33de3b6}
23:34:12.467:   resolution: 1920x1080
23:34:12.467:   flip: 0
23:34:12.467:   fps: 60.00 (interval: 166666)
23:34:12.467:   format: YUY2
23:34:12.467:   buffering: disabled
23:34:12.468:   using video device audio: yes
23:34:12.468:   sample rate: 48000
23:34:12.468:   channels: 2
23:34:12.468:   audio type: Capture
23:34:12.824: Switched to scene 'LOL'
23:34:12.826: ------------------------------------------------
23:34:12.826: Loaded scenes:
23:34:12.826: - scene 'LOL':
23:34:12.826: - source: '音频输出采集' (wasapi_output_capture)
23:34:12.826: - source: '主界面' (window_capture)
23:34:12.826: - show: '主界面 显示转场特效' (fade_transition)
23:34:12.826: - hide: '主界面 隐藏转场特效' (fade_transition)
23:34:12.826: - source: '窗口采集' (window_capture)
23:34:12.826: - show: '窗口采集 显示转场特效' (fade_transition)
23:34:12.826: - hide: '窗口采集 隐藏转场特效' (fade_transition)
23:34:12.826: - source: '开播主界面' (image_source)
23:34:12.826: - show: '图像 2 显示转场特效' (fade_transition)
23:34:12.826: - hide: '图像 2 隐藏转场特效' (fade_transition)
23:34:12.826: - source: '文本 (GDI+)' (text_gdiplus_v2)
23:34:12.826: - scene 'NS':
23:34:12.826: - source: '圆刚GC551' (dshow_input)
23:34:12.826: - monitoring: monitor and output
23:34:12.826: - source: 'kuabo' (browser_source)
23:34:12.826: - scene 'Apex':
23:34:12.826: - source: '游戏源' (game_capture)
23:34:12.826: - show: '游戏源 显示转场特效' (fade_transition)
23:34:12.826: - hide: '游戏源 隐藏转场特效' (fade_transition)
23:34:12.826: - source: '图像' (image_source)
23:34:12.826: - show: '图像 显示转场特效' (fade_transition)
23:34:12.826: - hide: '图像 隐藏转场特效' (fade_transition)
23:34:12.826: ------------------------------------------------
23:34:56.252: ---------------------------------
23:34:56.252: video settings reset:
23:34:56.252:   base resolution: 1920x1080
23:34:56.252:   output resolution: 1920x1080
23:34:56.252:   downscale filter: Lanczos
23:34:56.252:   fps: 60/1
23:34:56.252:   format: NV12
23:34:56.252:   YUV mode: 709/Partial
23:34:56.252: NV12 texture support enabled
23:34:56.266: Settings changed (video)
23:34:56.266: ------------------------------------------------
23:39:04.270: ---------------------------------
23:39:04.270: video settings reset:
23:39:04.270:   base resolution: 1920x1080
23:39:04.270:   output resolution: 1920x1080
23:39:04.270:   downscale filter: Bilinear
23:39:04.270:   fps: 60/1
23:39:04.270:   format: NV12
23:39:04.270:   YUV mode: 709/Partial
23:39:04.271: NV12 texture support enabled
23:39:04.282: Settings changed (video)
23:39:04.282: ------------------------------------------------
23:39:51.211: User switched to scene 'NS'
23:39:51.226: A sprite cannot be drawn without a width/height
23:39:51.238: obs-browser: WebSocket is already in CLOSING or CLOSED state. (source: [url]https://s2.i0f.cn/upload/Release/1/6a35780d2a62efd3b30afdea63b473dc.js:1)[/url]
23:39:51.239: A sprite cannot be drawn without a width/height
23:39:51.635: User switched to scene 'Apex'
23:39:53.928: User switched to scene 'LOL'
23:42:57.652: Settings changed (stream 1)
23:42:57.652: ------------------------------------------------
23:43:08.606: [jim-nvenc: 'streaming_h264'] settings:
23:43:08.606:   rate_control: CBR
23:43:08.606:   bitrate: 6500
23:43:08.606:   cqp: 20
23:43:08.606:   keyint: 250
23:43:08.606:   preset: hq
23:43:08.606:   profile: high
23:43:08.606:   width: 1920
23:43:08.606:   height: 1080
23:43:08.606:   2-pass: false
23:43:08.606:   b-frames: 2
23:43:08.606:   lookahead: false
23:43:08.606:   psycho_aq: true
23:43:08.606:
23:43:08.636: [CoreAudio AAC: 'adv_stream_aac']: settings:
23:43:08.636:   mode: AAC
23:43:08.636:   bitrate: 160
23:43:08.636:   sample rate: 48000
23:43:08.636:   cbr: on
23:43:08.636:   output buffer: 1536
23:43:08.637: [rtmp stream: 'adv_stream'] Connecting to RTMP URL rtmp://live-push.bilivideo.com/live-bvc/...
23:43:08.655: [rtmp stream: 'adv_stream'] Interface: Intel(R) Ethernet Connection (7) I219-V #2 (ethernet, 1000 mbps)
23:43:08.908: [rtmp stream: 'adv_stream'] Connection to rtmp://live-push.bilivideo.com/live-bvc/ successful
23:43:08.909: [rtmp stream: 'adv_stream'] Socket send buffer is 65536 bytes
23:43:08.914:

Streaming Start

00:07:04.560: Device Remove/Reset! Rebuilding all assets...
00:07:04.561: [jim-nvenc] nvenc_encode_tex: nvEncEncodePicture failed: 4 (NV_ENC_ERR_INVALID_DEVICE)
00:07:04.561: Error encoding with encoder 'streaming_h264'
00:07:04.561: Video stopped, number of skipped frames due to encoding lag: 127/85322 (0.1%)
00:07:04.561: [rtmp stream: 'adv_stream'] Encoder error, disconnecting
00:07:04.561: [rtmp stream: 'adv_stream'] Socket send buffer is 2097152 bytes
00:07:04.561: Output 'adv_stream': stopping
00:07:04.561: Output 'adv_stream': Total frames output: 85311
00:07:04.561: Output 'adv_stream': Total drawn frames: 85218 (85341 attempted)
00:07:04.561: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 123 (0.1%)
00:07:04.621:

Streaming Stop

00:07:05.067: Failed to rebuild shared texture: 0x80070057
00:17:35.469: encoder 'streaming_h264': Cannot set the scaled resolution while the encoder is active
00:17:39.340: device_resize (D3D11): Failed to resize swap buffers (887A0005)
00:17:39.340: Device Removed Reason: 887A0006
00:17:39.340: device_draw (D3D11): texture is not a render target
00:17:39.356: device_draw (D3D11): texture is not a render target
00:17:39.356: device_draw (D3D11): texture is not a render target
00:17:39.373: device_draw (D3D11): texture is not a render target
00:17:39.389: device_draw (D3D11): texture is not a render target
00:17:39.406: device_draw (D3D11): texture is not a render target
00:17:39.423: device_draw (D3D11): texture is not a render target
00:17:39.439: device_draw (D3D11): texture is not a render target
00:17:39.456: device_draw (D3D11): texture is not a render target
00:17:39.473: device_draw (D3D11): texture is not a render target
00:17:39.489: device_draw (D3D11): texture is not a render target
00:17:39.506: device_draw (D3D11): texture is not a render target
00:17:39.523: device_draw (D3D11): texture is not a render target
00:17:39.539: device_draw (D3D11): texture is not a render target
00:17:39.556: device_draw (D3D11): texture is not a render target
00:17:39.573: device_draw (D3D11): texture is not a render target
00:17:39.589: device_draw (D3D11): texture is not a render target
00:17:39.606: device_draw (D3D11): texture is not a render target
00:17:39.623: device_draw (D3D11): texture is not a render target
00:17:39.639: device_draw (D3D11): texture is not a render target
00:17:39.656: device_draw (D3D11): texture is not a render target
00:17:39.673: device_draw (D3D11): texture is not a render target
00:17:39.689: device_draw (D3D11): texture is not a render target
00:17:39.706: device_draw (D3D11): texture is not a render target
00:17:39.723: device_draw (D3D11): texture is not a render target
00:17:39.739: device_draw (D3D11): texture is not a render target
00:17:39.756: device_draw (D3D11): texture is not a render target
00:17:39.773: device_draw (D3D11): texture is not a render target
00:17:39.789: device_draw (D3D11): texture is not a render target
00:17:39.806: device_draw (D3D11): texture is not a render target
00:17:39.823: device_draw (D3D11): texture is not a render target
Traincontain-avatar

Traincontain

有无大佬帮帮忙哇[s:ac:晕]
DinoBobby_-avatar

DinoBobby_

不懂
用x264就没问题吗
Traincontain-avatar

Traincontain

Reply to [pid=602569620,31439809,1]Reply[/pid] Post by [uid=35703419]一介胖纸[/uid] (2022-04-12 20:06)

X264的是用CPU推流的,我的CPU不是很给力,所以用的显卡推流嘛
Traincontain-avatar

Traincontain

再顶一下[s:ac:晕]
DinoBobby_-avatar

DinoBobby_

[quote][pid=602573297,31439809,1]Reply[/pid] Post by [uid=39392329]SanyYong[/uid] (2022-04-12 20:23):

X264的是用CPU推流的,我的CPU不是很给力,所以用的显卡推流嘛[/quote]排除法试试而已
降低点设置先用cpu推veryfast看看,到底是哪里有问题
如果cpu推的没问题,可能就是显卡驱动和obs的问题
8400那时候应该没有处理器没核显的说法,也可以尝试用核显推流,如果还是有问题,回退obs版本试试
B0RN L05ER-avatar

B0RN L05ER

ddu卸载显卡驱动重装
Traincontain-avatar

Traincontain

Reply to [pid=602595144,31439809,1]Reply[/pid] Post by [uid=35703419]一介胖纸[/uid] (2022-04-12 21:59)

我就觉得很大概率是OBS或者显卡驱动的问题,因为自从OBS更新到27版本后,就有这么个现象了
我都试试看~~
Traincontain-avatar

Traincontain

Reply to [pid=602595534,31439809,1]Reply[/pid] Post by [uid=62960253]SBBZquanjiabaobi[/uid] (2022-04-12 22:01)

我有搜官方论坛,也有人出过类似的问题,那个问题是说,在直播时最小化csgo时候跟我一样直接崩了,然后弹出一样的窗口和错误代码,官方的回复是用无边框和重装驱动,晚上我试着重装了最新的驱动,再试试看吧
Traincontain-avatar

Traincontain

Reply to [pid=602595144,31439809,1]Reply[/pid] Post by [uid=35703419]一介胖纸[/uid] (2022-04-12 21:59)

而且每次就是LOL结束出来,我开启QQ音乐或打开浏览器,也有很大概率崩溃
Traincontain-avatar

Traincontain

Reply to [pid=602595144,31439809,1]Reply[/pid] Post by [uid=35703419]一介胖纸[/uid] (2022-04-12 21:59)

先是重装了N卡驱动,OBS版本不变,测试了一整晚,用CPU推流不同码率,都没发现过问题。
然后用换回N卡推流测了一遍,结束时暂时没有发现问题,等明天再测试几次N卡稳不稳定了~
谢过老哥~
Traincontain-avatar

Traincontain

[img]https://img.nga.178.com/attachments/mon_202204/13/9aQjf9-b3utK1oT1kS9w-kq.jpg[/img]

还有就是自上次崩溃后出现的这个,今晚也出现了(但今晚没崩溃过),通知里就弹了这个,点就消失了,也没指向哪去[s:ac:凌乱]
啥东西都没碰的来着
Buttockisaurus-avatar

Buttockisaurus

显卡3060ti直接硬件推流啊
用h264推流不是自找没趣吗[s:ac:汗]
Traincontain-avatar

Traincontain

Reply to [pid=602625032,31439809,1]Reply[/pid] Post by [uid=63172900]YAGAMIWICK[/uid] (2022-04-13 00:20)

测试呀测试,我之前一直都是用的显卡推流的,是出了问题后今晚才用X264来测试推流的。。[s:ac:汗]