jp9000 4a5ac39749 libobs: Fix starting video packet offset in outputs
(This commit also modifies the obs-outputs module)

The first video packet video offset (the value used to set the starting
point of video data) would be set to the DTS value of the first video
packet.  However, when b-frames are used, the first DTS value will be
negative.  This was originally done because FLV muxing requires that the
first packet's DTS start from 0.  Unfortunately, this would also
effectively cause the first packet's PTS/DTS value to be shifted forward
by the negative amount, which would cause video sync to be off by a
video frame or two.

This fixes it to start at the PTS value instead and preserve any
negative offsets.  Additionally, the FLV muxing code has been fixed to
ensure that it adjusts the starting video DTS to 0, and now correctly
adjusts the first audio packet's timestamp according to that DTS as well
(which it didn't do before).
2017-10-02 07:36:02 -07:00
2017-08-18 21:41:31 -05:00
2017-10-02 15:33:34 +02:00
2017-08-01 02:27:34 -07:00
2017-08-18 21:41:31 -05:00
2015-07-11 09:10:27 -07:00
2017-04-07 22:33:48 -07:00

OBS Studio <https://obsproject.com>
===================================

What is OBS Studio?
-------------------

  OBS Studio is software designed for capturing, compositing, encoding,
  recording, and streaming video content, efficiently.

  It's distributed under the GNU General Public License v2 - see the
  accompanying COPYING file for more details.

Quick Links
-----------

 - Website: https://obsproject.com

 - Help/Guides: https://github.com/jp9000/obs-studio/wiki

 - Forums: https://obsproject.com/forum/

 - Build Instructions: https://github.com/jp9000/obs-studio/wiki/Install-Instructions

 - Bug Tracker: https://obsproject.com/mantis/

   (Note: The bug tracker is linked to forum accounts.  To use the bug
   tracker, log in to a forum account)

Contributing
------------

 - If you wish to contribute code to the project, please make sure read
   the coding and commit guidelines:
   https://github.com/jp9000/obs-studio/blob/master/CONTRIBUTING.rst

 - If you wish to contribute translations, do not submit pull requests.
   Instead, please use Crowdin.  For more information read this thread:
   https://obsproject.com/forum/threads/how-to-contribute-translations-for-obs.16327/

 - Other ways to contribute are by helping people out with support on
   our forums or in our community chat.  Please limit support to topics
   you fully understand -- bad advice is worse than no advice.  When it
   comes to something that you don't fully know or understand, please
   defer to the official help or official channels. 
Description
No description provided
Readme 344 MiB
Languages
C 53.4%
C++ 35.4%
CMake 3.5%
Swift 3%
Objective-C 2.7%
Other 1.8%