OBS Studio-da masaüstündən və oyunlardan video yazın
You can also download royalty-free music tracks and create a playlist to play while you’re streaming.
Erika Heidi
How to Use OBS Studio to Record or Stream Live Presentations
Posted 3 years ago in
With quarantine measures and social distancing taking place all over the world, this is definitely the season for online conferences and virtual events. There’s also a lot of folks getting into streaming these days, or at least trying to do so – for beginners, streaming can seem difficult, and some streaming tools can definitely look intimidating at a first sight.
OBS (Open Broadcaster Software) is a powerful open source video streaming and recording software, available for Linux, macOS and Windows. Even though OBS is one of the best alternatives for live streaming today, it might not look very intuitive for those who don’t have a previous experience with video editing.
In this tutorial targeted at beginners, you’ll learn how to set up OBS and use it for recording live presentations and / or streaming directly to Twitch and other platforms.
Getting Started with OBS
At the center of the screen, you’ll se the live preview of your recording / stream. On the bottom left, you have the scenes and sources lists. The audio mixer goes in the middle and on the bottom right you’ll see the transition settings and the control buttons for starting / stopping recording and streaming, and to access the settings page.
Configuring Scenes and Sources
A scene is a particular view / way to present: it can contain one or more sources. A source can be your webcam, an image, a video, a slideshow, a desktop window, your entire screen, among other things.
Before streaming or recording with OBS, you’ll have to configure your scenes. You will be able to configure multiple scenes and switch between them while streaming. So, for instance, you might be showing your browser window, and then switch to a scene that is configured to show your terminal window.
You can also make composite scenes with your screen and your webcam, for instance, or multiple application windows. OBS is highly customizable, so you have loads of options to set up your scenes and show exactly what you want to show.
While streaming, you can switch between scenes by clicking on the scene you want to show next.
Just be aware that if you set up too many scenes, it might get overwhelming to manage while you are live streaming. It’s good to set up a manageable number of scenes and practice a bit to make sure you select the right ones when you’re live. The worst that might happen (and happened to me a few times) is forgetting to switch, say, from the browser window to the terminal window, when you want to show some live commands (only realizing your mistake several minutes afterwards). If you’re using multiple displays, it’s easier to manage the switch between scenes, since you can keep OBS’s window visible at all times and thus keep track of what is being streamed.
Example Scene Setup
When streaming for DevOps & Chill, here’s the scenes I have set up:
- Intro – this scene uses a slideshow source with two images: a cover image with the title / topic I’ll be covering, and another image saying we’ll be starting soon. I start the streaming a few minutes before with this slideshow, to give people time to join while making sure they know I’ll be starting in a few minutes.
- Annotations – this scene uses a window source to show a text editor where I type explanations about what I’m doing – I don’t talk in this stream, so I needed a way to include more details about what I’m doing.
- Browser Window – this scene is configured to show my browser window.
- Terminal Window – this scene is configured to show my Terminal Window.
- Stream Finished – I use this scene when the stream is finished. It uses an image source.
I don’t use webcam or microphone in this stream. For live talks, however, I’m using a different set of scenes, which then includes a webcam scene and also browser + webcam.
You can create and switch between different scene settings within the menu “Scene Collection”.
Audio and Soundtrack
OBS allows you to set up multiple audio tracks, so you can have for instance a music playback and audio input from your microphone. However, streaming music involves copyright concerns, and you don’t want to get your video offline or muted due to copyright infringements. There are some royalty-free options you can use for streaming, thou.
Pretzel.rocks is a royalty-free music service that you can use with Twitch, Youtube and other services.
You can also download royalty-free music tracks and create a playlist to play while you’re streaming.
In either case, there are two ways to configure audio output for your streaming / recording. You can set these at the profile level, which will make the audio sources available for all the scenes automatically in the current profile, or you can configure audio sources specifically per scene.
To configure audio at the profile level, go to the menu “Settings -> Audio” and then select the appropriate devices you want to enable, and disable the ones you don’t need.
For my streams I use the default computer output as audio source, this is easier because anything you play will be streamed as audio – the only problem is that this will also include Google calendar reminders, slack notifications, and any alert sounds that might show up while you’re streaming.
You can also set up an “Audio Output Capture” source for a specific scene:
Once you include audio sources, your “Audio mixer” window will exhibit a live view with the audio levels of all your active audio “tracks”.
Recording Presentations with OBS
With OBS you can record your content without live streaming, which is a great way of preparing pre-recorded live presentations. Because you can also use a video as source, nothing prevents you from pre-recording your stream and then using the recorded video (edited if necessary) as source for a live stream. Most online conferences happening these days are choosing this model over live presentations, because then the speaker can join the live chat and interact / answer questions to the audience while the pre-recorded talk is being streamed.
Recordings are saved in the output directory set in OBS’s configuration. This will be set to your home directory by default. To change this location, access the menu “Settings -> Output -> Recording path”.
The controls to start / stop recording are located at the bottom right of the screen. Once you start recording, everything you see in the preview window will be recorded.
Live Streaming with OBS
In order to be able to stream via OBS, you’ll first need to set up your personal streaming key/token in OBS’s configuration. You can obtain this information in the streaming platform you’ll be using (Twitch, YouTube, etc).
You can set up multiple streaming profiles, this way you can switch between streaming platforms easily.
Once you click the “Start streaming” button, OBS wil start broadcasting your scenes to your streaming service. Everything you see in your preview window will be streamed to your audience.
In your settings, you can configure OBS to start recording automatically when you start a new streaming. This is useful if you plan on editing and/or uploading the video stream to another platform later.
Bonus: Post Production Tips & Tricks with FFMPEG
Live streaming is fun and exciting, but being able to post the recorded video to your Youtube channel and other platforms is a valuable way to maximize your content reach. A tool like FFMPEG can help with some batch operations and simple editions that don’t require a fully fledged video editor such as OpenShot (my personal favorite). Here’s some tricks I’ve learned with ffmpeg that could be useful for you too:
Converting to MP4
Converting to different formats is quite straightforward with ffmpeg :
ffmpeg -i input_video.mkv output.mp4
Speeding Up Videos
On DevOps & Chill, I don’t talk, I only type. I guess it’s not a big deal while it’s happening live, but I find the resulting video just really slow, so I like to speed up the videos to 2x the original speed. This is how you do it with ffmpeg :
ffmpeg -i input_video.mkv -an -filter:v "setpts=0.5*PTS" output.mkv
This will remove the audio from the video ( -an option). Removing the audio is necessary because when you speed up without changing the audio, the FPS won’t match anymore, and this can cause trouble during playback. And you probably don’t want to speed up the audio too 😉 See the next tips for how to deal with audio.
To speed up all videos in a directory, you can use this one-liner shell script:
for i in *.mkv; do ffmpeg -i "$i" -an -filter:v "setpts=0.5*PTS" "$_fast.mkv"; done
Extracting Audio from Video
This will extract the audio track from the video and save it to a .aac file.
ffmpeg -i input_video.mkv -vn -acodec copy output_audio.aac
The resulting .aac file can then be converted to .mp3 if you wish:
ffmpeg -i output_audio.aac output_audio.mp3
Generate a playlist with mp3 files
This will concatenate the listed .mp3 files into one audio file.
ffmpeg -i "concat:song01.mp3|song02.mp3|song03.mp3|song04.mp3" -acodec copy video_playlist.mp3
Include a new audio track in a video
This will insert the video_playlist.mp3 audio track in the video.
ffmpeg -i input_video.mkv -i video_playlist.mp3 -c copy -map 0:v:0 -map 1:a:0 input_video_with_music.mkv
Conclusion
OBS Studio is a powerful, free and open source software for recording and streaming live presentations. Once you get familiarized with its interface and how to configure scenes with sources, you’ll see it’s not difficult to use it, and it will enable you to perform professional live streaming and video presentations using only your computer.
There are certainly many different ways to configure OBS to suit your needs, depending on what kind of content you want to present. Play around with different settings and experiment until you find the scenes that work best for you! I hope you’ll now feel empowered to start that live streaming idea you’ve been postponing 🙂 what time better than now?
About
I’m a technical content creator passionate about open source, PHP, and Linux.
Masaüstünden ve OBS Studio’daki oyunlardan video kaydedin
Hem ücretli hem de ücretsiz bir bilgisayar veya dizüstü bilgisayar ekranından video kaydetme programları arasında, OBS Studio muhtemelen en iyi yardımcı programlardan biridir: tamamen ücretsizdir, Windows, Mac OS ve Linux üzerinde çalışır ve çoğu kullanıcı için neredeyse yeterli yetenekler sağlar. herhangi bir ekran kaydı ve web yayını görevleri için.
Bu inceleme, masaüstünden, oyunlardan ve programlardan, program ayarlarından video kaydetmek için OBS Studio’nun ana işlevlerinin nasıl kullanılacağını ve yararlı bulabileceğiniz bazı ek bilgileri ayrıntılarıyla anlatmaktadır. Herhangi bir nedenle, bu program size uymuyorsa, ekrandan video kaydetmek için en iyi programlara dikkat edin.
- Kurulum, ilk başlatma, ayarlar
- OBS Studio’da ekran video kaydı
OBS Studio’yu kurma, ilk başlatma ve yapılandırma
OBS Studio x64 ve 32-bit’i (Rusça) Windows 10, 8.1 ve Windows 7 için ve ayrıca desteklenen diğer işletim sistemleri için resmi sayfadan https://obsproject.com/ru/download indirebilirsiniz. Herhangi bir özel nüans olmadan kurulum (OBS Studio’nun taşınabilir bir sürümü de Zip arşivinde mevcuttur), ancak: gerekli sistem kitaplıkları bilgisayarınızda mevcut değilse, bir indirme bağlantısı sağlayarak bunları yüklemeniz istenecektir. Kitaplıkları kurduktan sonra, OBS Studio yükleyicisinin tekrar çalıştırılması gerekecektir.
OBS Studio’nun ilk başlatılmasından sonra, görevlerinize bağlı olarak otomatik kurulum sihirbazını başlatmanız istenecektir: video kaydetmek veya yayınlamak için.
Otomatik kurulum sırasında, tercih edilen kayıt çözünürlüğü, FPS, kodek (donanım veya yazılım kodlaması) belirlenecektir. Genellikle parametreler en uygun şekilde belirlenir, ancak her zaman değil, örneğin:
- Program, otomatik ayarlamadan sonra, oldukça üretken ekipmanına rağmen genellikle daha düşük bir çıktı çözünürlüğü belirler. Çıktı çözünürlüğünün filme alınan materyalin gerçek çözünürlüğüne eşit olması için bunu “Ayarlar” – “Video” dan değiştirmenizi tavsiye ederim.
- Video kaydıyla ilgili sorunlarla karşılaşırsanız (donma, başka bir şey), “Çıktı” bölümündeki ayarları denemenizi tavsiye ederim. Örneğin, en güçlü değil, aynı zamanda en yavaş bilgisayarda 4K 60 FPS video çekiyorum ve kayıtla birlikte bir donanım kodlayıcı seçerken sorunlar ortaya çıkıyor, ancak bir yazılım bilgisayarında bu, coplardan daha fazlası (otomatik olarak donanımı seçmem tavsiye edilirken) Burada ayrıca dosya biçimini, kayıt veya yayın kalitesini ve videonun kaydedileceği konumu da seçebilirsiniz.
- “Ayarlar” – “Kısayol tuşları” öğesini hatırlamanızı tavsiye ederim. Ekrandan video kaydı yaptığınızda bu öğe kullanışlı olabilir: örneğin, kayıt sırasında, tuşları kullanarak sahneleri değiştirebilir (aralarındaki geçişlerle), kaydedilen veya yayınlanan içerikten tek tek öğeleri gizleyebilirsiniz.
- Farklı kaynaklardan ses kaydetmeyi planlıyorsanız, “Ses” bölümüne bir göz atın, belki ayarlar kullanışlı olacaktır. Önemli: Windows 10’unuz varsa ve mikrofondan gelen ses kaydedilmediyse, Başlat – Ayarlar – Gizlilik – Mikrofon’a gidin ve “Masaüstü uygulamalarının mikrofona erişmesine izin ver” bölümünde OBS Studio için erişimi etkinleştirin.
OBS Studio’da ekran kayıt işlemi
OBS Studio, her biri seçili kaynakları içeren sahneleri kaydeder (varsayılan olarak bir tane, ancak işlem sırasında daha fazlasını oluşturabilir ve aralarında geçiş yapabilirsiniz) ve bunlardan birkaç tane olabilir. Örneğin:
- “Kaynaklar” bölümünde, “Artı” yı tıklayın ve “Ekran Yakalama” yı ekleyin, kaynağa bir isim verin, ayarları uygulayın – ekranımız pencerede görüntülenir (sonsuz aynanın etkisiyle karıştırmayın, kaydı başlatıp OBS Studio’yu küçülttüğümüzde program kendi kendini kaydetmeyi durduracaktır. kendisi ve böyle bir etki olmayacak).
- İstenirse, yeni kaynaklar ekleyebiliriz: örneğin, bir logo için metin, bir resim, bir web kamerasından video, belirli bir programın bir penceresini kaydetme, ayrı bir dosyadan video. Kayıttaki “Kaynaklar” listesinde daha yüksek olan kaynak, önceki kaynağın “üstünde” olacak, yani onunla örtüşecektir. Her bir kaynağı önizleme penceresinde sağ fare ile seçip taşıyabilir veya yeniden boyutlandırabiliriz.
- Farklı kaynaklar için farklı ayarlar mevcuttur. Örneğin, “Bir oyun yakala” ve basit bir “Ekran yakalama” (masaüstünü kaydetmek için) için bunlardan daha fazlası vardır – daha az, yalnızca fare imlecinin kaydını etkinleştirebilir veya devre dışı bırakabilirsiniz.
- “Ses Karıştırıcı” bölümüne kaynaklar eklediğinizde, ses seviyesini değiştirebileceğiniz, kaynağı tamamen kapatabileceğiniz ve bazı ses efektlerini (ses kaynağının içerik menüsünde açabilirsiniz) ayrı ses parçaları görünecektir.
- Birden fazla sahne kaydediyorsanız, hem kaydedilen (yayınlanan) sahnede hem de geçiş yapabileceğiniz sahnede neler olduğunu görmek için Stüdyo Modunu açabilirsiniz.
Geri kalan işlevlerde, umarım, program kullanıldıkça ve böyle bir ihtiyaç ortaya çıktığında, herhangi bir kullanıcı bunu çözebilir. Bunu tavsiye ediyorum ve kişisel olarak sadece son zamanlarda OBS Studio’yu kullanıyorum. Sonuç olarak, bu programla ilgili bir nüansı daha hatırladım: diğer programların yalnızca siyah bir pencere kaydettiği durumlarda (örneğin, bir görüntüyü Android’den bir bilgisayara aktarırken, bir video oynatırken) ekrandan başarıyla video yazıyor.
Запись видео с рабочего стола и из игр в OBS Studio
Среди программ для записи видео с экрана компьютера или ноутбука, как платных, так и бесплатных, OBS Studio — вероятно, одна из лучших утилит: она доступна полностью бесплатно, работает в Windows, Mac OS и Linux и для большинства пользователей предоставляет достаточный набор возможностей почти для любых задач записи экрана и осуществления трансляции в Интернет.
- Установка, первый запуск, настройки
- Запись видео с экрана в OBS Studio
Установка, первый запуск и настройки OBS Studio
Скачать OBS Studio x64 и 32-бит (на русском языке) для Windows 10, 8.1 и Windows 7, а также для других поддерживаемых ОС вы можете с официальной страницы https://obsproject.com/ru/download. Установка без особых нюансов (доступен и portable вариант OBS Studio в Zip-архиве), но: при отсутствии необходимых системных библиотек на компьютере вам предложат установить их, предоставив ссылку на загрузку. После установки библиотек установщик OBS Studio потребуется запустить снова.
После первого запуска OBS Studio вам будет предложено запустить мастер автоматической настройки программы в зависимости от ваших задач: для записи видео или для ведения трансляций.
В ходе автоматической настройки будет определено предпочтительное разрешение записи, FPS, кодек (аппаратное или программное кодирование). Обычно, параметры определяются оптимальным образом, но не всегда, например:
- Программа после автоматической настройки часто устанавливает меньшее разрешение вывода, несмотря на вполне производительное оборудование. Рекомендую поменять в «Настройки» — «Видео» таким образом, чтобы выходное разрешение равнялось фактическому разрешению снимаемого материала.
- При возникновении проблем с записью видео (зависания, что-то еще), рекомендую поэкспериментировать с настройками в разделе «Вывод». К примеру, я снимаю видео в 4K 60 FPS на не самом мощном, но и не самом медленном компьютере и при выборе аппаратного кодировщика с записью возникают проблемы, а при программном компьютер более чем справляется (при этом автоматически мне рекомендуют выбрать именно аппаратный). Здесь же вы можете выбрать формат файла, качество записи или вещания, место сохранения видео.
- Рекомендую помнить о пункте «Настройки» — «Горячие клавиши». Это пункт может пригодиться, когда вы уже разберетесь с записью видео с экрана: к примеру, прямо во время записи с помощью клавиш можно будет переключать сцены (с переходами между ними), скрывать отдельные элементы с записываемого или вещаемого контента.
- Если планируется записывать звук с различных источников, загляните в раздел «Аудио», возможно, настройки пригодятся. Важно: если у вас Windows 10 и звук с микрофона не записывается, зайдите в Пуск — Параметры — Конфиденциальность — Микрофон и в разделе «Разрешить классическим приложениям доступ к микрофону» включите доступ для OBS Studio.
Процесс записи видео с экрана в OBS Studio
OBS Studio записывает сцены (по умолчанию одна, но можно создать больше и переключаться между ними в процессе), каждая из которых содержит выбранные источники, причем их может быть несколько. Например:
- В разделе «Источники» нажимаем «Плюс» и добавляем «Захват экрана», даем имя источнику, применяем настройки — в окне отображается наш экран (пусть вас не смущает эффект бесконечного зеркала, когда мы начнем запись и свернем OBS Studio, программа перестанет записывать саму себя и такого эффекта не будет). Иногда встречается проблема с чёрным экраном в окне предварительного просмотра и на записи, об исправлении: Как исправить чёрный экран при записи в OBS Studio.
- При желании мы можем добавить новые источники: например, текст для логотипа, картинку, видео с веб-камеры, запись окна конкретной программы, видео из отдельного файла. Тот источник, который находится выше в списке «Источники» в записи будет находиться «выше» предыдущего источника, то есть перекрывать его. Каждый источник мы можем выбрать мышью прямо в окне предварительного просмотра и переместить его или изменить размер. А если есть необходимость, можно записывать видео с нескольких мониторов одновременно или переключаясь между ними.
- Для различных источников доступны различные настройки. Например, для «Захват игры» их больше, а для простого «Захват экрана» (для записи рабочего стола) — меньше, можно лишь включить или отключить запись указателя мыши.
- По мере добавления источников в разделе «Аудио микшер» будут появляться отдельные звуковые дорожки, для которых возможно изменение громкости, полное выключение источника, а также некоторые аудио-эффекты (открыть можно в контекстном меню источника звука).
- Если при записи вы используете более одной сцены, можно включить «Режим студии», чтобы видеть, что происходит как в записываемой (транслируемой) в настоящий момент сцене и той, на которую можно переключиться.
А вдруг и это будет интересно:
- Лучшие бесплатные программы для Windows
- Не открываются Параметры Windows 11 — как исправить?
- Компьютер не видит микрофон от наушников — варианты решения
- Как скачать dinput8.dll для игр и программ
- Как переименовать устройство в диспетчере устройств Windows
- Внутренняя ошибка CallSpawnServer: Unexpected response — варианты решения
- Windows 11
- Windows 10
- Android
- Загрузочная флешка
- Лечение вирусов
- Восстановление данных
- Установка с флешки
- Настройка роутера
- Всё про Windows
- В контакте
- Одноклассники
-
Андрей 30.12.2019 в 06:37
- Dmitry 30.12.2019 в 13:25
Comments are closed, but trackbacks and pingbacks are open.