User Profile

Collapse

Profile Sidebar

Collapse
haven1433
haven1433
Last Activity: Mar 29 '11, 05:01 PM
Joined: May 17 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Watching a Motion Jpeg stream in Windows Media Player

    I have a camera that is sending a motion-jpeg stream over a network in real time, and I would like to open the stream and view the video in Windows Media Player. Firefox and VLC are able to show me the video, but Windows Media Player just says "Connecting to..." for forever. I think this is because the stream has no end - its just playing live.

    I specifically need to be able to view it in Windows Media Player for a WPF application...
    See more | Go to post

  • haven1433
    started a topic WPF equivalent to Java's BufferedImage?
    in .NET

    WPF equivalent to Java's BufferedImage?

    Java provides a BufferedImage class with the following useful functionality:
    • Draw on it with a Graphics2D, allowing standard shapes (ovals, rectangles) or per-pixel manipulation.
    • Read from file or make a blank one, and write to file
    • Draw the image to a panel with possible scaling and rotation


    I've been looking into WriteableBitmap , but I can't seem to get WritePixels to work the way I need it to. Is...
    See more | Go to post

  • haven1433
    replied to Editing Bitmap objects while on screen
    Faster Drawing

    Thanks for the response, and sorry I wasn't able to test your solution earlier. You're right - using the lock() clears up the access / modification problem I'm having. Unfortunately, the image isn't going to be static once I draw it to the screen, so I still need a way to draw it quickly.

    I'm still new to C#, but I've used Java for quite a while, which is why I brought up BufferedImage as an example....
    See more | Go to post

    Leave a comment:


  • haven1433
    replied to Editing Bitmap objects while on screen
    Here's a code example:

    I've left a lot of details in, so here is the jist.

    First of all, the program assumes that the form has a single button somewhere tied to button1_Click. It creates a form (preferably large) and then waits around, doing nothing. The form is set to refresh itself every 10 seconds, though really I'm more interested in it refreshing every .1 seconds: I just dialed up the value for the example....
    See more | Go to post

    Leave a comment:


  • haven1433
    started a topic Editing Bitmap objects while on screen

    Editing Bitmap objects while on screen

    I'm writing an application that draws custom fractal images, so I'm currently creating an empty bitmap, drawing to that, and then drawing that on the screen using a form's OnPaint. This lets me do quick transformations like rotations and panning while still calculating the fractal. I want to update the bitmap while its on the screen, so the fractal updates itself even while you're panning or rotating.

    Problem is, Visual Studio gets...
    See more | Go to post
No activity results to display
Show More
Working...