Archive for Scurvy Media

Scurvy.Media upgraded to XNA 2.0 beta

I’ve checked in the initial check-in of the upgrade project to the following location in the codeplex repository:
$/Branches/2.0 Upgrade

I have to admit that I am loving the fact that I can now use the integrated source control in the big boy version of VS.  Since XNA 2.0 has handy new parameterized processors, I figure I’ll just do my planned refactors to the pipeline in 2.0.

I don’t have a binary release on this one yet, but stay tuned :-)

Comments off

Scurvy Media v0.5.2007.1104

I decided to make an “official” binary only release which can be found here. Technically, the only new feature that wasn’t there before is a slightly more informative exception that gets thrown if you try to load a streaming video without the VideoContentManager.

Hopefully this will encourage library use, and potentially some feedback/bug reports now that you don’t have to compile the code before using it :-)

If you’re curious about the format of the build number, I’ve found from recent experience at work, that having an informational build number can be quite useful. this is basically the format:
<major>.<minor>.<yyyy>.<mmdd>

The only reason it’s not major.minor.revision.timestamp is because there is a bug in msbuild.

On, and also … I’ve also checked in a new branch of the code. This is where I’ll hack n’ slash the pipeline code to support larger videos. The problem of course is that currently, the importer will load the whole thing into video, which, on a large video would starve your computer of memory. It will ideally just load the right kind of importer content type, and only read each frame at “write time” so that only one frame at a time would need to be in memory (or whatever the GC deems appropriate.

Slowly but surely, I’m working on this … by hook or by crook ;-)

ps. now that I’ve had to disable comments, if you have feedback on this lib, just hit up the discussion forums on the scurvy media codeplex site.

Comments off

Scurvy Media is now Open Source

So this may or may not be exciting for you faithful readers, but I’ve decided to release my little project out into the world as open source.

The project is called Scurvy Media, and can be found on CodePlex:
http://www.codeplex.com/ScurvyMedia

Why did I call it Scurvy Media when it only contains the Video playing library? Well, I actually have a pretty big interest in both Audio and Video media. I would like eventually for this library to encompass a lot of the ideas I have in that field.

What’s Included

  1. Content Pipeline assembly:
    1. AVI importer
      Lets you import AVI videos. the importer architecture is such that you could create importers for additional types of videos.
    2. In-memory processor
      Memory will be loaded fully into memory when you load the video.
    3. Streaming processor
      Video will be streamed from disk at runtime.
  2. Runtime assembly
    1. Video class
      very simple runtime class that has a Play method, and properties such as Loop and IsPlaying.
    2. video content manager.
      If you’re using the streaming processor, you have to use this custom content manager because of the way the file stream must be handled.

I’ll be talking about some of the limitations soon, which is what’s driving the current development. Hopefully this project will grow to provide lots of media related functionality to the XNA community :-)

Comments (2)

XNA Video Announcement … coming soon

In case anyone is reading … stay tuned for an announcement about my XNA Video library in the next day or two :-)

Comments (2)

XNA Video Library

For those of you looking for the XNA Video library, you can find it here:

http://scurvybones.com/downloads/Scurvy.Media.Video.zip

It is the latest version, but does not include the 360 version of the libs. I’ve got some great changes half-implemented that will make the video playback work even better. Stay tuned for more :-)

Comments off