Menu

#65 no audio in any video recorded by GUVCVIEW version 2.0.6, yet the microphone is indeed recognized and the sound volume bars shown

next
closed
None
2021-10-27
2021-09-10
Mehdi Saada
No

Hi,
I have debian testing, and you see below the version of guvcview.
I can record any video just fine, but whatever audio format I use it's to no avail :
no audio record. Cheese and audacity manage, webcamoid not. I use an external USB Microsoft camera, and an external Jack stereo microphone. It works for audacity.
Please help.

GUVCVIEW: version 2.0.6
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Aucun fichier ou dossier de ce type
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Aucun fichier ou dossier de ce type
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Aucun fichier ou dossier de ce type
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Aucun fichier ou dossier de ce type
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Aucun fichier ou dossier de ce type
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Aucun fichier ou dossier de ce type
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Aucun fichier ou dossier de ce type
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Aucun fichier ou dossier de ce type
V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Aucun fichier ou dossier de ce type
ALSA lib pcm_dmix.c:1035:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp
ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp
ALSA lib pcm_a52.c:835:(_snd_pcm_a52_open) a52 is only for playback
ALSA lib confmisc.c:160:(snd_config_get_card) Invalid field card
ALSA lib pcm_usb_stream.c:482:(_snd_pcm_usb_stream_open) Invalid card 'card'
ALSA lib confmisc.c:160:(snd_config_get_card) Invalid field card
ALSA lib pcm_usb_stream.c:482:(_snd_pcm_usb_stream_open) Invalid card 'card'
ALSA lib pcm_dmix.c:1035:(snd_pcm_dmix_open) unable to open slave
GUVCVIEW: (status) saving video to /home/gcb/my_video-1.mkv
ENCODER: add stream 0 to stream list
ENCODER: add stream 1 to stream list
ENCODER: (matroska) add seekhead entry 0 (max 10)
ENCODER: (matroska) add seekhead entry 1 (max 10)
AUDIO: portaudio buffer overflow
AUDIO: (portaudio) Stoping audio stream
AUDIO: Closing audio stream...
ENCODER: (matroska) closing context
ENCODER: (matroska) closing cluster
ENCODER: (matroska)write seekhead
ENCODER: (matroska) end duration = 18196 (18196,000000)
GUVCVIEW: (status) saving video to /home/gcb/my_video-2.mkv
ENCODER: add stream 0 to stream list
ENCODER: add stream 1 to stream list
ENCODER: (matroska) add seekhead entry 0 (max 10)
ENCODER: (matroska) add seekhead entry 1 (max 10)
AUDIO: Pulseaudio pa_stream_get_latency() failed
ENCODER: (matroska) closing context
ENCODER: (matroska) closing cluster
ENCODER: (matroska)write seekhead
ENCODER: (matroska) end duration = 8768 (8768,000000)

Discussion

  • Mehdi Saada

    Mehdi Saada - 2021-09-10
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -3,6 +3,7 @@
     I can record any video just fine, but whatever audio format I use it's to no avail :
     no audio record. Cheese and audacity manage, webcamoid not. I use an external USB Microsoft camera, and an external Jack stereo microphone. It works for audacity.
     Please help. 
    +~~~
    
     GUVCVIEW: version 2.0.6
     V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Aucun fichier ou dossier de ce type
    @@ -49,3 +50,4 @@
     ENCODER: (matroska) closing cluster
     ENCODER: (matroska)write seekhead
     ENCODER: (matroska) end duration = 8768 (8768,000000) 
    +~~~
    
     
  • Mehdi Saada

    Mehdi Saada - 2021-09-10
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -3,7 +3,6 @@
     I can record any video just fine, but whatever audio format I use it's to no avail :
     no audio record. Cheese and audacity manage, webcamoid not. I use an external USB Microsoft camera, and an external Jack stereo microphone. It works for audacity.
     Please help. 
    -~~~
    
     GUVCVIEW: version 2.0.6
     V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Aucun fichier ou dossier de ce type
    @@ -50,4 +49,3 @@
     ENCODER: (matroska) closing cluster
     ENCODER: (matroska)write seekhead
     ENCODER: (matroska) end duration = 8768 (8768,000000) 
    -~~~
    
     
  • Mehdi Saada

    Mehdi Saada - 2021-09-15

    Hi,
    I have debian bullseye , and you see below the version of guvcview.
    I can record any video just fine, but whatever audio format I use it's to no avail :
    no audio record. Cheese and audacity manage, webcamoid not, nor guvcview. I use an external USB Microsoft camera, and an external Jack stereo microphone. It works for audacity.
    Please help.

    gcb@debian:~$ cat erreurs_guvcview
    GUVCVIEW: version 2.0.6
    GUVCVIEW: (status) saving video to /home/gcb/my_video-5.mkv
    AUDIO: (portaudio) Aborting audio stream
    AUDIO: Closing audio stream...
    ENCODER: (matroska) closing context
    ENCODER: (matroska) closing cluster
    ENCODER: (matroska)write seekhead
    No file or folder of this kind
    V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Aucun fichier ou dossier de ce type
    V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Aucun fichier ou dossier de ce type
    V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Aucun fichier ou dossier de ce type
    V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Aucun fichier ou dossier de ce type
    V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Aucun fichier ou dossier de ce type
    ALSA lib pcm_dmix.c:1035:(snd_pcm_dmix_open) unable to open slave
    ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
    ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
    ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
    ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map
    ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp
    ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp
    ALSA lib pcm_a52.c:835:(_snd_pcm_a52_open) a52 is only for playback
    ALSA lib confmisc.c:160:(snd_config_get_card) Invalid field card
    ALSA lib pcm_usb_stream.c:482:(_snd_pcm_usb_stream_open) Invalid card 'card'
    ALSA lib confmisc.c:160:(snd_config_get_card) Invalid field card
    ALSA lib pcm_usb_stream.c:482:(_snd_pcm_usb_stream_open) Invalid card 'card'
    ALSA lib pcm_dmix.c:1035:(snd_pcm_dmix_open) unable to open slave
    ENCODER: add stream 0 to stream list
    ENCODER: add stream 1 to stream list
    ENCODER: (matroska) add seekhead entry 0 (max 10)
    ENCODER: (matroska) add seekhead entry 1 (max 10)
    AUDIO: portaudio buffer overflow
    AUDIO: portaudio buffer overflow
    AUDIO: portaudio buffer overflow
    AUDIO: portaudio buffer overflow
    AUDIO: portaudio buffer overflow
    AUDIO: portaudio buffer overflow
    AUDIO: portaudio buffer overflow
    AUDIO: portaudio buffer overflow
    AUDIO: portaudio buffer overflow
    AUDIO: portaudio buffer overflow
    AUDIO: portaudio buffer overflow
    AUDIO: portaudio buffer overflow
    AUDIO: portaudio buffer overflow
    AUDIO: portaudio buffer overflow
    AUDIO: portaudio buffer overflow
    AUDIO: portaudio buffer overflow
    AUDIO: portaudio buffer overflow
    AUDIO: portaudio buffer overflow
    AUDIO: portaudio buffer overflow
    AUDIO: portaudio buffer overflow
    AUDIO: portaudio buffer overflow
    AUDIO: portaudio buffer overflow
    AUDIO: portaudio buffer overflow
    AUDIO: portaudio buffer overflow
    AUDIO: portaudio buffer overflow
    AUDIO: portaudio buffer overflow
    AUDIO: portaudio buffer overflow
    AUDIO: portaudio buffer overflow
    AUDIO: portaudio buffer overflow
    AUDIO: portaudio buffer overflow
    AUDIO: portaudio buffer overflow
    [pcm_f32le @ 0x7f4ae0016ac0] Ignoring attempt to flush encoder that doesn't support it
    ENCODER: (matroska) end duration = 7000 (7000,000000)
    [pcm_f32le @ 0x7f4ae0016ac0] Ignoring attempt to flush encoder that doesn't support it

     
  • Mehdi Saada

    Mehdi Saada - 2021-09-15
    • summary: GUVCVIEW: version 2.0.6 V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Aucun fichier ou dossier de ce type V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Aucun fichier ou dossier de ce type V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Aucun fichier ou dossier de ce type V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Aucun fichier ou dossier de ce type V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Aucun fichier ou dossier de ce type V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Aucun fichier ou dossier de ce type V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Aucun fichier ou dossier de ce type V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Aucun fichier ou dossier de ce type V4L2_CORE: (UVCIOC_CTRL_MAP) Error: Aucun fichier ou dossier de ce type ALSA lib pcm_dmix.c:1035:(snd_pcm_dmix_open) unable to open slave ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side ALSA lib pcm_route.c:877:(find_matching_chmap) Found no matching channel map ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp ALSA lib pcm_a52.c:835:(_snd_pcm_a52_open) a52 is only for playback ALSA lib confmisc.c:160:(snd_config_get_card) Invalid field card ALSA lib pcm_usb_stream.c:482:(_snd_pcm_usb_stream_open) Invalid card 'card' ALSA lib confmisc.c:160:(snd_config_get_card) Invalid field card ALSA lib pcm_usb_stream.c:482:(_snd_pcm_usb_stream_open) Invalid card 'card' ALSA lib pcm_dmix.c:1035:(snd_pcm_dmix_open) unable to open slave GUVCVIEW: (status) saving video to /home/gcb/my_video-1.mkv ENCODER: add stream 0 to stream list ENCODER: add stream 1 to stream list ENCODER: (matroska) add seekhead entry 0 (max 10) ENCODER: (matroska) add seekhead entry 1 (max 10) AUDIO: portaudio buffer overflow AUDIO: (portaudio) Stoping audio stream AUDIO: Closing audio stream... ENCODER: (matroska) closing context ENCODER: (matroska) closing cluster ENCODER: (matroska)write seekhead ENCODER: (matroska) end duration = 18196 (18196,000000) GUVCVIEW: (status) saving video to /home/gcb/my_video-2.mkv ENCODER: add stream 0 to stream list ENCODER: add stream 1 to stream list ENCODER: (matroska) add seekhead entry 0 (max 10) ENCODER: (matroska) add seekhead entry 1 (max 10) AUDIO: Pulseaudio pa_stream_get_latency() failed ENCODER: (matroska) closing context ENCODER: (matroska) closing cluster ENCODER: (matroska)write seekhead ENCODER: (matroska) end duration = 8768 (8768,000000) --> no audio in any video recorded by GUVCVIEW version 2.0.6, yet the microphone is indeed recognized and the sound volume bars shown
     
  • James Lewis

    James Lewis - 2021-10-22

    I have the same issue on Ubuntu 21.10, Running guvcview 2.0.6 - the app is receiving audio, and the overlay VU meters show the levels etc... but the recorded video is silent.

     
  • funtoos

    funtoos - 2021-10-23

    Anybody got any update on this? guncview is the only app that lets me record from my webcam at 1080p without dropping a frame. But without sound, its quite useless.

     
    • James Lewis

      James Lewis - 2021-10-23

      I imagine it will help if you can say what system/OS you are running, if you know when this problem started etc. Perhaps we can work out what version we have to downgrade to to get it working again for now.. I'm wondering I can downgrade on Ubuntu 21.10, since I often use guvcview to record videos and having no sound is a real problem.

       
      • Mehdi Saada

        Mehdi Saada - 2021-10-24

        To be honest I don't see the point in that hassle as of now: I record with
        mpv --record or ffmpeg, and audacity for the sound, and synchronize with
        CLAP! .
        Accurate down to a 1/30th of a second: well enough for my needs, and it's
        fun. Now I have archlinux (endeavoros), up to date.
        Last time I checked the issue was still there.

         
  • James Lewis

    James Lewis - 2021-10-23

    I've realised that the machine I usually record on was Ubuntu 18.04, and since I re-installed to 21.10 (with a view to moving to 22.04), I have no way to know when this issue was introduced.... I'm also thinking that since 2.0.6 was released several years ago, perhaps it's related to a library compatibility problem...

     
  • Paulo Assis

    Paulo Assis - 2021-10-24

    Hi, after some investigating, I found that audio frames are not being encoded. This is probably some issue with the libavcodec API, I've fixed all build warnings but still when encoding audio I get output frames with 0 bytes. This also happens at least in one video codec.
    If libavcodec wasn't the best codec lib out there, I would have drop it a long time ago.
    The API changes are constant and are not backwards compatible, it's just hell to maintain, specially if you don't have that much time to spare.
    I'll try to fix this during this week.
    Regards,

     
    👍
    1
  • Paulo Assis

    Paulo Assis - 2021-10-27

    OK, so this is now fixed in git master.
    I'll prepare a new release to fix this issue.

    Regards,

     
    🎉
    1
    • James Lewis

      James Lewis - 2021-10-27

      Thanks so much, this now means I can upgrade my sisters 18.04 machine!

       
    • funtoos

      funtoos - 2021-10-27

      Is there a patch I can pull on top of 2.0.6 instead of waiting for the fixed package making its way through the system?

       
      • James Lewis

        James Lewis - 2021-10-27

        I would assume you could download the current master revision from GIT and compile it... I hope this is in time for the new packaged version to make it into 22.04 LTS!

         
  • Paulo Assis

    Paulo Assis - 2021-10-27
    • status: open --> closed
    • assigned_to: Paulo Assis
     
  • Paulo Assis

    Paulo Assis - 2021-10-27

    closed in release 2.0.7

     

Log in to post a comment.