March 2nd, 2006, 06:05 PM | #1 |
Regular Crew
Join Date: Aug 2005
Location: Aurora, Colorado
Posts: 41
|
Streaming Windows Media Video files?
DV folks,
Can anyone tell me if Windows Media files (wmv) have the capability of streaming? I currently use Vegas 6 to render and I can create Quicktime clips that stream fine, however, my wmv files don't. Futhermore, I don't see any options in Vegas to enable such? I have recently setup a website and the local administrator is no help. They tell me I must "embed" my clips or get additional plugins for the Media Player. Ordinarily I would accept this, however, I have uploaded wmv clips to "clipshack.com" and they seem to stream OK. What gives? Thanks! Paul Carlberg |
March 3rd, 2006, 06:25 AM | #2 |
Regular Crew
Join Date: Aug 2002
Location: Atlanta, Georgia
Posts: 1,892
|
Sometimes the browser also determines if they stream or not. Post some links for us to test.
|
March 3rd, 2006, 11:01 AM | #3 |
Regular Crew
Join Date: Aug 2005
Location: Aurora, Colorado
Posts: 41
|
James,
In Quicktime, video can stream from the server to the browser client automatically. In Windows, the Media Player either (1) fully downloads and plays, or (2) through html coding ("embedding" for example) the streaming initiates. I think I expected the Windows Media Player to behave more like the Quicktime player, which doesn't need html coding to make it stream. Anyhow I have something that works at "highplainsdv.com" -> real estate -> residential. To get my wmv file to play without fully downloading via the Media Player to the browser, I spawn a separate html page which plays the clip. I could play the clip within the page containing the hyperlink but I think that is ugly. Paul |
March 3rd, 2006, 11:19 AM | #4 |
Regular Crew
Join Date: Aug 2002
Location: Atlanta, Georgia
Posts: 1,892
|
All of my Windows media files do what's called progressive streaming. They load and play while it downloads so you don't have to wait until it's completely downloaded to view it. I don't do anything special but simply have a direct hotlink to the video file. It opens the player and begins to play within 5-10 seconds. I like stand alone players better because I have more control. But, as you prefer, with an embedded player, you can initiate autoplay to start as soon as the page loads but that can sometime create a problem for someone with a slow connection or slow processor. So I like giving the end user the option to click and play the video on demand. I tried your video links and it was very slow, it took about 60 seconds just to buffer to 30% and I gave up.
|
March 3rd, 2006, 12:17 PM | #5 |
Trustee
Join Date: Jul 2003
Location: US
Posts: 1,152
|
The problem with a direct hyperlink to a .wmv file is that if the Web server doesn't have the .wmv MIME type configured, then it can't tell the Web browser to hand the file off directly to Windows Media Player. In that case, the Web browser will fully download the video file before playback starts. This is only a problem with non-IE browsers, as Microsoft (naturally) configured their browser to integrate with Windows Media Player. Embedding the video in a Web page eliminates this problem, but introduces others. So it's a catch-22 situation.
Last edited by Christopher Lefchik; March 3rd, 2006 at 01:20 PM. |
March 3rd, 2006, 01:57 PM | #6 |
Regular Crew
Join Date: Aug 2005
Location: Aurora, Colorado
Posts: 41
|
James,
>>I tried your video links and it was very slow, it took about 60 seconds just to buffer to 30% and I gave up. My appologies. Being new to to video, its an accomplishment for me to just get something on the web. My clip is large (70mb of HD footage) for just 5 minutes! I am experimenting, seeking out the best combinations of capture format, rendering clarity, lower file sizes, and quicker streams, etc. >>So I like giving the end user the option to click and play the video on demand. Can you elaborate? This is how my quicktime clips work but not the .wmv's. I was under the impression that distribution of Media Player clips were an either/or situation of fully download -or- instant page load/stream. Paul |
March 3rd, 2006, 02:51 PM | #7 |
Regular Crew
Join Date: Aug 2002
Location: Atlanta, Georgia
Posts: 1,892
|
You ain't kiddn' about it being large for 5 minutes. It is still very slow when buffering. I don't know if it because your server is slow or what but the file size shouldn't matter if it is progressive streaming. Here is your direct video link below. It is taking just as long to view it this way as it is for it to load and view in your embedded player. I'm going to upload the file to my server and link to it to see if it downloads and plays faster. Like all of my streaming media, you should be able to just click on the link below and it should buffer for a few seconds to let the download get ahead of the playback and then it should play. Or you can right click on the link and choose to save it to your drive and then play it.
www.highplainsdv.com/photos/helena.wmv Last edited by James Emory; March 3rd, 2006 at 04:03 PM. |
March 3rd, 2006, 04:08 PM | #8 |
Regular Crew
Join Date: Aug 2002
Location: Atlanta, Georgia
Posts: 1,892
|
I uploaded that file to my server and then clicked on a link that I made in an e-mail to open and play the file. At first it was slow in downloading and buffering and then it picked up and finally began to play. It was probably 10-20 seconds faster from my server than yours which is not enough to worry about. The file size doesn't matter because this is progressive streaming. It should only take about 5 seconds to cue up and play. I think it is taking longer than similar SD files of that size because of it being HD. Why, I have no idea.
|
March 3rd, 2006, 05:36 PM | #9 |
Regular Crew
Join Date: Aug 2005
Location: Aurora, Colorado
Posts: 41
|
James,
It is interesting to note that the Quicktime player starts streaming _much_ quicker than the W Media player. From my untrained ear, the sound is more "shallow/tinny" than the Media player, but I can work on that. Thanks for your input. It is much appreciated! Paul |
March 4th, 2006, 10:30 AM | #10 |
New Boot
Join Date: Dec 2005
Posts: 8
|
WMV Streaming
Paul,
To "stream" a WMV file it must be placed on a windows media streaming server. A WMV file that is streaming means that you can advance to any point in the file and the stream is adjusted to that point in the media file. WMV files can also be viewed directly from a web server as a download or progressive download. In this case you can view the WMV once some or all has been downloaded. |
March 4th, 2006, 02:17 PM | #11 |
Regular Crew
Join Date: Aug 2005
Location: Aurora, Colorado
Posts: 41
|
Richard,
Interesting. Are you saying that to "stream" video, means that even though the entire clip hasn't loaded to the client player, that you can advance the video forward (or backward), thus causing an automatic interrupt-reset in packet flow? Apparently, I have been assuming that "streaming video" is video that doesn't need to fully download before initating playback. I guess you are saying that this behavior is known as "progressive download"? The reason I ask, (aside from clarifying it for myself) is that my web hosting service claims their servers provide "video streaming support", when in actuality they are providing progressive download support. I know that I cannot "artifically" advance server-to-client video playback of my clips ahead of the normal packet flow. Paul |
March 4th, 2006, 03:17 PM | #12 |
Regular Crew
Join Date: Aug 2002
Location: Atlanta, Georgia
Posts: 1,892
|
Yes, Richard is correct. To truly stream, a video file has to be accessed from a true streaming server. Most typical servers in shared hosting environments or dedicated remote servers like mine are called web servers and not true streaming servers for media. Web servers can only download or progressively download media files. Web servers are sometimes referred to as streaming servers because they can simulate streaming by allowing it to be viewed while it progressively downloads but during that time you can't move the slider until it completely downloads. Streaming servers are kind of expensive and you have to know how to configure them to make them do all of their tricks. One advantage of a true streaming server is that the file is not downloaded so that protects your content from being distributed illegally.
|
March 4th, 2006, 10:15 PM | #13 |
Trustee
Join Date: Mar 2004
Location: Carlsbad CA
Posts: 1,132
|
i set up my own dedicated windows media server, and there are things that it is capable of doing that really muddy the concept of streaming.
in the past, true "streaming" meant that the file had to be cbr only, but somewhere along the line windows server 2003 added capabilities to it's windows media server that give you a very advanced degree of "pseudo-streaming" with vbr-encoded files. what's relevant to this thread is something known as "fast start bandwith", wherein i can control the initial buffering of the video clip with my windows media server, so that it starts playing sooner... the default setting for that is 3500kbps, which as you might imagine, means that the clip is going to starting playing really quickly, if the player has a good connection to the server. the wmv player has it's own setting known as "network buffering", that i believe also affects how soon it'll start playing... if you told the player to buffer 40 seconds of the clip instead of the default, it'll take a lot longer to start playing... as i understand it, when i encode wmv with procoder, there is a buffer window setting that defaults to 3000 ms, so that when the player is set for default buffering, it'll start playing after it receives 3000 ms of video. so i can use vbr encoding to get the best possible picture quality, yet still control how fast the clip starts playing, and the bitrate that i continue to feed the clip at, which is known as the fast cache content delivery rate. for me, that combo of superior picture quality and fully controllable streaming rates is better that the old-skool definition of being able to stream only cbr files, that won't look as good as vbr encoding does. another definition of streaming is what transport protocol is used... http is the only choice you have when you put the clip on a regular web server, so it's not streaming at all, but rtsp is what i'm using with the windows media server. >>>I know that I cannot "artifically" advance server-to-client video playback of my clips ahead of the normal packet flow<<< i'm not "streaming" in the ultimate sense of the word, but i can drag the slider ahead to any portion of the clip, and it'll start buffering, then play back from that point with little delay. |
March 5th, 2006, 06:20 AM | #14 |
Regular Crew
Join Date: Aug 2002
Location: Atlanta, Georgia
Posts: 1,892
|
It is my understanding that VBR (variable bit rate) encoding was created to use one variable rate file and prevent having to create 2-3 seperate and different data rates (28K, 56K and broadband) for server space saving reasons. That means VBR is an average of the high and low bit rate combined into one which means broadband users are not going to get the full benefit and quality of a fixed broadand CBR (constant bit rate) file encoded at a constant high data rate. Now that broadband is becoming more prevalent, VBR encoding should not be needed much longer.
|
March 6th, 2006, 09:38 PM | #15 |
Trustee
Join Date: Mar 2004
Location: Carlsbad CA
Posts: 1,132
|
i think that what you are referring to there would be multi-bitrate files, which means that there are several versions of the same video clip within one file, but they are encoded at different bitrates, i.e., one stream at 56kbps(for dial-up modems), and one stream at 300kbps(mid-range broadband).
vbr only refers to one stream, but it's confusing, because the bitrate varies within the stream... when picture quality and file size are both important, vbr is the only way to go... the higher bitrate portion of the clip is used for scenes that are tough to encode, while the lower bitrate portion of the clip is used for scenes with things like very little motion, i.e., talking heads. |
| ||||||
|
|