1. 30 8月, 2019 6 次提交
  2. 28 8月, 2019 5 次提交
  3. 27 8月, 2019 2 次提交
  4. 26 8月, 2019 8 次提交
  5. 25 8月, 2019 5 次提交
    • J
      Merge pull request #2043 from pkviet/nvenc-dbrfix · 68bdadf8
      Jim 提交于
      obs-ffmpeg: Set some parameters for dynamic bitrate in new nvenc
      68bdadf8
    • P
      obs-ffmpeg: Use NV_FAILED() instead of FAILED() · adedd967
      pkv 提交于
      The FAILED() macro is for HRESULT values; NV_FAILED() is what should be
      used for NVENCSTATUS.
      adedd967
    • P
      obs-ffmpeg: Force I-Frame when reconfiguring jim-nvenc · 1a11e15a
      pkv 提交于
      This forces an I-Frame when reconfiguring encoding parameters so that
      the changes apply immediately.
      1a11e15a
    • J
      deps/media-playback: Fix memory leak · 707f83f5
      jp9000 提交于
      The hardware accelerated decoder context needs to be explicitly unrefed
      when it's no longer in use, otherwise it and many resources associated
      with it will leak.
      707f83f5
    • J
      deps/media-playback: Fix hw accel decode crash · 94581952
      jp9000 提交于
      When hardware accelerated decoding is enabled, sometimes it can't
      initialize for whatever reason, so it will fall back to software on its
      own.  When this occurs, it will not use the hardware pixel format on the
      frame; instead it will defer to a standard format on the frame.  So if
      the frame format does not match the expected format, assume software
      decoding.  (This was also what the hw-decode.c FFmpeg example did if the
      format did not match the expected format)
      94581952
  6. 23 8月, 2019 4 次提交
  7. 22 8月, 2019 2 次提交
    • J
      obs-browser: Fix audio cutting out · f0140cbb
      jp9000 提交于
      CEF outputs multiple audio streams at once, and OBS was only able to
      handle one at a time.  This fixes it by using audio lines for each CEF
      audio stream, and mixes them together itself.
      f0140cbb
    • J
      libobs: Add audio lines · 73704f20
      jp9000 提交于
      Adds the "audio_line" internal source type as a bare source type for the
      sole purpose of outputting audio, and the obs_source_info::audio_mix
      callback which allows mixing of those audio lines, which is then treated
      as normal audio for the source.  Audio line objects should be added as
      sub-sources when multiple audio lines from a single source are needed,
      then mixed together with the audio_mix callback.
      
      The difference between the new obs_source_info::audio_mix callback and
      obs_source_info::audio_render is that obs_source_info::audio_mix (along
      with the audio_line source) are only one track, and it outputs audio to
      the source automatically via obs_source_output_audio() when the call
      completes.  This allows the mixed audio to be treated like a normal
      source's audio, in that you can filter it, change its volume, or monitor
      it.
      
      This change was necessary because the CEF (used with the browser source)
      outputs multiple audio streams at once to a single browser source, so
      it's the program's responsibility to mix those streams together itself.
      73704f20
  8. 21 8月, 2019 1 次提交
  9. 20 8月, 2019 2 次提交
  10. 19 8月, 2019 2 次提交
  11. 18 8月, 2019 3 次提交
    • J
      UI: Add dynamic bitrate support to the UI · 8ee04801
      jp9000 提交于
      Adds dynamic bitrate support (marked as beta) to the advanced settings
      for now.
      8ee04801
    • J
      obs-outputs: Add dynamic bitrate to RTMP output · aa4d1d0c
      jp9000 提交于
      The dynamic bitrate operates based upon estimating the current bitrate
      output, and then adjusting the bitrate on the fly as necessary when
      congestion is detected as a replacement for dropping frames.
      
      This may still need adjustment, as it is difficult to accurately emulate
      real-world frame drop scenarios.  This does not currently drop frames at
      all, and because of that, very high congestion may cause additional
      stream delay to viewers (because data will be buffered), but from
      limited testing, most congestion will not cause that and it can safely
      recover pretty quickly without adding significant delay.
      aa4d1d0c
    • J
      libobs: Mark encoders that support dynamic bitrate · 806ab5a0
      jp9000 提交于
      (This commit also modifies mac-vth264, obs-ffmpeg, obs-qsv11, and
      obs-x264)
      806ab5a0