Couple of minutes ago one of my friends has asked me do i know anything that can be used for pseudo streams and flash. This is somewhat an old topic, but still quite interesting.

Pseudo streams are a solution of skipping the play-head of the stream to your desired position on timeline. It is called pseudo stream because its not really skipping to that position, rather to the closest key-frame available. Reason for using this method is simple, unless you have a flash media server or red5 installed on your machine, you cant skip to the time that is not yet loaded.

Heres a basic story behind pseudo streaming:

  • Adding metadata to your flv along with a bunch of key-frames
  • put the flv on a server supporting PHP
  • Instead of using myvideo.flv as a path parameter, you use a PHP script with param, usually a key-frame number and in some cases a path to the flv on the server
  • PHP script uses fopen function to skip to the key-frame specified and starts throwing content as if it was a normal flv file only starting from your key-frame rather than beginning

This method is very popular in adult content websites as they have some legal issues with licensing servers.

So, that was a small intro to the method, and to see multiple implementations follow this link

Categories: Blog

0 Comments

Leave a Reply

Your email address will not be published.

Time limit is exhausted. Please reload the CAPTCHA.

This site uses Akismet to reduce spam. Learn how your comment data is processed.