Code Monkey home page Code Monkey logo

obs-screenshot-plugin's People

Contributors

johnzuidweg avatar mgway avatar mili-inch avatar stealthii avatar synap5e avatar wkpark avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

obs-screenshot-plugin's Issues

URL PUT not working

Hi,
Great plugin but I have to save first locally and then send the screenshots via a batch because the send to URL doesn't work.
I don't see any request to the URL in Wireshark and I have no idea how to debug.
Any idea please?

Support hotkey instead of timer

Allow images to be written on a hotkey event instead of at a timer.
This should have a dropdown/checkbox to disable the slider and enable a hotkey selector (if possible). Should combo well with #2

Screenshot Filter no Longer Working

I'm not sure if it's just because OBS updated but Screenshot filter no longer works.
I've reinstalled both OBS and Screenshot Filter, added it into my 64bit plugin directory inside of OBS and none of the menu options pop up.
OBS Version 29.1.1

Output to directory

Allow images to be written to a directory with a dynamic (strftime) name, instead of always to the same file.

OBS 3.0

Will the pugin have support for version 3.0?

Installation Folder?

Hello, my apologies for the REALLY stupid question, but I am having trouble actually installing the addon?

Again, my apologies... Not very OBS Savy

Global Screen shot option & increment screen shot filename

Hello,

First of all, excellent work with the plug-in thus far. I have tested it and it seems to be working perfectly. Here are a few things I noticed and a few recommendations.

  1. When you search for the hotkey you cannot find it, only when you type in scream in the search filter you can find it. I believe you have already commented this and to be fixed in the near future.

  2. Question: what is the output format? is it PNG or JPEG please.

  3. I have never dealt with the RAW images before, But at present I'm unable to open them. Do I need a special software?

  4. Recommendations:

  • 4.1 - When the user saves the image to a file location, allow the option to increment the file number in order not to overwrite your existing image you have just saved. (MyImage 01, MyImage 02, MyImage 03 etc). SOLVED - MY Mistake, I selected file, not folder
  • 4.2 - Global screenshot. Not quite sure how to explain this but here we go. Imagine you have five scenes, and you are switching between them during your stream. This means you would set up five filters and therefore have five hotkeys. I think it would be a good idea that you set up the filter once And that it takes a screen short of what ever scene you are on.

I have just done some testing and I have seen that you can set up the filter many times and use the same hotkey and it only works on the active scene Maybe the request for 4.2 is redundant.

Again thank you very much for your efforts. Much appreciated.

New OBS 28 breaks plugin

Just testing all the plugins I'm using in 27.2.3 and the current version of obs-screenshot-plugin (1.4.0) fails to load when running OBS 28.0.0-beta1.
Log file shows as follows:
17:55:58.757: LoadLibrary failed for '../../obs-plugins/64bit/obs-screenshot-filter.dll': The specified module could not be found.
17:55:58.757: (126)
17:55:58.757: Module '../../obs-plugins/64bit/obs-screenshot-filter.dll' not loaded

Understand that 28 is a major shift, but just testing everything and mentioning where there are major faults. Works perfectly with 27, has been really fun to play with!

Jpeg support

The PNG files look like they are not compressed which is a bit of a bandwidth hog when uploading every few seconds. Jpeg support would be awesome.

Output to URL - duplicate base URL

Hi,
when I set the URL in the filter, it sets a correct URL.
When triggered it does a PUT to a wrong URL. It somehow duplicates the base of the URL.

LOG:
16:45:00.600: [screenshot-filter] Set destination=http://localhost:8000/api/cam/snapshot, 1
16:45:17.472: Settings changed (hotkeys)
16:45:17.472: ------------------------------------------------
16:45:21.662: [screenshot-filter] Got capture_key pressed for Screenshot Filter, id: 35, key: Screenshot Filter.Afbeelding.Screenshot Filter, pressed: 1
16:45:21.662: [screenshot-filter] Triggering capture
16:45:21.662: [screenshot-filter] Got capture_key pressed for Screenshot Filter, id: 40, key: Screenshot Filter.Afbeelding 2.Screenshot Filter, pressed: 1
16:45:21.662: [screenshot-filter] Triggering capture
16:45:21.746: [screenshot-filter] Failed to upload file to http:///localhost:8000/localhost:8000/api/cam/snapshot - 12007

No Built Plugin

My streaming computer is not set up for compiling C code, and I can imagine I'm not alone. Can we get a prebuilt version of this plugin to throw into OBS?

Saving as raw generates image larger than source

I don't really have a need for raw images but I ran into an issue trying to save one. The resolution of the source and canvas is 720x480 but saving the raw image it will only properly display when you set the resolution in your editing program as 736x480.

I've attached a copy of both raw and png format.
images.zip

I might be mistaken but I believe this was also an issue with regular image saving in a previous version? RE: #6 ?

Suggestion: Output Screenshot

Hey, this plugin is really great. But when I have many scenes and I need to pick which to screenshot, it's really impractical to set hotkeys for each scene. Please consider adding a feature to capture the output.

Black screen for VLC Video Source

So when I added this plugin to my OBS folder, my camera feed went black. Anyone else noticed this or knows why that happens? As soon as I removed the plugin, everything went back to normal.

Running on Linux

The prebuilt binaries on the release page are Windows-only.
How can I get it running on Linux?

the path to named shared memory

i try
r"\.\BaseNamedObjects\qwer"
r"\Sessions\1\BaseNamedObjects\qwer"

I want to open an image in an open cv on python, pls help

Be able to setup screenshot filter to source

I see that we can setup screenshot filter for scene, but sometimes I will have my webcam and game source together in scene. I want to have an option to only take screenshot of game source even I have my webcam in same scene.

URLs with no path fail

using http://localhost and http://localhost:8080 (e.g. instead of http://localhost/) will fail the URL parsing code

Filter not creating images when not in the filtered scene

I am using the obs websocket plugin to enable and disable the screenshot filters.
When i am in the scene, where the filter is set, everything works as expected. But if i am in an other scene, no output will be written to my disk.

I tried "to File" and "to Directory", same with timer and no timer.
I tried to include the scene into my other scenes, to see if it than work, but it doesn't :(
I am on OBS 27.2.4 (64Bit) portable mode.
I am on Windows 11.
I set the filter directly on a scene.

Opening the most recent screenshot in OBS

I have the screenshots getting saved to a folder as intended; however, I would like to then have the most recent screenshot show up as a source in my OBS. Is there a way I can have OBS select the most recent screenshot in the folder? Or perhaps have new screenshots overwrite the previous screenshot?

Support for MacOS

Hi!
As i understand that plugin can only be used on windows. And what about porting it to MacOS or Linux?
Or any ideas how it could be implemented?

Timer shortcut

Please can we have shortcut for the timer to start/stop?

Awesome plugin - thank you!

Support Output To File Without Overwriting + Multiple Timers

Hello,

I absolutely love this plugin, how simple and easy it is to use, yet how powerful it can be if used correctly. However, I was just hoping I can suggest some improvements to make it better.

First of all, I would love the ability to save screenshots to file names based on order within a directory. This may prove hard to do, but I believe that this could be made possible by incorporating a function which allows you to save to the same file without overwriting, therefore requiring the folder to create copies of the same file name with predictable suffixes. This would help to automatically re-incorporate multiple screenshots in OBS without needing to find image locations each time.

Secondly, the ability to have a smaller timing gap followed by a larger timing gap or vice versa between screenshots will add a sense of dynamism to the plugin in my opinion. For example, I would like the first screenshot of a source to be taken after 10 seconds, followed by a break of 1 minute before the next screenshot is taken, then back to 10 seconds. Can this be done at all?

Thank you in advance for your response.

hide the source ?

is there a way to use this plugin without visualizing the source it's taking the screenshots from ?

thanks

Output images may have incorrect size

The output images will have a transparent area to its right side if the filter is added to a source with an unusual size like 500x500.
Tested environment:
obs-studio 24.0.3 64bit file mode
media source (webm) 500x500
output size: 512x500

suggestion: work with group and scenes

I have used a scene to build an image out of multiple pieces through chat commands>
I would like to be able to save it when chat is done without including the background of the stream and everything else on the scene.
I gave it a try and so far it just crashes my OBS lol

Months in filenames are 0-indexed

For example I've got a screenshot with the following filename:

2020-06-23_23-46-45.png

but I expect July to be 07 instead:

2020-07-23_23-46-45.png

It would be nice if this plugin would also respect the "Filename Formatting" setting, if that's possible.
image

Raw output missing header

When a raw image is outputted to file, the header is missing. The file size is 1920x1080x4=8,294,400 bytes, which is 16 bytes less than what is expected from the documentation

Plugin version: 1.3.1
OBS version: 26.1.1

Same HOTKEY for Different Scenes - unintended captures

Hello, enjoying your work.

I want to use a hotkey to enable me to take a shot of the current scene. This isn't available at the moment. It is available in the standard OBS but unfortunately, I can't have these screengrabs saved separately to recordings, which is what I need.

The plugin allows me to create a hotkey for any scene or to have the same hotkey set for any scene. If I set the same hotkey for numerous scenes, the plugin with take a 'screenshot' of all those scenes and will do so in a way that happens when those scenes are next switched too, which is undesirable.

Would it be possible to have a setup where the current scene can be grabbed only or where if multiple scenes are hotkey-ed under the same key, only the current scene will be grabbed?

Thank you for your time and consideration!

Suggestion: Create screenshot when enabling filter

For my use case, I'd like to use a tool to be able to activate the filter which would then take the screenshot - if on a multiple PC setup, the tool may not be able to enforce a hotkey press so this would be a good solution

OBS 30

This is by far one of the most useful plugins for OBS. Any chance of getting the compatibility updated for ver 30?

Also any links for a buymeacoffee or similar for synap5e. I'd love to contribute to a drinks fund.

Support for uncompressed screenshots

Hi, I would like to use the screenshot just captured in a scene that I'm instantly transitioning to as a live effect. For that reason I would like to save the screenshot as quickly as possible.

Would it be possible to support some uncompressed format that saves faster, e.g. bmp or tiff?

Installation

I scoured the internet and I just can't find anything on how to install this plugin ? Can you add a couple of lines in your readme ?

The screenshot is take from the source and not from the scene

I have a source (screen) with some cut and repositioning; it is from a VR screen (2 eyes in the same screen) and I capture/stream only one half of the screen.
The screenshot however is for the physical screen (2 eyes) and not for the output (one eye only, half of the screen)

Support for "real-time" write to shared memory

I'm just starting out with OBS, the plugins and whatnot.

I'm wondering if it would be possible to output the source to the shared memory region whenever it is updated/repainted instead of doing it every X milleseconds, or lowering the 0.25 limit.

I've looked everywhere for something like streaming to a shared memory, hooking the function that draws the source image, etc... but found nothing. Your plugin is what comes the closest to this.

When does the timer start?

Hi there! I would like to use this plugin for the following use case:
I have an intro scene that I would like to screenshot to create thumbnails. Basically I want to take a screenshot 4 seconds after the scene started. I don't mind the script to try to take more screenshots after 8/12/ 16/... seconds as the scene is automatically switched, but it would be important that the screenshot is consistently taken 4 seconds after screen start. When I tried it, the screenshots seemed to be happening at different times, though.
Would this be somehow possible?

Does anyone know why author adds 32 to width

Code here

I tried to remove that + 32 and it works fine on my pc
But for some other pcs(that use different CPUs), image data stored in data would automatically expand 32 pixels in width (and contains blank data) after calling gs_stagesurface_map, which i dont know why

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.