# How to play a video on demand file

**URL:** https://community.wowza.com/t/how-to-play-a-video-on-demand-file/64
**Category:** Wowza Streaming Engine
**Created:** [October 21, 2009, 10:50am UTC](https://community.wowza.com/t/how-to-play-a-video-on-demand-file/64 "2009-10-21T10:50:42Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/system/32/447_2.png) [@system](https://community.wowza.com/u/system)
#### Post date: [October 21, 2009, 10:50am UTC](https://community.wowza.com/t/how-to-play-a-video-on-demand-file/64/1 "2009-10-21T10:50:42Z")

</div>

[https://www.wowza.com/docs/how-to-set-up-video-on-demand-streaming](https://www.wowza.com/docs/how-to-set-up-video-on-demand-streaming)

---

<div class="post-metadata">

### Author: ![Charlie\_Good](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/charlie_good/32/383_2.png) [@Charlie\_Good](https://community.wowza.com/u/Charlie_Good)
#### Post date: [February 24, 2010, 3:03pm UTC](https://community.wowza.com/t/how-to-play-a-video-on-demand-file/64/2 "2010-02-24T15:03:24Z")

</div>

Wowza currently does not support .ts file playback. It is something we have considered. We have no definitive plans at this time.

Charlie

---

<div class="post-metadata">

### Author: ![Charlie\_Good](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/charlie_good/32/383_2.png) [@Charlie\_Good](https://community.wowza.com/u/Charlie_Good)
#### Post date: [March 13, 2010, 5:31pm UTC](https://community.wowza.com/t/how-to-play-a-video-on-demand-file/64/3 "2010-03-13T17:31:13Z")

</div>

It is a feature that is high on the priority list.

Charlie

---

<div class="post-metadata">

### Author: ![Charlie\_Good](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/charlie_good/32/383_2.png) [@Charlie\_Good](https://community.wowza.com/u/Charlie_Good)
#### Post date: [September 22, 2010, 9:34am UTC](https://community.wowza.com/t/how-to-play-a-video-on-demand-file/64/4 "2010-09-22T09:34:16Z")

</div>

Try decresing the key frame interval to a multiple of 10 seconds. For example make it 2, 2.5 or 5. Wowza breaks up the chunks on key frames. The target chunk size is 10 seconds. So the file needs to contain key frames at a multiple of 10 seconds.

Charlie

---

<div class="post-metadata">

### Author: ![Charlie\_Good](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/charlie_good/32/383_2.png) [@Charlie\_Good](https://community.wowza.com/u/Charlie_Good)
#### Post date: [September 22, 2010, 10:47am UTC](https://community.wowza.com/t/how-to-play-a-video-on-demand-file/64/5 "2010-09-22T10:47:04Z")

</div>

It all depends on the encoder you are using. It is an encoder setting.

Charlie

---

<div class="post-metadata">

### Author: ![REKIK\_amine](https://avatars.discourse-cdn.com/v4/letter/r/f07891/32.png) [@REKIK\_amine](https://community.wowza.com/u/REKIK_amine)
#### Post date: [December 28, 2009, 2:26pm UTC](https://community.wowza.com/t/how-to-play-a-video-on-demand-file/64/6 "2009-12-28T14:26:41Z")

</div>

Hi,

I’d like to play a video on demand file, I read the appropriate tutorial and I run it using the Extremists.m4v file. but when i past my file “Fichier.mp4” to the folder “Content” and when I try to play the new file using the examples/SimpleVideoStreaming/client/simplevideostreaming.html sample,

I receive the error in the Wowza Media Server Console:

```auto
WARN server comment Fichier.mp4 MediaReaderH264.open[2]: java.lang.Exception: QT
Utils.parseQTMediaContainer: File is missing 'moov' atom.

```

Have you any idea to solve this problem.

thank you

---

<div class="post-metadata">

### Author: ![Howard\_Kalodner](https://avatars.discourse-cdn.com/v4/letter/h/9fc348/32.png) [@Howard\_Kalodner](https://community.wowza.com/u/Howard_Kalodner)
#### Post date: [January 13, 2010, 7:46am UTC](https://community.wowza.com/t/how-to-play-a-video-on-demand-file/64/7 "2010-01-13T07:46:59Z")

</div>

The tutorial says:

"Enter the following URL into the Safari web browser on the device:

Code:

http://[wowza-address]:1935/vod/mp4:Extremists.m4v/playlist.m3u8

Note: This stream can also be played using the Safari Browser or QuickTime 10.x on a computer running OSX version 10.6 or greater (Snow Leopard).

This works very well on an iPod Touch and using the Get URL function in QuickTime Player. However in Safari it downloads the playlist part of the command as an iTunes file with the following content:

"#EXTM3U

#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=100000

[http://161.77.180.51:1935/vod/mp4:Extremists.m4v/playlist.m3u8?wowzasessionid=1565372152](http://161.77.180.51:1935/vod/mp4:Extremists.m4v/playlist.m3u8?wowzasessionid=1565372152)"

It does not play the movie.

What can I do to make this work - I ultimately need to be able to place a command in an html document which will play the movie.

Thanks for your advice.

---

<div class="post-metadata">

### Author: ![aman\_patial](https://avatars.discourse-cdn.com/v4/letter/a/7feea3/32.png) [@aman\_patial](https://community.wowza.com/u/aman_patial)
#### Post date: [March 24, 2010, 10:28pm UTC](https://community.wowza.com/t/how-to-play-a-video-on-demand-file/64/8 "2010-03-24T22:28:51Z")

</div>

Hi all,

I using wowza server 2 to display stream on silver light player using wowza examples name **SimpleVideoStreaming**.

I did all steps given by wowza tech team but i m unable to play **[http://serverIp:1935/vod/mp4:Extremists.m4v/Manifest](http://serverIp:1935/vod/mp4:Extremists.m4v/Manifest)** at last step.

On the hand, I assigned **mediaSource= [http://video3.smoothhd.com/ondemand/Got\_Imagination\_(California).ism/Manifest](http://video3.smoothhd.com/ondemand/Got_Imagination_%28California%29.ism/Manifest)** in html file.that’ s working fine.

can somenone tell me. Is it due to the m4v/mp4 file format support to silverlight player or something else that i need to do at my end ?

Is there any way, wowza team provide video file format in wmv other than mp4 for testing purpose. ?

Thanks

---

<div class="post-metadata">

### Author: ![Martin\_Hajek](https://avatars.discourse-cdn.com/v4/letter/m/838e76/32.png) [@Martin\_Hajek](https://community.wowza.com/u/Martin_Hajek)
#### Post date: [May 24, 2010, 7:38pm UTC](https://community.wowza.com/t/how-to-play-a-video-on-demand-file/64/9 "2010-05-24T19:38:10Z")

</div>

Hello

I’m trying to run “auto bitrate switching” with open video player 2.1.3 (win Vista, firefox, IE 8).

I have smil file with list of available video files.

When I open smil file with OVP, it starts to check bandwidth but it shows “unavailable”.

When I open wowza log i see “Missing function: \_checkbw”

Any advice?

Second problem is with silverlight. I’m using (in tutorial recomended IIS\_Smooth\_Streaming\_Player\_Development) player. It can open smil file. Video starts with maximum quality (or rises fast to best quality). But after few seconds lower and lower video is selected. And than lowest quality is played till the end.

Both computers are on 100Mbps LAN. So speed or delay isn´t problem.

Martin

---

<div class="post-metadata">

### Author: ![Charlie\_Good](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/charlie_good/32/383_2.png) [@Charlie\_Good](https://community.wowza.com/u/Charlie_Good)
#### Post date: [December 28, 2009, 6:02am UTC](https://community.wowza.com/t/how-to-play-a-video-on-demand-file/64/10 "2009-12-28T06:02:33Z")

</div>

It sounds like the file is not properly formatted. We can take a look at it. Send a copy to support@wowza.com.

Charlie

---

<div class="post-metadata">

### Author: ![Charlie\_Good](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/charlie_good/32/383_2.png) [@Charlie\_Good](https://community.wowza.com/u/Charlie_Good)
#### Post date: [March 9, 2010, 11:20am UTC](https://community.wowza.com/t/how-to-play-a-video-on-demand-file/64/11 "2010-03-09T11:20:00Z")

</div>

We do not have any definitive time frame. How exactly do you plan on using video on demand over RTSP/RTP? Is it for mobile, desktop, set-top box. What is the use case?

Charlie

---

<div class="post-metadata">

### Author: ![Charlie\_Good](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/charlie_good/32/383_2.png) [@Charlie\_Good](https://community.wowza.com/u/Charlie_Good)
#### Post date: [March 21, 2010, 4:18pm UTC](https://community.wowza.com/t/how-to-play-a-video-on-demand-file/64/12 "2010-03-21T16:18:15Z")

</div>

I don’t think so but I need to look at the code. I will try to post back in the next few days with the answer.

Charlie

---

<div class="post-metadata">

### Author: ![Charlie\_Good](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/charlie_good/32/383_2.png) [@Charlie\_Good](https://community.wowza.com/u/Charlie_Good)
#### Post date: [May 6, 2010, 7:05am UTC](https://community.wowza.com/t/how-to-play-a-video-on-demand-file/64/13 "2010-05-06T07:05:48Z")

</div>

All the segmentation is done in memory. Nothing is cached or saved to disk.

Charlie

---

<div class="post-metadata">

### Author: ![Charlie\_Good](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/charlie_good/32/383_2.png) [@Charlie\_Good](https://community.wowza.com/u/Charlie_Good)
#### Post date: [July 19, 2010, 4:04pm UTC](https://community.wowza.com/t/how-to-play-a-video-on-demand-file/64/14 "2010-07-19T16:04:57Z")

</div>

See these forum posts:

[http://community.wowza.com/t/-/246](http://community.wowza.com/t/-/246)

[http://community.wowza.com/t/-/40](http://community.wowza.com/t/-/40)

Charlie

---

<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 11, 2010, 3:07pm UTC](https://community.wowza.com/t/how-to-play-a-video-on-demand-file/64/15 "2010-01-11T15:07:22Z")

</div>

Alexy,

For Flowplayer, you have to try it out, but I think the answer (at this moment) is no. But I am not sure. JW player 4.7 is supposed to work for multi-bitrate, and they are working on multi-bitrate for JW player 5.

Richard

---

<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 11, 2010, 3:46pm UTC](https://community.wowza.com/t/how-to-play-a-video-on-demand-file/64/16 "2010-01-11T15:46:23Z")

</div>

Nandakumar,

Please provide more details. You should be using Wowza Server 2. What player technology are you using? If Flash, which player system? Are you prepending “smil:” to stream name?

Richard

---

<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 13, 2010, 3:50pm UTC](https://community.wowza.com/t/how-to-play-a-video-on-demand-file/64/17 "2010-01-13T15:50:42Z")

</div>

On the IPhone, go to Settings \> Safari \> Plugins. It’s probably “OFF”. Switch it on and it should work.

Richard

---

<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 13, 2010, 8:06pm UTC](https://community.wowza.com/t/how-to-play-a-video-on-demand-file/64/18 "2010-01-13T20:06:42Z")

</div>

It won’t work in Safari on desktop. It won’t work in any desktop browser, it only works on Safari on the IPhone. Or maybe some simulator, but not that I have seen work.

You can play the same stream in a Flash player that is embedded in a Safari or any desktop browser over rtmp:

rtmp://[wowza-address]:1935/vod/mp4:Extremists.m4v

Richard

---

<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 28, 2010, 12:54pm UTC](https://community.wowza.com/t/how-to-play-a-video-on-demand-file/64/19 "2010-01-28T12:54:52Z")

</div>

You can use HTML page to display the video in a video tag, and put instructionas below it.

```auto
<html> 
<head>
  <title>IPhone video</title> 
</head> 
<body> 
<video src="http://[wowza-address]:1935/iphone/_definst_/someStream/playlist.m3u8"> 
</video>
<b>Make sure you enable plugins:<BR>
Go to Settings > Safari > Plugins. Switch it "On"
</body> 
</html>

```

Put this page on webserver and open in IPhone Safari.

Richard

Richard

---

<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: [February 1, 2010, 7:50pm UTC](https://community.wowza.com/t/how-to-play-a-video-on-demand-file/64/20 "2010-02-01T19:50:04Z")

</div>

It is difficult, but if you want to see it work in a Flash player, the shortest and easiest way to get there is in on the first page of that article, the download, “dynstream\_walkthrough\_pt1.zip”

See this post:

[https://www.wowza.com/forums/showthread.php?p=34958](https://www.wowza.com/forums/showthread.php?p=34958)

Richard

[Next page](https://community.wowza.com/t/how-to-play-a-video-on-demand-file/64.md?page=2)
