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
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. How to create an uncompressed avi file from a matrix of data?

How to create an uncompressed avi file from a matrix of data?

Scheduled Pinned Locked Moved C / C++ / MFC
data-structurestutorialquestion
6 Posts 5 Posters 5 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.
  • K Offline
    K Offline
    Kiran Satish
    wrote on last edited by
    #1

    I am looking for a way to save a matrix (essentially an array) of data that has the intensity information for each pixel into an avi file. I want the avi file to be of no size limits and uncompressed. This is on an NTFS system with windows XP or greater. Any ideas or tutorials?

    PKNT

    CPalliniC C V S 4 Replies Last reply
    0
    • K Kiran Satish

      I am looking for a way to save a matrix (essentially an array) of data that has the intensity information for each pixel into an avi file. I want the avi file to be of no size limits and uncompressed. This is on an NTFS system with windows XP or greater. Any ideas or tutorials?

      PKNT

      CPalliniC Offline
      CPalliniC Offline
      CPallini
      wrote on last edited by
      #2

      AVI is a video file, that is a sequence of frames (and possibly related audio). If you have pixel intensity then you have one frame. Am I missing something?

      Veni, vidi, vici.

      In testa che avete, signor di Ceprano?

      K 1 Reply Last reply
      0
      • CPalliniC CPallini

        AVI is a video file, that is a sequence of frames (and possibly related audio). If you have pixel intensity then you have one frame. Am I missing something?

        Veni, vidi, vici.

        K Offline
        K Offline
        Kiran Satish
        wrote on last edited by
        #3

        Thanks for your reply. Yes, you are correct and we dont even have audio. I already have a way to save videos, but when saving longer videos, I am facing issues such as file index corruption etc and these longer videos are very important for us as they are research data. I am looking for a new better way tos ave videos without any problems.

        PKNT

        1 Reply Last reply
        0
        • K Kiran Satish

          I am looking for a way to save a matrix (essentially an array) of data that has the intensity information for each pixel into an avi file. I want the avi file to be of no size limits and uncompressed. This is on an NTFS system with windows XP or greater. Any ideas or tutorials?

          PKNT

          C Offline
          C Offline
          Chris Losinger
          wrote on last edited by
          #4

          try this: http://www.wischik.com/lu/programmer/avi_utils.html[^]

          image processing toolkits | batch image processing

          1 Reply Last reply
          0
          • K Kiran Satish

            I am looking for a way to save a matrix (essentially an array) of data that has the intensity information for each pixel into an avi file. I want the avi file to be of no size limits and uncompressed. This is on an NTFS system with windows XP or greater. Any ideas or tutorials?

            PKNT

            V Offline
            V Offline
            Vaclav_
            wrote on last edited by
            #5

            Would AVIFileWriteData do the trick? "The AVIFileWriteData function writes supplementary data (other than normal header, format, and stream data) to the file." I hope you are well aware that there are at least three Win32 API for working on audio / video files. The "AVI", "capAVI" and "wave". I am curently using capAVI and recomend always to use whatever standard status/ error reporting API's are avaiable in the particular set. Cheers Vaclav

            1 Reply Last reply
            0
            • K Kiran Satish

              I am looking for a way to save a matrix (essentially an array) of data that has the intensity information for each pixel into an avi file. I want the avi file to be of no size limits and uncompressed. This is on an NTFS system with windows XP or greater. Any ideas or tutorials?

              PKNT

              S Offline
              S Offline
              Shaheed Legion
              wrote on last edited by
              #6

              Try to Google "ffmpeg" this library helps you to write avi files with very little hassle. You can even choose coded or write uncompressed files using their example code included in the library download.

              For awesome websites or just to chat check out my blog for more info. . .

              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