I'm trying to setup Flash Media Server (Streaming server) and I'm having issues with outputting HTTP stream.
The system works very well with the Flash ooutput, but for some reason the livepkgr won't work. Tried several things over the past two weeks, I've went thru docs and I don't know anymopre what else I can try... The source of the video feed is upstreamed from my own home computer, via Flash Live Encoder.
I operate a dedicated server, running Windows 2008 Server. The default web site is IIS. I configured the ports so that port 80 is the default IIS inetpub/webroot, and the FMS 4.5 install is accessed via port 8134. So the IP http://22.214.171.124 opens the default Windows IIS, and http://126.96.36.199:8134 takes the request to the FMS install.
The video stream is live on the Flash server, I can see it in the console, the livepkgr appears to be working, and I do see the .STREAM file being generated in the _definst_/livebroadcast/livestream folder. So the server works, and process the HTTP output.
I believe the URL I should use to access the output HLS stream is: http://188.8.131.52:8134/livepkgr/_definst_/livebroadcast/livestream .f4m.m3u8
but it returns a file not found message. Is there something wrong with the URL syntax? Or there is something else in the .conf files I must tweak? Or is it an issue with Apache 2.2 configuration?
You can see the live Flash stream from my web site http://www.blackflag.tv I want to change this Flash stream to HTTP stream.
Thanks for your help folks!!!
Please try using the following URLs (for event name 'livebroadcast')
Ah-haa... Thanks for your reply ShivenK !
I can see a sign of life now, thought it still won't work and video stream is not displaying. But the HLS link you give
instead of displaying a video, it downloads a .m3u8 file on my desktop. I tried to open in Quicktime, out of curiosity, but it's not recognized. Here's the full content of the .m3u8 file, in case it gives a hint on the solution:
(The server is broadcasting continuously since last week - you can test the HLS URL anytime)
Thanks for your help!!
And out of curiosity, I entered in Quicktime player the link
and the player does displays a message saying it's load the stream, but nothing else.
It's missing a little piece in the puzzle, somewhere, for it to work...
Ok. Here are a few things which I'd like you to do.
1. Stop the publishing.
2. Go to the FMS applications folder and delete everything uder applications/livepkgr/streams and also remove the *.stream file.
3. Now Restart the publishing.
4. Create crossdomain.xml with the below content, and place this xml in your webroot.
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<allow-access-from domain="*" />
5. Now try to play the m3u8 through quicktime.
Thanks for your help ShivenK!
I tried these directions (I also double-checked the FMLE settings for synchronization, and it is set to True)
Now using the link
in Quicktime, it returns the message "URL is invalid" (QuickTime 7.6.6)
In a web browser (Safari 5.0), the URL force-downloads the .m3u8 file, with the following content in it:
I checked in the Streams folder, and I can see the _definst_/livestream structure being generated, with the bootstrap, control file, and all the F4F and F4X series of files. I also have plenty of room on the disk (I have set the sliding window to 1 hour anyways)
The URL just don't reach the required file structure. The adress http://184.108.40.206:8134 does access the Adobe install folder, but the full path does not reach the file structure.
Just in case, I placed the crossdomain.XML file in both webroot directories, the one from Adobe FMS install, and another one in the default Windows inetpub/webroot. Didn't change a thing though.
I tried playing HDS now and its working fine. It wasn't playing earlier.
You can try it out by playing the content through the player here: http://www.osmf.org/configurator/fmp/#
(Don't forget to select the radio button for HTTP streaming)
This means everything is working on the server side.
Now, I don't have an iDevice on me to check out HLS playback.
You are using an older version of QuickTime, which could be an issue. Please let me know what publish settings you are using (as in the codecs).
Also can you try playing it back through HTML5. To do that, just create an HTML page with the below content.
<title>Title of the document</title>
<video width="320" height="240" controls="controls" src="http://220.127.116.11:8134/hls-live/livepkgr/_definst_/livebroadcast/l ivestream.m3u8" />
Ok!! That's an awesome news!!
Tried it and it works here too... So it has to play thru HDS and not HLS? Did I goofed somewhere in my settings then? I wanted it HLS but if it works via HDS, I can sure live with that!
I'll make some more tests, see how I can embad in my pages and on idevices...
Thanks, this just made my day!!!
I'm back in a moment with some tests results.
Thanks for the suggestion, ShivenK, to: "delete everything under applications/livepkgr/streams"
It solved the issue I was having with distorted/banded video/no video/green screen.
Europe, Middle East and Africa