The first thing you have to do is create a smil file that references different bit rate videos. You change this:
file=amazons3/bucketname/TEST.Title7.mp4
To this:
file=smil:amazons3/bucketname/mySmil.smil
Then create the filed name mySmil.smil and upload to your bucket. The link below shows how to create the smil file. It is going to be sitting next to the videos in the same bucket, so the smile file /video src should just be the video names, not bucket or path.
I think JW player 4.7 or try the latest 5 version should work.
Also add Flashvar “type=rtmp”. Or if JW 5 make it “provider=rtmp”
(also, take this out of the Flashvars “&flashvars=foo=Hello”)
I will give you the same answer here. JW Player seems to be pre-pending smil: to the stream name. Wowza cannot handle the smil: prefix. JW Player should not be pre-pending smil: to the stream name.
The Flashvars is a problem. It’s not well formed and you are trying to do too much too soon. I suggest fixing it and simplifying it. The “provider=rtmp” part is important in this case and it might not be being read because you have nested “flashvars” in the Flashvars. There might be a soft or hard return in the middle of it too. Try it like this for testing:
I tried to test this but got connection rejected, so I assume you have SecureToken enabled. So if you are not supplying the token correctly, that could also be a problem
I get “application rejected connection” from your ec2 server with the smil file.
Do you have SecureToken installed? If so, can you remove that for testing. And do you have a sample video in that bucket (eg Extremists.flv) so I can test that.
Also, sorry, but I can’t find what you sent to support. Can you resend and reference this thread.
I. I have updated the following steps in vods3/Application.xml
Set the Streams/StreamType property to: default
Answer: It has set default. So i didn’t change anything.
Set the HTTPStreamers property to: cupertinostreaming,smoothstreaming
Answer: It has set default. So i didn’t change anything.
Add the following property to the application level container at the bottom of the Application.xml file (be sure to get the correct container - there are several in the Application.xml file)
Code:
smoothStreamingMediaMajorVersion
2
Integer
Answer: I have added above code manually to container which is last of vods3/Application.xml.
4.Smooth Streaming only: Using a text editor create the file [install-dir]/conf/clientaccesspolicy.xml with the following content (For more information see the article Network Security Access Restrictions in Silverlight):
Answer: It has set default. So i didn’t change anything.
II. Created smil file and streaming
I have created new smil file(mySmil.smil) in mybucket with following code
I have changed the flashvars as per your instructions but it still not working
My Embed Code :
mysmil.smil Code :
[HTML]
[/HTML]Note:
Both mysmil.smil and scooby-theme.flv are in same bucket.
I have used “Hot Link Denial” module to restrict stream from other sites except my site.
If i will use multi bitrate video streaming, it not works fine. Other wise it works fine(streaming directly from s3 bucket). Please check the above link and code.
In smil file, it has “system-bitrate” variable, how to set this variable its deponds upon video or randomly because i don’t about the bitrate of scooby-theme.flv. I think problem might be in creation of smil file. So please check it.
It works fine. So problem is not possible with smil file or jw player or embed code.
Note 1 : I have sent my queries to support support@wowza.com with attachment of /conf and /logs folders of my wowza server. But i didn’t get any reply for that mails. Please let me know how can i contact support team for direct communication.
“It is most likely a problem with JW Player. It seems to be prepending the smil: prefix to the stream name. We cannot handle a prefix of smil:. It is not valid. You may want to post this issue in the JW Player forums.”