Streaming Windows Media Video files? - Page 2 at DVinfo.net
DV Info Net

Go Back   DV Info Net > Cross-Platform Post Production Solutions > Distribution Center > Flash / Web Video
Register FAQ Today's Posts Buyer's Guides

Reply
 
Thread Tools Search this Thread
Old March 6th, 2006, 10:20 PM   #16
Regular Crew
 
Join Date: Aug 2002
Location: Atlanta, Georgia
Posts: 1,892
No, I'm talking about one file with a variable bit rate because that's one of the advantages of it, one file that can self adjust to different connection speeds instead of 2 or 3 seperate files all with their own constant bit rates. My encoder has the option to encode a single file as a VBR. I always thought any player could do it but a special server like a true streaming server may be needed to adjust the file. I don't know because I've never encoded a VBR because I want broadband users to get the best quality at a constant data rate and dial up will have their own dedicated file however crappy it is which is what they would see anyway with a VBR file because it would adjust down to their connection speed.
James Emory is offline   Reply With Quote
Old March 7th, 2006, 09:55 AM   #17
Trustee
 
Join Date: Jul 2003
Location: US
Posts: 1,152
I believe multibitrate Windows Media and RealMedia files require their respective streaming servers which measure the connection speed to a client and then feed the correct speed. On the other hand, multibitrate QuickTime files don't, as the QuickTime player installed on the client machine can choose which stream to play.
Christopher Lefchik is offline   Reply With Quote
Old March 7th, 2006, 03:26 PM   #18
Regular Crew
 
Join Date: Aug 2002
Location: Atlanta, Georgia
Posts: 1,892
I am going to encode a VBR file and see how it performs from my standard webserver with a high speed connection and a dial up connection. I know I should be able to view it with a high speed connection no matter what and if it does scale the bitrate as it should I should also be able to view it on a dial up connection too without having to wait a few days.

Another cool thing that can be done with a true streaming server is indexing Windows Media files. Once you have encoded a file, you can open it in an indexing tool and do anything from making webpages open at an exact point in a video and/or make another audio/video automatically open and begin to play. So, you could actually daisychain a/v files to play indefinitely. Making a web page open during a video presentation would be useful to reference what was being discussed at that exact moment in the video. This is done with a timeline where you set points for it to occur. I was able to use the indexing feature but only on my local machine and not on my standard web server. It's still a cool tool.
James Emory is offline   Reply With Quote
Old March 7th, 2006, 06:48 PM   #19
Trustee
 
Join Date: Mar 2004
Location: Carlsbad CA
Posts: 1,132
that won't work, james, because vbr files contain only one video stream.

you have to do it like chris outlined, and specify that it's a multi-bitrate file that contains whatever seperate video streams you specify the bitrate for.

go ahead and create your vbr file, then compare it's overall total size with the cbr file you created(same source file, of course)... the vbr file size will be smaller, but the picture quality should be identical, if you used 1-pass encoding on both of 'em.

vbr is better for broadband because the overall file size is smaller, so it downloads quicker.
Dan Euritt is offline   Reply With Quote
Old March 10th, 2006, 08:42 PM   #20
New Boot
 
Join Date: Dec 2005
Posts: 8
VBR vs Multistream

Just want to confirm that VBR is not the method of having multiple bit rates for high and low speed connections within a single file. There are multiple methods to support different connection speeds. One method is to let the streaming server determine the connection speed and stream the appropriate file or stream within a single file. Another option is to move this decision to the browser code itself, typically using JavaScript the connection can be determined, and then the HTML code requests the appropriate file from the streaming server.

This method can be expanded on - the JavaScript code can also determine what the default media player is and then request connection to the appropriate streaming server. Example: HTML page loads with JavaScript that determines the connection speed is high speed and the default media player is Windows Media Player - the page then requests the high-speed windows media file from the windows media streaming server.

These are methods that make decisions for the viewer versus presenting the viewer with a bunch of questions that they do not understand.
Richard Rist is offline   Reply With Quote
Old March 10th, 2006, 09:58 PM   #21
Trustee
 
Join Date: Jul 2003
Location: US
Posts: 1,152
Quote:
Originally Posted by Richard Rist
Another option is to move this decision to the browser code itself, typically using JavaScript the connection can be determined, and then the HTML code requests the appropriate file from the streaming server.
Interesting. Would you happen to have a link to a more in-depth explanation of this technique, preferably with some code examples?
Christopher Lefchik is offline   Reply With Quote
Old March 11th, 2006, 11:58 AM   #22
New Boot
 
Join Date: Dec 2005
Posts: 8
Quote:
Originally Posted by Christopher Lefchik
Interesting. Would you happen to have a link to a more in-depth explanation of this technique, preferably with some code examples?
Christopher, I use a tool that generates this code as part of the program/page development. I will see if I can find a public source of examples. It is often called "Bandwidth Sniffing" or sniffer code. It is a double-edge sword as it can simplify the viewing experience by making decisions for the viewer (who may not have the knowledge of their environment) but on the other hand it requires the ability to run this code to "sniff" the environment and make decisions. The more "automation" and advanced techniques you put into the HTML page the more likely there will be problems - especially where someone has turned off functionality for security reasons.

Here is a link to a program I just finished that uses this browser-side technique. Clicking on the link will launch an initial page, which invokes the player window with what it has determined about your environment. Based on your environment it will launch one of the following:

* Page with embedded Windows Media Player with a high-speed stream
* Page with embedded Windows Media Player with a lo-speed stream
* Page with embedded Real player with a multi-stream (single file with multiple streams)

http://www.intellor.com/l/?l=851

Last edited by Richard Rist; March 12th, 2006 at 09:18 AM.
Richard Rist is offline   Reply With Quote
Old March 11th, 2006, 04:59 PM   #23
Trustee
 
Join Date: Mar 2004
Location: Carlsbad CA
Posts: 1,132
nice post richard! couple of questions...

why use the windows media 8 video codec with the newer 9.1 audio codec?

i see flash8 being invoked on that page, but it's not used for the buttons... so my real question is, do you know how to wrap the windows media stream underneath a clickable flash layer, using a flash player interface?
Dan Euritt is offline   Reply With Quote
Old March 11th, 2006, 05:59 PM   #24
New Boot
 
Join Date: Dec 2005
Posts: 8
Quote:
Originally Posted by Dan Euritt
why use the windows media 8 video codec with the newer 9.1 audio codec?

i see flash8 being invoked on that page, but it's not used for the buttons... so my real question is, do you know how to wrap the windows media stream underneath a clickable flash layer, using a flash player interface?
Dan, Good question - I just used the fact that I used media 8 codec to make a point of encoding video for the web being more of an art than science. I typically use the latest codecs and have seen very positive results with the V9 codecs. Unfortunately, the V9 codec had a problem encoding one part of this video (section with text rolling from bottom to the top) - after attempting various adjustments (frame rate, bit rate..) I was unable to get the problem in the encoded video to go away - I tried the V8 codec and it did not have the same problem. I gave up a little overall quality in the video but it seemed to be the only way to get around the problem (and meet a deadline).

As far Flash, the only flash on this program is the "welcome" in the upper tab. As far as your question of a Flash player or the video under a Flash Layer the answer is yes that would be possible - it is possible to tie elements to the timeline of the video. A small example of this is the small tracking graphic at the bottom of the video window - this small gif and its movement is tied to the time line of the video.
Richard Rist is offline   Reply With Quote
Old March 11th, 2006, 09:26 PM   #25
Trustee
 
Join Date: Jul 2003
Location: US
Posts: 1,152
Quote:
Originally Posted by Richard Rist
The more "automation" and advanced techniques you put into the HTML page the more likely there will be probelms - especially where someone has turned off functionality for security reasons.
Excellent point. And thanks for the link.
Christopher Lefchik is offline   Reply With Quote
Old March 23rd, 2006, 01:01 PM   #26
Regular Crew
 
Join Date: Aug 2005
Location: Aurora, Colorado
Posts: 41
Dan, James, Richard, Christopher, etc.,

(my apologies not not letting this thread die...:^)

If I understand correctly, it was stated that variable bit rate encoding produces the best trade off between internet quality playback and file size. As a test, I encoded a variable-rate windows media file (wmv) and placed it on my "progressive streaming" net host server. When I "paused" the clip playback, my video disappeared! Playback resumed only with the audio component. Up to this point I have been rendering at a constant bit-rate which acts normally. Has anyone else noticed this?

In a somewhat similar vein, has anyone looked into setting up a streaming host using Unreal Streaming Technologies Media Server? Not sure about Linux but it enables a Windows host to stream. Also, it seems to be "open-source" for individuals and small businesses, including an SDK for customizing.
Paul Carlberg is offline   Reply With Quote
Old March 25th, 2006, 03:24 PM   #27
Trustee
 
Join Date: Mar 2004
Location: Carlsbad CA
Posts: 1,132
post links for both of the above, so we can check it out.
Dan Euritt is offline   Reply With Quote
Old March 26th, 2006, 12:04 PM   #28
Regular Crew
 
Join Date: Aug 2005
Location: Aurora, Colorado
Posts: 41
Dan,

Here's the Unreal Media streaming server site.
http://www.umediaserver.net/overview.html
Paul Carlberg is offline   Reply With Quote
Old March 26th, 2006, 10:38 PM   #29
Trustee
 
Join Date: Mar 2004
Location: Carlsbad CA
Posts: 1,132
that's very interesting... as a server, it looks like it's maybe only practical for up to 10 concurrent users, because after that you have to step up to something like windows server 2003, which includes the windows media server for free... you can rent windows server 2003 for only a few dollars more a month than a linux server.

i'd be looking for a user group that supported that server, before using it... i didn't see one listed on the site.

the realmedia server(helix?) is also offered for free, or very cheap, so it would also be worth looking into.
Dan Euritt is offline   Reply
Reply

DV Info Net refers all where-to-buy and where-to-rent questions exclusively to these trusted full line dealers and rental houses...

B&H Photo Video
(866) 521-7381
New York, NY USA

Scan Computers Int. Ltd.
+44 0871-472-4747
Bolton, Lancashire UK


DV Info Net also encourages you to support local businesses and buy from an authorized dealer in your neighborhood.
  You are here: DV Info Net > Cross-Platform Post Production Solutions > Distribution Center > Flash / Web Video


 



All times are GMT -6. The time now is 04:20 PM.


DV Info Net -- Real Names, Real People, Real Info!
1998-2024 The Digital Video Information Network