Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER for Video Editing/Mangling

Reply
 
Thread Tools Display Modes
Old 07-04-2021, 09:31 AM   #41
leafac
Human being with feelings
 
leafac's Avatar
 
Join Date: Sep 2020
Location: Portugal
Posts: 110
Default

Quote:
Originally Posted by daniellumertz View Post
That is a really nice solution I wonder if we could have a exe for general purpose of network communication or that would be hard
You can do a lot with cURL, which also has the advantage of already being present in most computers.
leafac is offline   Reply With Quote
Old 07-04-2021, 02:27 PM   #42
daniellumertz
Human being with feelings
 
daniellumertz's Avatar
 
Join Date: Dec 2017
Location: Brazil
Posts: 1,992
Default

Oh thanks for poiting out this to me! I really have no idea on how to connect it to reaper. If you can talk a little over it I would like very much! Or maybe just genreally point out how it works.
daniellumertz is offline   Reply With Quote
Old 07-11-2021, 01:39 AM   #43
leafac
Human being with feelings
 
leafac's Avatar
 
Join Date: Sep 2020
Location: Portugal
Posts: 110
Default

It looks something like this:

Code:
reaper.ExecProcess("/usr/bin/curl https://leafac.com", 0)
You’ll have to adapt the part that reads /usr/bin/curl for this to work on Windows.
leafac is offline   Reply With Quote
Old 08-30-2021, 07:57 AM   #44
Triode
Human being with feelings
 
Triode's Avatar
 
Join Date: Jan 2012
Posts: 1,180
Default

This is great thank you.
I wonder if your script can add the video as a new take on the designated track. I think at the moment if you record over a section, the new video file is added on top of the old one but not as a new take.
Would this be possible?
__________________
Mixing / Brush and Beater Drums Online: www.outoftheboxsounds.com
Triode is online now   Reply With Quote
Old 09-04-2021, 06:07 AM   #45
leafac
Human being with feelings
 
leafac's Avatar
 
Join Date: Sep 2020
Location: Portugal
Posts: 110
Default

@Triode

Sounds like a good idea. I’ll implement this on the next round of updates.
leafac is offline   Reply With Quote
Old 09-04-2021, 06:17 AM   #46
Triode
Human being with feelings
 
Triode's Avatar
 
Join Date: Jan 2012
Posts: 1,180
Default

Quote:
Originally Posted by leafac View Post
@Triode

Sounds like a good idea. I’ll implement this on the next round of updates.
Great stuff. Many thanks
__________________
Mixing / Brush and Beater Drums Online: www.outoftheboxsounds.com
Triode is online now   Reply With Quote
Old 07-31-2022, 02:18 PM   #47
wolfereeno
Human being with feelings
 
Join Date: Feb 2012
Posts: 35
Default

Hi -- I installed OBS and installed the Reapack scripts and see Leandro Facchinetti's repository on the Manage scripts screen

But I don't see the scripts in the action menu to actually run them. Am I missing a step?

Thx!!

(mac running 12.4, reaper 6.64)
wolfereeno is offline   Reply With Quote
Old 09-27-2022, 04:53 AM   #48
leafac
Human being with feelings
 
leafac's Avatar
 
Join Date: Sep 2020
Location: Portugal
Posts: 110
Default

Quote:
Originally Posted by wolfereeno View Post
Hi -- I installed OBS and installed the Reapack scripts and see Leandro Facchinetti's repository on the Manage scripts screen

But I don't see the scripts in the action menu to actually run them. Am I missing a step?

Thx!!

(mac running 12.4, reaper 6.64)
Perhaps you added my repository to your ReaPack but didn’t install the packages within the repository.

You may check this under Extensions > ReaPack > Browse packages…, then look for “OBS” and see if there’s a little “i” (which stands for “installed”) to the left of the package name.
leafac is offline   Reply With Quote
Old 09-27-2022, 05:08 AM   #49
Triode
Human being with feelings
 
Triode's Avatar
 
Join Date: Jan 2012
Posts: 1,180
Default

Quote:
Originally Posted by leafac View Post
@Triode

Sounds like a good idea. I’ll implement this on the next round of updates.
How is this going by the way? Is adding the video as a take possible yet?
__________________
Mixing / Brush and Beater Drums Online: www.outoftheboxsounds.com
Triode is online now   Reply With Quote
Old 09-27-2022, 09:21 AM   #50
onewattamp
Human being with feelings
 
Join Date: Jan 2017
Posts: 39
Default Reaper + OBS 28

I'm on windows and can't seem to get this script to work at all

Here's a video with what I'm experiencing:
https://video.joelschwartz.ca/share/un8664w6548jd9kr

ERROR MESSAGE:


...dro Facchinetti\Utility\leafac_OBS - Start recording.lua:83: Failed to control OBS.

1. Check that OBS and obs-websocket are running.
2. Check the configuration (for example, ADDRESS and PASSWORD) in the source code for this action.
3. Report the issue to (EMAIL ADDRESS).


Command:
"C:\Users\DAW\AppData\Roaming\REAPER/Data/leafac_obs-cli.exe" --address "4444" --password "obsjoel" --field 0.rec-folder GetRecordingFolder "SetRecordingFolder={ "rec-folder": "C:\\Users\\DAW\\Documents\\REAPER Media" }" StartRecording

Output:
1
{
"status": "error",
"description": "Connection error.",
"code": "CONNECTION_ERROR",
"error": "Connection error."
}
onewattamp is offline   Reply With Quote
Old 01-08-2023, 11:25 AM   #51
leafac
Human being with feelings
 
leafac's Avatar
 
Join Date: Sep 2020
Location: Portugal
Posts: 110
Default

onewattamp, most probably the issue is that you’re running OBS 28 or newer. As you may have heard, the update from OBS 27 to OBS 28 was a significant and every tool in the ecosystem has to change accordingly. I’ll get to that soon, for the time being, although I know it isn’t ideal, you may use OBS 27.
leafac is offline   Reply With Quote
Old 03-19-2023, 07:32 PM   #52
rocknmysleep
Human being with feelings
 
Join Date: May 2017
Posts: 3
Default Issues

Hello, I am having trouble getting this installed on my mac. I do not see the script for toggle obs.
rocknmysleep is offline   Reply With Quote
Old 03-19-2023, 07:33 PM   #53
onewattamp
Human being with feelings
 
Join Date: Jan 2017
Posts: 39
Default

Quote:
Originally Posted by rocknmysleep View Post
Hello, I am having trouble getting this installed on my mac. I do not see the script for toggle obs.
I don't think it is supported or being update, unfortunately
onewattamp is offline   Reply With Quote
Old 08-16-2023, 06:14 AM   #54
daeavelwyn
Human being with feelings
 
daeavelwyn's Avatar
 
Join Date: Dec 2014
Posts: 597
Default

Hello,

Some updates to work with newer version of OBS ??
daeavelwyn is offline   Reply With Quote
Old 11-21-2023, 06:36 AM   #55
earlabs
Human being with feelings
 
earlabs's Avatar
 
Join Date: Jul 2007
Location: Netherlands
Posts: 1,203
Default

Quote:
Originally Posted by daeavelwyn View Post
Hello,

Some updates to work with newer version of OBS ??
that's the thing with free stuff..... when the developer has different focus, you're stuck. much as I appreciate their energy, when there is a paid version of a certain functionality I stick to that.
__________________
EARLabs Studio for Creative Mastering www.facebook.com/EARLabsStudio
WWW www.earlabs.org
earlabs is offline   Reply With Quote
Old 11-22-2023, 06:27 AM   #56
papagirafe
Human being with feelings
 
papagirafe's Avatar
 
Join Date: Aug 2020
Location: Brasil
Posts: 679
Default

Quote:
Originally Posted by earlabs View Post
that's the thing with free stuff..... when the developer has different focus, you're stuck. much as I appreciate their energy, when there is a paid version of a certain functionality I stick to that.
IMHO I think that the choice of OBS, or any other full fledged app with a GUI, was not a good idea to start with. A better choice would be to initiate a command line app or a dll call like "ffmpeg" or "vlc" that already have recording functionality. This is something that Reaper already does for playing and rendering videos. It would also allow multiple recording track simultaneously. Maintaining this type solution would be easier too but unfortunately my plate is too full and I can't start looking at this before March next year.
papagirafe is offline   Reply With Quote
Old 01-30-2024, 07:03 AM   #57
Cybergy
Human being with feelings
 
Join Date: Jan 2024
Posts: 3
Default

I've been at this for hours on my Mac. Got it working in Reaper Actions;OBS - Start recording (OBS does indeed kick-off recording) but only if I disable the websockets password in OBS. This is not acceptable to me.

The trail of YT videos, and posts here to find a solution are truly exhausting. Now it seems possibly end of the line? Well shit...

UPDATE: Turns out you can edit the websockets connection info using another script

UPDATE: Starting with version 3.0.0, you don’t have to copy scripts around to tweak the advanced settings, just use the ‘leafac_OBS - Advanced settings.lua’ and ‘leafac_OBS - Reset advanced settings to factory defaults.lua’ actions.

Last edited by Cybergy; 01-30-2024 at 07:08 AM.
Cybergy is offline   Reply With Quote
Old 01-30-2024, 07:04 AM   #58
onewattamp
Human being with feelings
 
Join Date: Jan 2017
Posts: 39
Default

Yeah - I've been down the same road. Contacted the developer through various means. I don't think there is any appetite for him to continue it unfortunately. Seems to be dead in the water, sadly.


Quote:
Originally Posted by Cybergy View Post
I've been at this for hours on my Mac. Got it working in Reaper Actions;OBS - Start recording (OBS does indeed kick-off recording) but only if I disable the websockets password in OBS. This is not acceptable to me.

The trail of YT videos, and posts here to find a solution are truly exhausting. Now it seems possibly end of the line? Well shit...
onewattamp is offline   Reply With Quote
Old 01-30-2024, 05:14 PM   #59
karbomusic
Human being with feelings
 
karbomusic's Avatar
 
Join Date: May 2009
Posts: 29,260
Default

I used it once and even donated to the developer but I found it's not a very good solution in hindsight - well not for me, not very robust and I never used it again.

For one I use OBS for a lot more things than with Reaper and the script changes around global settings in OBS which is a no go. Maybe I missed a setting or script, but if so, that would just make it even more fiddly than...

It's much easier for me to just record in OBS and Reaper at the same time but separately (using the clap trick for alignment in reaper). Drag into reaper, align, done. No forum and YT searching trying to make things work; and my OBS settings that I personally tweaked for my needs don't get changed out from under me.
__________________
Music is what feelings sound like.
karbomusic is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 06:17 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.