Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Bitmaps to video

Bitmaps to video

Scheduled Pinned Locked Moved C / C++ / MFC
question
6 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    bankai123
    wrote on last edited by
    #1

    Hi, I currently have bitmaps coming in as files from a usb input and I'm wondering what library is suitable for displaying the bitmaps into a video. If so can someone point me in the right direction? Thanks

    M 1 Reply Last reply
    0
    • B bankai123

      Hi, I currently have bitmaps coming in as files from a usb input and I'm wondering what library is suitable for displaying the bitmaps into a video. If so can someone point me in the right direction? Thanks

      M Offline
      M Offline
      Mark Salsbery
      wrote on last edited by
      #2

      If you just want to display them as a video then you can draw the bitmaps to a window as they come in. If you want to save a video file then you'll need to know the file format, and if it's a compressed format, how to compress the images into a video stream. For free, if Windows Meda Format is acceptable, you can use the Windows Media Format SDK[^] to write an image stream to a Windows Media Video (WMV) file. There's lots of third party stuff available I'm sure, but I've never used any. Mark

      "Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder

      B 2 Replies Last reply
      0
      • M Mark Salsbery

        If you just want to display them as a video then you can draw the bitmaps to a window as they come in. If you want to save a video file then you'll need to know the file format, and if it's a compressed format, how to compress the images into a video stream. For free, if Windows Meda Format is acceptable, you can use the Windows Media Format SDK[^] to write an image stream to a Windows Media Video (WMV) file. There's lots of third party stuff available I'm sure, but I've never used any. Mark

        "Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder

        B Offline
        B Offline
        bankai123
        wrote on last edited by
        #3

        Thanks for the hints. I've heard DirectShow can also be a relevant library, or is that mainly for displaying video?

        M 1 Reply Last reply
        0
        • B bankai123

          Thanks for the hints. I've heard DirectShow can also be a relevant library, or is that mainly for displaying video?

          M Offline
          M Offline
          Mark Salsbery
          wrote on last edited by
          #4

          DirectShow will work. The only problem I see with that is that there's no source filter available to dump images into so you'd need to develop your own. Otherwise it would be similar to using Windows Media Format. In fact, besides AVI, Windows Media (with MPEG-4) is the only included way of writing files. Windows Media Format would be simpler than adding an extra layer on top of it. Mark

          "Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder

          1 Reply Last reply
          0
          • M Mark Salsbery

            If you just want to display them as a video then you can draw the bitmaps to a window as they come in. If you want to save a video file then you'll need to know the file format, and if it's a compressed format, how to compress the images into a video stream. For free, if Windows Meda Format is acceptable, you can use the Windows Media Format SDK[^] to write an image stream to a Windows Media Video (WMV) file. There's lots of third party stuff available I'm sure, but I've never used any. Mark

            "Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder

            B Offline
            B Offline
            bankai123
            wrote on last edited by
            #5

            Which version of the Windows Media SDK do you recommend, or should I use the latest (version 11)? Thanks

            M 1 Reply Last reply
            0
            • B bankai123

              Which version of the Windows Media SDK do you recommend, or should I use the latest (version 11)? Thanks

              M Offline
              M Offline
              Mark Salsbery
              wrote on last edited by
              #6

              I suppose the latest one (11) is fine. I'm still on 9.5 for no other reason than I haven't used any of the newer DRM stuff in 11 and I haven't installed it. Maybe today if I'm bored :laugh:

              "Posting a VB.NET question in the C++ forum will end in tears." Chris Maunder

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups