raccy / obs-rtmp-nicolive

ニコニコ生放送用 OBS Studio プラグイン
MIT License
57 stars 8 forks source link

MacでOBS 18.0.1とobs-rtmp-nicolive 2.1.0の枠監視を組み合わせると配信が止まる #22

Open kiralin7566 opened 7 years ago

kiralin7566 commented 7 years ago

お世話になっております。

Mac上でビルドしたOBS 18.0.1にてobs-rtmp-nicolive 2.1.0の枠監視を使うと、枠自動取得が行われないばかりか配信も勝手に止まってしまいます。 ご参考までにOBSのログを以下に提示します。

16:03:16.410: [nicolive] login api site: nicolive_encoder
16:03:16.577: [nicolive] no live waku
16:04:16.413: [nicolive] login api site: nicolive_encoder
16:04:16.544: [nicolive] live waku: lv293251797
16:05:16.416: [nicolive] login api site: nicolive_encoder
16:05:17.072: [nicolive] live waku: lv293251797
16:05:20.495: [nicolive] login api site: nicolive_encoder
16:05:21.140: [nicolive] live waku: lv293251797
16:05:21.140: [nicolive] found live url and key with ticket
16:05:21.140: [nicolive] audo bitrate is zero or negative
16:05:21.140: [nicolive] login api site: nicolive_encoder
16:05:21.264: [nicolive] live waku: lv293251797
16:05:21.264: [nicolive] found live url and key with ticket
16:05:21.265: [nicolive] login api site: nicolive_encoder
16:05:21.399: [nicolive] live waku: lv293251797
16:05:21.399: [nicolive] found live url and key with ticket
16:05:21.399: ---------------------------------
16:05:21.400: [x264 encoder: 'streaming_h264'] preset: medium
16:05:21.400: [x264 encoder: 'streaming_h264'] profile: high
16:05:21.400: [x264 encoder: 'streaming_h264'] settings:
16:05:21.400:   rate_control: CBR
16:05:21.400:   bitrate:      432
16:05:21.400:   buffer size:  432
16:05:21.400:   crf:          20
16:05:21.400:   fps_num:      30
16:05:21.400:   fps_den:      1
16:05:21.400:   width:        640
16:05:21.400:   height:       360
16:05:21.400:   keyint:       300
16:05:21.400:   vfr:          off
16:05:21.400:
16:05:21.400: [x264 encoder: 'streaming_h264'] custom settings: profile=high level=4.0 threads=0 keyint=300 min-keyint=30 bframes=3 ref=6 me=umh subme=7 merange=16 psy-rd=0.5:0.0 trellis=1 mbtree=1 aq-mode=2 aq-strength=1.00 qpmin=20 qcomp=0.50 chroma-qp-offset=-1 crf-max=0 crf=20 cqm=flat deblock=-1,-1 direct=auto ipratio=1.30 b-adapt=2 b-bias=0 b-pyramid=2 no-dct-decimate=1 no-fast-pskip=1 scenecut=50 vbv-init=0.9 weightb=1 weightp=2 colormatrix=smpte170m
16:05:21.413: [CoreAudio AAC: 'Track1']: settings:
16:05:21.413:   mode:          HE-AAC v2
16:05:21.413:   bitrate:       48
16:05:21.413:   sample rate:   44100
16:05:21.413:   cbr:           on
16:05:21.413:   output buffer: 1536
16:05:21.413: [rtmp stream: 'adv_stream'] Connecting to RTMP URL rtmp://nlpoca150.live.nicovideo.jp:1935/publicorigin/170316_16_0?1218088:lv293251797:68:1489647921:0:1489648132:a02bd03fc3c2d124...
16:05:21.413: [rtmp stream: 'adv_stream'] Binding to IPv4
16:05:21.530: [rtmp stream: 'adv_stream'] Connection to rtmp://nlpoca150.live.nicovideo.jp:1935/publicorigin/170316_16_0?1218088:lv293251797:68:1489647921:0:1489648132:a02bd03fc3c2d124 successful
16:05:21.536: ==== Streaming Start ===============================================
16:06:17.419: [nicolive] login api site: nicolive_encoder
16:06:18.052: [nicolive] live waku: lv293251797
16:06:18.053: [nicolive] click stop streaming hotkey
16:06:18.053: [rtmp stream: 'adv_stream'] User stopped the stream
16:06:18.053: Output 'adv_stream': stopping
16:06:18.053: Output 'adv_stream': Total encoded frames: 1699
16:06:18.053: Output 'adv_stream': Total drawn frames: 1699
16:06:18.053: Output 'adv_stream': Number of lagged frames due to rendering lag/stalls: 2 (0.1%)
16:06:18.069: ==== Streaming Stop ================================================
16:06:25.590: [nicolive] login api site: nicolive_encoder
16:06:25.731: [nicolive] live waku: lv293251797
16:06:25.731: [nicolive] found live url and key with ticket
16:06:25.732: [nicolive] login api site: nicolive_encoder
16:06:25.865: [nicolive] live waku: lv293251797
16:06:25.865: [nicolive] found live url and key with ticket
16:06:25.935: [nicolive] login api site: nicolive_encoder
16:06:26.085: [nicolive] live waku: lv293251797
16:06:26.085: [nicolive] found live url and key with ticket
16:06:28.419: [nicolive] login api site: nicolive_encoder
16:06:28.557: [nicolive] live waku: lv293251797
16:06:36.030: Settings changed (general)
16:06:36.030: ------------------------------------------------
16:06:38.175: [nicolive] login api site: nicolive_encoder
16:06:38.313: [nicolive] live waku: lv293251797
16:06:38.313: [nicolive] found live url and key with ticket
16:06:38.313: [nicolive] audo bitrate is zero or negative
16:06:38.313: [nicolive] login api site: nicolive_encoder
16:06:38.449: [nicolive] live waku: lv293251797
16:06:38.449: [nicolive] found live url and key with ticket
16:06:38.449: [nicolive] login api site: nicolive_encoder
16:06:38.607: [nicolive] live waku: lv293251797
16:06:38.607: [nicolive] found live url and key with ticket
16:06:38.607: ---------------------------------
16:06:38.607: [x264 encoder: 'streaming_h264'] preset: medium
16:06:38.607: [x264 encoder: 'streaming_h264'] profile: high
16:06:38.607: [x264 encoder: 'streaming_h264'] settings:
16:06:38.607:   rate_control: CBR
16:06:38.607:   bitrate:      432
16:06:38.607:   buffer size:  432
16:06:38.607:   crf:          20
16:06:38.607:   fps_num:      30
16:06:38.607:   fps_den:      1
16:06:38.607:   width:        640
16:06:38.607:   height:       360
16:06:38.607:   keyint:       300
16:06:38.607:   vfr:          off
16:06:38.607:
16:06:38.607: [x264 encoder: 'streaming_h264'] custom settings: profile=high level=4.0 threads=0 keyint=300 min-keyint=30 bframes=3 ref=6 me=umh subme=7 merange=16 psy-rd=0.5:0.0 trellis=1 mbtree=1 aq-mode=2 aq-strength=1.00 qpmin=20 qcomp=0.50 chroma-qp-offset=-1 crf-max=0 crf=20 cqm=flat deblock=-1,-1 direct=auto ipratio=1.30 b-adapt=2 b-bias=0 b-pyramid=2 no-dct-decimate=1 no-fast-pskip=1 scenecut=50 vbv-init=0.9 weightb=1 weightp=2 colormatrix=smpte170m
16:06:38.616: [CoreAudio AAC: 'Track1']: settings:
16:06:38.616:   mode:          HE-AAC v2
16:06:38.616:   bitrate:       48
16:06:38.616:   sample rate:   44100
16:06:38.616:   cbr:           on
16:06:38.616:   output buffer: 1536
16:06:38.616: [rtmp stream: 'adv_stream'] Connecting to RTMP URL rtmp://nlpoca150.live.nicovideo.jp:1935/publicorigin/170316_16_0?1218088:lv293251797:68:1489647998:0:1489648132:39d8d7833a3f056d...
16:06:38.616: [rtmp stream: 'adv_stream'] Binding to IPv4
16:06:38.754: [rtmp stream: 'adv_stream'] Connection to rtmp://nlpoca150.live.nicovideo.jp:1935/publicorigin/170316_16_0?1218088:lv293251797:68:1489647998:0:1489648132:39d8d7833a3f056d successful
16:06:38.759: ==== Streaming Start ===============================================
16:07:28.424: [nicolive] login api site: nicolive_encoder
16:07:29.061: [nicolive] live waku: lv293251797
16:07:29.062: [nicolive] click stop streaming hotkey
16:07:29.062: [rtmp stream: 'adv_stream'] User stopped the stream
16:07:29.062: Output 'adv_stream': stopping
16:07:29.062: Output 'adv_stream': Total encoded frames: 1513
16:07:29.062: Output 'adv_stream': Total drawn frames: 1514
16:07:29.082: ==== Streaming Stop ================================================
16:07:38.439: [nicolive] login api site: nicolive_encoder
16:07:38.569: [nicolive] live waku: lv293251797

何か適切な設定を施す、とかあるんでしょうか? よろしくお願いします。

raccy commented 7 years ago

OBS 18.0.1は何もテストしていないので、なんとも言えないです。時間が取れたら、最新版に対応を…。