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. Visual Basic
  4. how to automatically create a folder and compress it in vb .net 2008?

how to automatically create a folder and compress it in vb .net 2008?

Scheduled Pinned Locked Moved Visual Basic
csharphelptutorialquestion
6 Posts 3 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.
  • M Offline
    M Offline
    meki_2118
    wrote on last edited by
    #1

    hi, I made a program that record a video from a webcam in vb .net but my problem is that my recorded video have a extension name of .avi and its consuming all my hard disk space. Is there any other way to make my videos size smaller?

    X D 2 Replies Last reply
    0
    • M meki_2118

      hi, I made a program that record a video from a webcam in vb .net but my problem is that my recorded video have a extension name of .avi and its consuming all my hard disk space. Is there any other way to make my videos size smaller?

      X Offline
      X Offline
      x2007
      wrote on last edited by
      #2

      hi can u please tell me about the code u use to done this task. i m working on the same. please tell me. thanks in advance.

      M 1 Reply Last reply
      0
      • M meki_2118

        hi, I made a program that record a video from a webcam in vb .net but my problem is that my recorded video have a extension name of .avi and its consuming all my hard disk space. Is there any other way to make my videos size smaller?

        D Offline
        D Offline
        Dave Kreskowiak
        wrote on last edited by
        #3

        This depends on what you're using to capture the video and save it to the AVI. It has to expose some methods for changing the encoding graph so you can add/change codecs to add compression to it. From the sounds of it, you're saving each frame of video completely uncompressed, which will, obviously, take up a LOT of space.

        A guide to posting questions on CodeProject[^]
        Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
             2006, 2007

        M 1 Reply Last reply
        0
        • D Dave Kreskowiak

          This depends on what you're using to capture the video and save it to the AVI. It has to expose some methods for changing the encoding graph so you can add/change codecs to add compression to it. From the sounds of it, you're saving each frame of video completely uncompressed, which will, obviously, take up a LOT of space.

          A guide to posting questions on CodeProject[^]
          Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
               2006, 2007

          M Offline
          M Offline
          meki_2118
          wrote on last edited by
          #4

          I'm just using a 2.6 mega pixel webcam. It really take up a LOT of space. Just imagine that a 1 min. video will take up a 290 memory space. Can you tell me how can I compress the video?

          D 1 Reply Last reply
          0
          • X x2007

            hi can u please tell me about the code u use to done this task. i m working on the same. please tell me. thanks in advance.

            M Offline
            M Offline
            meki_2118
            wrote on last edited by
            #5

            what kind of code are you asking for? For the video recording?

            1 Reply Last reply
            0
            • M meki_2118

              I'm just using a 2.6 mega pixel webcam. It really take up a LOT of space. Just imagine that a 1 min. video will take up a 290 memory space. Can you tell me how can I compress the video?

              D Offline
              D Offline
              Dave Kreskowiak
              wrote on last edited by
              #6

              Like I already said, that's up to the video capture library that you're using. It has to give you the options to compress the video. If it doesn't, you'll have to use a different library that does, such as Microsoft's Media Encoder 9 SDK.

              A guide to posting questions on CodeProject[^]
              Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                   2006, 2007

              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