henrywoo / kazam

Kazam2 - Linux Screen Recorder, Broadcaster, Capture and OCR with AI in mind
https://github.com/henrywoo/kazam
GNU General Public License v3.0
210 stars 22 forks source link

Kazam Fails to Save Recordings When Using Blue Yeti Microphone #49

Closed Piotr1215 closed 4 months ago

Piotr1215 commented 4 months ago

Description

Thank you for creating such a great tool. I have an issue with my Blue Yeti Mic where Kazam fails to save recordings when the Blue Yeti microphone is selected as the audio input source. The issue does not occur with other microphones. Debug logs indicate that Kazam hangs at DEBUG GStreamer - Sending new EOS event.

Steps to Reproduce

  1. Select Blue Yeti microphone in Kazam preferences.
  2. Start a recording.
  3. Stop the recording.

Observations

Workarounds Tried

  1. Restarted PipeWire and PulseAudio Services:

    systemctl --user restart pipewire
    systemctl --user restart pipewire-pulse
  2. Set Default Audio Source:

    pactl set-default-source alsa_input.usb-Generic_Blue_Microphones_2147BAH02Z78-00.iec958-stereo
  3. Tested GStreamer Independently:

    gst-launch-1.0 -e ximagesrc ! video/x-raw,framerate=30/1 ! videoconvert ! x264enc ! mp4mux ! filesink location=test_video.mp4
    gst-launch-1.0 -e alsasrc device=hw:0,0 ! audioconvert ! avenc_aac ! mp4mux ! filesink location=test_audio.mp4
    gst-launch-1.0 -e ximagesrc ! video/x-raw,framerate=30/1 ! videoconvert ! x264enc ! mp4mux name=mux ! filesink location=test_output.mp4 alsasrc device=hw:0,0 ! audioconvert ! avenc_aac ! mux.
Piotr1215 commented 4 months ago

After some more tinkering, the issue was a faulty USB port. Once switched to a different USB port, all works as expected.