streaming flv video help

Discussion in 'Install/Configuration' started by espoon, Nov 5, 2008.

  1. espoon

    espoon New Member

    Is there anyone who can at least point me in the right direction of how to stream flash video using LiteSpeed? Is there a tutorial out there somewhere?
    Even a little bit of a hint?

    The only reason I'm using LiteSpeed is that our host has cpanel and lighttpd doesn't mix. I have a 22Mb video that I need to somewhat stream online and I'm hoping this (LiteSpeed) will help as my hosting tells me it's faster than lighttpd to begin with.

    And while I'm asking, how do you get files uploaded to be served by LiteSpeed? I've tried ftp and it really doesn't like that.

    I've googled this subject to no avail.

    Thanks in advance...
  2. mistwang

    mistwang LiteSpeed Staff

    ftp upload should be fine. what happened when you access the FLV file from a flash player?
  3. mistwang

    mistwang LiteSpeed Staff

    Only thing required for FLV streaming is to assign MIME type "video/x-flv" to ".flv" files.
  4. espoon

    espoon New Member

    Okay I figured out what I was doing wrong trying to upload/copy files on the server.

    When you say - to assign MIME type "video/x-flv" to ".flv" files - what exactly are you saying? I understood the .flv files needed to be encoded for the scrubbing/seeking in the players, but are you talking adding the MIME type to the html page the flash video is embedded into or the actual video?

    If it is the actual video that you change the MIME type to, I have no clue and could use your expertise, thank you very much...

    I still have a couple of other questions as well -

    To get max. performance out of this server, I need to use the LSAPI in php just as you'd use the FastCGI in Lighttpd or am I wrong? If this is correct, do you still use the http protocol in the embedded call or something different?

    Thanks again for your time, I do appreciate it very much...
  5. zoom

    zoom Well-Known Member


    I'll answer your question about using LSAPI in PHP. If you are running PHP and want to gain the max performance then I would recommend using the LiteSpeed LSAPI for PHP.
  6. IrPr

    IrPr Well-Known Member

    And about FLV MIME Types

    Open LSWS Admin Interface

    Configuration Menu -> Server tab -> in General Settings section -> click on $SERVER_ROOT/conf/ -> search for flv suffix and if its not try to add flv suffix with video/x-flv Mime Type
    Last edited: Nov 7, 2008
  7. mistwang

    mistwang LiteSpeed Staff

    It should be the default after we add this feature. Only earlier installation need to add that.

Share This Page