How to play a video on demand file

Hi,

I want to play multi-bitrate streams with flash player but it’s not clear for me how this works. I’ve read the flash documents you linked in the first post (Dynamic streaming in Flash part1-3.) and I take a look at the sample files and it’s looks like the switching is at client side. In those examples always use a local smil file with a tag in the head which contains the stream server. But in your example there’s no server information in the smil file only the different streams in the switch tag, and because of it I tought that I have to handle the smil like a stream (copy it to the wowza content directory and play it like a normal video), and the wowza makes the switching between the different videos, and the client just don’t know about it. But when I tried this I get 2 results:

  1. If I used the “smil:” prepending in the stream name I get the “MediaReaderFactory: getInstance: Missing definition for smil” error.

  2. If I don’t use the “smil:” I get “MediaReaderFLV.open: Metadata appears to be bad: mb.smil”

Please tell me What to Do, or What did I misunderstand.

I’ve read the article and I’ve checked the sample files but there are two problems with it for me.

  1. The smil file is separated from the video content. (It’s located where the player swf itself or reachable over http.)

  2. The stream switching is initiated from client side (in the flash player).

Are there any way to use the smil located where the videos over rtmp, or do the switching in the wowza media server without any client side operation?

Hello,

I have tired the Multi-bitrate Video On Demand Streaming as per your instructions but it gives following error in log file

ERROR server comment 2010-01-11 06:36:55 - - - - - 1583442.288 - - - - - - - MediaReaderFactory: getInstance: Missing definition for smil

Please let me know the solution to fix this issue.

I should have been clearer. When I described my experience with Safari, I should have said that I meant Safari on a desktop computer. The same result (that download of a file with an iTunes icon) occurs when I use FireFox or Chrome on either of the computers which I have used (Mac Pro and MacBook Pro). If I play the dowloaded file (titled playlist.m3u8) using QuickTime, it makes a brief buzzing sound and then plays the next file in my iTunes music directory. I have also tried this http:// command as suggested in the Tutorial on my wife’s Windows computer. It does have iTunes installed and its behavior is the same as on my two Macintosh computers.

I am sorry that I was not clearer in my prior message. I hope this helps. By the way, my Macintosh computers are both running SnowLeopard and my wife’s Windows machine is using WindowsXP.

Is it possible to switch between bitrate for livestreams? The example given is for VOD, but i`m interested in serving multiple bitrates for livestreams.

Hello I’m using a HTC Touch Diamond (Windows Mobile 6.1)to see a VOD streaming and run into problems.

Technically I can use anyone of the 3 ways:

  1. Use RTSP protocol: This is not supported by Wowza server currently. When will it be supported in your plan?

  2. Use the RTMP protocol: I tried the Adobe Flash Player 7 on my HTC and opened the “LiveVideoStreaming/client/live.html” page. The whole page flashed constantly and I couldn’t input Server and Stream names. The Skyfire browser displays well but I can’t input on the edit boxes either.

  3. Use the Apple HTTP Live streaming protocol: I can’t find such a player for WM6.1 so far.

Do you have any ideas for how can I view VOD stream on the HTC cell phone? Thanks.

Yes I know it doesn’t work now. But I have to support this functionality in the Windows Mobile 6.1 phones. Any workaround?

This post may provide some clues: https://www.wowza.com/forums/showthread.php?t=5490, but why I can’t open it? It says:

you do not have permission to access this page. This could be due to one of several reasons:

  1. Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else’s post, access administrative features or some other privileged system?

  2. If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

Please help, thanks

But this is a common scenario. Windows Mobile OS has a large amount of users whom the WowzaMediaServer should cover. Orelse it loses these users, right?

Hi. Do you have a plan to support the VOD + RTSP in the near future? Thanks.

Thanks Charlie,

I use it for mobile streaming. The RTSP is an ordinary ability of a normal mobile phone, example WindowsMobile and Blackberry. They don’t play Apple Http Live streaming and RTMP flash. The only way is to use RTSP. So I think RTSP + VOD is a popular scenario. For example, m.youtube.com provide RTSP VOD.

I think this functionality will add strength to Wowza server.

Hello Charlie and Richard,

If the RTSP+VOD functionality incorporated yet? Now I use Wowza as the Live streaming and WindowsMediaServer9 as the VOD server. If you have it combined, I will use only one Wowza.

And now the VOD streaming, via mms://, is very slow during the protocol negotiation time. When I VOD a WM9 file, it takes 45 seconds to see the 1st picture. May this be an authentication problem? Any ideas? Thanks.

No, sorry, RTSP/vod is not supported yet.

Is Wowza server involved in this?

Richard

No. Sorry, this VOD server is WindowsMediaServer9. Because Wowza server doesn’t support RTSP VOD now.

Hi charlie

Is it must copy video to [install-dir]/content folder?

Can I put videos in another PC in the intranet.

Beacuse I have NAS storage devices in my case.

ex:

[Flash/iPhone]<—[wowza 192.168.1.10]<—[Video File Server 192.168.1.20]

Another question about recording.

Can It record viedo to other PC’s folder , not localhost’s [install-dir]/content.

ex:

[IP-Cam]—>[wowza 192.168.1.10]—>[Video File Server 192.168.1.20]

MediaREaderH264.open[2] java.lang.Exception: QTUtils.

parseQTMediaContainer: File is missing ‘moov’ atom.

=========================================

Mp4 file certain messages while leaving the solution is not play

What should I do is play?

Problem file: http://gaslp.iptime.org/tr5.mp4

[ADD]

flow player not playing in the jw player with more playback problems

Hi ,

I have a strange problem to use the VOD for Ipod. I have to insert something between the mp4: and the file arborescence .

example : the link http://medias-flash.tou.tv:1935/ondemand/mp4:002/mov/br/2010-03-13_SIXDLC_0024_br.mov/playlist.m3u8 dosn’t work and I get this error INFO stream create mov/br/2010-03-15_cclv_0406_br.mov -

WARN server comment mov/br/2010-03-15_cclv_0406_br.mov MediaReaderH264.open[1]:

java.io.FileNotFoundException: s:\mov\br\2010-03-15_cclv_0406_br.mov (The system

cannot find the path specified)

ERROR server comment - MediaReaderH264Cupertino.indexFile:java.lang.NullPointerE

xception

If I enter the same link with a 0 inserted http://medias-flash.tou.tv:1935/ondemand/mp4:0/002/mov/br/2010-03-13_SIXDLC_0024_br.mov/playlist.m3u8 it works . Any adea to fix that problem

Regards

Charlie,

it is nice to hear. I definitely like the idea of having flash, iPhone http streaming and 3gp RTSP support in one product to build both web and mobile VOD services for all platforms. Currently we are using http server with ffmpeg segmenter for iPhone and Darwin for other GSM devices…

Thanks charlie ,

I update latest patch and its fix my bug. :slight_smile:

Hi,

I’m not able to get the Extremists.mp4 clip to play using the Default.html file provided in the samples. I can fetch the manifest if I enter the url from the directly into a browser. However when I load Default.html in either IE or Firefox, I just get a blank video player.

In Default.html, if I change the property from true to false, then in the video player window when I load the page I get: Could not open media file http://localhost:1935/vod/mp4:Extremists.m4v/Manifest

4001 An error has occurred.

Anybody have a suggestion for what I can try?

Note - I can play the same file using the flash player via simplevideostreaming.html, that one works fine.

Note also - the server doesn’t print anything to the console window when I try to run the smooth stream.

Thanks,

Scott

I got it working now but I’m not 100% sure why-

Here’s the thing - in the case where it doesn’t work, I’m just double-clicking on the Default.html file provided with WMS. This opens Default.html in either IE or Firefox, and either way it doesn’t work (no output in the console and no video plays).

Note that there is no separate web server running on my windows box. I’ve got WMS running on the windows box but that’s it.

Then, here’s how I was able to get it to work:

I copied the files Default.html, SmoothStreaming.xap, MediaPlayerTemplate.xap, and Preview.png, to a separate computer which is running a web server. Instead of just double-clicking on Default.html to open it in my browser, I point my browser to Default.html on the web server, e.g. http://mywebserver/Default.html.

That made it work. So my guess is that when I just double click on the Default.html file, the silverlight client couldn’t figure out how to load the .xap files? Does that sound right?

Thank you Richard.

I have tried to change module function checkBandwidth, but it would be lot of work :frowning: (simple changes didn’t help).

So I have tried use flowplayer as client. It worked fine.

But I don’t know what to do with silverlight player (as posted last time):

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.

  • If I ran BWchecker it shows me bandwidth 8Mbps so it is OK

  • If I ran only one file with best quality it works perfectly

  • Flash client works fine with switching (but it different technology).

  • but if I run “autobitrate switching” with SL client lower and lower quality is selected.

  • I have found some more silverlight players which do same thing :frowning:

Can I do some test on wowza (eg. some “more precise” log which I could send to you)?

Thank you Martin