Forum Discussion

bege's avatar
bege
Visitor
16 years ago

apache server setup to stream videos

I have a Ubuntu 9.10 box at home and would like to try stream media from it. Do you have to install anything special on the server to get it to stream media, or do you just have to drop the appropriate encoded file in one of the hosted directories?
I have the latest httpd installed but had some issues last night. The progress bar would only go about 5% then stall out. I never got any sound or picture. I was using the simpleplayer sample and only changed the URL in the source code. Do I need to do anything else to the source? I believe that my issues have to do with the file itself and not the server but I wanted to confirm. I used a sample mp4 that I found on the internet as a test file.

5 Replies

  • You will want to make sure that your file conforms to the specs in "Supported Video Formats" in the Component Reference.

    You should make sure you have proper settings for the following params:
    videoclip.StreamBitrates = bitrates
    videoclip.StreamUrls = urls
    videoclip.StreamQualities = qualities
    videoclip.StreamFormat = StreamFormat

    For your mpeg4 video, the StreamFormat will be "mp4". Please check the other values are correct.

    --Kevin
  • I found the issue. I had to use the IP address of my server and not the servername. Once I did this I was able to get a video to stream and work. I used Handbrake to encode it first and all is good.
  • (lets keep the DNS discussion in the DNS thread)

    I too would like to know if amazon/netflix/etc run any special configurations, or just a holy hell of a lot of FAST disks and lots of memory (caching). I am using a *very* basic apache configuration. I actually just turned on "Web Sharing" on my mac, and put the files into ~/Sites .. I am having the same problems as others (movie over 1HR starts buffering).

    I can also try it on a Sun Ultra 45 (workstation), but again it will just be a very basic apache2.2 configuration.

    Thanks in advance,
    Tommy
  • "TommyTheKid" wrote:
    (lets keep the DNS discussion in the DNS thread)

    I too would like to know if amazon/netflix/etc run any special configurations, or just a holy hell of a lot of FAST disks and lots of memory (caching). I am using a *very* basic apache configuration. I actually just turned on "Web Sharing" on my mac, and put the files into ~/Sites .. I am having the same problems as others (movie over 1HR starts buffering).

    I can also try it on a Sun Ultra 45 (workstation), but again it will just be a very basic apache2.2 configuration.

    Thanks in advance,
    Tommy


    It was indicated to me that this may be a firmware issue on the roku box itself, though I haven't seen a public notification of that; maybe one of the moderators can confirm?
  • "zimbra" wrote:
    "TommyTheKid" wrote:
    (lets keep the DNS discussion in the DNS thread)

    I too would like to know if amazon/netflix/etc run any special configurations, or just a holy hell of a lot of FAST disks and lots of memory (caching). I am using a *very* basic apache configuration. I actually just turned on "Web Sharing" on my mac, and put the files into ~/Sites .. I am having the same problems as others (movie over 1HR starts buffering).

    I can also try it on a Sun Ultra 45 (workstation), but again it will just be a very basic apache2.2 configuration.

    Thanks in advance,
    Tommy


    It was indicated to me that this may be a firmware issue on the roku box itself, though I haven't seen a public notification of that; maybe one of the moderators can confirm?


    I too would like to know why it is buffering after one hour. Not that I experienced it yet.
    I just set it up now and will test it soon.