Server

We have videos in mp4 format. The videos are as long as an hour.
What would be the best server to use for streaming mp4 videos so that I can seek and the player does not hang. Is there a way to show a spinner to indicate its busy trying to seek ?
1 person has
this question
+1
Reply
  • Hi,

    You should definitely use Amazon AWS services ( http://aws.amazon.com/ ), in particular S3 and CloudFront for a fast worldwide delivery of your video assets.

    Regarding the spinner question, there's currently no listener API on the "buffering" state of the player, but I'm sure you noticed that the player itself shows stripes in the progress bar background when it's buffering.

    I hope that helps.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. indifferent, undecided, unconcerned happy, confident, thankful, excited kidding, amused, unsure, silly sad, anxious, confused, frustrated

  • Hi,

    Thank you for the quick response.

    we cannot use Amazon AWS for what ever reasons.

    Can I use any web server like nginx or lighthttpd with mp4 modules enabled ? What I am looking(pseudostreaming) for is the player should not have to wait to download the whole file if I seek to 50th minute. Currently I used a simple tomcat to test and it seems to be downloading the whole video when I seek to 50th minute.

    Thank you
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. indifferent, undecided, unconcerned happy, confident, thankful, excited kidding, amused, unsure, silly sad, anxious, confused, frustrated

  • Hi,

    If your files are played in HTML5 mode, HTTP pseudo-streaming allows you to seek anytime in the video without having to wait for the player to buffer the video before the seeking point. Obviously you won't have to wait for the whole video to be buffered to start playing it.

    Please be sure that your web server handles pseudo-streaming, for instance for nginx: http://nginx.org/en/docs/http/ngx_htt...

    Please note that in Flash mode, to be able to start playing the video before it's fully buffered, you need to check the "Web optimized" option (if you're using Handbrake) when you encode your video.

    I hope that helps.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. indifferent, undecided, unconcerned happy, confident, thankful, excited kidding, amused, unsure, silly sad, anxious, confused, frustrated