obs-studio | OBS Studio - Free and open source software for live streaming and screen recording | Video Utils library
kandi X-RAY | obs-studio Summary
kandi X-RAY | obs-studio Summary
OBS Studio - Free and open source software for live streaming and screen recording
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of obs-studio
obs-studio Key Features
obs-studio Examples and Code Snippets
Community Discussions
Trending Discussions on obs-studio
QUESTION
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;
- Have the bat file run on Windows startup,
- Have the OBS program terminated after six hours,
- 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:35May be something like this:
@echo off
QUESTION
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:00The 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.
QUESTION
Good day, I have here a batch file (I call Installer.bat because it installs softwares)
...ANSWER
Answered 2021-May-23 at 12:53All these actions are essentially the same steps with different data. Use a function.
A function is a label that is call
ed 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.
QUESTION
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
git clone https://github.com/stream-labs/obs-studio
cd obs-studio
git submodule update --init --recursive
mkdir build
cd build
cmake .. -DENABLE_UI=false -DDepsPath="C:\Users\alokm\Downloads\dependencies2019\win64" -DENABLE_SCRIPTING=false -G"Visual Studio 16 2019" -A x64
cmake --build .
cpack -G ZIP
Last step (cpack -G ZIP
) is failing with errors
ANSWER
Answered 2021-Feb-25 at 08:04Check 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:
QUESTION
- 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.
QUESTION
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:11My 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:
QUESTION
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.
I would need to use Microsoft DirectShow.
I would need to develop one source filter that would work as capture filter using IBaseFilter
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-filtersI would need to create Filter Graph and Capture Filter Graph using
CoCreateInstance
likehr = CoCreateInstance(CLSID_FilterGraph, NULL, CLSCTX_INPROC_SERVER, IID_IFilterGraph, (void **)&graph);
hr = CoCreateInstance(CLSID_CaptureGraphBuilder2, NULL, CLSCTX_INPROC_SERVER, IID_ICaptureGraphBuilder2, (void **)&builder);
Then I would need to add these filters to
Filter Graph
Then I would set
Filter Graph
toCapture Filter Graph
likehr = 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:54DirectShow 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:
QUESTION
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:36I 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
QUESTION
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:16Those 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
.
QUESTION
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:46Turning 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):
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install obs-studio
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page