79356287

Date: 2025-01-14 20:22:30
Score: 1
Natty:
Report link

The response above is generally correct as long as:

You differentiate the first video packet and the first audio packet. This is important because audio packets generally have the same PTS and DTS (and never use as a start dts a 0 value).

Let me give you a concrete example where this could fail (real example from OBS):

The error that appears in this case is pts (0) < dts (2970) in stream 1

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Emiliano A. Billi