1. 30 8月, 2019 9 次提交
  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 次提交