Что такое nvidia nvenc в sony vegas
The objective of this guide is to help you understand how to use the NVIDIA encoder, NVENC, in OBS. We have simplified some of the concepts to make this accessible to a wider audience. If you think we can improve any part of this guide or find any issues or mistakes, please post below and we will be happy to update it.
ABOUT NVIDIA BROADCAST
NVIDIA Broadcast transforms your gamer den into a home broadcast studio, upgrading standard webcams and microphones into premium, smart devices through the power of AI. Improve the video and audio quality of your livestream through AI capabilities such as virtual background or webcam auto frame, and microphone noise removal. With dedicated AI processors called Tensor Cores on GeForce RTX GPUs, the AI networks are able to run high-quality effects in real-time.
NVIDIA Broadcast features include:
- Noise Removal: use AI to remove background noise from your microphone feed – be it a loud mechanical keyboard or the AC. The AI network can even be used on incoming audio feeds to mute that one friend who won’t turn on push-to-talk.
- Virtual Background: use AI to remove the background of your webcam feed and replace it with game footage, a replacement image, or even a subtle blur.
- Auto Frame: use AI to track your head movement, zooming and automatically cropping on your head so you are always in the frame, even as you move around.
When not broadcasting, these features can also enhance your video conference calls and voice chats, making NVIDIA Broadcast a perfect AI companion for broadcasters and gamers alike.
NVIDIA Broadcast is compatible with a wide range of broadcasting, video conferencing and voice chat apps. These include OBS Studio, Streamlabs, Xsplit, Discord, Skype, Zoom, Webex, Microsoft Teams, Google Meet and more.
Products
VIDEO TAB SETTINGS
- Base (Canvas) Resolution: Set the resolution you normally play at. That is, your desktop resolution (if you play in borderless mode), or the game resolution you normally enter (if you play in full screen).
- Output (Scaled) Resolution: Enter the resolution appropriate for your Upload Speed and Bitrate, as we discussed in the previous section.
- Downscale Filter: This allows you to select a downscale filter that will provide a small image sharpness enhancement, at the cost of some encoder workload. NVENC is very efficient and typically runs at low utilization, so we recommend using this with the Lanczos, 36 samples option for the best quality.
- FPS: Enter the FPS appropriate for your Upload Speed and Bitrate, as we discussed in the previous section.
OUTPUT TAB SETTINGS
If you want an easy, out of the box configuration, then do the following:
- Output Mode: Simple
- Streaming:
- Bitrate: Enter the Bitrate appropriate for your Upload Speed, as we discussed in the previous section.
- Encoder: Select Hardware (NVENC).
- Enable Advanced Encoder Settings: Unchecked. We collaborated with OBS to fine-tune these settings, so it just works!
- Encoder Preset: Quality. This is already the default option. Note that it is only visible if you check Encode Advanced Encoder Settings.
- Recording Path: This is the directory where the videos will be saved. Make sure the hard drive you select has enough space!
- Recording Quality: High Quality typically works for most users, but you can change this to Indistinguishable Quality if you have enough disk space or are going to do short videos (about 60 seconds).
- Recording Format: FLV or MKV.
- Encoder: Hardware (NVENC).
NVENC – АППАРАТНО УСКОРЕННАЯ КОДИРОВКА ВИДЕО НА H.264
Итак - ситуация проясняется:
Да, версия nvenc_export.prm 1.09 (от 15-07-2015), на которую указал Игорь, работает в Win10 x64 с новейшим драйвером NVIDIA 364.72.
Версия 1.09 (от 02-02-2015) работает только с более старым видео драйвером, как упоминалось раньше.Для работы - любая из этих копий плугина должна быть переименована в nvenc_export.prm и помещена в папку C:\Program Files\Adobe\Common\Plug-ins\7.0\MediaCore\
Процедура такова:
(a) определить пользовательскую переменную ADOBEOUT в Properties->Advanced->Environmental Variables
(b) в эту переменную записать имя пути (папки), куда мы хотим положить окончательный результат - собранный в контейнер файл, например S:\ВыходнаяПапка или S:\ВыходнаяПапка\
(c) в установках Экспорта (Export settings) в Премьере указать имя экспортируемого файла в рабочей папке, т. е. E:\РабочаяПапка\ВыходнойФайл.mp4
Результат:
(a) потоковые видео и аудио файлы будут выведены в E:\РабочаяПапка и будут позже удалены, как только будет закончено муксирование
(b) готовый собранный файл будет получен в S:\ВыходнаяПапка\ВыходнойФайл.mp4
Если пользовательская переменная ADOBEOUT не определена в Environmental Variables, то плугин будет работать стандартным образом, как и ранее.Отзывы других пользователей с группы вконтакте
У меня на Win 10 x64 карта GTX 960 с 1.09 (15-07-2015) плугином тоже загружается всего лишь на 35-55 процентов. При этом i7-2600K (8 ядерный) процессор - на 60 процентов.
Интересно почему загрузка NVENC только 42%, какой процессор и на сколько он загружен во время NVENC рендера? Это второй случай с win 10 и низкой загрузкой NVENC. В моих тестах на win 7 загрузка была в р-не 80%.
Что такое NVENC?
Это особенность видеокарт бренда, которая используется для кодирования видео, разгружая эту задачу, предполагающую довольно высокую вычислительную нагрузку на процессор и что делает его GPU / ГРАФИЧЕСКИЙ ПРОЦЕССОР , с гораздо большим количеством ядер, отвечающих за это. Впервые он был представлен с Кеплер Архитектура видеокарт GeForce GTX 600 Series, и поэтому одним из требований для ее использования является наличие одного из этих графических процессоров или более современного.
Кодировщик NVENC изначально совместим со многими программами потоковой передачи и записи, такими как Wirecast, Open Broadcaster Software (OBS) и Bandicam, а также работает с функцией Share game capture, которая включена в программное обеспечение GeForce Experience.
Видеокарты GeForce на потребительском рынке (непрофессиональные) поддерживают только 2 видеопотока кодирования одновременно, независимо от количества установленных видеокарт, поэтому даже в конфигурациях Quad-SLI вы можете кодировать только два видео одновременно. Со своей стороны, профессиональная графика поддерживает до 21 одновременной передачи на видеокарту, в зависимости от модели и выбранного качества сжатия.
NVENC сопровождается NVDEC (NVIDIA Video DECoder) для выполнения противоположной операции, дополняя друг друга. На следующей диаграмме вы можете найти всю связанную с этим информацию.
Первое поколение этой технологии пришло с архитектурой Kepler, и с тех пор она увеличивается почти на одну версию на поколение. Таким образом, второе поколение появилось с графическими процессорами Maxwell GM107, третье с Maxwell GM20X, четвертое с Pascal GP10X, пятое с Volta GV10X и Turing TU117 и шестое поколение с Turing TU10X / TU116. Ожидается, что седьмое поколение NVENC прибудет с Ampere, включая дальнейшие улучшения и большую производительность.
Comments
Какие преимущества это дает?
Как мы только что объясняли, NVENC позволяет выполнять аппаратное кодирование и декодирование непосредственно на графическом процессоре, освобождая ЦП из этой ресурсоемкой задачи. Имея в своем распоряжении гораздо больше ядер, которые также оптимизированы для обработки видеоинформации, вы не только получаете значительно более высокую производительность, но и более эффективны с точки зрения производительности на ватт.
Хорошая часть этой системы заключается в том, что большинство программ для кодирования видео поддерживают ее изначально, поэтому, как пользователям, нам нужно будет только выбрать ее в параметрах этой программы. Например, в Open Broadcaster Software мы можем выбрать обработку видео через NVENC в опциях.
Для пользователей, у которых есть видеокарта NVIDIA, возможность использования этой функции высвободит много ресурсов процессора, что позволит повысить его производительность, но необходимо учитывать, что эта задача переходит к графическому процессору, и по этой причине графическая производительность может быть снижена, если видеокарта недостаточно мощная.
Community & News
OTHER SETTINGS
There are 2 other things you want to configure to ensure a smooth stream:
- Windows: Make sure you update to Windows 10 version 1903, and enable Game Mode. This version includes performance enhancements for streaming, as well as an updated Game Mode compatible with streaming.
- GPU Utilization: If your GPU utilization is above 95% Windows will start prioritizing the game over everything; this can, in some cases, make your stream lag. To solve this, OBS added an option in OBS 24.0.3 to prioritize OBS Studio over the Game. Just run OBS as Admin, and your stream will be silky smooth.
If for some reason you don't want to run OBS in Admin mode, you can also limit your GPU usage to be below the 95% threshold. To do this, you can:
- Cap FPS in-game, run the game in Borderless Windowed mode, reduce game graphics or resolution, or turn V-Sync on.
- Run all assets at 1080p. To do that, double click on the source in OBS and under Resolution select Custom and specify a resolution equal or under 1080p.
And there you have it! We hope this helps you improve your stream quality and reach your goals. Leave us a comment if this worked for you or if you’d like us to update the guide with other info. Happy streaming!
ABOUT NVENC
NVENC is NVIDIA’s encoder. It’s a physical section of our GPUs that is dedicated to encoding only. This means that your GPU can operate normally regardless of whether you use this region to stream or record. Other encoders, such as x264, use your CPU to encode, which takes resources away from other programs such as your game. That’s why using NVENC allows you to play games at a higher framerate and avoid stuttering, giving you and your viewers a better experience.
In the last two GPU generations we have made great improvements to NVENC, helping deliver best-in-class output quality. NVENC in the GTX 10-series GPUs provides superior quality than x264 Very Fast, the most commonly used x264 preset. And in the new RTX 20 and 30-series, NVENC performs better than x264 Fast and on par with x264 Medium, a preset that requires an expensive dual PC setup.
One thing that is great about NVENC on the GeForce RTX 20 and 30-series and GeForce GTX 1650 Super and up is that all GPUs have the same NVENC with the same performance and quality, from the RTX 2060 to the RTX 3090. NVENC also benefits from our own NVIDIA Video Codec SDK, an advanced set of tools that help improve the encoded quality and that we constantly update to help you get the best out of your NVIDIA card.
Finally, if you are using an NVIDIA GPU you have access to GeForce Experience’s Game Filters, which allow you to further improve the image quality of your viewers via software by enhancing color, adding sharpness, or introducing cool effects.
Sony Vegas Pro - что это за программа?
У профессионального программного обеспечения для монтажа фильмов есть своя цена. Система редактирования видео "Vegas Pro" современна и имеет все инструменты, необходимые для требовательного редактирования и мастеринга. 64-битное приложение обрабатывает все форматы, которые могут воспроизводить камеры. Независимо от того, поступают ли ваши записи со смартфона, цифровой камеры или профессионального записывающего устройства высокого класса, такого как видеокамера Panasonic P2HD, редактор Sony импортирует все распространенные форматы, такие как MPEG-1, MPEG-2, MPEG-4, QuickTime или WMV включает кодеки AVCHD или профессиональный формат Sony XAVC с разрешением 4096 x 4096 (4K).
Также можно использовать 3D-материал, например, в формате MVC и MPO или как двухпотоковые клипы AVI. С помощью 3D-видеокарты и прилагаемых красно-голубых очков вы можете просмотреть результат прямо на своем ПК. Редактор собирает видео с двух камер в стереоскопическом процессе в трехмерное изображение. Спектр видеоэффектов более чем велик, и вы можете комбинировать их в цепочки эффектов, чтобы у вас всегда был быстрый доступ ко всему.
Вы, наверное, слышали термин NVENC из NVIDIA в ряде случаев, особенно когда дело доходит до к кодированию видео , будь то потоковая передача или рендеринг. В этой статье мы расскажем вам что такое NVENC , что это такое для и какие преимущества он приносит тем, кто его использует.
Как следует из названия, NVENC - это проприетарная технология NVIDIA, так как ее название происходит от аббревиатуры NVIDIA. Видео ENCoding, ни больше, ни меньше. Таким образом, одно из требований для его использования - наличие графической карты этого бренда, но, как мы объясним ниже, не все будут работать.
HOW TO DEBUG PROBLEMS
Streaming can be very complicated, but it’s particularly hard to debug. There are many things at play when you stream, so we are going to try to provide you some help on how to identify what is going wrong and how to fix it.
Components
Streaming uses the following components:
- Your PC: This includes hardware and software.
- Local Internet: WiFi or cabled internet + your Router.
- Your connection: To your service provider.
- The platform: Twitch, Youtube, Facebook Gaming, etc.
- Viewer’s Internet: Typically Wi-Fi, but can also be 3G/4G.
- Viewer’s device: keep in mind 35% of Twitch viewers are on mobile.
If something is failing, we want to first identify what component may be failing, so we don’t go crazy trying to fix something that was never broken in the first place. Typically, this means that the first test you should do is a Speed Test to make sure that you don’t have internet problems in your local internet or your connection. Second, make sure the platform hasn’t issued an alert that they are down or are experiencing problems. Then based on what error you get, you start looking at one thing or another in your PC.
How to check what’s happening to the encode
OBS Studio includes a very useful tool: the Stats Window. To bring it up, click on View > Stats. This window will show you Lagged and Skipped frames, Dropped frames, and Encode FPS.
This window will show you:
- FPS at which you are encoding.
- Latency to encode each frame.
- Missed Frames - problems with GPU.
- Skipped Frames - problems with CPU.
- Dropped Frames - problems with network.
Common Error Types
Stream is missing FPS. The stats window will show missed frames. While streaming and missing frames, pull up the Task Manager > Performance, Click on GPU and check the 3D load and Encoder load.
- If the 3D load is above 95%, especially at 1440p or 4K setups, Windows may be prioritizing the Game over OBS. To fix this, we have a special mode inserted on OBS 24.0.3 where you can prioritize OBS above the Game. Just run OBS in Game Mode.
- If the Video Encode load is maxed out, we need to lower the load. NVENC can do up to 8K30, so the only way to overload it is to do 2x4K60 streams. If you are encoding 4K60, make sure that your quality setting in OBS is set to Quality, not Max Quality. Max Quality does 2 pass encoding (i.e. encodes twice), which is too much for the encoder.
Image looks very washed out. The most likely issue is trying to push too much quality with not enough bitrate. Consider reducing the resolution, and frame rate (if needed), and try again. If quality improves, then adjust until you find your sweet spot.
Support
Публикуем тесты, обсуждения, настройки.
Видео про аппаратный кодек NVENC в 15-м Вегасе:
Ускорение в Vegas, Premiere, Catalyst edit., или как сделать, для полноты картины? чтобы честно было?
Матвей, вообще-то подобные видео делают так:
я рендерил в 13-м вегасе кодеком таким-то, был такой-то результат.
потом я поставил 15-й вегас использовал кодек такой-то - получил такой-то результат
размер и качество видео на выходе такое-то
проц в рендере грузился так-то
карта грузилась так-то
прикладываю скрин gpu-z
в проекте использовались плагины из мэджик буллет
Если не использовать плагин мэджик буллет то получаем такой-то результат
как-то так я это вижуУскорение в Vegas, Premiere, Catalyst edit., всё понял, но про нагрузку карты тут немного по другому, я смотрю разгон карты, почему ту гпу зет показывает нагрузку 28 процентов.
Ускорение в Vegas, Premiere, Catalyst edit., а разгон карты на максимуме на ядро ..странно, видимо это и есть оптимизация, проц+ карта.
Ускорение в Vegas, Premiere, Catalyst edit., проще думаю, всё таки запись одно видео))и комментировать процесс. так нагляднее, и показывать настройки рендера+ плагины= характеристики иходника..сегодня подрублю микрофон и буду писать. я так понял тема эта мало где разжеванна
Матвей, Она вообще не разжевана пока. GPU-Z показывает нагрузку блока NVENC (опция video engine load) чего не могут делать другие программы. Нагрузку видеоядра, которое задействовано при рендере GPU плагинов показывает опция GPU-Load.
Матвей, Дело в том, что NVENC в 10 раз мощнее среднего i7 и даже при его низкой загрузке NVENC кодирует быстрее процессора.
С помощью программы редактирования видео "Vegas Pro" вы можете упорядочивать и вырезать в неограниченном количестве видео и аудио дорожек, а также вставлять видео и аудио эффекты. Бесчисленные экраны 2D и 3D доступны для эффективных переходов между сценами. Программа поддерживает все основные форматы от 720p, Full HD до 4K
Поддерживает кодеки AVCHD или профессиональный формат Sony XAVC с разрешением 4096 x 4096 (4K).
Совместимость с другим ПО для импорта / экспорта для Avid ProTools, Apple Final Cut Pro и Adobe Premiere Pro CC или Adobe After Effects.
Функции трехмерной анимации поможет придать движению материал изображения. Поддержка плагинов Open FX
NVENC кодирование - Ускоряем рендер в 264 в 4-10 раз
NVENC кодирование - Ускоряем рендер в 264 в 4-10 раз
RECOMMENDED SETTINGS
These are our recommended settings for OBS Studio 23.0 and up. You’ll want to test and adjust these settings by proceeding with a local recording to verify you’re happy with the results.
To access the settings, click on the Settings button on the bottom right.
ADVANCED SETTINGS
If you want to mess around with all settings, here are our in-depth recommendations.
- Output Mode: Advanced. This gives you access to all the settings. Let’s start!
- Encoder: Select NVIDIA NVENC H.264 (new).
- Enforce Streaming Service Encoder Settings: Leave this checked, this will ensure that if you enter a wrong value by mistake it gets corrected.
- Rate Control: Select CBR. This determines the rate at which frames are going to be encoded.
- Bitrate: Enter the bitrate appropriate for your Upload Speed, as we discussed in the previous section. Keep in mind that some platforms have a maximum bitrate (i.e. for Twitch it’s currently 6000 Kbps.).
- Keyframe Interval: Set to 2. Streaming platforms may limit what you can select here, and most require a setting of 2.
- Preset: Select Quality. You can change this to Max Quality to enable 2-pass encoding; this will provide you a minor quality increase but may cause problems in limited situations in maxed out GPUs.
- Profile: Set to High. Profile determines a group of settings in the H.264 Codec. It doesn’t impact performance and gives access to a set of features that are key to streaming, so this should always be set to High.
- Look-ahead: Checked. This allows the encoder to dynamically select the number of B-Frames, between 0 and the number of B-Frames you specify. B-frames are great because they increase image quality, but they consume a lot of your available bitrate, so they reduce quality on high motion content. Look-ahead enables the best of both worlds. This feature is CUDA accelerated; toggle this off if your GPU utilization is high to ensure a smooth stream.
- Psycho Visual Tuning: Checked. This enables the Rate Distortion Optimization in the encoder, which greatly optimizes the way you use bitrate, improving image quality on movement.
- GPU: 0. If you have 2 GPUs in your system, you can select which one is used to encode. This is not recommended, as NVENC is already very efficient and the little gain you can get from using a second card is lost by having to copy the frame to the second GPU.
- Max B-Frames: Set to 4. If you uncheck the Look-ahead option, reduce this to 2 B-Frames.
- Type: Standard.
- Recording Path: This is the directory where the videos will be saved. Make sure the hard drive you select has enough space!
- Recording Format: FLV; or MKV if you use multiple audio tracks.
- Audio Track: Leave it at 1 for default; you can add more audio tracks if you are using more sources.
- Encoder: NVIDIA NVENC H.264 (new).
- Rate Control: We recommend CQP, although VBR will also produce good results.
- CQ Level (CQ): 15 (you can decrease the number to get higher quality).
- Bitrate and Max Bitrate (VBR): 40,000 Bitrate; 60,000 Max bitrate. You can increase these to 100,000 and 200,000 (respectively) for higher quality.
BITRATE, RESOLUTION AND FRAMERATE
Encoding is all about compressing images. The smaller the size of the image, the less we must compress it and the more quality it keeps. While the same applies for framerate, a viewer can really notice a drop in FPS but not so much in resolution, so we will always try to stream at 60 FPS.
First, run a speed test to determine your upload speed (e.g. Speed Test). We want to use around 75% of your upload speed, as the game and other programs such as Discord will also fight for bandwidth.
Then, we will determine the resolution and FPS that we can use for such bitrate. Most streaming sites have recommendations (Twitch, Youtube, Facebook Gaming) on what to use. These are ours:
Upload Speed
Bitrate
Resolution
Framerate
* Important Note for High Motion Content. If you are going to stream high motion scenes (i.e. Racing games, some Battle Royale games, etc.) we highly recommend reducing your resolution. High motion content cannot be compressed as much, and can suffer from more artifacting (encoding errors) that make your stream look “blocky”. If you reduce the resolution, you reduce the data being encoded, and the resulting viewer quality is higher. For example, for Fortnite, many streamers decide to stream at 1600x900 60 FPS.
Note for New and Upcoming Streamers to Twitch. Transcoding allows a viewer to view your video on a different resolution, thus requiring a lower bandwidth. Twitch only offers guaranteed transcoding to Partners; non-partners may receive transcoding, but it is not guaranteed. This is important if your viewers are on mobile phones or their internet speed is not as fast. You may want to consider streaming at a lower bitrate and resolution to lower the bandwidth required to see your channel.
ABOUT THE GEFORCE-OPTIMIZED NEW VERSION OF OBS STUDIO
We have collaborated with OBS to improve support for NVIDIA GeForce GPUs. The new OBS Studio, version 23.0, will leverage the NVIDIA Video Codec SDK, which will greatly improve performance and reduce the FPS impact of streaming and recording. We have also tweaked some of the background settings of NVENC to improve quality, especially for the RTX 20-Series GPUs.
Читайте также: