Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: bat file auto capture and webcam  (Read 22789 times)

0 Members and 1 Guest are viewing this topic.

Kiraichi

    Topic Starter


    Greenhorn

    Thanked: 1
    • Experience: Beginner
    • OS: Unknown
    bat file auto capture and webcam
    « on: February 17, 2011, 09:28:29 AM »
    hi all, first of all im just a beginner programmer,

    and sorry for my broken english and fail grammar,

    as i state at my title, i wonder if there any command or line for bat format for,

    1] auto capture (screenshots) and save it as jpeg format,

    and

    2] autp capture (our webcam) and save it as jpeg format?

    thanks in advance, really hope for ur reply. =)

    Geek-9pm


      Mastermind
    • Geek After Dark
    • Thanked: 1026
      • Gekk9pm bnlog
    • Certifications: List
    • Computer: Specs
    • Experience: Expert
    • OS: Windows 10
    Re: bat file auto capture and webcam
    « Reply #1 on: February 17, 2011, 03:55:37 PM »
    Maybe I can help.
    Use a program already written.
    It saves screen shots as a movie.
    You can adjust the frame rate.
    You can convert file to other formats later.
    But it is not a batch program.
    http://www.debugmode.com/wink/

    Must it be a batch program?

    Kiraichi

      Topic Starter


      Greenhorn

      Thanked: 1
      • Experience: Beginner
      • OS: Unknown
      Re: bat file auto capture and webcam
      « Reply #2 on: February 17, 2011, 08:37:35 PM »
      Maybe I can help.
      Use a program already written.
      It saves screen shots as a movie.
      You can adjust the frame rate.
      You can convert file to other formats later.
      But it is not a batch program.
      http://www.debugmode.com/wink/

      Must it be a batch program?

      thanks for ur reply, but im looking for batch program, or any line, coz im working on my new project. thats why i need that batch program. =) any idea? =)

      Geek-9pm


        Mastermind
      • Geek After Dark
      • Thanked: 1026
        • Gekk9pm bnlog
      • Certifications: List
      • Computer: Specs
      • Experience: Expert
      • OS: Windows 10
      Re: bat file auto capture and webcam
      « Reply #3 on: February 17, 2011, 09:51:43 PM »
      OK
      Yes, there are programs that work in DOS.
      Some of this are automatic.
      They make full-screen capture in DOS.
      http://www.screencapture.com/answers.htm

      Kiraichi

        Topic Starter


        Greenhorn

        Thanked: 1
        • Experience: Beginner
        • OS: Unknown
        Re: bat file auto capture and webcam
        « Reply #4 on: February 20, 2011, 07:16:36 AM »
        OK
        Yes, there are programs that work in DOS.
        Some of this are automatic.
        They make full-screen capture in DOS.
        http://www.screencapture.com/answers.htm

        thanks, but im looking for batch program, so any other answer? =)

        Luthfi



          Rookie
        • Good question solves half the problem
          • Yes
        • Experience: Expert
        • OS: Windows 7
        Re: bat file auto capture and webcam
        « Reply #5 on: February 21, 2011, 02:51:27 AM »
        You could write your own CLI program to capture the screen and web cam. I have written a short tutorial on how to capture screen with Delphi codes. Unfortunately atm I have problem with my internet connection. I can not reach the page. Maybe later, if you are interested.

        Kiraichi

          Topic Starter


          Greenhorn

          Thanked: 1
          • Experience: Beginner
          • OS: Unknown
          Re: bat file auto capture and webcam
          « Reply #6 on: February 21, 2011, 05:18:06 AM »
          You could write your own CLI program to capture the screen and web cam. I have written a short tutorial on how to capture screen with Delphi codes. Unfortunately atm I have problem with my internet connection. I can not reach the page. Maybe later, if you are interested.

          yeah, i am very interested, cant wait it! thanks man! i'll wait. =)

          Luthfi



            Rookie
          • Good question solves half the problem
            • Yes
          • Experience: Expert
          • OS: Windows 7
          Re: bat file auto capture and webcam
          « Reply #7 on: February 21, 2011, 10:39:11 PM »

          Kiraichi

            Topic Starter


            Greenhorn

            Thanked: 1
            • Experience: Beginner
            • OS: Unknown
            Re: bat file auto capture and webcam
            « Reply #8 on: March 10, 2011, 05:19:28 AM »
            thx, but is there any other answer? maybe in c#? or in sh? or in pl? or in bat? =)

            batchloaf



              Starter

              • Experience: Beginner
              • OS: Unknown
              Re: bat file auto capture and webcam
              « Reply #9 on: April 07, 2011, 03:49:50 PM »
              If you're looking for a really simple command line app to capture a single snapshot from a webcam in Windows, you might be interested in the following post on my blog:

              http://batchloaf.wordpress.com/2011/04/06/snapz-a-command-line-cam-image-grabber/

              I couldn't find an app to snap webcam images in a batch file, so I wrote this myself. It's very basic - just run it and it snaps a 640x480 image from the default camera device and saves it in the current directory. It should be perfect for including in a batch file. It's free to download and the full source code is included in my blog post. If you really need to capture an image at a different resolution, the program would need to be recompiled to do that (it's compiled using MinGW - a free gcc compiler for Windows).

              Hope that helps you with your problem!

              Kiraichi

                Topic Starter


                Greenhorn

                Thanked: 1
                • Experience: Beginner
                • OS: Unknown
                Re: bat file auto capture and webcam
                « Reply #10 on: April 10, 2011, 05:55:23 AM »
                If you're looking for a really simple command line app to capture a single snapshot from a webcam in Windows, you might be interested in the following post on my blog:

                http://batchloaf.wordpress.com/2011/04/06/snapz-a-command-line-cam-image-grabber/

                I couldn't find an app to snap webcam images in a batch file, so I wrote this myself. It's very basic - just run it and it snaps a 640x480 image from the default camera device and saves it in the current directory. It should be perfect for including in a batch file. It's free to download and the full source code is included in my blog post. If you really need to capture an image at a different resolution, the program would need to be recompiled to do that (it's compiled using MinGW - a free gcc compiler for Windows).

                Hope that helps you with your problem!

                nice coding man, this is what im looking for dude!

                btw, need ur little help again, do u mind if i add u on msn or ym? leave ur email or add me at [email protected] or [email protected]

                thanks batchloaf!

                batchloaf



                  Starter

                  • Experience: Beginner
                  • OS: Unknown
                  Re: bat file auto capture and webcam
                  « Reply #11 on: November 15, 2011, 09:40:45 AM »
                  Since a few people found their way from here to the snapz command line image grabber program on my blog, I'm posting a link here to the updated DirectShow version that I've just written, CommandCam. It's free and open source and it can be downloaded (either source or binary) from my blog or from github.

                  batchloaf



                    Starter

                    • Experience: Beginner
                    • OS: Unknown
                    Re: bat file auto capture and webcam
                    « Reply #12 on: November 20, 2011, 11:32:49 AM »
                    Updated link for CommandCam command line image grabber: http://batchloaf.wordpress.com/commandcam/

                    Vikken



                      Rookie
                      • Experience: Experienced
                      • OS: Windows 7
                      Re: bat file auto capture and webcam
                      « Reply #13 on: November 20, 2011, 02:11:01 PM »
                      Am I the only1 curious about the program op is making?