These two patches add support for SCTE-35. First, parse it correct from MPEG, then segment appropiately.
All things reported about v1 addressed: - Removed commented out code - Spaces where there was a tab - Should build on mingw64 (removed probable cause of error) - Made it a hls muxer dependency instead of libavformat Carlos (1): SCTE extraction from mpegts carlos (1): SCTE-35 support in hlsenc libavcodec/avcodec.h | 1 + libavcodec/codec_desc.c | 6 + libavformat/Makefile | 2 +- libavformat/hlsenc.c | 110 ++++++++--- libavformat/mpegts.c | 46 ++++- libavformat/scte_35.c | 482 ++++++++++++++++++++++++++++++++++++++++++++++++ libavformat/scte_35.h | 76 ++++++++ 7 files changed, 693 insertions(+), 30 deletions(-) create mode 100644 libavformat/scte_35.c create mode 100644 libavformat/scte_35.h -- 2.7.4 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel