ddiukariev
ddiukariev

Reputation: 193

How to set fragment duration for azure media services Adaptive Streaming preset?

Azure media services provide standard preset called Adaptive Streaming for asset encoding. I'm using output for HLS streaming. It looks like default fragment size is 6 seconds but I would like to change this to 2. I was unable to find how to do this anywhere in the docs.

Note: I know that it is possible to create custom preset but that looks like an overkill and instead I'm looking at the ways to configure an existing preset.

Upvotes: 2

Views: 322

Answers (1)

Anil Murching
Anil Murching

Reputation: 595

The "Adaptive Streaming" preset does not expose any parameters, and therefore you cannot change the GOP duration. You could use a custom preset as explained here. However, for on-demand streaming, our dynamic packaging service will pack 5 GOPs into one HLS segment (giving you a segment length of 10 seconds in such cases).

Can you share more details offline (to [email protected]) about why you need shorter duration HLS segments for VoD scenarios?

Upvotes: 1

Related Questions