arut / nginx-rtmp-module

NGINX-based Media Streaming Server
http://nginx-rtmp.blogspot.com
BSD 2-Clause "Simplified" License
13.24k stars 3.49k forks source link

FR: SCTE-35 support #1000

Open ilyaevseev opened 7 years ago

ilyaevseev commented 7 years ago

What it should to do?

1) Watch for SCTE-35 labels in the main input stream 2) Write info to "#EXT-X-SCTE35" lines in m3u as described in http://www.scte.org/SCTEDocs/Standards/SCTE%2035%202016.pdf 3) Switch to alternate input stream for given duration 4) Return back to the main stream input

Brainiarc7 commented 7 years ago

Following up on this too.

Perhaps it would be best to have FFmpeg support this first, then call up ffmpeg from within this module with the necessary arguments?