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#
  4. Captured video size is too big

Captured video size is too big

Scheduled Pinned Locked Moved C#
helpgraphicsgame-dev
5 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.
  • S Offline
    S Offline
    Sanjay K Gupta
    wrote on last edited by
    #1

    My requirement is Capturing Video from web cam and saving it in .avi format. I am currently using DirectShowNet Library, But the captured video size is too big. For 10 sec video it takes 70 MB storage size. I have tried other web cam libraries but nothing works. I have tried AForge, EMGU, DirectX and some other libraries, but the problem still exists (video size is too big). If you have ever worked on this type of problem, please help me or suggest me for some other libraries.

    ___ ___ ___
    |__ |_| |\ | | |_| \ /
    __| | | | \| |__| | | /

    N 1 Reply Last reply
    0
    • S Sanjay K Gupta

      My requirement is Capturing Video from web cam and saving it in .avi format. I am currently using DirectShowNet Library, But the captured video size is too big. For 10 sec video it takes 70 MB storage size. I have tried other web cam libraries but nothing works. I have tried AForge, EMGU, DirectX and some other libraries, but the problem still exists (video size is too big). If you have ever worked on this type of problem, please help me or suggest me for some other libraries.

      ___ ___ ___
      |__ |_| |\ | | |_| \ /
      __| | | | \| |__| | | /

      N Offline
      N Offline
      Nicholas Marty
      wrote on last edited by
      #2

      Raw Video Data has it's cost (that's the big size on the disk it eats ;)) You'll either need to a) reduce the resolution you're recording a video or b) encode the video with a codec to reduce the size. I haven't done something like that programatically myself yet. However already used some converters which are available for free on the internet to convert the videos. (As far as I remember you should be even able to use the windows live movie maker ;) )

      S 1 Reply Last reply
      0
      • N Nicholas Marty

        Raw Video Data has it's cost (that's the big size on the disk it eats ;)) You'll either need to a) reduce the resolution you're recording a video or b) encode the video with a codec to reduce the size. I haven't done something like that programatically myself yet. However already used some converters which are available for free on the internet to convert the videos. (As far as I remember you should be even able to use the windows live movie maker ;) )

        S Offline
        S Offline
        Sanjay K Gupta
        wrote on last edited by
        #3

        Yes, I think you are right. I need to encode/compress the RAW Video data into proper format. Can you please suggest any library for doing the same. Thanks

        ___ ___ ___
        |__ |_| |\ | | |_| \ /
        __| | | | \| |__| | | /

        N 1 Reply Last reply
        0
        • S Sanjay K Gupta

          Yes, I think you are right. I need to encode/compress the RAW Video data into proper format. Can you please suggest any library for doing the same. Thanks

          ___ ___ ___
          |__ |_| |\ | | |_| \ /
          __| | | | \| |__| | | /

          N Offline
          N Offline
          Nicholas Marty
          wrote on last edited by
          #4

          As I've said. I haven't done it myself with a library myself. Maybe have a look at this question here: video compression in c#[^]

          S 1 Reply Last reply
          0
          • N Nicholas Marty

            As I've said. I haven't done it myself with a library myself. Maybe have a look at this question here: video compression in c#[^]

            S Offline
            S Offline
            Sanjay K Gupta
            wrote on last edited by
            #5

            OK, I found a converter named "FFMPEG" and working on it. BTW Thanks.

            ___ ___ ___
            |__ |_| |\ | | |_| \ /
            __| | | | \| |__| | | /

            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