MJPEG Decoder v1.1

A quick update to my Motion JPEG Decoder is now available at CodePlex.  Version 1.1 adds the ability to specify username/password credentials for cameras that require a login.  For example:

MjpegDecoder _mjpeg;

_mjpeg = new MjpegDecoder();
_mjpeg.FrameReady += mjpeg_FrameReady;

_mjpeg.ParseStream(new Uri("http://192.168.2.200/img/video.mjpeg"), "user", "password");

As always, questions/comments welcome.  Enjoy!

Read More

MJPEG Decoder

209653324My latest article and library is now live on the brand new Coding4Fun site, now on Channel 9, and over at CodePlex.  This project allows you to very easily decode a MJPEG (Motion JPEG) stream from a network camera (or any other source) into a consumable type for WinForms, WPF, Silverlight, XNA and Windows Phone 7 (both Silverlight and XNA).

The MJPEG Decoder library started life as a project for the t-shirt cannon built for the MIX10 keynote.  The original plan was to have an IP camera attached to the robot for a real-time video stream from the bot's perspective, but the feature wound up being cut for time, and due to some issues rendering the video on the very early Windows Phone 7 tools.  The library has been sitting around a while, has gone through several rewrites and now supports almost every platform I can think of.  With the new Coding4Fun up and running, it was time to polish it off and get it posted.

Take a look at the article, download the binaries and …

Read More

Multi-touch Madness at Tech Valley .NET Users Group

image For my fellow Capital District folks, I’ll be giving a session to the Tech Valley .NET Users Group (TVUG) this Tuesday, January 12, 2010 at 6:30pm all about everything you’ve ever wanted to know about multi-touch in Windows 7 and beyond!  Here are the details….

Multi-touch Madness!

Where: Versa Trans Solution, Latham, NY
When: Tuesday, January 12, 2010, 6:30-9PM
Who: Brian Peek, Microsoft MVP - C#

Overview: Multi-touch technology is popping up everywhere, most recently in Windows 7 and various .NET technologies.  Windows 7 has been designed from the ground-up with multi-touch in mind, and the newest versions of WPF and Silverlight are multi-touch capable as well.  In this session I will take you through the 4 biggest areas of Microsoft multi-touch technology: Windows 7, WPF4, Silverlight, and Surface.  You will learn how to make your applications multi-touch aware and capable using each of these platforms, and learn where multi-touch is heading in the …

Read More

Tech Valley Code Camp 2009

Update 11/1/09: Session schedule is posted!  20 sessions to choose from.

tvcc_09The Tech Valley Code Camp is almost here!  This year’s camp will be taking place on Saturday, November 7th, 2009 at SUNY Albany from 9am-3pm and is absolutely, 100% free for everyone to attend.  So far we have 18 sessions scheduled for everything from LINQ to Silverlight to iPhone development to Ruby on Rails.  I encourage all of our local developers to attend this event, and furthermore, present something to the group!  This code camp is platform agnostic, so practically software development topic would be great to present.

I’ll be presenting two sessions on Silverlight which I recently presented at VSLive Orlando 2009:

Getting Started with Silverlight
Room: CC 367
Time: 1:00pm

Microsoft Silverlight allows developers and designers to build rich cross-browser and cross-platform applications for the Web using the same tools and technologies that are familiar to .NET …

Read More

VSLive! Orlando 2009 Sessions Posted

vslive Thanks to everyone who came out to my two VSLive sessions today.  You can find the slide decks and full source code posted in my download section.  Please note that in order to save some bandwidth, I didn’t include the 125MB video file I used in my examples, but you can download that separately here.  Just unzip and copy to the Media and GPUAcceleration sample directories and build the project.

I welcome any and all questions, and especially comments/critiques.  As a speaker, I rarely, if ever, receive any formalized feedback from the session organizers, so I’d love to hear what those in attendance thought of my sessions.  Good or bad, please send it along!  Thanks!

Read More

VSLive! Orlando

vslive Anyone out there heading to VSLive! Orlando this week?  I will be giving two introductory sessions on Silverlight as listed below:

Getting Started with Silverlight
Tuesday, October 6, 10:30am

Microsoft Silverlight allows developers and designers to build rich cross-browser and cross-platform applications for the Web using the same tools and technologies that are familiar to .NET developers.  This session will cover the basics of Silverlight, including basic XAML, the tools that can be used to create Silverlight applications, the controls available in the Silverlight framework, and pros and cons of Silverlight vs. other web technologies, all while building a few very simple applications demonstrating the power of the framework.

Silverlight Controls and Animations
Tuesday, October 6, 12:00pm

The Microsoft Silverlight framework contains an assortment of pre-built controls that can be used directly by your applications.  Developers can also create their own …

Read More

The Coding4Fun Show – Ep 3 with Rick Barraza

c9logo The third episode of my Coding4Fun Show, live from Las Vegas, is now up on Channel 9.  In this episode I interview Rick Barraza of Cynergy Systems, who has put together several very unique applications and accompanying tutorials demonstrating advanced rendering techniques using Silverlight 3.  During the show, we discuss Silverlight 3, UX design, and the three demos he has created showing off advanced rendering techniques.  For more on how these amazing demos were made, check out his (currently) three part series at his blog:

You should see the video below if you have Silverlight installed, otherwise head over to the episode on Channel 9 to watch and download in a variety of formats for offline viewing.


The Coding4Fun Show: Advanced Rendering with Silverlight, Rick Barraza

 

A big thanks to Rick for taking a few minutes out of …

Read More

The Coding4Fun Show – Ep 1 with Andy Beaulieu

logo The very first episode of my new Coding4Fun Show is now up on Channel 9.  This is a show I plan on doing monthly, interviewing developers creating fun and interesting projects, and showcasing what they’re doing.

In this first episode, I interview Andy Beaulieu and we discuss his Physics Helper for Silverlight, Blend, and Farseer.  You’ll learn a bit about how he made the library, and how you can use it in your own applications for some pretty cool effects.  You should see the video below if you have Silverlight installed, otherwise head over to the episode on Channel 9 to watch and download in a variety of formats for offline viewing.


The Coding4Fun Show: Physics Helper for Silverlight by Andy Beaulieu

Have a look and let me know what you think.  It’s my first time trying this out, so I’d love to hear your feedback.  Thanks!

Read More