Home » C# Programming

How to do live video streaming through xbox/xna

Dear all.

how can I use/utilize  xna / xbox related stuff for video streaming. Is there any documentation/sdk/tools/samples  that to be downloded?

Please suggest any guidlines to kickoff on this.




2 Answers Found


Answer 1

Hi Mohsin :),


What is your  targeted device or platform ?



Answer 2

Hi Mohsin S,

 I would suggest posting or search your question in another portal, located here:  http://msdn.microsoft.com/en-us/aa937791.aspx

  Maybe you can find some samples about your qustion in the xbox sdk:



Hope helps,

Regards and Happy New Year


I'm the webmaster for a TV station and for years we have been streaming WMV files on our website, both live feeds and archived videos.
Since the recent introduction of IE8, we have had literally thousands of our viewers email or call us to complain that they are unable to video the videos that they once were able to.
The common theme being that they now have IE8 as their browser.

Since there seems to be no fix for this issue, we have resorted to suggesting an alternative browser, such as Firefox which currently has no issues for our streams.

The users can hear audio but see no video and quite understandably this is unacceptable to both our users and ourselves.

There are no issues with the embedded player or associated code as the videos work in all previous versions of IE and most if not all, other browsers.

Does IE8 require perhaps additional or alternative code to properly display video?

Does anyone have a solution for this problem?

Hi All,


I am getting the video in chunks of bytes. When i get all the bytes, then i write them to a file and give a a source to media element and that works fine.

But what i want is that I don't have to wait for all the bytes and i can start showing the video as soon as i receive the first chunk of bytes and then the video should continue as i get the secong chunk of bytes and so on. So the video should keep on streaming and appear as live.

Can someone help me out here?





Hello All,

I'm new to WPF programming. Currently I've some requirement to work on live video streaming feature. I know there are quite a few technologies out like WPF, Silverlight to work with user-interfaces. Please help me understand the best Microsoft technologies to use for video streaming..WPF/Silverlight?

Also it would be of great help if anyone can provide links to some sample application on live video steaming or any information related to it.

Hope I would find sutiable support and help.

Thanks in Advance,


 I need to stream a live video into a website I created in  visual web dvelpoer.  I thought I could  drag in a video control much in the same way as you would a image control but don't seem to have a video control. Any suggestions or ideas would be appreciated.




My project is to create a website that facilitates giving live lectures on intranet. Hence, the bandwidth is not an issue here.

Also, I have implemented some basic code of live streaming using windows media encoder SDK in a C# console application. I was able to view the streaming on another LAN PC in VLC player.

Now, how do I implement my code in the asp.net website? What I want is that in order to start the streaming (i.e., start the live lecture), the facutly just clicks on a button in a webpage. This will stream his movements to the students (via a server). Also, this will enable the facutly to view himself on the webpage.

Is this even possible? I mean it would be like : both the student and the faculty will access the same website. The interface to both of them will be different - one will start the stream and the other (student) will receive the stream.

Or will I have to create a different application to start the streaming? So it would be like the facutly will start that applicaiton to start the streaming and the students will access the stream throught the player embedded in the website.

Another question is : what player should I use to receive the stream (on the student side)? Windows Media Player (I heard that it has problems with firefox)? Or the ubiqutous flash plugin will succeed in capturing the media encoder stream?

Please help me resolve these issues..I am short of time.. Thank you :)


The project is to provide the facility of providing live lectures in an intranet. So the bandwidth is not an issue. Also it means that I cannot use any internet streaming server like ustream (the project being limited to intranet).

I created a C# console application and successfully created a live stream using windows media encoder sdk. I was also able to capture the stream on another LAN PC in VLC player.

I want to know if I can implement this in my asp.net website. It should be something like this : The faculty visits the site and clicks on a start button on a webpage. This will start the live stream of the faculty. It will be received by the students on different computers by accessing the same website. Also, the faculty should be able to view himself on the webpage (just like in the windows media encoder predefined UI).

Is this possible to implement in the website? I mean both the facutly and the student will implement the same website. Also, the stream has to pass via a streaming server.

Or do I need to create a different application to start streaming and the students will view the stream from the website?

Also, which player do I embed to view the stream? Windows media player (I heard that it has issues with firefox) or the ever-available flash player? Will the flash player be able to capture the media encoder stream?

Please share any ideas if you people have. I am badly stuck at this.


I am new to WPF and VIdeo rendering. I want to stream LIVE video based on Bitmap frames i wil get from the source.


Let me know how can i do this. Any relevenet articles on this???


Dear all

I am new to Silverlight - and know that it is possible since version 4 to publish live streams from a webcam to other clients. Which is the server that distributes this video and audio?

Can a red5 server be used?

Is there already a UDP multicast solution there or is one there to come?

Thanks for a feedback,


why did the microsoft guys need to charge you for online gaming if the sony playstation network is totaly free? and in there you can play online

Is there anything working at the moment to access Xbox live stats?  I want to be able to get a list of my friends and games and then create a leader board of who is doing well in each game.



I get this error in IE8 on XP:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; InfoPath.1; .NET CLR 1.1.4322; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; OfficeLiveConnector.1.3; OfficeLivePatch.0.0)
Timestamp: Mon, 11 May 2009 00:55:27 UTC

Message: Exception thrown and not caught

Line: 51
Char: 13
Code: 0
URI: http://www.popfly.com/blocks/xboxLive.js?format=callback&context=xboxLive&v=1227552902

Is there a problem with the block or have I misconfigured something.


Help me out please, I'm not even sure if I'm at the right place. I'm trying to make it so members on my website can link their xbox live account to my site. We tried using perl to authenticate the email and password but that's not working. How can I get this accomplished?
What is Xbox live games. And what are the WP7 XBox Live games. Which is he XBOX live game.
my gold membership for xbox live is about to end in January 7th 2010. and i just wanted to ask if there was some type of sites that i can get free xbox live gold memberships.. plz help thanks!

Hi there,

Today I got an email from Microsoft saying (translated by me, eMail was in German language) "Welcome to your Xbox Live Gold membership". Before downloading the images in this mail I checked whether this is junk but it really seems to come from Microsoft (all images link to MS servers, it contains my Xbox live account name which can't be deduced from my email address etc.).

I have a Xbox 360 and as stated a silver account because I don't play very often. In fact the last time I logged in to my Xbox must be about one 1 year ago. Only thing I did with Microsoft these days was registering with Dreamspark and get a WP7 development account.

Therefore my question is: Did I - unnoticed by me - buy a Xbox Live Gold membership when registering with Dreamspark or WP7 marketplace? Or is this included in Dreamspark or WP7? I just checked my credit card and it doesn't seem to be charged by now.

Thanks and cheers,


For reference this is the email (in German language) I received today:

Danke, dass du dich für die Xbox LIVE Goldmitgliedschaft entschieden hast. | Ja, nun bist auch du endlich ein Teil von Xbox LIVE.
Hallo xxx 
du stehst auf Games, Musik, Filme und Spaß? Dann ist die Xbox LIVE Goldmitgliedschaft ideal für dich. Denn als Xbox LIVE Goldmitglied steht dir die ganze Welt von Xbox LIVE offen – rund um die Uhr!
Wichtige Infos zu deiner Xbox LIVE Goldmitgliedschaft
Nachdem du dich für eine Xbox LIVE Goldmitgliedschaft entschieden hast, solltest du dich über all die Funktionen informieren, die dir Xbox LIVE bietet.
Mehr news
Deal of the WeekNoch Fragen?

Jede Woche ein neues, tolles Angebot.
Mehr news »

Bei Fragen rund um deine Xbox LIVE Goldmitgliedschaft stehen wir dir mit Rat und Tat zur Seite.
Raus mit der Sprache »
Jump in. XBOX 360

Datenschutzerklärung | Nutzungsbedingungen

Xbox Privacy, One Microsoft Way, Redmond WA 98052, USA

©2010 Microsoft Corporation. Alle Rechte vorbehalten. Microsoft, Xbox, Xbox 360, die Xbox 360-Logos, Xbox LIVE und das Xbox LIVE-Logo sind Marken oder eingetragene Marken der Microsoft Corporation in den USA und/oder anderen Ländern. Die Namen und Logos der hierin aufgeführten Firmen und Produkte sind möglicherweise Marken der jeweiligen Eigentümer.



HTC Launched HTC HD7 and HTC 7 Mozart in India... but we are not yet able to access Marketplace. India is in the list of Marketplace access list, but we are not able to access.. can anyone tell us by when it will be available to us? also XBOX Live Services on Windows Phone. We are able to access Xbox Live from Xbox 360 since few years.. now looking forward to see them on Windows Phone as well.


Can anybody point me to some examples of muxing a live video and audio feed?

The video and audio feed are from over the network, from "separate" sources.

Many Mac users have iPod, PSP and other portable devices, but they can only enjoy songs and videos from iTunes or buy them from internet, because there is seldom nice Mac DVD and Video covnerter for iPod, PSP and other devices. Today I will introduce you an excellent DVD/Video converter for Mac: Aiseesoft DVD Converter for MacIt allows you to put your own DVDs and you own videos on your iPod, PSP, Mac Computer and other players on Mac.

This article aims to show you how to put your DVDs and videos on your iPod, PSP, Computer, Zune, Xbox and other players for Mac users.

Part 1. Convert DVD for Mac with AiseesoftDVD Ripper for Mac

Step 1. Load DVD
Insert DVD into your DVD-ROM, run DVD Ripper for Mac, click “Load DVD”, find the DVD folder of the movie you want to add from your DVD-ROM, and Click “Open”.

Step 2. Set output format.
This best DVD ripper for Mac provides you output formats as many as you want. Just choose one from the drop down list “profile” according to your portable player.

If you are very professional with your player, you can also set your output parameter values such as Resolution, Frame Rate, Bitrate and Sample Rate and so on.

1. Trim:

If you want to rip only a part of the DVD movie, please click “Trim” button and drag the “Start trim slider” to set the start time and “End trim slider” to set the end time. (a). You can also do that by clicking the “Start trim button” and “End trim button”(b). The third way you do that is set the exact Start/End time at the right of the pop-up window and click “OK”.

2. Crop:
If you want to remove the black edges or you want to rip a certain area of your video, please click the “Crop” button. You can do this either by drag the frame around the movie (a) or set the crop value: “Top, Left, Bottom, Right”.(b). Another way to do that is choose mode from “Crop Mode”(c).DVD Ripper for Mac also allows you to choose the output aspect ratio above the crop panel, “Keep Original, full screen, 16:9 and 4:3” are available.

3. Effect:
If you want to adjust the effect of your movie, please click the “Effect” button and a pop-up effect window will appear. It allows you to edit your movie’s effect including “Brightness, Contrast, Hue, Saturation and Volume”.

Click “Start” to begin your conversion.

Part 2. Convert videos for Mac with AiseesoftVideo Converter for Mac

Step 1. Choose “Video Converter for Mac” on the main interface.

Step 2. Add video
Click “Add File” to load your video that you want to put.
Step 3. Choose output profile and settings.
You can choose your output format from the drop down list and you can set the exact values of your output videos, such as Resolution, Frame Rate and so on.

You can do the video editing as the same way of convert DVDs.
After getting your satisfying video, then click “Start” button to start your conversion.

If you are a window user, Aiseesoft DVD Converter Suiteis your best choice.
It is the perfect combination of Aiseesoft DVD Ripper, Aiseesoft Total Video Converterand Aiseesoft iPod to Computer Transfer. With this powerful DVD Converter Suite, you can easily convert DVD and video to all the popular formats: MP4, H.264, AVI, MP3, WMV, WMA, FLV, MKV, MPEG-1, MPEG-2, 3GP, 3GPP, VOB, DivX, Mov, RM, RMVB, M4A, AAC, WAV, etc
And transfer your iPod songs and videos to your computer easily.
     Edit/Delete Message

Keep video files with 5.1 surround sound for Xbox 360

Have you purchased a 5.1 Surround Sound Speaker system for the Xbox 360 to enjoy your games and movies in the center of action? Currently I have considered doing it. I have loads of HD videos, which are with the extensions of .mkv, .m2ts and whatever. Most of them have embedded 5.1 channels, but the thing is that because of format issues, my console is unable to directly play these files, so I have to do format conversion before watching them. In regard to conversion, my only requirement is keeping 5.1 channels of the source file, fortunately, with Pavtube Video Converter, I did it! Very excited! Share it here.

What you will need is only Pavtube Video Converter. You can free download it here. The detailed steps are as below:

1. Click "Add" button to load video files into this program

2. Click the pull down menu of "Format" to select output format for Xbox 360

Follow "Zune/Xbox 360 Device" – "Xbox 360 HD Video (*. Wmv)". By the way, if you wanna combine multiple files into a single file so that there are no intervals while playing, you can tick the checkbox "Merge into one file" to achieve it.

3. Click "Settings" button to do advanced settings and select 5.1 channels

All the items including codec, bit rate, frame rate, aspect ratio, sample rate and audio channels are changeable. Do remember adjust the audio as 5.1 channels. Following are my settings, which result a good playback quality on my Xbox 360 console.

4. Click "Convert" button to start conversion

Once finished, you can get the output files for your console via clicking "Open" button effortlessly.

More features of this Xbox 360 Converter I have found:

1. The converting speed of this software is 1-2 times faster than the similar converters. Batch conversion can be done in a few minutes.

2. It does not have the audio and video out of sync issues.

3. With exception of adding text as watermark, images, GIF animations, and videos can also be added as watermarks to realize the picture-in-picture effect.

4. You can use the "Trim" function to select certain video clips to convert. And you can also take advantage of the "Crop" function to remove black edges or change the screen size.

5. Special effect models are provided, such as "Simple gauss blur", "Simple laplacian sharpen", "Aged film", "Flip color", and "Invert".

One method of converting videos to Xbox 360 with 5.1 channels
Are you still frustrated at how to watch videos on Xbox 360 with 5.1 channels around? The tutorial will show you a reliable method of converting video to Xbox 360 with 5.1 channels through Moyea Video Converter.
First of all, let’s view Moyea Video Converter. This video converter is specially designed to convert among almost video/audio formats at high fast conversion and perfect output quality. ?What’s more, its advanced audio and video sync technology can prevent any audio out of video issue. Additionally, the new version of it allows users to convert video to WMV with 5.1 channels or 7.1 channels.
Preparation: Free download Moyea Video Converter here, install and run it.
Step 1: Load video files into this program
Step 2: Select output format for Xbox 360

After all video files loaded, it is allowed you to choose the proper output format compatible with your Xbox 360 as below:

Tips: If you want to take the minimum of time to select your desired video format, just click the “Customize” button to open the profile manager window and then check the video categories you need. As for those you unwanted video categories, they will be hidden as below:

Step 3: Set audio format with 5.1 channels
Click the “Settings” button, a profile window will pop up as below:
Beneath it, you can set audio/video parameters for your reference. Here I just want to set channels as 5.1.

Step 4: Start conversion by clicking the “Convert” button
Once all the settings are done, you will get the converted video files from its default folder. Then you can put them on your Xbox 360 for viewing like me.
That’s all. Hope it helps!

<< Previous      Next >>

Microsoft   |   Windows   |   Visual Studio   |   Sharepoint   |   Azure