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)
Diff:
Diff:
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
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.
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.
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.
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.
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...
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,
OK, so this is now fixed in git master.
I'll prepare a new release to fix this issue.
Regards,
Thanks so much, this now means I can upgrade my sisters 18.04 machine!
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?
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!
closed in release 2.0.7