1. 26 1月, 2016 7 次提交
    • J
      libobs/media-io: Fix bug (skipped frames including lagged frames) · 23f4d17d
      jp9000 提交于
      The skipped frame count (dropped frames due to encoding being
      overloaded) would erroneously include lagged frames (dropped frames due
      to render stalls).  This will make diagnosing actual issues a user might
      be having a bit easier.
      23f4d17d
    • J
      libobs: Fix potential output audio/video sync bug · 65eb3c08
      jp9000 提交于
      Problem:
      
      When an output is started with encoders that have already been started
      by another output, and it starts in between the window in between where
      the first audio packets start coming in and where the first video packet
      comes in, the output would get audio packets with timestamps potentially
      much later than the first video frame when the first video frame finally
      comes in.  The audio/video encoders will almost always have a differing
      delay.
      
      Solution:
      
      Detect that starting window, and if within that starting window, wait
      for a new keyframe from video instead of trying to sync up video.
      
      Additional Notes:
      
      In these cases where an output starts with already-active encoders, this
      patch also reduces the potential sync offset between the first video
      frame and the first audio frame.  Before, it would sync the first video
      frame with the first audio frames right after that, but now it syncs
      with the closest audio frame in the interleaved array, which halves the
      potential sync difference between the first video frame and the first
      audio frame of already-active encoders.  (So now the potential sync
      difference is roughly 11.6 milliseconds at 44.1khz audio, where it was
      23.2 before)
      65eb3c08
    • J
      libobs: Subtract packet dts_usec with first packet offset · c4657da2
      jp9000 提交于
      Ensures that the packet dts_usec vals which are generated for
      syncing/interleaving use the proper offset relative to where they're
      supposed to be starting from.  The negative DTS of a first video packet
      could potentially have been applied twice due to this.
      c4657da2
    • J
      libobs: Fix potential race condition · 346ddd50
      jp9000 提交于
      Fixes potential race conditions when two threads are trying to
      initialize/start/stop the same encoders at the same time.
      346ddd50
    • J
      libobs/callback: Allow ability to use calldata_t with stack · 92bbb8e8
      jp9000 提交于
      Allows the ability to use fixed stack memory to construct a calldata_t
      structure rather than having to allocate each time.  This is fine to do
      for certain signals where the calldata never goes above a specific size.
      If by some chance the size is insufficient, it will output a log
      message.
      92bbb8e8
    • J
      libobs: Add function to get current video time (in nanosec) · 9c5f95d8
      jp9000 提交于
      Allows getting the timestamp for the video frame currently being
      rendered.
      9c5f95d8
    • J
      libobs/graphics: Add gs_image_file_* functions (w/animated gifs) · 13890a46
      jp9000 提交于
      These functions allow animated gifs and management of image files.  Uses
      libnsgif to load animated gifs.
      13890a46
  2. 23 1月, 2016 7 次提交
  3. 15 1月, 2016 1 次提交
  4. 28 12月, 2015 1 次提交
  5. 27 12月, 2015 1 次提交
  6. 22 12月, 2015 17 次提交
  7. 15 12月, 2015 6 次提交