정보&강의 OBS에서 Youtube 접속이 끊어지는 현상 해결
- 운영자
- 1970
- 1
첨부 6
- obs3.png (File Size: 16.9KB/Download: 0)
- obs2.png (File Size: 17.4KB/Download: 0)
- obs.png (File Size: 18.9KB/Download: 0)
- obs_22.png (File Size: 19.0KB/Download: 1)
- obs_23.png (File Size: 18.9KB/Download: 0)
- obs_24.png (File Size: 16.0KB/Download: 0)
문제 상황.
유튜브 방송시 에러가 발생하면서 접속이 끊어지는 현상이 발생함.
22:05:24.276: [FFmpeg aac encoder: 'simple_aac'] bitrate: 160, channels: 2, channel_layout: 3 22:05:24.276: 22:05:24.279: [rtmp stream: 'simple_stream'] Connecting to RTMP URL rtmps://a.rtmps.youtube.com:443/live2... 22:05:24.354: [rtmp stream: 'simple_stream'] Interface: Realtek PCIe GbE Family Controller (ethernet, 1000 mbps) 22:05:25.303: [rtmp stream: 'simple_stream'] Connection to rtmps://a.rtmps.youtube.com:443/live2 successful 22:05:25.308: ==== Streaming Start =============================================== 22:06:21.093: User added scene '장면 2' 22:06:21.094: User switched to scene '장면 2' 22:06:41.696: User switched to scene '장면_Atem' 22:14:27.397: WriteN, RTMP send error 10054 (426 bytes) 22:14:27.397: WriteN, RTMP send error 10054 (59 bytes) 22:14:27.397: WriteN, RTMP send error 10038 (42 bytes) 22:14:27.397: [rtmp stream: 'simple_stream'] Disconnected from rtmps://a.rtmps.youtube.com:443/live2 22:14:27.397: Output 'simple_stream': stopping 22:14:27.397: Output 'simple_stream': Total frames output: 32512 22:14:27.397: Output 'simple_stream': Total drawn frames: 32587 22:14:27.397: Output 'simple_stream': Reconnecting in 10 seconds.. 22:14:37.496: [jim-nvenc: 'simple_h264_stream'] settings: 22:14:37.496: rate_control: CBR 22:14:37.496: bitrate: 4500 22:14:37.496: cqp: 20 22:14:37.496: keyint: 120 22:14:37.496: preset: hq 22:14:37.496: profile: high 22:14:37.496: width: 1920 22:14:37.496: height: 1080 22:14:37.496: 2-pass: false 22:14:37.496: b-frames: 2 22:14:37.496: lookahead: false 22:14:37.496: psycho_aq: true 22:14:37.496: 22:14:37.510: --------------------------------- 02:17:54.549: [rtmp stream: 'simple_stream'] Connection to rtmps://a.rtmps.youtube.com:443/live2 successful 02:17:54.549: [rtmp stream: 'simple_stream'] New socket loop enabled by user 02:17:54.554: ==== Streaming Start =============================================== 02:17:54.832: socket_thread_windows: Increasing send buffer to ISB 131072 (buffer: 0 / 596480) 02:17:56.782: socket_thread_windows: Increasing send buffer to ISB 262144 (buffer: 42558 / 596480) 02:18:00.782: socket_thread_windows: Increasing send buffer to ISB 524288 (buffer: 0 / 596480) 02:51:47.034: socket_thread_windows: Received FD_CLOSE, 3 ms since last send (buffer: 0 / 596480) 02:51:47.034: socket_thread_windows: Aborting due to FD_CLOSE, error 10053 02:51:47.037: [rtmp stream: 'simple_stream'] Disconnected from rtmps://a.rtmps.youtube.com:443/live2 02:51:47.037: Output 'simple_stream': stopping 02:51:47.037: Output 'simple_stream': Total frames output: 121929 02:51:47.037: Output 'simple_stream': Total drawn frames: 121928 (122003 attempted) 02:51:47.037: Output 'simple_stream': Number of lagged frames due to rendering lag/stalls: 75 (0.1%) 02:51:47.037: Output 'simple_stream': Reconnecting in 10 seconds.. 02:51:47.038: Video stopped, number of skipped frames due to encoding lag: 83/121947 (0.1%)
해결과정
1. 사용중인 드라이버를 확인하여 최신 버전으로 업데이트 함
문제가 발생한 컴퓨터는 노트북이며, 사용된 랜카드 모델은 Realtek PCIe GbE Family Controller 임. > 문제 지속됨.
2. OBS의 설정 > 고급 네트워크 > 비트레이트 자동 변경 기능, 최적화 각각 적용 > 문제 지속됨.
3. OBS의 설정 > 방송 > Youtube 서버를 레거시로 변경함 > 문제 지속됨.
4. 2014년 어느 문서에서 랜카드 드라이버의 절전 모드와 관련된 설정을 변경하였다는 코멘트 확인함.
https://obsproject.com/forum/threads/intermittent-slow-streaming.14726/
> 아래 설정을 "사용 안 함"으로 변경함. > 문제 해결 됨.