简体   繁体   中英

How to decide on segment duration in mpeg-dash?

I want to convert some h264 mp4 videos to clearkey encrypted dash. For now I want to serve them on localhost. So I don't have bandwidth limitations. I'm assuming I should use dashavc264:onDemand profile with static mpd since my videos are not live and they are offline.

My question is:

How should I decide what segment duration I should use? does it depend on how often I have keyframes in my video? how does it affect seeking/trickplay performance? Does it affect anything else?

It is, like many things, a balance between competing factors - efficiency, quality, flexibility etc.

In general, short segments allow quicker bandwidth changes etc, but may not be as efficient or as high quality depending on what is traded off.

Most implementations at the time of writing use between 2 and 10 second chunks.

For further reading, there is a good article here looking at the different impacts of different segment lengths along with some recommendations: https://bitmovin.com/mpeg-dash-hls-segment-length/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM