# How to stream shorter DASH segment than source mp4's GOP?

**URL:** <https://community.wowza.com/t/how-to-stream-shorter-dash-segment-than-source-mp4s-gop/46218>\
**Category:** Wowza Streaming Engine\
**Created:** [November 17, 2015, 9:16pm UTC](https://community.wowza.com/t/how-to-stream-shorter-dash-segment-than-source-mp4s-gop/46218 "2015-11-17T21:16:27Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tomonori\_Maruyama](https://avatars.discourse-cdn.com/v4/letter/t/8e8cbc/32.png) [@Tomonori\_Maruyama](https://community.wowza.com/u/Tomonori_Maruyama)\
**Post date:** [November 17, 2015, 9:16pm UTC](https://community.wowza.com/t/how-to-stream-shorter-dash-segment-than-source-mp4s-gop/46218/1 "2015-11-17T21:16:27Z")

</div>

Hello Wowza,

We are considering to provide VOD by DASH streaming + HTML5 player as an alternative to Smooth Streaming + Silverlight.

Currently, we have petabytes of H264/MP4 videos, those GOP length are variable, about 1 to 8 seconds.

But we would like to stream them with shorter segment, at most 2 seconds, because there is seek latency issue in DASH with long segment.

Since transcoding so many videos will take too long time, we are researching much faster or on-the-fly solution.

Is there any good on-the-fly module or faster solution, some kind of keyframe inserter, than re-encoding whole video data?

Video spec: 6Mbps, 1920x1080, 30fps (and some lower bitrates for adaptive streaming)

Any suggestions would be greatly appreciated.

Best regards,

Tomonori

---

<div class="post-metadata">

**Author:** ![Paul\_Shields](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/paul_shields/32/390_2.png) [@Paul\_Shields](https://community.wowza.com/u/Paul_Shields)\
**Post date:** [November 20, 2015, 3:35pm UTC](https://community.wowza.com/t/how-to-stream-shorter-dash-segment-than-source-mp4s-gop/46218/2 "2015-11-20T15:35:43Z")

</div>

Hi,

Wowza Streaming Engine won’t change the keyframes for “vod” files. It will simply stream them with whatever is defined in the file. You could look at creating a “pseudo-live” stream using [ServerListenerStreamPublisher](https://www.wowza.com/docs/how-to-schedule-streaming-with-wowza-streaming-engine-streampublisher%28ServerListenerStreamPublisher%29), which “publishes” VOD playlists as a live stream, and which then allows you to transcode the stream on the fly, including setting a different keyframe. This may not be practical for large numbers of files though. In this case then from a programmatic perspective you could look at [ModuleStreamControl](https://www.wowza.com/docs/how-to-control-stream-class-streams-dynamically-modulestreamcontrol) to dynamically create a live stream.

Paul

---

<div class="post-metadata">

**Author:** ![Paul\_Shields](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/paul_shields/32/390_2.png) [@Paul\_Shields](https://community.wowza.com/u/Paul_Shields)\
**Post date:** [December 1, 2015, 1:13pm UTC](https://community.wowza.com/t/how-to-stream-shorter-dash-segment-than-source-mp4s-gop/46218/3 "2015-12-01T13:13:52Z")

</div>

Hi,

I don’t have examples of how to load the schedule outside of Flash client but the source is available for customization. You can stream the output as MPEG-DASH. I’m not sure what you mean by “seekable”. As it’s a live stream then you can’t skip through the stream. You can apply DVR-type controls by enabling the nDVR AddOn for that Wowza application, but currently this is not available for MPEG-DASH. We do hope to provide nDVR for DASH in the future though.

Paul

---

<div class="post-metadata">

**Author:** ![Tomonori\_Maruyama](https://avatars.discourse-cdn.com/v4/letter/t/8e8cbc/32.png) [@Tomonori\_Maruyama](https://community.wowza.com/u/Tomonori_Maruyama)\
**Post date:** [November 24, 2015, 3:50pm UTC](https://community.wowza.com/t/how-to-stream-shorter-dash-segment-than-source-mp4s-gop/46218/4 "2015-11-24T15:50:25Z")

</div>

Thank you for the answer Paul,

> You could look at creating a “pseudo-live” stream using [ServerListenerStreamPublisher](https://www.wowza.com/docs/how-to-schedule-streaming-with-wowza-streaming-engine-streampublisher%28ServerListenerStreamPublisher%29), which “publishes” VOD playlists as a live stream, and which then allows you to transcode the stream on the fly, including setting a different keyframe. This may not be practical for large numbers of files though. In this case then from a programmatic perspective you could look at [ModuleStreamControl](https://www.wowza.com/docs/how-to-control-stream-class-streams-dynamically-modulestreamcontrol) to dynamically create a live stream.
> 
> According to the “pseudo-live” stream, we have two questions:
> 
> 1. is it possible to program this as a Wowza custom module without any client side flash?
> 
> 2. is the “pseudo-live” stream seekable with an HTML5 DASH player?
> 
> Best regards,
> 
> Tomonori

---

<div class="post-metadata">

**Author:** ![Tomonori\_Maruyama](https://avatars.discourse-cdn.com/v4/letter/t/8e8cbc/32.png) [@Tomonori\_Maruyama](https://community.wowza.com/u/Tomonori_Maruyama)\
**Post date:** [December 2, 2015, 12:04pm UTC](https://community.wowza.com/t/how-to-stream-shorter-dash-segment-than-source-mp4s-gop/46218/5 "2015-12-02T12:04:23Z")

</div>

Thank you Paul,

> You can apply DVR-type controls by enabling the nDVR AddOn for that Wowza application, but currently this is not available for MPEG-DASH. We do hope to provide nDVR for DASH in the future though.
> 
> That is what I wanted to know. I think HLS can play with videojs-contrib-hls.
> 
> Tomonori
