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.
This patch series updated to reflect feedback from James Almer.
Devin Heitmueller (4):
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 SCTE-35 pts_adjustment when
reclocking
doc/bitstream_filters.texi | 9 ++++
libavcodec/Makefile | 1 +
libavcodec/bitstream_filters.c | 1 +
libavcodec/defs.h | 12 +++++
libavcodec/packet.h | 11 +++++
libavcodec/scte35ptsadjust_bsf.c | 100 +++++++++++++++++++++++++++++++++++++++
libavformat/mpegts.c | 11 ++++-
libavformat/mpegts.h | 1 +
libavformat/mpegtsenc.c | 76 +++++++++++++++++++++++++++--
libavformat/mux.c | 6 ++-
10 files changed, 221 insertions(+), 7 deletions(-)
create mode 100644 libavcodec/scte35ptsadjust_bsf.c
--
1.8.3.1
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".