XNA Creators Club Online
Page 1 of 1 (8 items)
Sort Posts: Previous Next

Play a WMV from the net via XNA?

Last post 9/13/2009 1:13 AM by Glenn Wilson. 7 replies.
  • 9/13/2009 12:37 AM

    Play a WMV from the net via XNA?

    Is it possible to play a WMV file stored on the net / website (therefore saving tons of space in the game itself)?

    I'm not a programmer, I'm just trying to find out to let mine know. I thought this may be possible as leaderboards (if I understand correctly) are stored on 'the net'.
    www.youtube.com/jed05 - Previews, Reviews, and Randomness. Co-Hosted with my fiancee.
    www.youtube.com/garudoh - The Music of Video Games series
  • 9/13/2009 12:40 AM In reply to

    Re: Play a WMV from the net via XNA?

    It's not possible using the XNA Framework. You would have to come up with another solution to stream the data and play the sound on the client.

    As for saving "tons of space", how many sounds are you talking about anyway? It sounds like you're trying to solve a non-existant problem. Unless you're talking about hundreds of MB of sound files, there's no problem (and even then it's not really a problem) so just do it the regular way.
    Jim Perry - Microsoft XNA MVP
    If people spent a minute searching the forums and reading the FAQs before posting I'd be out of a job.
      Got some XNA Game Studio/XNA Framework development info to share with the community? Put it on the XNA Wiki.
        Please mark posts as Answers or Good Feedback when appropriate.
  • 9/13/2009 12:41 AM In reply to

    Re: Play a WMV from the net via XNA?

    Everything will depend on the platform you are developing for as well as what technology you are using.
    On the Xbox 360 you do not have access to the Internet or the leaderboards systems. But if you are using the windows systems you are only limited to the code systems you are developing in. For example if you are using the .net framework only then you are bound to the namespaces included with the framework.
  • 9/13/2009 12:44 AM In reply to

    Re: Play a WMV from the net via XNA?

    The game would be for Xbox 360 (mostly). But if anyone knows a solution that would work for both that would be great. But like I said, mostly focused on Xbox 360 development.

    Any ideas how to do this?
    www.youtube.com/jed05 - Previews, Reviews, and Randomness. Co-Hosted with my fiancee.
    www.youtube.com/garudoh - The Music of Video Games series
  • 9/13/2009 12:45 AM In reply to

    Re: Play a WMV from the net via XNA?

    Jim Perry:
    It's not possible using the XNA Framework. You would have to come up with another solution to stream the data and play the sound on the client.

    As for saving "tons of space", how many sounds are you talking about anyway? It sounds like you're trying to solve a non-existant problem. Unless you're talking about hundreds of MB of sound files, there's no problem (and even then it's not really a problem) so just do it the regular way.


    WMV= Windows Media Video
    www.youtube.com/jed05 - Previews, Reviews, and Randomness. Co-Hosted with my fiancee.
    www.youtube.com/garudoh - The Music of Video Games series
  • 9/13/2009 12:50 AM In reply to

    Re: Play a WMV from the net via XNA?

    If you are targeting the Xbox 360, with the current XNA Framework there is no way to do it.

    But yet again, if you could come up with a valid proposal and could take to a commercial publisher you may be able to talk the publisher to go into bat for you to get hold of the XDK and advanced API's, from there you may be able to but the reasons would have to be really really good, and you would need to have really deep pockets.
  • 9/13/2009 12:53 AM In reply to

    Re: Play a WMV from the net via XNA?

    I know this is somewhat off topic, but is there any way to have really good compression on WMV or some alternative video format to WMV that is usable under the XNA Framework?
    www.youtube.com/jed05 - Previews, Reviews, and Randomness. Co-Hosted with my fiancee.
    www.youtube.com/garudoh - The Music of Video Games series
  • 9/13/2009 1:13 AM In reply to

    Re: Play a WMV from the net via XNA?

    There are only a limited group of formats that are supported. There is a page in the documentation on it.

    1. Videos with Digital Rights Management enabled cannot be used.
    2. The video must be encoded to the WMV-9 "Main" profile using the VC-1 standard.
    3. The video must be encoded with a constant bit rate (CBR).
    4. There must be an audio track in the video.
    5. The audio accompanying the video must be Windows Media Audio (WMA) encoded, with a single-pass CBR format.
    6. XNA Game Studio supports the following maximum bit rates:

Page 1 of 1 (8 items) Previous Next