- Скачать OBS Studio
- Скачать OBS Studio для Windows
- Скачать OBS Studio для mac OS X
- Скачать OBS Studio для Linux
- Ubuntu Linux
- Требования
- Установка OBS (Ubuntu 14.04 или новее)
- Streams v1.6
- Introduction
- Create, write, and read a file
- Prerequisites
- Creating a file
- Writing to a file
- Reading from a file
- File Streams (Local File Systems)
- Naming Conventions for Streams
- Stream Types
- Use Private Network Profile
- Manually Open Firewall for Applications
Скачать OBS Studio
OBS Studio (Open Broadcaster Software) — это бесплатная программа на русском языке для записи видео и стримов на Twitch, YouTube, GoodGame, SC2TV, Hitbox.TV и любые другие RTMP-серверы трансляций.
Доступны версии для Windows, mac OS X, и Linux.
Также вы можете собрать OBS Studio вручную из открытого исходного кода.
Скачать OBS Studio для Windows
Файл | Размер | Время публикации | Загрузки |
---|---|---|---|
OBS-Studio-26.1.1-Full-Installer-x64.exe x64 установщик | 72.11 MB | 06.01.2021 19:18 UTC | 3 381 |
OBS-Studio-26.1.1-Full-x64.zip x64 zip (portable) | 95.2 MB | 06.01.2021 19:18 UTC | 1 232 |
OBS-Studio-26.1.1-Full-Installer-x86.exe x86 установщик | 69.18 MB | 06.01.2021 19:17 UTC | 751 |
OBS-Studio-26.1.1-Full-x86.zip x86 zip (portable) | 90.48 MB | 06.01.2021 19:18 UTC | 546 |
Поддерживаемые ОС Windows (32 bit и 64 bit):
- Windows 10
- Windows 8 and 8.1
- Windows 7
Скачать OBS Studio для mac OS X
Файл | Размер | Время публикации | Загрузки |
---|---|---|---|
obs-mac-26.1.2.dmg Установщик OBS Studio для mac OS X | 128.98 MB | 09.01.2021 02:49 UTC | 19 351 |
Скачать OBS Studio для Linux
Ubuntu Linux
Требования
На Ubuntu 14.04 требуется FFmpeg. Если он вас не установлен (если вы не уверены, то скорее всего у вас его нет), то вы можете установить FFmpeg его при помощи следующих команд:
Установка OBS (Ubuntu 14.04 или новее)
Вы можете установить OBS Studio при помощи следующих команд:
Streams v1.6
By Mark Russinovich
Published: July 4, 2016
Download Streams (499 KB)
Introduction
The NTFS file system provides applications the ability to create alternate data streams of information. By default, all data is stored in a file’s main unnamed data stream, but by using the syntax ‘file:stream’, you are able to read and write to alternates. Not all applications are written to access alternate streams, but you can demonstrate streams very simply. First, change to a directory on a NTFS drive from within a command prompt. Next, type ‘echo hello > test:stream’. You’ve just created a stream named ‘stream’ that is associated with the file ‘test’. Note that when you look at the size of test it is reported as 0, and the file looks empty when opened in any text editor. To see your stream enter ‘more
Parameter | Description |
---|---|
-s | Recurse subdirectories. |
-d | Delete streams. |
Streams takes wildcards e.g. ‘streams *.txt’. |
Download Streams (499 KB)
Runs on:
- Client: Windows Vista and higher
- Server: Windows Server 2008 and higher
- Nano Server: 2016 and higher
—>
Create, write, and read a file
Important APIs
Read and write a file using a StorageFile object.
В For a complete sample, see the File access sample.
Prerequisites
Understand async programming for Universal Windows Platform (UWP) apps
You can learn how to write asynchronous apps in C# or Visual Basic, see Call asynchronous APIs in C# or Visual Basic. To learn how to write asynchronous apps in C++/WinRT, see Concurrency and asynchronous operations with C++/WinRT. To learn how to write asynchronous apps in C++/CX, see Asynchronous programming in C++/CX.
Know how to get the file that you want to read from, write to, or both
You can learn how to get a file by using a file picker in Open files and folders with a picker.
Creating a file
Here’s how to create a file in the app’s local folder. If it already exists, we replace it.
Writing to a file
Here’s how to write to a writable file on disk using the StorageFile class. The common first step for each of the ways of writing to a file (unless you’re writing to the file immediately after creating it) is to get the file with StorageFolder.GetFileAsync.
Writing text to a file
Write text to your file by calling the FileIO.WriteTextAsync method.
Writing bytes to a file by using a buffer (2 steps)
First, call CryptographicBuffer.ConvertStringToBinary to get a buffer of the bytes (based on a string) that you want to write to your file.
Then write the bytes from your buffer to your file by calling the FileIO.WriteBufferAsync method.
Writing text to a file by using a stream (4 steps)
First, open the file by calling the StorageFile.OpenAsync method. It returns a stream of the file’s content when the open operation completes.
Next, get an output stream by calling the IRandomAccessStream.GetOutputStreamAt method from the stream . If you’re using C#, then enclose this in a using statement to manage the output stream’s lifetime. If you’re using C++/WinRT, then you can control its lifetime by enclosing it in a block, or setting it to nullptr when you’re done with it.
Now add this code (if you’re using C#, within the existing using statement) to write to the output stream by creating a new DataWriter object and calling the DataWriter.WriteString method.
Lastly, add this code (if you’re using C#, within the inner using statement) to save the text to your file with DataWriter.StoreAsync and close the stream with IOutputStream.FlushAsync.
Best practices for writing to a file
For additional details and best practice guidance, see Best practices for writing to files.
Reading from a file
Here’s how to read from a file on disk using the StorageFile class. The common first step for each of the ways of reading from a file is to get the file with StorageFolder.GetFileAsync.
Reading text from a file
Read text from your file by calling the FileIO.ReadTextAsync method.
Reading text from a file by using a buffer (2 steps)
Then use a DataReader object to read first the length of the buffer and then its contents.
Reading text from a file by using a stream (4 steps)
File Streams (Local File Systems)
A stream is a sequence of bytes. In the NTFS file system, streams contain the data that is written to a file, and that gives more information about a file than attributes and properties. For example, you can create a stream that contains search keywords, or the identity of the user account that creates a file.
Each stream that is associated with a file has its own allocation size, actual size, and valid data length:
- The allocation size is the amount of disk space that is reserved for a stream.
- The actual size is the number of bytes that are being used by a caller.
- The valid data length (VDL) is the number of bytes that are initialized from the allocation size for the stream.
Each stream also maintains its own state for compression, encryption, and sparseness. The FILE_ATTRIBUTE_SPARSE_FILE attribute on the file is set in the dwFileAttributes member of the WIN32_FIND_DATA structure returned from the FindFirstFile, FindFirstFileEx, and FindNextFile functions if any of the streams have ever been sparse. GetFileAttributes, GetFileAttributesEx, GetFileAttributesTransacted, GetFileInformationByHandle, and GetFileInformationByHandleEx return the sparse state of the default data stream if no stream is specified.
There are no file times associated with a stream. The file times for a file are updated when any stream in a file is updated.
Opportunistic locks are maintained per stream. Sharing modes are also maintained per stream. When delete access is requested on a file, the operating system checks for delete access on all open streams in a file. If another process has opened a stream without the FILE_SHARE_DELETE permission, you cannot open the file for delete access.
If a file being copied has a data stream and the network redirector is used, the file can only be copied if the client has both the read permission and the read attributes permission.
Naming Conventions for Streams
When specified from the Windows shell command line, the full name of a stream is «filename:stream name:stream type«, as in the following example: «myfile.dat:stream1:$DATA».
Any characters that are legal for a file name are also legal for the stream name, including spaces. For more information, see Naming a File. The stream type (also called an attribute type code) is internal to the NTFS file system. Users therefore can’t create new stream types, but they can open existing NTFS file system types. Stream type specifier values always start with the dollar sign ($) symbol. See below for a list of stream types.
By default, the default data stream is unnamed. To fully specify the default data stream, use «filename::$DATA», where $DATA is the stream type. This is the equivalent of «filename«. You can create a named stream in the file using the file naming conventions. Note that «$DATA» is a legal stream name. For example, the full name of a stream named «$DATA» on a file named «sample» would be «sample:$DATA:$DATA». If you created a stream named «bar» on the same file its full name would be «sample:bar:$DATA».
When creating and working with files that have one-character names, prefix the file name with period followed by a backslash (.) or use a fully qualified path name. The reason to do this is that Windows treats one-character file names as drive letters. When a drive letter is specified with a relative path, a colon separates the drive letter from the path. When there is an ambiguity about whether a one-character name is a drive letter or a file name, Windows assumes it is a a drive letter if the string following the colon is a valid path, even if the drive letter is invalid.
Stream Types
Following is the list of NTFS stream types, also called attribute type codes. Some of the stream types are internal to NTFS and their format is undocumented.
Use Private Network Profile
If you are connected to a local home network then you want to make sure your computer network profile is configured correctly by using ‘Private’ network as the profile. This also allows communication between different devices on the same network that is required by certain applications to work properly, like Streamlabs OBS Remote Control or sending and receiving NDI.
- Open the Windows 10 settings.
- Click on Network & Internet.
- Click on Change connection properties.
- Select Private under Network profile.
- Restart your computer.
Manually Open Firewall for Applications
If for some reason Windows did not ask for you to open the firewall on the first initial run or you are on a public network and cannot change it due to the network you are connected with you might need to manually open the firewall. Opening the firewall for the applications this could resolve issues like unable to connect Remote Control or Alerts not being shown in the streaming software. Doing the following steps is going to allow Streamlabs OBS on both the ‘private’ and ‘public’ network profiles.
Close the Software you want to open the firewall first and relaunch after applying changes.
1. Open the Control Panel.
- Windows 7; Go to Start and open up your control panel.
- Windows 10; Press WinKey and search for control panel.
2. Click on Windows Defender Firewall.
- If your view is set to Category, click System and Security first.
3. Click on Allow an app or feature through the Windows Defender Firewall.
4. Search the used software in the list of allowed apps and features.
- Streamlabs OBS; Streamlabs OBS.
- OBS Studio; obs64 or obs32.
- NewTek NDI Scan Converter; NDI_ScanConverter
5. Check both the Private and Public checkbox and press OK.
- If you are unable to, click on Change Settings first.
If the used streaming software does not appear in the list then you’ll have the manually add the application to the Allowed apps and features list by following the next extra steps.
1. Click on Allow another app.
- If it is grayed out, click on Change Settings first.
2. Click on Browse. and navigate to the streaming software.
- Streamlabs OBS; «C:\Program Files\Streamlabs OBS\Streamlabs OBS.exe».
- OBS Studio 64bit; «C:\Program Files (x86)\obs-studio\bin\64bit\obs64.exe».
- OBS Studio 32bit; «C:\Program Files (x86)\obs-studio\bin\32bit\obs32.exe».
- NewTek NDI Scan Converter; «C:\Program Files\NewTek\NewTek NDI 3.6 Tools\Scan Converter\Application.Network.ScanConverter2.x64.exe».
3. Select the application and click Add.
4. Redo step 4 and 5 of the steps listed above.