sound source is always the microphone if earphones are plugged
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Kazam Screencaster |
New
|
Undecided
|
Unassigned |
Bug Description
kazam 1.4.5 'NCC-80102'
Kubuntu 16.10 Linux 'Lenovo G780' 4.8.0-26-generic #28-Ubuntu SMP Tue Oct 18 14:39:52 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
pulseaudio 9.0
I'm trying to record video and audio stream while my earphones are plugged in (just to do this more silently). It works(?) if earphones are unplugged and defenitely records only microphone if earphones are plugged in. I've tried with both settings switched on\off.
Launch with speakers recording:
/usr/bin/kazam:32: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_
from gi.repository import Gtk
DEBUG Kazam - Starting ...
DEBUG Kazam - Running on: Ubuntu 16.10
DEBUG Kazam - Kazam version: 1.4.5 NCC-80102
DEBUG Kazam - Starting new instance ...
DEBUG Prefs - XDG_PICTURES is a directory and accessible
DEBUG Prefs-HW - Getting hardware specs
DEBUG Prefs-HW - Getting Video sources.
DEBUG Prefs-HW - Found 1 monitor(s).
DEBUG Prefs-HW - Monitor 0 - X: 0, Y: 0, W: 1360, H: 768
/usr/lib/
from gi.repository import Gtk, GObject, Gdk, Wnck, GdkX11
/usr/lib/
from gi.repository import GObject, Gst
/usr/lib/
from gi.repository import AppIndicator3
DEBUG Main - Gstreamer version detected: 1.8.3.0
DEBUG Main - Setting variables.
(kazam:9491): Gtk-WARNING **: Theme parsing error: gtk.css:68:35: The style property GtkButton:
(kazam:9491): Gtk-WARNING **: Theme parsing error: gtk.css:69:35: The style property GtkButton:
(kazam:9491): Gtk-WARNING **: Theme parsing error: gtk.css:73:46: The style property GtkScrolledWind
DEBUG PulseAudio - Starting mainloop.
DEBUG PulseAudio - Getting API.
DEBUG PulseAudio - Setting context.
DEBUG PulseAudio - Set state callback.
DEBUG PulseAudio - Connecting to server.
DEBUG PulseAudio - Start mainloop.
DEBUG PulseAudio - State connected.
DEBUG Main - Connecting indicator signals.
DEBUG Main - Starting in silent mode: False
DEBUG Indicator - Indicatior silent: False
/usr/lib/
from gi.repository import Keybinder
DEBUG Indicator - Trying to bind hotkeys.
DEBUG Main - Main Window UI setup.
/usr/lib/
self.
DEBUG Main - Unable to get name for '<Gtk.Adjustment object at 0x7f2586db7630 (GtkAdjustment at 0x55c1fde13940)>'
(kazam:9491): Gtk-WARNING **: Can't set a parent on widget which has a parent
(kazam:9491): Gtk-WARNING **: Can't set a parent on widget which has a parent
DEBUG Prefs - Getting Audio sources.
DEBUG PulseAudio - get_audio_sources() called.
DEBUG PulseAudio - pa_sourcelist_cb()
DEBUG PulseAudio - IDX: 0
DEBUG PulseAudio - Name: b'alsa_
DEBUG PulseAudio - Desc: b'Monitor of \xd0\x92\
DEBUG PulseAudio - pa_sourcelist_cb()
DEBUG PulseAudio - IDX: 1
DEBUG PulseAudio - Name: b'alsa_
DEBUG PulseAudio - Desc: b'\xd0\
DEBUG PulseAudio - pa_sourcelist_cb() -- finished
DEBUG Prefs - Device found:
DEBUG Prefs - - 0
DEBUG Prefs - - alsa_output.
DEBUG Prefs - - Monitor of Встроенное аудио Аналоговый стерео
DEBUG Prefs - Device found:
DEBUG Prefs - - 1
DEBUG Prefs - - alsa_input.
DEBUG Prefs - - Встроенное аудио Аналоговый стерео
DEBUG Main - Capture microphone: True.
DEBUG Main - Capture cursor_pic: True.
DEBUG Main - Capture borders_pic: True.
DEBUG Main - Capture speakers: True.
DEBUG Main - Capture microphone: False.
DEBUG Main - Area ON.
DEBUG Window Select - Initializing select window.
DEBUG Window Select - Compositing window manager detected.
DEBUG Main - Area mode clicked.
DEBUG Window Select - Selected coords: 170 109 732 457
DEBUG Main - Area selected: SX: 170, SY: 109, EX: 732, EY: 457
DEBUG Main - Area selected: GX: 170, GY: 109, GX: 732, GY: 457
DEBUG Window Select - Move to X: 0 Y: 0
DEBUG Main - Record clicked, invoking Screencast.
DEBUG GStreamer - Audio_source : alsa_output.
DEBUG GStreamer - Audio2_source : None
DEBUG GStreamer - Video_source: {'height': 768, 'x': 0, 'width': 1360, 'y': 0}
DEBUG GStreamer - Xid: None
DEBUG GStreamer - Area: (170, 109, 732, 457, 562, 348)
DEBUG GStreamer - Capture Cursor: False
DEBUG GStreamer - Framerate : 30.0
DEBUG GStreamer - Capturing area.
DEBUG GStreamer - Coordinates SX: 170 SY: 109 EX: 731 EY: 456
DEBUG GStreamer - testing for xid: None
DEBUG GStreamer - Codec: H264 (MP4)
DEBUG GStreamer - Setup audio elements.
DEBUG GStreamer - Audio1 Source:
alsa_
DEBUG GStreamer - Filesink: /home/truf/
DEBUG GStreamer - Linking Video
DEBUG GStreamer - Linking Audio
DEBUG GStreamer - Link audiosrc -> aud_in_queue: True
DEBUG GStreamer - Link aud_in_queue -> aud_caps_filter: True
DEBUG GStreamer - Link aud_caps_filter -> audioconv: True
DEBUG GStreamer - Link audioconv -> audioenc: True
DEBUG GStreamer - Link audioenc -> aud_out_queue: True
DEBUG GStreamer - Link aud_out_queue -> mux: True
DEBUG GStreamer - Link mux -> file queue: True
DEBUG GStreamer - Link file queue -> sink: True
DEBUG Main - Hiding main window.
DEBUG Main - Showing recording outline.
DEBUG Outline Window - Initializing outline window.
DEBUG Outline Window - Compositing window manager detected.
DEBUG Outline Window - Trying to determine Unity Launcher and Panel sizes.
DEBUG Outline Window - Got all sizes.
DEBUG Main - Counter finished.
DEBUG Indicator - Recording started.
DEBUG GStreamer - Setting STATE_PLAYING
DEBUG Indicator - Recording stopped.
DEBUG Main - Stop request.
DEBUG GStreamer - Sending new EOS event
DEBUG Main - Recorded tmp file: /home/truf/
DEBUG Main - Waiting for data to flush.
DEBUG GStreamer - Received EOS, setting pipeline to NULL.
DEBUG GStreamer - Emitting flush-done.
DEBUG Main - Autosaving enabled.
DEBUG Main - Quit requested.
INFO Main - Unable to delete one of the temporary files. Check your temporary directory.
DEBUG PulseAudio - Disconnecting from server.
DEBUG Kazam - Finishing ...
Launch with microphone setting on:
/usr/bin/kazam:32: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_
from gi.repository import Gtk
DEBUG Kazam - Starting ...
DEBUG Kazam - Running on: Ubuntu 16.10
DEBUG Kazam - Kazam version: 1.4.5 NCC-80102
DEBUG Kazam - Starting new instance ...
DEBUG Prefs - XDG_PICTURES is a directory and accessible
DEBUG Prefs-HW - Getting hardware specs
DEBUG Prefs-HW - Getting Video sources.
DEBUG Prefs-HW - Found 1 monitor(s).
DEBUG Prefs-HW - Monitor 0 - X: 0, Y: 0, W: 1360, H: 768
/usr/lib/
from gi.repository import Gtk, GObject, Gdk, Wnck, GdkX11
/usr/lib/
from gi.repository import GObject, Gst
/usr/lib/
from gi.repository import AppIndicator3
DEBUG Main - Gstreamer version detected: 1.8.3.0
DEBUG Main - Setting variables.
(kazam:9433): Gtk-WARNING **: Theme parsing error: gtk.css:68:35: The style property GtkButton:
(kazam:9433): Gtk-WARNING **: Theme parsing error: gtk.css:69:35: The style property GtkButton:
(kazam:9433): Gtk-WARNING **: Theme parsing error: gtk.css:73:46: The style property GtkScrolledWind
DEBUG PulseAudio - Starting mainloop.
DEBUG PulseAudio - Getting API.
DEBUG PulseAudio - Setting context.
DEBUG PulseAudio - Set state callback.
DEBUG PulseAudio - Connecting to server.
DEBUG PulseAudio - Start mainloop.
DEBUG PulseAudio - State connected.
DEBUG Main - Connecting indicator signals.
DEBUG Main - Starting in silent mode: False
DEBUG Indicator - Indicatior silent: False
/usr/lib/
from gi.repository import Keybinder
DEBUG Indicator - Trying to bind hotkeys.
DEBUG Main - Main Window UI setup.
/usr/lib/
self.
DEBUG Main - Unable to get name for '<Gtk.Adjustment object at 0x7fdadd49e5e8 (GtkAdjustment at 0x56279fbbf140)>'
(kazam:9433): Gtk-WARNING **: Can't set a parent on widget which has a parent
(kazam:9433): Gtk-WARNING **: Can't set a parent on widget which has a parent
DEBUG Prefs - Getting Audio sources.
DEBUG PulseAudio - get_audio_sources() called.
DEBUG PulseAudio - pa_sourcelist_cb()
DEBUG PulseAudio - IDX: 0
DEBUG PulseAudio - Name: b'alsa_
DEBUG PulseAudio - Desc: b'Monitor of \xd0\x92\
DEBUG PulseAudio - pa_sourcelist_cb()
DEBUG PulseAudio - IDX: 1
DEBUG PulseAudio - Name: b'alsa_
DEBUG PulseAudio - Desc: b'\xd0\
DEBUG PulseAudio - pa_sourcelist_cb() -- finished
DEBUG Prefs - Device found:
DEBUG Prefs - - 0
DEBUG Prefs - - alsa_output.
DEBUG Prefs - - Monitor of Встроенное аудио Аналоговый стерео
DEBUG Prefs - Device found:
DEBUG Prefs - - 1
DEBUG Prefs - - alsa_input.
DEBUG Prefs - - Встроенное аудио Аналоговый стерео
DEBUG Main - Capture microphone: True.
DEBUG Main - Capture cursor_pic: True.
DEBUG Main - Capture borders_pic: True.
DEBUG Main - Area ON.
DEBUG Window Select - Initializing select window.
DEBUG Window Select - Compositing window manager detected.
DEBUG Main - Area mode clicked.
DEBUG Window Select - Selected coords: 166 85 738 456
DEBUG Main - Area selected: SX: 166, SY: 85, EX: 738, EY: 456
DEBUG Main - Area selected: GX: 166, GY: 85, GX: 738, GY: 456
DEBUG Window Select - Move to X: 0 Y: 0
DEBUG Main - Record clicked, invoking Screencast.
DEBUG GStreamer - Audio_source : None
DEBUG GStreamer - Audio2_source : alsa_input.
DEBUG GStreamer - Video_source: {'x': 0, 'y': 0, 'height': 768, 'width': 1360}
DEBUG GStreamer - Xid: None
DEBUG GStreamer - Area: (166, 85, 738, 456, 572, 371)
DEBUG GStreamer - Capture Cursor: False
DEBUG GStreamer - Framerate : 30.0
DEBUG GStreamer - Capturing area.
DEBUG GStreamer - Coordinates SX: 166 SY: 85 EX: 737 EY: 456
DEBUG GStreamer - testing for xid: None
DEBUG GStreamer - Codec: H264 (MP4)
DEBUG GStreamer - Setup audio elements.
DEBUG GStreamer - Audio2 Source:
alsa_
DEBUG GStreamer - Filesink: /home/truf/
DEBUG GStreamer - Linking Video
DEBUG GStreamer - Link audio2src -> aud2_in_queue: True
DEBUG GStreamer - Link aud2_in_queue -> aud2_caps_filter: True
DEBUG GStreamer - Link aud2_caps_filter -> audioconv: True
DEBUG GStreamer - Link audioconv -> audioenc: True
DEBUG GStreamer - Link audioenc -> aud_out_queue: True
DEBUG GStreamer - Link aud_out_queue -> mux: True
DEBUG GStreamer - Link mux -> file queue: True
DEBUG GStreamer - Link file queue -> sink: True
DEBUG Main - Hiding main window.
DEBUG Main - Showing recording outline.
DEBUG Outline Window - Initializing outline window.
DEBUG Outline Window - Compositing window manager detected.
DEBUG Outline Window - Trying to determine Unity Launcher and Panel sizes.
DEBUG Outline Window - Got all sizes.
DEBUG Main - Counter finished.
DEBUG Indicator - Recording started.
DEBUG GStreamer - Setting STATE_PLAYING
DEBUG Indicator - Recording stopped.
DEBUG Main - Stop request.
DEBUG GStreamer - Sending new EOS event
DEBUG Main - Recorded tmp file: /home/truf/
DEBUG Main - Waiting for data to flush.
DEBUG GStreamer - Received EOS, setting pipeline to NULL.
DEBUG GStreamer - Emitting flush-done.
DEBUG Main - Autosaving enabled.
DEBUG Main - Quit requested.
INFO Main - Unable to delete one of the temporary files. Check your temporary directory.
DEBUG PulseAudio - Disconnecting from server.
DEBUG Kazam - Finishing ...
I'm not sure if it's the app problem now.
I was able to bypass it by switching from "Internal Audio Analog Stereo" to "Monitor of Internal Audio Analog Stereo" in Record tab of Pulse Audio Volume Control. The Kazam must be running and recording to appear in it.