Skip navigation
Sv Bell
Currently Being Moderated

Need a hand to configure FMS 4.5 to output HTTP stream...

Apr 26, 2012 11:01 AM

Tags: #video #hls #server #ios #apache #streaming #rtmp #stream #live_streaming #fms_4.5

Hi folks!

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://184.107.48.113 opens the default Windows IIS, and http://184.107.48.113: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://184.107.48.113: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!!!

-sv bell

 
Replies
  • Currently Being Moderated
    Apr 30, 2012 2:02 AM   in reply to Sv Bell
     
    |
    Mark as:
  • Currently Being Moderated
    May 1, 2012 1:00 AM   in reply to Sv Bell

    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.

     

    <?xml version="1.0"?>

    <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">

    <cross-domain-policy>

              <allow-access-from domain="*" />

    </cross-domain-policy>

     

    5. Now try to play the m3u8 through quicktime.

     
    |
    Mark as:
  • Currently Being Moderated
    May 1, 2012 6:58 AM   in reply to Sv Bell

    Hey,

     

    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/#

    Input: http://184.107.48.113:8134/hds-live/livepkgr/_definst_/livebroadcast/l ivestream.f4m

    (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.

     

    <!DOCTYPE html>

    <html>

    <head>

    <title>Title of the document</title>

    </head>

    <body>

    <video width="320" height="240" controls="controls" src="http://184.107.48.113:8134/hls-live/livepkgr/_definst_/livebroadcast/l ivestream.m3u8"  />

    </body>

    </html>

     
    |
    Mark as:
  • Currently Being Moderated
    May 1, 2012 7:21 AM   in reply to Sv Bell

    Nice to hear that. If HDS works, so will HLS.

    Are you able to play it through HTML5?

     
    |
    Mark as:
  • Currently Being Moderated
    May 1, 2012 9:52 PM   in reply to Sv Bell

    What's the URL and I'll test it on my ipad if you like.

     
    |
    Mark as:
  • Currently Being Moderated
    May 1, 2012 11:54 PM   in reply to Sv Bell

    Hey Sv,

     

    Please let me know of the publish settings you are using.

    Also send me the Apache error logs, FMS core logs.

     

     

    Thanks!

     
    |
    Mark as:
  • Currently Being Moderated
    May 2, 2012 12:09 PM   in reply to ShivenK

    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.

     

    Much appreciated!

     

    Mike

     
    |
    Mark as:
  • Currently Being Moderated
    May 3, 2012 12:49 AM   in reply to mrwizzer2

    Cheers Mike!

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points