DHJJ [Hatsune's Journal Japan] blog

Hatsune's Journal Japan blog

目次

Blog 利用状況

ニュース

最新ツイート

運営サイト

Hatsune's Journal Japan
DHJJ

著作など

資格など

OCP
MCP

書庫

日記カテゴリ

わんくま同盟

OBS Studio + OBS-WebSocketで字幕表示するときの2020/04/09現在の注意点

映像録画&ライブストリーミング用のオープンソースプロジェクトOBSのOBS Studioにはプラグイン拡張でWeb Socketのインターフェースを追加することができます。

OBS Studio (現時点での最新は、25.0.4)

https://obsproject.com/ja/

OBS-WebSocket (現時点での最新は、2.7)

https://github.com/Palakis/obs-websocket/releases

OBS-WebSocketのC# .NET Library

https://github.com/Palakis/obs-websocket-dotnet


OBS Studioが24→25に変わったときに文字を表示する領域(OBS Studioではソースと言います)のIDが変わってしまっているようで、OBS-WebSocketで、SetTextGDIPlusPropertiesやGetTextGDIPlusPropertiesを使うときに正しいソース名を指定しても「not a text gdi plus source」というエラーになってしまい、OBS Studioに字幕が表示できません。

https://github.com/Palakis/obs-websocket/issues/443

すでにこのissuesはソース的には修正が入っております。

具体的には、ソース名でヒットしたソースの属性チェックのところで、従来の「text_gdiplus」というIDに加えて、「text_gdiplus_v2」というIDもエラーにしないように修正されています。

https://github.com/Palakis/obs-websocket/pull/448/commits/846d52ebe58d5f9f819680afa9d8a3e7516ab380

この変更は、「added this to the 4.8 milestone」とのことですので、OBS-WebSocketのVersion 4.8には入ってくるようです。


そのため、2020/04/09時点での解決方法は次のようになります。

  • OBS-WebSokcetの最新ソースから version 4.8 相当のバイナリをビルドして使用する
  • OBS Studioを24系にダウングレードする


[en]

OBS Studio from OBS, an open source project for video recording and live streaming, has a plug-in extension that adds a Web Socket interface.

OBS Studio (currently the latest is 25.0.4)

https://obsproject.com/ja/

OBS-WebSocket (current version is 2.7)

https://github.com/Palakis/obs-websocket/releases

OBS-WebSocket's C# .NET Library

https://github.com/Palakis/obs-websocket-dotnet.


When OBS Studio changed from 24 to 25, the ID of the area to display text (called source in OBS Studio) seems to have changed, and even if I specify the correct source name when using SetTextGDIPlusProperties or GetTextGDIPlusProperties in OBS-WebSocket, I get the error "not a text gdi plus source", and I can't display subtitles in OBS Studio.

https://github.com/Palakis/obs-websocket/issues/443

This issues has already been modified in terms of source.

Specifically, the ID of "text_gdiplus_v2" in addition to the ID of "text_gdiplus" in the attribute check of the source hit by the source name has been modified so that it is not an error.

https://github.com/Palakis/obs-websocket/pull/448/commits/846d52ebe58d5f9f819680afa9d8a3e7516ab380.

This change is "added this to the 4.8 milestone", so it seems to be coming in Version 4.8 of OBS-WebSocket.


Therefore, as of 04/09/2020, the solution is as follows.
-Build and use a binary equivalent to version 4.8 from the latest source of OBS-WebSokcet.
-Downgrade the OBS Studio to the 24

投稿日時 : 2020年4月10日 8:16

Feedback

# I loved as much as you'll receive carried out right here. The sketch is attractive, your authored material stylish. nonetheless, you command get got an nervousness over that you wish be delivering the following. unwell unquestionably come further formerly 2020/06/23 0:09 I loved as much as you'll receive carried out righ

I loved as much as you'll receive carried out right here.
The sketch is attractive, your authored material stylish.
nonetheless, you command get got an nervousness over that you wish be delivering the following.
unwell unquestionably come further formerly again as
exactly the same nearly a lot often inside case you shield this hike.

# Cbd oil that works 2020 Greetings! I know this is kinda off topic however I'd figured I'd ask. Would you be interested in exchanging links or maybe guest writing a blog post or vice-versa? My site discusses a lot of the same topics as yours and I believ 2020/06/24 10:15 Cbd oil that works 2020 Greetings! I know this is

Cbd oil that works 2020
Greetings! I know this is kinda off topic however I'd figured I'd ask.

Would you be interested in exchanging links or maybe guest writing a blog post or vice-versa?
My site discusses a lot of the same topics as yours and I believe we could greatly benefit from each other.
If you're interested feel free to send me an e-mail. I look forward
to hearing from you! Superb blog by the way! best rated cbd oil http://j.mp/3drY6lE cbd oil that works 2020 http://j.mp/3drY6lE

# It's great that you are getting ideas from this post as well as from our argument made at this place. 2020/06/27 0:15 It's great that you are getting ideas from this po

It's great that you are getting ideas from this post as well
as from our argument made at this place.

タイトル  
名前  
Url
コメント