Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

Multiple Files as a single http-Stream - is it possible?

7 replies [Last post]
Reply

Hello everyone,

i am currently looking around and gathering information about the realizability of one of my projects and would like to ask the streaming experts of you a little question:

Lets assume I have a Video story which evolves depending on decisions the viewer made before he initially watches the movie => De facto the server will select the files and the order in which those will be played, but depending on the variables the viewer gives in advance the video and its ending will slightly differ.

Some Parts will remain the same, while others will appear to another time or even don't show up at all.

My question is: is it possible to generate a kind of stream with the duration of all its parts altough it remains scrollable via timebar?

The top goal would be if it could be possible to create multiple streams like this and add them as single items to the playlist.

If its not possible I could live with that, but before I sit down and create a program filling up the playlist with dozens of entries that maybe could be joined I ask here.

Grettings,
Tom

Reply

Have you considered 'parallel downloading'?
I have used this technique for year and currently do on my web site.

The process is quite simple as it requires the adding of subdomains to your domain. I suggest that max of 3-4.

On one page on my web site I use this technique to d/l the images(using subdomains) and have the html and JWplayer d/l on the main domain.

The end effect is the appearance of speed in the display of your web page.

Not sure if this is what you are looking for but worth trying if it is.

Reply

Hello,

thank you very much for your reply!

Unfortunately, your Idea is not quite what I am thinking of, altough I will keep it in my mind for later on when I need to scale and configure the way my videos are provided via streaming. So thanks for that, maybe it will turn out as usefull for me.

Let me try to give you an example: What I am looking for is something similar to the way MSN Video works. A Video is split into (12 ?) multiple parts that are provided as one stream without laggs or loading times if the speed of the server is sufficient. This has the following advantages:

-Secure Streaming: It is really hard do download the video file as it is split in several parts that you would have to rejoin after downloading all parts seperately.

-Timeline: You can scroll throughout the whole video via timeline, and it is completely irrelevant which part lies under the time offset you selected. If the part not already downloaded, the download will start.

-Bandwidth control: Every file is streamed just as fast as it is needed => small files will require less traffic at a time, leaving it available for files with higher bitrates.

I have to be serious, I didn't have the time to get my mind into Silverlight right now. So the only thing im asking now is if it would be possible to do similar things using the JWPlayer.

Greetings,
Tom

Reply

Hmm, maybe the best way to do this would be to use a playlist then?

Reply

A playlist doesn't really work if you want people to be able to seek in the video.

Given your requirements it looks like you would be much better off using RTMP for delivery right now.

There are some interesting ideas floating around for HTTP dynamic streaming, but unfortunately there isn't a good solution that works with Flash Player right now, so there is nothing that works with JW player either for that reason.

Reply

Hello,

thanks again for your attempts to help me out!

Well I don't know if I had mentioned it but the Playlist is not really an option, it is rather my worst case scenario.

Luckily, I found a solution to my problem, or at least somethign that I can easily modify into something that suits my needs. I create a canvas element as a kind of pseudo-timebar with a defined number of pices frames. The exact timeline position that a Frame will point to will be dependant on the total length of the videos I want to be in the timeline, but it will be possible to exactly determine which video has to be loaded into the Player and at which timecode it should start to play.

It is no streaming solution, sure, but I can still preload the next file seperately if it would be nessecary.

The other player elements like Play, Mute, Fullscreens buttons can easily be provided via JS Buttons and CSS. I will throw all of this into a page element and position it under the <video>-Tag.

So far I only have 2 questions concerning HTML5 remaining:
-Can I disable the standard HTML5-Controlbar during Fullscreen mode?
-Can I move my controlbar(most propably inside a <div>-Element) to the central bottom line of the screen while Fullscreen mode is active? => e.g. replace the standard controlbar with mine WITHOUT having to use Flash?

Greetings,
Tom

Reply

Both aren't possible as far as I am aware, esp. iOS is extremely restrictive when it comes to native controls and there is no way to overrule that.

You should look into HLS, and the best way to do this crossbrowser is to use RTMP for Flash and have an HLS fallback for HTML5. Our player can back m3u8 (HLS) streams on iOS and in Safari, other browsers do not support this so will need to use RTMP.

Reply

have you ever considered hiding the controls ang making yourself a controlbar (with css and javascript) and you give total videos duration to that controlbar and a javascript function decides to what video should jump at to what position of that video.(you can make video- parts of a standard duration to avoid giving to that script info about every single part duration. think about that im projecting something similar but for the moment i have minor problems with jwplayer api functions

Post new comment

  • Allowed HTML tags: <code> <blockquote> <em> <strong> <strike> <ul> <li> <ol>
  • You may post code using <code>...</code> .
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options