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

VSLive Devapalooza and Jeopardy on Coding4Fun

imageTonight I hosted the Devapalooza event for Visual Studio Live in Redmond.  For the event, we played a Jeopardy-like game using software and hardware I created.  You can find an article on how the software was created, how to build the hardware, and full source/binary downloads over at Coding4Fun and CodePlex  This can be a fun way to host training at your office, or a way to liven up a user group.

A huge thanks to Dan Waters and Clemens Vasters from Microsoft, VSLive speakers Rocky Lhotka, Deborah Kurata, and David Platt, and our three attendees who played the game.  I think it was a great time.  Hopefully you did too if you were in attendance.

After playing the game tonight for real, I have a few ways to fix up the software and make it a bit easier to use, especially on the scoring side.  Also note that the code isn’t the best example of great coding.  With this being a side project and the deadline looming, I took a few dirty shortcuts.  But, …

Read More

The Coding4Fun Show – Ep 5 with Josh Blake

The fifth episode of my Coding4Fun Show, is now up on Channel 9.  In this episode of the Coding4Fun Show, I chat with Josh Blake about Natural User Interfaces and Multitouch programming with .NET.  Josh has written a multitouch PowerPoint replacement called NaturalShow, which was demonstrated during his NUI session at MIX10. Watch and learn a bit about how this application was created as well as how you can write multitouch applications with WPF.  And for even more multitouch programming goodness and more on NaturalShow, Josh is currently working on a book titled Multitouch on Windows, which can be purchased and read while he's writing it!

    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: Natural User Interfaces with Josh Blake

    A big thanks to Josh for the interview!

    Read More

    TweeVo

    10/28/13: TweeVo 1.4 Released!

    This should fix up things with the latest Twitter API changes…again…

    11/19/12: TweeVo 1.3 Released!

    This should fix up things with the latest Twitter API changes…

    12/8/10: TweeVo 1.2 Released!

    TweeVo 1.2 has been released which now works with some modifications Twitter made to OAuth around 11/30. A huge thanks to Chris Miller and for doing the heavy lifting on this one and implementing the fix. The binary and source code are updated and can be found at the links below. Let me know if you run into any trouble with this new version.

    10/14/10: TweeVo 1.1 Released!

    TweeVo 1.1 has been released which now works with Twitter’s mandatory OAuth authentication scheme. A huge thanks to Chris Miller, Conrad, and Mark Zaugg for testing the changes. The binary and source code are updated and can be found at the links below. Let me know if you run into any trouble with this new version.

    TweeVo, my latest article and application, is now up at Coding4Fun. If …

    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

    The Coding4Fun Show – Ep 4 with Jeremiah Morrill

    c9logo The fourth episode of my Coding4Fun Show, the second show live from Las Vegas, is now up on Channel 9.  In this episode I interview interview Jeremiah Morrill who has written WPF MediaKit, an amazing library to quickly build DirectShow and MediaFoundation media player controls in WPF.  It's amazingly powerful and, as a developer, can be used with just a few lines of XAML.  In fact, you can create a full-blown DVD player or webcam capture control in your application each with a single XAML tag!  Learn all about this great project, how it was written, and how to use it in your own creations.

      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: WPF MediaKit with Jeremiah Morrill

      A big thanks to Jeremiah for the interview!

      Read More