shaka-project / shaka-packager

A media packaging and development framework for VOD and Live DASH and HLS applications, supporting Common Encryption for Widevine and other DRM Systems.
https://shaka-project.github.io/shaka-packager/
Other
2k stars 511 forks source link

scte-35 #1414

Open Prathik9 opened 4 months ago

Prathik9 commented 4 months ago

how to use scte-35 markers in shaka-packager?

Brainiarc7 commented 3 months ago

This is a much needed feature on the packager.

acris5 commented 3 months ago

I have working patch to insert scte35 markers from udp mpegts stream to dash and hls but need to update it to latest version of Shaka packager to create PR

Brainiarc7 commented 3 months ago

@acris5 , do you have a branch with these changes?

acris5 commented 3 months ago

https://github.com/shaka-project/shaka-packager/commit/2638b8769f771c79564aa8ba54023ffbd7b2a3f7 mostly done with this commit

Brainiarc7 commented 3 months ago

This is well noted, testing.

Prathik9 commented 1 month ago

hi @acris5 can you provide your mail id

acris5 commented 1 month ago

acris5@gmail.com

acris5 commented 1 month ago

you can also check the most recent implementation with inserting scte35 with apple supported EXT-X-DATERANGE tags (need to add your advert url in the source code file shaka-packager/packager/hls/base/media_playlist.cc:438) to hls https://github.com/acris5/shaka-packager/tree/apple-cues (works with safari with little js code https://dev.to/video/hls-interstitials-on-safari-go7, avplayer and hlsjs)

Prathik9 commented 1 month ago

@acris5 how can we implement DVR functionality using the segments. Like creating dynamic manifest after live ends based on the required timestamp. How to synchronize audio ,video segments when creating dynamic manifest of live(cathup of some event after live).

acris5 commented 1 month ago

@Prathik9 I do not understand what do you mean. Ext-x-daterange tag is calculated from pts in mpegts stream, so it is the same in audio and video.

Prathik9 commented 1 month ago

@acris5 Deliver the .mpd/.meu8 file of some programs or events after that event overs in live . How can i pick only those segments and create the .mpd/.m3u8 file , then how to maintain synchronization between the audio & video segments while creating the .mpd/.m3u8.