No, I don’t think Wowza can or should keep up with or re-print the licensing details of every application that we have guides for. Check out the live encoders section, there’s many encoders Wowza provides guides for. It’s your responsibility to read the EULAs of the products you use.
Richard
It looks well formed. Do you see any useful errors in the access or error log?
Is there a subfolder name “wl” of the content location specified in the /conf/vod/Application.xml /StorageDir? And is there a video named “plewa_H264.mov” in that folder?
Look at the logs for a clue.
Richard
I meant the Wowza logs:
/logs/wowzamediaserver_access.log
/logs/wowzamediaserver_error.log
You might see a WARN line something like:
WARN server comment wl/plewa_H264.mov MediaReaderH264.open[1]: java.io.FileNotFoundException: C:\Program Files (x86)\Wowza Media Systems\Wowza Media Server 2\content\wl\plewa_H264.mov (The system cannot find the path specified)
Or some other clue. If you do not see any clue, then you are not connecting to the server.
Richard
Is the player.swf file alongside the html page, in the same location?
Richard
Testing in Wowza example player, I get a “stream not found” message.
Richard
Yes, I see the live stream now using the Wowza example player. The JW Player flashvars you posted are correct.
I notice the SWF is loaded from absolute url, which is unusual, but should work.
Review the JW player setup. Use their wizard to help:
http://www.longtailvideo.com/support/jw-player-setup-wizard
But Wowza and your live stream are working. I tested with the Wowza LiveVideoStreaming example:
Server: rtmp://ec2-174-129-80-242.compute-1.amazonaws.com
Stream: myStream
Richard
Great! Glad it’s working, thanks for the update
Richard
@bobmax48,
It’s okay to do it like that. Whatever works.
Richard
Change “localhost” to the Wowza IP.
Richard
Check the Wowza access and error log for a clue.
Try using the SimpleVideoStreaming example player [wowza-install-dir]/examples/SimpleVideoStreaming/client/simplevideostreaming.html
Server: rtmp://[wowza-address]:1935/
Stream: mp4:Extremists.m4v
If that doesn’t work, check the Wowza access and error log again. Is the Extremists.m4v in the content folder?
Richard
Make sure that the player.swf is alongside the html page or that you have correct path to its location.
Richard
Try putting an absolute url to player.swf. Using http://[webserver-address]/…/player.swf, to the exact location.
You can also ask for help on JW Forum.
Richard
The Wowza example players can be run from the file explorer. Not sure about JW player, some Flash apps do not have the security setting that allows them to run from file system and have to be run from a web server.
Richard
JW Player 5.2 will run from file location, I tried it. I open this in browser:
file:///C:/inetpub/wwwroot/JW52/bin-debug/player.html
The player.swf is in the same location and is reference relative, not with absolute url. I am using swfobject. My html looks like this:
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>player</title>
<script type="text/javascript" src="swfobject.js"></script>
</head>
<body>
<div id="player">
<a href="http://get.adobe.com/flashplayer/">Get the Flash Player</a>
to see this video.
</div>
<script type="text/javascript">
var so = new SWFObject('player.swf','mpl','480px','290px','9');
so.addParam('allownetworking','all');
so.addParam('allowscriptaccess','always');
so.addParam('allowfullscreen','true');
so.addParam('Flashvars','streamer=rtmp://localhost:1935/vod&file=mp4:sample.mp4&provider=rtmp');
so.write('player');
</script>
</body>
</html>
Richard
The .avi file is not supported. To test, try it with the Wowza sample.mp4 file.
Take a look at these encoding suggestions for creating mp4 files:
https://www.wowza.com/docs/how-to-encode-video-on-demand-content
Richard
Charlie, FYI, the RC for JW 5.1 does indeed work now. I’ve just compiled a secure token version of the player from source downloaded last night and it’ll play livestreams fine now.
The current 5.0 player source however will run about 1 frame or so and stop on live streams.
–Chris
FYI, 5.1 of JW is out now.
–Chris
Hi richard,
that looks good. I’ve gotta take a closer look at the MPEG-TS bit tho… I don’t recall having that issue with 5.1. Is that example when you serve from Wowza in MPEG-TS or publishing TO? I havn’t had any issues with 5.1 when I publish to the Wowza server with an MPEG-TS stream sent via UDP and JW picking up as RTMP.
I’m headed to lunch but when I get back I can fiddle with it.
My 5.1 test using my build of JW is here: http://cbtvhd.zcastlive.com/test/index51.html
I’ll send up some MPEGTS in an hour or so.
–chris
I am trying to get a playlist to work with MWS and JW, when I click on play, the player does not play. The xml is like this:
<?xml version="1.0" encoding="utf-8"?>
Hi Richard,
Is there a way making a playlist to play live feeds. I have this playlist.xml and its saying the stream is not found.
<?xml version="1.0" encoding="utf-8"?>
Worship 1 Plus Faith Clinic Plus Dance
SOLUTIONS
gateway(Sreamname)
Message 1
rmtp://mydomain.com/live
rtmp
The embed part of the html is like this:
flashvars="bufferlength=2&streamer=rtmpe://mydomain.com/live&file=playlist.xml&playlist=bottom&provider=rtmp"
Thanks.