Resource icon

FFmpeg Encoders for OBS Studio 0.4.0

Status
Not open for further replies.

DukeNukem

New Member
having problems with hevc recordings.
Code:
03:13:22.777: CPU Name: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz
03:13:22.777: CPU Speed: 4008MHz
03:13:22.777: Physical Cores: 4, Logical Cores: 8
03:13:22.777: Physical Memory: 16276MB Total, 11294MB Free
03:13:22.777: Windows Version: 6.1 Build 7601 (revision: 23864; 64-bit)
03:13:22.777: Running as administrator: false
03:13:22.777: Aero is Enabled
03:13:22.777: Current Date/Time: 2019-09-14, 03:13:22
03:13:22.777: Browser Hardware Acceleration: false
03:13:22.777: Portable mode: false
03:13:22.879: OBS 24.0.0-rc2 (64-bit, windows)
03:13:22.879: ---------------------------------
03:13:22.880: ---------------------------------
03:13:22.880: audio settings reset:
03:13:22.880:     samples per sec: 48000
03:13:22.880:     speakers:        2
03:13:22.880: ---------------------------------
03:13:22.880: Initializing D3D11...
03:13:22.880: Available Video Adapters:
03:13:22.882:     Adapter 0: NVIDIA GeForce GTX 1070 Ti
03:13:22.882:       Dedicated VRAM: 4175364096
03:13:22.882:       Shared VRAM:    3970215936
03:13:22.882:       output 0: pos={0, 0}, size={1920, 1080}, attached=true
03:13:22.882:     Adapter 1: Intel(R) HD Graphics 530
03:13:22.882:       Dedicated VRAM: 201326592
03:13:22.882:       Shared VRAM:    1711276032
03:13:22.882:       output 0: pos={1920, 0}, size={1920, 1080}, attached=true
03:13:22.884: Loading up D3D11 on adapter NVIDIA GeForce GTX 1070 Ti (0)
03:13:22.902: D3D11 loaded successfully, feature level used: 45056
03:13:23.179: ---------------------------------
03:13:23.179: video settings reset:
03:13:23.179:     base resolution:   1920x1080
03:13:23.179:     output resolution: 1920x1080
03:13:23.179:     downscale filter:  Bicubic
03:13:23.179:     fps:               30/1
03:13:23.179:     format:            NV12
03:13:23.179:     YUV mode:          601/Partial
03:13:23.180: NV12 texture support not available
03:13:23.181: Audio monitoring device:
03:13:23.181:     name: Default
03:13:23.181:     id: default
03:13:23.181: ---------------------------------
03:13:23.182: [CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
03:13:23.183: Failed to load 'en-US' text for module: 'decklink-ouput-ui.dll'
03:13:23.190: [AMF] AMF Test failed due to one or more errors.
03:13:23.190: Failed to initialize module 'enc-amf.dll'
03:13:23.201: [obs-browser]: Version 2.6.3
03:13:23.204: NVENC supported
03:13:23.217: LoadLibrary failed for 'F:\SSD\Applications\VLC\libvlc.dll': %1 is not a valid Win32 application.
03:13:23.217:  (193)
03:13:23.217: Couldn't find VLC installation, VLC video source disabled
03:13:23.218: No blackmagic support
03:13:23.219: ---------------------------------
03:13:23.219:   Loaded Modules:
03:13:23.219:     win-wasapi.dll
03:13:23.219:     win-mf.dll
03:13:23.219:     win-dshow.dll
03:13:23.219:     win-decklink.dll
03:13:23.219:     win-capture.dll
03:13:23.219:     vlc-video.dll
03:13:23.219:     text-freetype2.dll
03:13:23.219:     rtmp-services.dll
03:13:23.219:     obs-x264.dll
03:13:23.219:     obs-vst.dll
03:13:23.219:     obs-transitions.dll
03:13:23.219:     obs-text.dll
03:13:23.219:     obs-qsv11.dll
03:13:23.219:     obs-outputs.dll
03:13:23.219:     obs-filters.dll
03:13:23.219:     obs-ffmpeg.dll
03:13:23.219:     obs-ffmpeg-encoder.dll
03:13:23.219:     obs-browser.dll
03:13:23.219:     image-source.dll
03:13:23.219:     frontend-tools.dll
03:13:23.219:     enc-amf.dll
03:13:23.219:     decklink-ouput-ui.dll
03:13:23.219:     coreaudio-encoder.dll
03:13:23.219: ---------------------------------
03:13:23.219: ==== Startup complete ===============================================
03:13:23.220: Service '' not found
03:13:23.221: All scene data cleared
03:13:23.221: ------------------------------------------------
03:13:23.225: [WASAPISource::TryInitialize]:[Speakers (Realtek High Definition Audio)] Failed to get initialize audio client: 8889000A
03:13:23.225: [WASAPISource::WASAPISource] Device '{0.0.0.00000000}.{f1e6be10-9cdf-4335-b2a0-6e5c36a6da02}' not found.  Waiting for device
03:13:23.225: [Media Source 'bfv Replay 2019-09-13 19-09-58.mkv']: settings:
03:13:23.225:     input:                   F:/Videos/captured/obsmp test/youtube/bfv Replay 2019-09-13 19-09-58.mkv
03:13:23.225:     input_format:            (null)
03:13:23.225:     speed:                   100
03:13:23.225:     is_looping:              no
03:13:23.225:     is_hw_decoding:          yes
03:13:23.225:     is_clear_on_media_end:   yes
03:13:23.225:     restart_on_activate:     yes
03:13:23.225:     close_when_inactive:     no
03:13:23.226: Switched to scene 'Scene'
03:13:23.226: ------------------------------------------------
03:13:23.226: Loaded scenes:
03:13:23.226: - scene 'Scene':
03:13:23.226:     - source: 'bfv Replay 2019-09-13 19-09-58.mkv' (ffmpeg_source)
03:13:23.226: - scene 'Scene 2':
03:13:23.226: ------------------------------------------------
03:13:25.182: ---------------------------------
03:13:25.183: [FFmpeg aac encoder: 'Track1'] bitrate: 96, channels: 2, channel_layout: 3
03:13:25.183:
03:13:25.189: ==== Recording Start ===============================================
03:13:25.189: [ffmpeg muxer: 'adv_file_output'] Writing file 'F:/Videos/captured/obsmp test/youtube/New folder/2019-09-14_03-13-25.mov'...
03:13:25.424: [obs-ffmpeg-encoder] Failed to initalized encoder 'hevc_nvenc' due to error: Not Translated Yet(-542398533)
03:13:25.424: Error encoding with encoder 'recording_h264'
03:13:25.425: [ffmpeg muxer: 'adv_file_output'] Output of file 'F:/Videos/captured/obsmp test/youtube/New folder/2019-09-14_03-13-25.mov' stopped
03:13:25.425: Output 'adv_file_output': stopping
03:13:25.425: Output 'adv_file_output': Total frames output: 0
03:13:25.425: Output 'adv_file_output': Total drawn frames: 7
03:13:25.426: ==== Recording Stop ================================================
03:13:35.999: Settings changed (outputs)
03:13:35.999: ------------------------------------------------

tried nvidia drivers 419.35 and 436.30
 
Last edited:

Drfoxtrot

New Member
I am not very knowledgeable on this, but would it be possible to include this? https://github.com/OpenVisualCloud/SVT-VP9

This is intels SVT-VP9 encoder (they also have encoders for AV1 and HEVC) and these are leagues better than the ones included in FFmpeg by default, they have a plugin for FFmpeg, but I do not know how easy or hard it would be to include. In any case Best of luck.
 

Xaymar

Active Member
I am not very knowledgeable on this, but would it be possible to include this? https://github.com/OpenVisualCloud/SVT-VP9

This is intels SVT-VP9 encoder (they also have encoders for AV1 and HEVC) and these are leagues better than the ones included in FFmpeg by default, they have a plugin for FFmpeg, but I do not know how easy or hard it would be to include. In any case Best of luck.

If it is included in FFmpeg, yes. Otherwise no. This is only for exposing FFmpeg encoders to the normal UI.
 

Drfoxtrot

New Member
ahhh I see thanks anyways, time to see if I can figure out a way to shove it into OBS, since it is not in FFmpeg by default
 

Xaymar

Active Member
Xaymar updated FFmpeg Encoders for OBS Studio with a new update entry:

0.3.0pre2: Better automatic Color Format support and fixed ProRes

Changelog
0.3.0pre2
  • Fixed automatic color format selection always attempting to use hardware formats in libobs 24.x.
  • Actually fixed crashing with software scaling (Output tab) by reading the correct information, thus reverting the previous change.
  • Added some log information when encoders are started and updated.
  • UI Handlers now have the capability to override or enhance a lot of behavior.
0.3.0pre1...

Read the rest of this update entry...
 

Xaymar

Active Member
Xaymar updated FFmpeg Encoders for OBS Studio with a new update entry:

0.3.0pre3: Improved color format and space, logging settings, and proper framerate

More Download Links: On GitHub

Changelog
0.3.0pre3
  • Improved color space behavior by setting all possible settings, ensuring that standard compliant players and editors (for example DaVinci Resolve) can properly represent color.
  • Default color range is now partial, which matches OBS Studio behavior.
  • Framerate is now being set in addition to the timing...

Read the rest of this update entry...
 

Xaymar

Active Member
Xaymar updated FFmpeg Encoders for OBS Studio with a new update entry:

0.3.0pre4: Workaround for an FFmpeg ProRes-in-Matroska bug

All Release Files: On GitHub

Changelog
0.3.0pre4
  • Added the ability for packet processing by codec handlers.
  • The ProRes handler now has a packet processing hook to add a workaround for a FFmpeg bug with ProRes content in Matroska/MKV. An FFmpeg patch has not yet been included in OBS Studio, but is available.
  • Temporarily removed packet buffer caching...

Read the rest of this update entry...
 

Xaymar

Active Member

Xaymar

Active Member
Xaymar updated FFmpeg Encoders for OBS Studio with a new update entry:

0.3.0pre6: Frame Caching, reduced Latency and lower Memory Usage

Changelog
0.3.0pre6
  • Implemented Frame Caching for all types of encoders, which further reduces CPU and GPU usage. On a RTX 2080 Ti, a 1080p60 NV12 hardware encode now only takes 2% GPU and 0.004% CPU.
  • Fixed an issue where too many frames would be allocated and never deallocated, such as during a full OBS freeze. This is unfortunately not an easy problem to fix as OBS does not have a push/pull (sink/faucet) system and instead expects us...

Read the rest of this update entry...
 

Xaymar

Active Member
Xaymar updated FFmpeg Encoders for OBS Studio with a new update entry:

0.3.0 - Full Hardware Encoding, Lower Latency and more!

Make way, because it's time for full hardware encoding! OBS Studio added this to their built in NVENC a while ago, and today I'm fully releasing it for this plugin. With full hardware encoding, your rendered frame never leaves the GPU, unlike with pseudo hardware encoding where it is first transferred to RAM and then back to the GPU. The benefits of this are much lower GPU usage, reduced game impact, and much lower CPU usage. However due to OBS Studio limitations this restricts you to NV12...

Read the rest of this update entry...
 

Xaymar

Active Member
Xaymar updated FFmpeg Encoders for OBS Studio with a new update entry:

0.3.1 - Fix for Rescaling

Changelog

0.3.1

  • Rescaling on the Output tab will now be used instead of only using the rescaling of the Video tab.
0.3.0

  • Updated the libOBS dependency to 24.0.0. You will need to use OBS Studio 24.0.0 or newer in order to run the plugin.
  • Implemented full hardware encoding for all GPU capable encoders (NVENC H264, NVENC H265). This should be perform identical to the OBS included full hardware...

Read the rest of this update entry...
 

Kryztoval

New Member
For some weird reason my install worked perfectly when i had version 0.2.0 but with the 0.3.1 is not showing the plugins anymore. I deleted the program files folder and reinstalled it all and still not showing. O_O

In the log I see this:

09:41:00.017: LoadLibrary failed for '../../obs-plugins/64bit/obs-ffmpeg-encoder.dll': The specified module could not be found.
09:41:00.017: (126)
09:41:00.017: Module '../../obs-plugins/64bit/obs-ffmpeg-encoder.dll' not loaded

But the file does exist. so idk what is going on.
I also used the zip file from github and got the same end result.
 
Last edited:

Xaymar

Active Member
For some weird reason my install worked perfectly when i had version 0.2.0 but with the 0.3.1 is not showing the plugins anymore. I deleted the program files folder and reinstalled it all and still not showing. O_O

In the log I see this:

09:41:00.017: LoadLibrary failed for '../../obs-plugins/64bit/obs-ffmpeg-encoder.dll': The specified module could not be found.
09:41:00.017: (126)
09:41:00.017: Module '../../obs-plugins/64bit/obs-ffmpeg-encoder.dll' not loaded

But the file does exist. so idk what is going on.

Version 0.3.1 was built with VS2019, as it produces 6% faster code on average, with a binary size reduction of around 20%. You can get the redistributables needed for it here: https://aka.ms/vs/16/release/vc_redist.x64.exe
 
Status
Not open for further replies.
Top