Archive

Posts Tagged ‘FLV’

Introducing SilverSuite 2.0 for Silverlight 4.0

July 19th, 2010 No comments

Introducing SilverSuite 2.0 for Silverlight 4.0

Transactional RTSP

After months of hard work we are finally ready to release version 2 of Streamcoders SilverSuite.

Check out the new features:

Video:

  • H.263 Encoder & Decoder (all versions)
  • MPEG-4 Decoder (SP)
  • H.264/AVC/MPEG4.10 Parameter-set parsing

Audio:

  • G.711a/u Encoder & Decoder
  • WaveInput & WaveOutput devices
  • Audio resampler & deinterleaver
  • DTMF tone detection & generation
  • AAC configuration parser and Access Unit expander

Containers:

  • MP4 Writer & Reader
  • FLV Writer & Reader

Playback:

  • RTSP state machine based MediaStreamSource
  • RTSP transactional MediaStreamSource (preferred)
  • FLV MediaStreamSource
  • PCM MediaStreamSource

Protocol stacks:

  • RTSP (including full session managment & media parsing)
  • RTP
  • SDP

Encapsulations:

  • TCP Client implementation
  • Multicast client implementation

Servers:

  • Silverlight Policy server
  • Multicast policy server
  • RTSP proxy server 2.0

Demos:

  • RTSP Demo using standard State machine model
  • RTSP Demo using tranactional model and async callback model for MediaStreamSource
  • Multicast voice/video/text/drag’n'drop chat
  • WaveInput/WaveOutput device demo

Especially audio & video encoding facilities of SilverSuite finally puts Silverlight up on the scoreboard and on par with Adobe Flash, if not beyond. Also supporting RTP you can now have true VoIP conversation with any SIP device out there or stream video directly to 3G devices.

There is more to come…stay tuned….

YouScoop

June 26th, 2010 No comments

Here’s a neat little app we wrote to play YouTube (FLV, H263) videos from a WPF application: http://streamcoders.com/youscoop/

If you are interested in the source code, contact us at support@streamcoders.com

Categories: Multimedia Tags: , , , ,

Silverlight + MediaSuite = SilverSuite

May 23rd, 2009 No comments

We just introduced SilverSuite for Silverlight 3 with MPEG4.2, RTSP and Flash FLV support. So you can now play RTSP streams and Flash Video streams from your Silverlight applications. The component comes with full source code to the MediaStreamSource classes and therefore allows you to extend or customize them individually. Also included is a policy server and proxy server, that takes care of your cross domain access restrictions if necessary. Check out the demo

How to play Youtube videos from FilePlayer Demo

April 27th, 2009 No comments

I thought I’d share a simple way to play Youtube videos from the MediaSuite FilePlayer demo application.

When opening a video on youtube the url has following form:

http://www.youtube.com/watch?v=[uniqueID]

From that the server generates an HTML page that includes the parameters to be passed to the video players swf file. Using those parameters we can create a new URL to www.youtube.com that will retrieve an FLV file for us.

Simply add another button to the toolbar:

Double-Click it to create an event and insert following code:

Code:

System.IO.Stream stream;
System.Net.WebClient webclient;
webclient = new System.Net.WebClient();
webclient.UseDefaultCredentials = true;
webclient.Headers.Add(System.Net.HttpRequestHeader.UserAgent, "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1;)");
try
{
stream = webclient.OpenRead(toolStripTextBox2.Text);
}
catch (System.Exception)
{
return;
}
System.IO.BinaryReader reader = new System.IO.BinaryReader(stream);
string httpTxt = "";
byte[] buffer = new byte[1024];
while(true)
{
int read = reader.Read(buffer, 0, 1024);
if(read == 0)
break;
httpTxt += System.Text.ASCIIEncoding.ASCII.GetString(buffer, 0, read);
}
if (string.IsNullOrEmpty(httpTxt))
return;
string par ="watch_fullscreen?";
int fullscrPos = httpTxt.IndexOf(par);
if (fullscrPos == -1)
return;
int endQuote = httpTxt.Substring(fullscrPos + par.Length).IndexOf("';");
if (endQuote == -1)
return;
int startpos = fullscrPos + par.Length;
string newurl = string.Format("http://www.youtube.com/get_video.php?{0}", httpTxt.Substring(startpos, endQuote + 1));
toolStripTextBox2.Text = newurl;
toolStripButton2_Click(sender, e);

Here’s the end-result for Steve Ballmer going crazy: