MJPEG Decoder v1.1

Posted May 7, 2011 9:25 PM Categories: C# | Coding4Fun | MJPEG | Silverlight | Windows Phone | WPF | XNA

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!

MJPEG Decoder

Posted February 10, 2011 4:12 AM Categories: .NET | Coding4Fun | Hardware | MIX10 | Silverlight | Windows Phone | WPF | XNA

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 source, and let me know how it works!

VSLive Devapalooza and Jeopardy on Coding4Fun

Posted August 4, 2010 10:39 PM Categories: Coding4Fun | WPF | VSLive Redmond | Events | Hardware | VSLive Orlando

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, it got the job done.  It looks like we might be playing this again at Visual Studio Live Orlando in November, so I should have those changes posted to Coding4Fun/CodePlex before then.

We had a few arguments over questions and answers tonight with the ultimate argument taking place during Final Jeopardy.  The category was “.NET History” with the following clue:  Prior to being known as the Common Language Runtime, the CLR was known by this “flashy” moniker.  The two answers that were given that caused a stir were  “Universal Runtime (URT)” and “COM+”.  The official answer I wrote was “Project Lightning”.  Carl Franklin of .NET Rocks fame did an interview with Jay Roxe back in 2005 in which he explained a bit of history of .NET.  Jay, a member of the early team, says this in the interview: “I joined what is now the .NET Framework team, or the Common Language Runtime team, back in November of 1997. [This was] back when it was called Project Lightning, then it became COM+, then it became Project 42….”  Wikipedia lists all of these names, along with Common Object Runtime (COR) and Universal Runtime (URT).

So…do I have any insiders reading the blog that were part of the original team have a timeline on the naming of the CLR?  Only Project Lightning fits the clue of “flashy” moniker, and the interview does indeed claim COM+ was a later name, but an official timeline of names would be interesting to know, especially if URT preceded Lightning.

Tomorrow I’ll be presenting my Multi-touch Madness session and I will post slides and code by Friday.

Update: Here’s a video of the Final Jeopardy argument, thanks to John von Rosen.

VSLive Gameshow Final Question

The Coding4Fun Show – Ep 5 with Josh Blake

Posted June 3, 2010 10:48 PM Categories: .NET | Channel 9 | Coding4Fun | Coding4Fun Show | MIX10 | Multitouch | NUI | WPF

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!

    TweeVo

    Posted February 19, 2010 10:41 PM Categories: .NET | Coding4Fun | TiVo | TweeVo | Twitter | WPF

    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 you own a TiVo and have a Twitter account, this is for you.  TweeVo is a simple background application that polls selected TiVo boxes in your home and tweets what they are recording to a specified Twitter account. The tweet includes a link to www.zap2it.com, which gives viewers of your Twitter stream more information on the show, and allows them to set up a recording to their own TiVo.

    Links

    • Article at Coding4Fun – Learn how TweeVo was made
    • Download (source & binary)
    • PeekVo – Follow my TiVo on Twitter and see what I’m recording!
    • TweeVoUsers – Follow my TweeVo users list and see what a variety of TweeVo users are recording.  If you’re using TweeVo and want to be added, let me know!
    • Need Help?  Post a message in the support forum!

    You will need .NET 3.5 SP1 installed, but the installer should handle that for you if it isn’t found.  As always, any feedback is welcome.

    A very special thanks to Bill Pytlovany, Chris Miller and Mark Zaugg for testing out TweeVo during its (far longer than normal) development cycle, and Joey Buczek for creating the icon.

    tweevo
    TweeVoList

    My Info

    • View Brian Peek's profile on LinkedIn

    Sponsored Ad

    My Book

    Sponsored Ad