mbox series

[FFmpeg-devel,0/5] Add passthrough support for SCTE-35

Message ID 1686953578-18843-1-git-send-email-dheitmueller@ltnglobal.com
Headers show
Series Add passthrough support for SCTE-35 | expand

Message

Devin Heitmueller June 16, 2023, 10:12 p.m. UTC
Properly set up the MPEG-TS mux and recalculate the pts_adjust field
in SCTE_35 packets, such that a user can transparently pass through
SCTE-35 streams when both the input and output are MPEG-TS.

Devin Heitmueller (5):
  avcodec: Add new side data type to contain original PTS value
  mpegts: Stash original PTS for SCTE-35 sections for processing later
  mpegtsenc: Add support for output of SCTE-35 streams over TS
  bsf: Add new bitstream filter to set pts_adjustment when reclocking
  mpegtsenc: Don't periodically announce PCR on SCTE-35 streams

 libavcodec/Makefile              |   1 +
 libavcodec/bitstream_filters.c   |   1 +
 libavcodec/packet.h              |  10 ++++
 libavcodec/scte35ptsadjust_bsf.c | 114 +++++++++++++++++++++++++++++++++++++++
 libavformat/mpegts.c             |   9 +++-
 libavformat/mpegts.h             |   1 +
 libavformat/mpegtsenc.c          |  78 +++++++++++++++++++++++++--
 libavformat/mux.c                |   6 ++-
 8 files changed, 212 insertions(+), 8 deletions(-)
 create mode 100644 libavcodec/scte35ptsadjust_bsf.c