Multimedia
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsWeb DesignMultimedia

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old March 19th, 2005, 09:05 PM
qwe qwe is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Mar 2005
Posts: 1 qwe User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 11 m 31 sec
Reputation Power: 0
choose bitrate of stream

Hello,

I dont know if i post this in the right forum but i have a question.

im looking fore a way to make a script ore something to make this kind of function select movie in different bitrates (look like this)

I dont know if it is one movie ore diffirent files with another bitrate? ore de windows media services compressed the file?

please can somebody give me some answers?

I have windows server 2003 and installed windows media services

mark
Quote:
Originally Posted by Lafinboy
Moved from ASP forum

Last edited by Lafinboy : March 19th, 2005 at 09:31 PM. Reason: Moved from ASP forum

Reply With Quote
  #2  
Old March 20th, 2005, 07:51 AM
Phoenix's Avatar
Phoenix Phoenix is offline
Web-Standards Evangelist
ASP Free Intermediate (1500 - 1999 posts)
 
Join Date: Nov 2003
Posts: 1,522 Phoenix User rank is Corporal (100 - 500 Reputation Level)Phoenix User rank is Corporal (100 - 500 Reputation Level)Phoenix User rank is Corporal (100 - 500 Reputation Level)Phoenix User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 Days 23 h 48 m 4 sec
Reputation Power: 8
You do it by creating different Publishing Points with different bitrates as fed from the WME. WME doesn't come with WMS, its a separate freeware download from Microsoft.com.

Note that the use of WME for streaming media applications and on-the-fly encoding takes a LOT of processor time, ensure you're using a dedicated box with at least 512mb RAM and a 2.5Ghz processor or more.

Back in the old days, streaming media was done with SMP server clusters, but now it can be accomplished with single high-perf boxes.

Anwyay, that page you speak of just employs some JavaScript to change the stream:

Straight rip:

Code:
 		var base_url = 'http://www.filmfocus.nl/streaming_media/asx.php?trailer_id=1008&speed=[speed]';
		function loadTrailer(speed)
		{
			var movOBJECT = document.getElementById('player_ie');
			var movEMBED = document.getElementById('player_moz');
			try{
				movOBJECT.stop();
				movOBJECT.FileName = base_url.replace('[speed]', speed);
				// wait 1 sec before playing (preload/buffering)
				setTimeout('document.getElementById(\'player_ie\')  .play()', 1000);
			} catch(e)
			{
				movEMBED.src = base_url.replace('[speed]', speed);
			}
			
			
			/*
			var type= 'ie';
			if (!mov) {
				type = 'moz';
				mov  = document.getElementById('player_moz');
			}
			alert(type)
			if (mov)
			{
				mov.stop();
				mov.FileName = base_url.replace('[speed]', speed);
				document.getElementById('speed'+ speed).checked='checked';
				// wait 2 sec before playing (preload/buffering)
				setTimeout('document.getElementById(\'player_'+typ  e+'\').play()', 1000);
			}
			*/
		} 
 


Of course, why didn't you consider looking at the page source before asking this question?

Reply With Quote
  #3  
Old June 11th, 2005, 10:07 AM
scottnyc scottnyc is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Location: New York City
Posts: 49 scottnyc User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 57 m 38 sec
Reputation Power: 4
Send a message via AIM to scottnyc
I agree with Phoenix

WME - Windows Media Encoder can do what you want to do.

It's a free download at:
http://www.microsoft.com/windows/windowsmedia/9series/encoder/default.aspx

The easiest way for you to do it is to create 3 different video files each with the bitrate that you want. This is the simplest way to do it. Read through the WME tutorials and help documents and you'll find this is covered there.

Reply With Quote
Reply

Viewing: ASP Free ForumsWeb DesignMultimedia > choose bitrate of stream


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway