miaulightouch / obs-virtual-cam

GNU General Public License v2.0
96 stars 14 forks source link

OBS 30.2.0 compatibility #24

Closed kaymyst closed 1 month ago

kaymyst commented 1 month ago

Hi I'm not sure if you are getting the same issue after upgrading OBS to 30.2:

12:00:31.072: LoadLibrary failed for '../../obs-plugins/64bit/obs-virtualcam.dll': The specified module could not be found. 12:00:31.072: (126) 12:00:31.072: Module '../../obs-plugins/64bit/obs-virtualcam.dll' not loaded

thanks for a great tool

MaikTheGray commented 1 month ago

Yeah, I'm having problems as well, I didn't get any message, but the filter VirtualCam cannot be added any more to my sources, and the ones that were already there cannot be used, since when I click on them they show the message: "No properties avaiable"

miaulightouch commented 1 month ago

Did you update to the latest version?

MaikTheGray commented 1 month ago

Weel it was working, I updated OBS, stopped working, I updated to the last version, still not working (the previous last version was not working for me already though, I don't know if it is because the OBS I'm installing it in is portable or if it something else)

miaulightouch commented 1 month ago

Do you update the plugin?

MaikTheGray commented 1 month ago

Yeah, what I meant is I updated to the last version of the plugin, and is still not working ((the previous last version was not working for me already though, I don't know if it is because the OBS I'm installing it in is portable or if it something else))

miaulightouch commented 1 month ago

Can you provide the full log?

by the way, it’s not recommended to use the portable version OBS, or you have to register virtual cam manually.

MaikTheGray commented 1 month ago

Yeah, I know, is just that I cannot not use the portable version, everything is set like this at the moment, and I can't reverse where to put the VirtualCam, because of the greenscreen, is a whole thing...do you want the log of me just entering OBS? Because I can't use VirtualCam, is that log enough?

billy-sung commented 1 month ago

Yeah, I know, is just that I cannot not use the portable version, everything is set like this at the moment, and I can't reverse where to put the VirtualCam, because of the greenscreen, is a whole thing...do you want the log of me just entering OBS? Because I can't use VirtualCam, is that log enough?

I can get your specifications and running environment from the log to reproduce the issue because I don’t have any issues with OBS 30.2.0.

MaikTheGray commented 1 month ago

Here it is: https://obsproject.com/logs/uz2gkrr3nAjPwOKK

miaulightouch commented 1 month ago

Okay, I got it. This plugin has a dependency on FFmpeg that is shipped with the OBS installation. In OBS 30.2.0, one of the dependencies, FFmpeg, was updated. Depending on the FFmpeg shipped with OBS is not part of the public API, so it may recieve update frequently and very easy to cause issues.

I have decided to ship FFmpeg with this plugin alone to prevent further dependency issues, but the distribution will be significantly larger due to the FFmpeg libraries.

I will try to remove the FFmpeg libraries when the next OBS public API breaking change occurs. Until that happens, the FFmpeg library will always be shipped along with this plugin.

miaulightouch commented 1 month ago

it's fixed by #25

miaulightouch commented 1 month ago

it's released. check 2.1.1

MaikTheGray commented 1 month ago

Just tried, still doesn't work (tried in both instances, Main OBS and Portable, neither work) Portable: https://obsproject.com/logs/y7trO3rFZF8pOVXZ Main: https://obsproject.com/logs/aLJKkrujQO1kjCKp

phillypro commented 1 month ago

yea im noticing the other release you have 3.1.1 works in obs 30.2 but causes an error on exit of obs the 2.1.1 doesnt show up in the obs menu at all

kaymyst commented 1 month ago

yes as you said said the ffmpeg dependancies are not matched this is what dependancy walker shows image and this is what I have installed in the obs folder: image

MaikTheGray commented 1 month ago

I downloaded and installed 2.1.1 on both versions though, first portable and then the main one (both using the windows installer), is weird that they are not apperatin at all...the 3.1.1 was basically the same to me, although it might show in the logs, was changing nothing on the "user" sides of things, didn't appear as a filter, nor in the "Tools" section in the toolbar

miaulightouch commented 1 month ago

It looks like I missed including some ffmpeg libs. I will remove the 2.1.1 release and prepare new release.

miaulightouch commented 1 month ago

I found that issue #19 is magically fixed in OBS 30.2.0 with the 2.1.2 release.

MaikTheGray commented 1 month ago

Yeaaaah, let's goooo, the real deal! Is working on portable with windows installer no problems btw, don't know if I'm just lucky or is completely fixed by another magic, but is working wonderfully, nice going!

miaulightouch commented 1 month ago

@kaymyst Does the latest release resolve this issue?

kaymyst commented 1 month ago

yes it does thank you so much!