Protocols for multimedia transfer?

Asked

Viewed 67 times

1

I’m developing a video site, and these are stored on a windows server, currently using http://path.mp4 to fetch the video files for the HTML5 player, but then I wondered if HTTP is appropriate for this type of use, there is some restriction?

  • Currently videos take on average 5 to 15 seconds to start, many requests to the same video may take longer?
  • Is there any other protocol that serves better for this function?
  • 1

    Depends on how you use it. If you are going to use HTTP, the least you can expect is to use a server that supports ranges, so that you can jump to the middle of the video without loading the whole start first. You have too many variables to tell you what’s best or best for your case. This delay to start may be related to the fact that the system is not streaming, and the video is not closed in any way that allows progressive load, or another factor of the same type requiring the complete download before play. As I commented, many factors involved.

  • These are videos ranging from 200 to 400mb, how can I make the video to be streamed as a stream? I’ve read that if you move the metadata to the top the video loads faster in the player, but I didn’t find anything concrete

  • 1

    You need to study about the forms of compacting, the types of container and encoding, it’s something that escapes a little of our scope. Other than that, then you need to serve in order to be able to stream, which is another subject that is independent of the video closure. And it depends on the web server used too.

  • Note that HTTP is for really low-use cases, if you’re going to do something like a more complex, more public video server, you need to really think about pure streaming protocols (which I believe is one of the elements of your question).

  • Whenever I look about these protocols for live stream, or comes HLS, or RTSP, in the case of what I read RTSP seems to work well with HTML5, I will delve deeper into some forums in English because Br does not have much on this type of content

  • @Bacco using php to stream files would be a good method ?

  • It will simply be an extra layer in the middle stressing the server.

  • I opened another question focused more on this issue of live by PHP, to better discuss how this method works http://answall.com/questions/170599/vantagens-e-disadvantages-de-usar-php-v%C3%Addeo-stream? noredirect=1#comment351640_170599

Show 3 more comments
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.