obs-studio | OBS Studio - Free and open source software for live streaming and screen recording | Video Utils library

 by   obsproject C Version: 29.1.2 License: GPL-2.0

kandi X-RAY | obs-studio Summary

kandi X-RAY | obs-studio Summary

obs-studio is a C library typically used in Video, Video Utils applications. obs-studio has no vulnerabilities, it has a Strong Copyleft License and it has medium support. However obs-studio has 2537 bugs. You can download it from GitHub.

OBS Studio - Free and open source software for live streaming and screen recording
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              obs-studio has a medium active ecosystem.
              It has 48265 star(s) with 6928 fork(s). There are 1435 watchers for this library.
              There were 4 major release(s) in the last 12 months.
              There are 380 open issues and 2758 have been closed. On average issues are closed in 80 days. There are 223 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of obs-studio is 29.1.2

            kandi-Quality Quality

              obs-studio has 2537 bugs (0 blocker, 0 critical, 63 major, 2474 minor) and 1617 code smells.

            kandi-Security Security

              obs-studio has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              obs-studio code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              obs-studio is licensed under the GPL-2.0 License. This license is Strong Copyleft.
              Strong Copyleft licenses enforce sharing, and you can use them when creating open source projects.

            kandi-Reuse Reuse

              obs-studio releases are available to install and integrate.
              It has 8826 lines of code, 12 functions and 65 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of obs-studio
            Get all kandi verified functions for this library.

            obs-studio Key Features

            No Key Features are available at this moment for obs-studio.

            obs-studio Examples and Code Snippets

            No Code Snippets are available at this moment for obs-studio.

            Community Discussions

            QUESTION

            Advice with a simple batch file - run on Windows start - terminate program after time limit - run again
            Asked 2021-Dec-19 at 12:35

            Long time reader of these forums however I now have a question of my own, if someone could be so kind as to point me in the right direction.

            I have a simple batch file "OBS Startup.bat" which contains the following single line; start /d "C:\Program Files\obs-studio\bin\64bit" obs64.exe --startstreaming

            This allows me to start OBS (streaming software) and start streaming all in one click.

            Due to limitations with YouTube, I want to stop streaming every six hours, then immediately start the above bat file again to continue where I left off.

            Long story short, I am after altering the above bat file, to achieve the following;

            1. Have the bat file run on Windows startup,
            2. Have the OBS program terminated after six hours,
            3. Have the bat file run again as soon as it terminates in step 2.

            Hope all this makes sense.

            Any advice would be much appreciated.

            Many thanks.

            ...

            ANSWER

            Answered 2021-Dec-19 at 12:35

            May be something like this:

            @echo off

            Source https://stackoverflow.com/questions/70411083

            QUESTION

            How to make VK_LAYER_KHRONOS_validation available?
            Asked 2021-Jul-02 at 17:22

            I recently started learning how to use Vulkan. I'm following this tutorial but even with a copy/paste of their code I got an error because VK_LAYER_KHRONOS_validation is not listed when I call vkEnumerateInstanceLayerProperties().

            In the Vulkan configurator, VK_LAYER_KHRONOS_validation appear in the right panel but not in the bottom one (I'm not sure about what this configurator is for but there is an "Available Layers" category in the bottom panel and the names written there are the one listed by vkEnumerateInstanceLayerProperties()).

            ...

            ANSWER

            Answered 2021-Jul-02 at 13:00

            The warnings are normal, as per SDK release notes. The Rockstar thing is some overlay or something that was uncleanly uninstalled (you could remove it in registry similar to below instructions if you want).

            You should check the value of %VULKAN_SDK% variable if it is correct.

            Then you should check HKLM\SOFTWARE\Khronos\Vulkan\ExplicitLayers and HKLM\SOFTWARE\WOW6432Node\Khronos\Vulkan\ExplicitLayers if it is correct and has no duplicates. (Alternatively you could uninstall first, and in that case there should be no SDK paths left in there)

            Also the configurator app allows overrides, so you need to check it is Tools->Reset, and set to "Fully controled by Vulkan apps". When closing it should warn that no Vulkan overrides are active, and you should click Yes.

            Source https://stackoverflow.com/questions/68215270

            QUESTION

            Is there a more efficient way in performing repeated tasks in my batch file?
            Asked 2021-May-26 at 00:35

            Good day, I have here a batch file (I call Installer.bat because it installs softwares)

            ...

            ANSWER

            Answered 2021-May-23 at 12:53

            All these actions are essentially the same steps with different data. Use a function.

            A function is a label that is called with parameters to act upon.

            After your input prompt, validate your input, then assess which path to pass to the function as the second parameter.

            Call :InstallPrompt "Installee Descriptor" "Installees Filename.ext"

            An example of all your labels reduced to a single function.

            Source https://stackoverflow.com/questions/67658944

            QUESTION

            How to build libobs as dependency of obs-studio-node module?
            Asked 2021-Feb-25 at 08:04

            I am trying obs-studio-node.
            This module require libobs as dependency. While building this module it download a pre-built version of libobs if none is specified. We can specify out custom libobs as mentioned in README.md

            I followed these steps to build libobs. These steps are listed in README.md

            1. git clone https://github.com/stream-labs/obs-studio
            2. cd obs-studio
            3. git submodule update --init --recursive
            4. mkdir build
            5. cd build
            6. cmake .. -DENABLE_UI=false -DDepsPath="C:\Users\alokm\Downloads\dependencies2019\win64" -DENABLE_SCRIPTING=false -G"Visual Studio 16 2019" -A x64
            7. cmake --build .
            8. cpack -G ZIP

            Last step (cpack -G ZIP) is failing with errors

            ...

            ANSWER

            Answered 2021-Feb-25 at 08:04

            Check what exact configuration you have built. The output of CPack tries to install the Release configuration. However, you didn't mention any when did project configuration (and it may project-dependent to set some defaults).

            Try add explicitly what you want:

            Source https://stackoverflow.com/questions/66289631

            QUESTION

            How to set H264 NVENC encoding parameters to output high-quality video stream?
            Asked 2021-Feb-08 at 02:19
            • I use NVENC (nvEncodeAPI) interface hardware encoding H264, and then RTMP to stream out, when using ffplay to pull the stream to watch, I found that the picture is obviously distorted: the green lines become sharper? the text color becomes lighter and blurred, it is not improved even if I increase the video bitrate to 3Mbps(720P). I also know that H264 encoding is lossy, and some information will be discarded.
            • Then I try to adjust the NV_ENC_CONFIG_H264_VUI_PARAMETERS parameter: when set color-space to "pc, bt709", there are some minor improvements. Maybe the color-space setting has more potential for improvement? For NVENC encoding, is there a higher video clarity setting scheme? I don't know how much space for technical improvement is here? based on the code: https://github.com/obsproject/obs-studio/blob/master/plugins/obs-ffmpeg/obs-ffmpeg-nvenc.c
            ...

            ANSWER

            Answered 2021-Feb-08 at 02:19
            • .\ffmpeg.exe -probesize 32768 -i "{rtmp_url}" -acodec copy -vcodec copy -f flv {local_file_path}
            • Save the live stream as a local file and then play, the picture effect is in line with expectations, which means that the picture may be blurred due to the player's own factors.

            Source https://stackoverflow.com/questions/65897494

            QUESTION

            Bash: How would I remove the first part of a directory from a array for multiple files in a for loop?
            Asked 2021-Feb-03 at 01:11

            I am trying to write a script that manages dotfiles for me, and this is what I have:

            ...

            ANSWER

            Answered 2021-Feb-03 at 01:11

            My question is, how would I make it where it removed the ~/.config/ part and the ~/ part for files that have them?

            Personally, I'd do it in two steps, storing the intermediate result in a separate variable:

            Source https://stackoverflow.com/questions/66019659

            QUESTION

            Project and build structure for Microsoft DirectShow based virtual webcam application on Window 10
            Asked 2021-Jan-13 at 06:48

            I am trying to create simplest virtual webcam application which can display image file on my local filesystem.

            After initial research on stackoverflow links and seeing OBS Studio source code I got some idea how can I achieve this.

            1. I would need to use Microsoft DirectShow.

            2. I would need to develop one source filter that would work as capture filter using IBaseFilter

            3. I would need to develop another source filter that would work as output filter or virtual webcam filter. I would need to compile this filter as .dll file and will need to register using regsvr32.exe
              As given on https://docs.microsoft.com/en-us/windows/win32/directshow/building-directshow-filters

            4. I would need to create Filter Graph and Capture Filter Graph using CoCreateInstance like

              hr = CoCreateInstance(CLSID_FilterGraph, NULL, CLSCTX_INPROC_SERVER, IID_IFilterGraph, (void **)&graph);

              hr = CoCreateInstance(CLSID_CaptureGraphBuilder2, NULL, CLSCTX_INPROC_SERVER, IID_ICaptureGraphBuilder2, (void **)&builder);

            5. Then I would need to add these filters to Filter Graph

            6. Then I would set Filter Graph to Capture Filter Graph like hr = builder->SetFiltergraph(graph);

            Here is my confusion now:
            After these steps I am not sure if I have to wrap these Graph Filters and Capture Graph Filter in one application which would be having main method and compile it to get .exe file or I need to compile as another .dll file.

            Or How should I wrap these steps to create final application?

            ...

            ANSWER

            Answered 2021-Jan-12 at 15:54

            DirectShow is outdated. You should be using Microsoft MediaFoundation instead. It is well documented and it works well. The following code will work to capture from webcam:

            Source https://stackoverflow.com/questions/65640023

            QUESTION

            Stream static image to v4l2loopback using obs with v4l2 plugin, ffmpeg or gstreamer
            Asked 2020-Dec-10 at 21:23

            I want to stream a static image to the android studio emulator. To do that I created a virtual camera using v4l2loopback v.12.5 in linux ubuntu 20.04. The virtual camera is created in /dev/video2. I can stream there using obs and a plugin, ffmpeg or gstreamer but I've got different issues with each one. I don't care which software works... I always use an image with the resolution 1920x1080 to test this.

            OBS: I installed the obs plugin following this tutorial here. It explains how to install v4l2loopback and add the plugin to obs. The plugin is called obs-v4l2sink. I start v4l2loopback using this command:

            ...

            ANSWER

            Answered 2020-Dec-04 at 09:36

            I just tried it with Android Studio Emulator API 28 (Google X86_ARM) and it works. So it seems that it is related to the CPU Architecture of the emulator and x86 64 does not work. I needed arm though and thankfully Google added Arm translation to an image in Api 28.

            It seems that only images with resolution 1920x1080 work, but maybe it is only related to the ratio.

            Obs does not work now for some reason but this command works perfectly: ffmpeg -loop 1 -re -i licensePlate2.png -f v4l2 -vcodec rawvideo -pixfmt nv12 -vf transpose=4 /dev/video2

            Source https://stackoverflow.com/questions/65130397

            QUESTION

            Vulkan Validation Layer: loader_create_instance_chain: Failed to find 'vkGetInstanceProcAddr'
            Asked 2020-Sep-06 at 07:16

            I followed this guide to create a very basic Vulkan program, and for some reason, even when completely copying the code from the guide (and not using my own version which is slightly different and modified to my needs) I still receive the following two validation layer errors upon starting the program:

            ...

            ANSWER

            Answered 2020-Sep-06 at 07:16

            Those errors aren't triggered by your application, but rather by implicit layers installed by OBS Studio. Applications can register their own implicit layers globally, and these are then loaded as soon as you run a Vulkan application. If one of those layers is flawed, you'll get validation layer errors in your own application, even if your application is perfectly fine.

            The easiest way to disable these is the recently released Vulkan Configurator from the LunarG SDK. Without the SDK you can disable implicit layers by setting their value to 1 in the registry under HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Khronos\Vulkan\ImplicitLayers.

            Source https://stackoverflow.com/questions/63739366

            QUESTION

            How do I fix the "No known features for CXX compiler" while compiling with CMake (Linux Mint)
            Asked 2020-Apr-25 at 15:50

            I am trying to install this plugin: https://github.com/CatxFish/obs-v4l2sink

            I followed all the steps (Installed QT, got obs-studio source code and then tried to build the plugin):

            ...

            ANSWER

            Answered 2020-Apr-25 at 15:46

            Turning my comment into an answer:

            The error message is peculiar. It looks like CMake previously detected a C++ compiler, and is searching for compiler features for it. However, now it cannot find that compiler (blank compiler name and version):

            Source https://stackoverflow.com/questions/61416987

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install obs-studio

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries

            Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link