# Video on demand for large files

**URL:** <https://community.wowza.com/t/video-on-demand-for-large-files/33941>\
**Category:** Wowza Streaming Engine\
**Created:** [January 22, 2012, 10:40pm UTC](https://community.wowza.com/t/video-on-demand-for-large-files/33941 "2012-01-22T22:40:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kudrik\_kudrik](https://avatars.discourse-cdn.com/v4/letter/k/a4c791/32.png) [@kudrik\_kudrik](https://community.wowza.com/u/kudrik_kudrik)\
**Post date:** [January 22, 2012, 10:40pm UTC](https://community.wowza.com/t/video-on-demand-for-large-files/33941/1 "2012-01-22T22:40:05Z")

</div>

We have a big storage with films, films are HD (2GB size and more) and we want our users to watch video content online.

Now we use nginx pseudo streaming module (ngx\_http\_mp4\_module), but we have a problem:

1. nginx doesn’t correctly stream large file (more 2 or 4 GB)

2. users will need big cache for watching films.

We want use Wowza Video Server, but we faced a problem. If user has slow or bad connection, but nevertheless wants to watch an HD-film, he faces a permanent “frame freezing”. We use JW player, and we set bufferlength in player settings. But anyway that is a bad decision of our problem.

What solutions can you suggest in this situation, using Wowza? Maybe it’s possible to use RTMP-stream with cache?

Thanks!

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [January 22, 2012, 7:26pm UTC](https://community.wowza.com/t/video-on-demand-for-large-files/33941/2 "2012-01-22T19:26:29Z")

</div>

You cannot stream a high bitrate video to a lower bitrate client smoothly. You have to provide a lower bitrate version somehow. The best solution is multi-bitrate streaming. Configuration for multi-bitrate streaming to iOS, Silverlight and Flash HTTP clients is covered in each of the tutorials:

[https://www.wowza.com/docs/tutorials](https://www.wowza.com/docs/tutorials)

For Flash RTMP clients, take a look at JW Player implementation of Dynamic Streaming

[http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/16012/setting-up-rtmp-dynamic-streaming](http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/16012/setting-up-rtmp-dynamic-streaming)

And for encoding key frame aligned sets that will work in any of the above techniques, take a look at the Expression 4 Encoder suggestions here:

[https://www.wowza.com/docs/how-to-encode-video-on-demand-content](https://www.wowza.com/docs/how-to-encode-video-on-demand-content)

Richard

---

<div class="post-metadata">

**Author:** ![kudrik\_kudrik](https://avatars.discourse-cdn.com/v4/letter/k/a4c791/32.png) [@kudrik\_kudrik](https://community.wowza.com/u/kudrik_kudrik)\
**Post date:** [January 23, 2012, 3:09pm UTC](https://community.wowza.com/t/video-on-demand-for-large-files/33941/3 "2012-01-23T15:09:06Z")

</div>

But our competitors have rtmp caching: for example [http://rutube.ru/tracks/5234697.html](http://rutube.ru/tracks/5234697.html) 😃

(loaded scrollbar in bottom)
