Announcement

Collapse
No announcement yet.

Webcam audio skips causing asynchronous audio/video using GUVCView

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Webcam audio skips causing asynchronous audio/video using GUVCView

    I tried Cheese but it would hang when I clicked record and create 0 byte files.

    I tried Kasomo but the videos would play back at 3x speed with no sound.

    Finally I tried GUVCViewer and it appeared to work but now I find the video and audio are out of sync.

    In a 9 min video the audio will finish 30 sec before the video.
    The audio skips fwd intermittently by a second or two while the video rolls on meaning parts of the audio are missing and causing it to pull out of sync further and further.

    I tried changing audio sample rate from default to:
    8,000 - VLC said the video was broken and only played 2 seconds then video froze.
    22,050 - Audio skipped just as before

    My settings in GUVCView:
    AUDIO
    • Input Device: /dev/dsp (other choices are 'default' or 'HDA Intel: ALC662 rev1 Analog (hw:0,0))
    • Sample Rate: Dev. Default (choices range from 8,00 - 96,000)
    • Channels: Dev. Default (mono or stereo)
    • Audio Format:MP2 (or PCM)


    VIDEO
    • Device: USB 2.0 Camera (no other choice)
    • Frame Rate: 1/30 fps (no other choice)
    • Resolution: 320x240 (I changed it from default 640x480)
    • Camera Output: YUYV (no other choice)
    • Video Codec: YUY2 - uncomp YUV (8 other choices - I figured uncompressed would be fastest)
    • Video Format: AVI (other choice is MKV)


    I am running Kubuntu 9.10 on an eee-pc 900:
    • CPU: Intel Celeron M ULV 900MHz
    • RAM: 1GB DDR2 RAM (667MHz)
    • Video: Integrated Intel GMA 900 GPU
    • Audio: Integrated Intel HDA ALC662 rev1 analog
    • Cam: 1.3 MP webcam


    Any thoughts out there on how to correct this?

    KDE neon LTS 5.12

    #2
    Re: Webcam audio skips causing asynchronous audio/video using GUVCView

    see what hapens if you record it with VLC media>open capture device ... and see how well it dose at recording you..

    VINNY
    i7 4core HT 8MB L3 2.9GHz
    16GB RAM
    Nvidia GTX 860M 4GB RAM 1152 cuda cores

    Comment


      #3
      Re: Webcam audio skips causing asynchronous audio/video using GUVCView

      http://blog.raphinou.com/2007/08/bui...h-vlc-ion.html
      "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
      – John F. Kennedy, February 26, 1962.

      Comment


        #4
        Re: Webcam audio skips causing asynchronous audio/video using GUVCView

        nice link ................I just put /dev/video0 in the "video device name" feald when you click open capture device and then the record button and VLC gave me a nice .avi in ~/ ... :P

        VINNY
        i7 4core HT 8MB L3 2.9GHz
        16GB RAM
        Nvidia GTX 860M 4GB RAM 1152 cuda cores

        Comment


          #5
          Re: Webcam audio skips causing asynchronous audio/video using GUVCView

          If you have the newer version of VLC you can use this method: http://techistan.blogspot.com/2010/0...viewebcam.html
          "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
          – John F. Kennedy, February 26, 1962.

          Comment


            #6
            Re: Webcam audio skips causing asynchronous audio/video using GUVCView

            Originally posted by finny388
            .......

            I am running Kubuntu 9.10 on an eee-pc 900:
            • CPU: Intel Celeron M ULV 900MHz
            • RAM: 1GB DDR2 RAM (667MHz)
            • Video: Integrated Intel GMA 900 GPU
            • Audio: Integrated Intel HDA ALC662 rev1 analog
            • Cam: 1.3 MP webcam


            Any thoughts out there on how to correct this?
            I'm not sure you can. 900MHz CPU speed is pretty limiting.

            guvcview gives a very fast video output. It would be hard to create a video with higher video and audio rates.
            "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
            – John F. Kennedy, February 26, 1962.

            Comment


              #7
              Re: Webcam audio skips causing asynchronous audio/video using GUVCView

              Check out Paulo Assis's site at:

              http://developer.berlios.de/projects/guvcview/

              He has always been very helpful to me.

              Comment


                #8
                Re: Webcam audio skips causing asynchronous audio/video using GUVCView

                Thanks for the replies.

                I'd like to try VLC (b/c it's already installed) or tone down GUVC since it almost works.
                So I'm going look at VLC first:

                Video works fine but no audio:
                Your input can't be opened:
                VLC is unable to open the MRL 'alsa:///dev/dsp'. Check the log for details.
                I use /dev/dsp in GUVC so I find this odd.

                I found camera identified in the folder '/dev/v4l/by-id/

                Should I find the microphone there or where to look?

                Vinnie, did you get sound?
                thx

                btw, Greygeek I found the record buttons under View/Adv... thanks
                KDE neon LTS 5.12

                Comment


                  #9
                  Re: Webcam audio skips causing asynchronous audio/video using GUVCView

                  @finny388 ...........no I couldent test sound as I dont have a mic ........I'm acualey surprised the cam worked as old as it is

                  the old A$$ mic I had got it's plug riped off by my nefue accedentley OOps

                  VINNY
                  i7 4core HT 8MB L3 2.9GHz
                  16GB RAM
                  Nvidia GTX 860M 4GB RAM 1152 cuda cores

                  Comment

                  Working...
                  X