{"id":8046,"date":"2023-02-02T20:39:05","date_gmt":"2023-02-02T11:39:05","guid":{"rendered":"http:\/\/umezawa.dyndns.info\/wordpress\/?p=8046"},"modified":"2023-08-12T22:20:26","modified_gmt":"2023-08-12T13:20:26","slug":"obs-%e3%81%ae%e4%bb%ae%e6%83%b3%e3%82%ab%e3%83%a1%e3%83%a9%e3%81%a8-opencv","status":"publish","type":"post","link":"http:\/\/umezawa.dyndns.info\/wordpress\/?p=8046","title":{"rendered":"OBS \u306e\u4eee\u60f3\u30ab\u30e1\u30e9\u3068 OpenCV"},"content":{"rendered":"<p>\u300c<a href=\"https:\/\/obsproject.com\/ja\">OBS<\/a> \u306e\u4eee\u60f3\u30ab\u30e1\u30e9\u300d\u3068\u3057\u3066\u77e5\u3089\u308c\u308b\u3082\u306e\u306b\u306f2\u7a2e\u985e\u3042\u308b\u3002<\/p>\n<p><!--more--><\/p>\n<ul>\n<li><a href=\"https:\/\/obsproject.com\/kb\/virtual-camera-guide\">\u30d0\u30fc\u30b8\u30e7\u30f3 26 \u4ee5\u964d\u3067\u4f7f\u3048\u308b OBS \u6a19\u6e96\u6a5f\u80fd<\/a>\n<ul>\n<li>\u6a19\u6e96\u6a5f\u80fd\u306a\u306e\u3067\u30d7\u30e9\u30b0\u30a4\u30f3\u306f\u5fc5\u8981\u306a\u3044<\/li>\n<li>\u4eee\u60f3\u30ab\u30e1\u30e9\u306f1\u3064\u3057\u304b\u4f5c\u308c\u306a\u3044<\/li>\n<li>\u4eee\u60f3\u30ab\u30e1\u30e9\u3092\u958b\u59cb\/\u505c\u6b62\/\u8a2d\u5b9a\u3059\u308b\u30dc\u30bf\u30f3\u304c\u4e00\u7b49\u5730\uff08\u300c\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u300d\u30da\u30a4\u30f3\uff09\u306b\u3042\u3063\u3066\u4fbf\u5229<\/li>\n<li>\u4eee\u60f3\u30ab\u30e1\u30e9\u306b\u51fa\u529b\u3059\u308b\u6620\u50cf\u3092\u4f55\u306b\u3059\u308b\u304b\u3092\u7d30\u304b\u304f\u9078\u629e\u3067\u304d\u308b<\/li>\n<li>\u30b5\u30dd\u30fc\u30c8\u3059\u308b\u8272\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u306f NV12, I420, YUY2<\/li>\n<li>OpenCV \u306e VideoCapture \u3067\u6271\u3048\u306a\u3044\uff08\u771f\u3063\u9ed2\u306a\u753b\u9762\u306b\u306a\u308b\uff09<\/li>\n<\/ul>\n<\/li>\n<li>\u4ee5\u524d\u304b\u3089\u3042\u308b\u30d7\u30e9\u30b0\u30a4\u30f3\n<ul>\n<li>\u30d6\u30e9\u30b0\u30a4\u30f3\u3092\u5225\u9014\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3002OBS \u30d0\u30fc\u30b8\u30e7\u30f3 28 \u3088\u308a\u524d\u3068\u5f8c\u3067\u306f\u30d6\u30e9\u30b0\u30a4\u30f3\u306e\u30d0\u30a4\u30ca\u30ea\u304c\u7570\u306a\u308b\uff08<a href=\"https:\/\/github.com\/Fenrirthviti\/obs-virtual-cam\">28\u3088\u308a\u524d<\/a>\/<a href=\"https:\/\/github.com\/Avasam\/obs-virtual-cam\">28\u3068\u305d\u308c\u4ee5\u964d<\/a>\uff09<\/li>\n<li>\u4eee\u60f3\u30ab\u30e1\u30e9\u306f\u6700\u5927\u30674\u3064\u307e\u3067\u4f5c\u308c\u308b<\/li>\n<li>\u958b\u59cb\/\u505c\u6b62\/\u8a2d\u5b9a\u306f\u300c\u30c4\u30fc\u30eb(T)\u300d\u30e1\u30cb\u30e5\u30fc\u306e\u4e2d\u306b\u3042\u308b<\/li>\n<li>\u51fa\u529b\u3059\u308b\u6620\u50cf\u306f\u6a19\u6e96\u6a5f\u80fd\u3067\u8a00\u3046\u300c\u30a4\u30f3\u30bf\u30fc\u30ca\u30eb\u300d\u306e\u300c\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u51fa\u529b\u300d\u306e\u307f<\/li>\n<li>\u30b5\u30dd\u30fc\u30c8\u3059\u308b\u8272\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u306f YUY2 \u306e\u307f<\/li>\n<li>OpenCV \u306e VideoCapture \u3067\u6271\u3048\u308b\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>\u4e0a\u8ff0\u306e\u3068\u304a\u308a\u3001\u4e00\u9577\u4e00\u77ed\u304c\u3042\u308b\u3002<\/p>\n<p>\u6a19\u6e96\u6a5f\u80fd\u306e\u65b9\u306f OpenCV \u306e VideoCapture \u3067\u306f\u6271\u3048\u306a\u3044\u3002\u3053\u306e\u554f\u984c\u306b\u95a2\u3057\u3066\u300c\u6a19\u6e96\u6a5f\u80fd\u306e\u65b9\u306f RGB \u51fa\u529b\u306b\u5bfe\u5fdc\u3057\u3066\u3044\u306a\u3044\u304b\u3089\u300d\u3068\u8aac\u660e\u3057\u3066\u3044\u308b\u8a18\u4e8b\u304c\u898b\u53d7\u3051\u3089\u308c\u308b\u304c\u3001\u3053\u308c\u306f\u90e8\u5206\u7684\u306b\u3057\u304b\u6b63\u3057\u304f\u306a\u3044\u3002\u5b9f\u969b\u3001\u4ee5\u524d\u304b\u3089\u3042\u308b\u30d7\u30e9\u30b0\u30a4\u30f3\u3082 RGB \u51fa\u529b\u306b\u5bfe\u5fdc\u3057\u3066\u3044\u306a\u3044\u304c OpenCV \u306e VideoCapture \u3067\u6271\u3046\u3053\u3068\u304c\u3067\u304d\u308b\u3057\u3001\u5927\u62b5\u306e\u4eee\u60f3\u3067\u306a\u3044 Web \u30ab\u30e1\u30e9\u3082\u540c\u69d8\u3067\u3042\u308b\u3002<a href=\"https:\/\/github.com\/opencv\/opencv\/issues\/19746#issuecomment-1383056787\">OpenCV \u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u306b\u6295\u7a3f\u3055\u308c\u305f issue \u306b\u3064\u3044\u305f\u30b3\u30e1\u30f3\u30c8<\/a>\u306b\u3088\u308b\u3068\u3001\u6a19\u6e96\u6a5f\u80fd\u306e\u65b9\u306f\u51fa\u529b\u5f62\u5f0f\u3092 RGB \u306b\u5909\u66f4\u3057\u3088\u3046\u3068\u3057\u305f\u969b\u306b\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u306a\u3044\u306b\u3082\u304b\u304b\u308f\u3089\u305a\u30a8\u30e9\u30fc\u3092\u8fd4\u3055\u306a\u3044\u305b\u3044\u3067\u51e6\u7406\u304c\u304a\u304b\u3057\u304f\u306a\u3063\u3066\u3044\u308b\u306e\u304c\u539f\u56e0\u3067\u3042\u308b\u3068\u3044\u3046\u3002\u306a\u304a\u3001OpenCV \u306e DirectShow \u30b5\u30dd\u30fc\u30c8\u306f deprecated \u306b\u306a\u3063\u3066\u3044\u308b\u3089\u3057\u304f\u3001OpenCV \u5074\u3067\u306e workaround \u306f\u671f\u5f85\u3067\u304d\u306a\u3044\u3002<\/p>\n<hr\/>\n<p>\u8ffd\u8a18: \u7d50\u5c40 OpenCV \u5074\u3067 workaround \u304c\u5b9f\u88c5\u3055\u308c\u305f\u3088\u3046\u3067\u3001OpenCV 4.8.0 \u4ee5\u964d\u306e VideoCapture \u3067\u6271\u3048\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u308b\u3002OBS \u5074\u306e\u6319\u52d5\u304c\u4e0d\u9069\u5207\u306a\u70b9\u306f\u5909\u308f\u3063\u3066\u3044\u306a\u3044\u305f\u3081\u3001\u4eee\u60f3\u30ab\u30e1\u30e9\u3092\u4f7f\u304a\u3046\u3068\u3059\u308b\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u3088\u3063\u3066\u306f\u554f\u984c\u304c\u8d77\u304d\u308b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u300cOBS \u306e\u4eee\u60f3\u30ab\u30e1\u30e9\u300d\u3068\u3057\u3066\u77e5\u3089\u308c\u308b\u3082\u306e\u306b\u306f2\u7a2e\u985e\u3042\u308b\u3002<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[27],"tags":[],"class_list":["post-8046","post","type-post","status-publish","format-standard","hentry","category-technology"],"_links":{"self":[{"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/8046","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=8046"}],"version-history":[{"count":8,"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/8046\/revisions"}],"predecessor-version":[{"id":8116,"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/8046\/revisions\/8116"}],"wp:attachment":[{"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8046"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=8046"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/umezawa.dyndns.info\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=8046"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}