henrywoo / kazam

Kazam - Linux Desktop Screen Recorder and Broadcaster
GNU General Public License v3.0
136 stars 15 forks source link

Modify the default screencast auto-saving directory fails #18

Closed Sim4n6 closed 1 year ago

Sim4n6 commented 1 year ago

Hi,

I am unable to set the auto-saving directory for screencasts to another directory. I mean Desktop rather than Videos for instance.

Thank you

WARNING Kazam - Failed to correctly detect operating system.
DEBUG Kazam - Starting ...
DEBUG Kazam - Running on: Ubuntu 12.10
DEBUG Kazam - Kazam version: 1.5.6 Bulldog
DEBUG Kazam - Starting new instance ...
/home/sim4n6/.local/lib/python3.10/site-packages/kazam/backend/webcam.py:24: PyGIWarning: GUdev was imported without specifying a version first. Use gi.require_version('GUdev', '1.0') before import to ensure that the right version gets loaded.
  from gi.repository import GObject, GUdev
DEBUG Prefs - XDG_PICTURES is a directory and accessible
DEBUG Prefs-HW - Getting hardware specs
DEBUG Webcam - Initializing webcam support.
DEBUG Webcam -   Webcam found: Integrated_Webcam_HD: Integrate
DEBUG Webcam -   Webcam found: Integrated_Webcam_HD: Integrate
DEBUG Prefs-HW - Getting Video sources.
DEBUG Prefs-HW - Found 1 monitor(s).
DEBUG Prefs-HW -   Monitor 0 - X: 0, Y: 0, W: 1366, H: 768
DEBUG Webcam -   Webcam found: Integrated_Webcam_HD: Integrate
DEBUG Webcam -   Webcam found: Integrated_Webcam_HD: Integrate
/home/sim4n6/.local/lib/python3.10/site-packages/kazam/backend/gstreamer.py:35: PyGIWarning: Gst was imported without specifying a version first. Use gi.require_version('Gst', '1.0') before import to ensure that the right version gets loaded.
  from gi.repository import GObject, Gst, GstVideo
/home/sim4n6/.local/lib/python3.10/site-packages/kazam/backend/gstreamer.py:35: PyGIWarning: GstVideo was imported without specifying a version first. Use gi.require_version('GstVideo', '1.0') before import to ensure that the right version gets loaded.
  from gi.repository import GObject, Gst, GstVideo
/home/sim4n6/.local/lib/python3.10/site-packages/kazam/frontend/window_area.py:29: PyGIWarning: Wnck was imported without specifying a version first. Use gi.require_version('Wnck', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk, GObject, Gdk, Wnck, GdkX11
/home/sim4n6/.local/lib/python3.10/site-packages/kazam/frontend/indicator.py:149: PyGIWarning: AppIndicator3 was imported without specifying a version first. Use gi.require_version('AppIndicator3', '0.1') before import to ensure that the right version gets loaded.
  from gi.repository import AppIndicator3
/home/sim4n6/.local/lib/python3.10/site-packages/kazam/frontend/window_countdown.py:29: PyGIWarning: PangoCairo was imported without specifying a version first. Use gi.require_version('PangoCairo', '1.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gtk, GObject, GLib, Gdk, Pango, PangoCairo
DEBUG Main - Gstreamer version detected: 1.20.3.0
DEBUG Main - Setting variables.
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
/home/sim4n6/.local/lib/python3.10/site-packages/kazam/frontend/indicator.py:98: PyGIWarning: Keybinder was imported without specifying a version first. Use gi.require_version('Keybinder', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import Keybinder
DEBUG Indicator - Trying to bind hotkeys.
DEBUG KeypressViewer - Creating KeypressViewer.
DEBUG Main - Main Window UI setup.
/home/sim4n6/.local/lib/python3.10/site-packages/kazam/app.py:173: Warning: value "((GtkIconSize) 32)" of type 'GtkIconSize' is invalid or out of range for property 'icon-size' of type 'GtkIconSize'
  self.builder.add_from_file(os.path.join(prefs.datadir, "ui", "kazam.ui"))
DEBUG Main - Unable to get name for '<Gtk.Adjustment object at 0x7ff8ef772800 (GtkAdjustment at 0x5578a6ed0120)>'

(kazam:232005): Gtk-WARNING **: 09:33:05.218: Can't set a parent on widget which has a parent

(kazam:232005): Gtk-WARNING **: 09:33:05.234: 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_output.pci-0000_00_1f.3.analog-stereo.monitor'
DEBUG PulseAudio -   Desc: b'Monitor of Built-in Audio Analog Stereo'
DEBUG PulseAudio - pa_sourcelist_cb()
DEBUG PulseAudio -   IDX: 1
DEBUG PulseAudio -   Name: b'alsa_input.pci-0000_00_1f.3.analog-stereo'
DEBUG PulseAudio -   Desc: b'Built-in Audio Analog Stereo'
DEBUG PulseAudio - pa_sourcelist_cb() -- finished
DEBUG Prefs -  Device found: 
DEBUG Prefs -   - 0
DEBUG Prefs -   - alsa_output.pci-0000_00_1f.3.analog-stereo.monitor
DEBUG Prefs -   - Monitor of Built-in Audio Analog Stereo
DEBUG Prefs -  Device found: 
DEBUG Prefs -   - 1
DEBUG Prefs -   - alsa_input.pci-0000_00_1f.3.analog-stereo
DEBUG Prefs -   - Built-in Audio Analog Stereo
DEBUG Main - Toggled chk_cursor: True.
DEBUG Main - Capture borders_pic: True.
DEBUG Main - Start delay now: 3
DEBUG Main - Preferences requested.
DEBUG Preferences - Preferences Init.
DEBUG Preferences - Preferences UI setup.
DEBUG Preferences - Unable to get name for '<Gtk.Adjustment object at 0x7ff8ef794240 (GtkAdjustment at 0x5578a6f9d4c0)>'
DEBUG Preferences - Unable to get name for '<Gtk.Adjustment object at 0x7ff8ef794840 (GtkAdjustment at 0x5578a6f9d550)>'
DEBUG Preferences - Unable to get name for '<Gtk.Adjustment object at 0x7ff8ef7952c0 (GtkAdjustment at 0x5578a6f9d5e0)>'
DEBUG Preferences - Autosave video folder set to: /home/sim4n6/Videos
DEBUG Prefs-DC - Testing for: RAW (AVI)
DEBUG Prefs-DC - Supported encoder: RAW (AVI).
DEBUG Prefs-DC - Testing for: VP8 (WEBM)
DEBUG Prefs-DC - Supported encoder: VP8 (WEBM).
DEBUG Prefs-DC - Testing for: H264 (MP4)
DEBUG Prefs-DC - Supported encoder: H264 (MP4).
DEBUG Prefs-DC - Testing for: HUFFYUV (AVI)
DEBUG Prefs-DC - Supported encoder: HUFFYUV (AVI).
DEBUG Prefs-DC - Testing for: Lossless JPEG (AVI)
DEBUG Prefs-DC - Supported encoder: Lossless JPEG (AVI).
DEBUG Preferences - Adding audio device D: Monitor of Built-in Audio Analog Stereo Idx: 0
DEBUG Preferences - Adding audio device D: Built-in Audio Analog Stereo Idx: 1
DEBUG Preferences - Restoring UI.
DEBUG Preferences - Audio Changed.
DEBUG Preferences -   - A_1 0
DEBUG Preferences -   - PA Audio1 IDX: 0
DEBUG PulseAudio - get_source_info_by_index() called. IDX: 0
DEBUG PulseAudio - pa_sourceinfo_cb()
DEBUG PulseAudio -   IDX: 0
DEBUG PulseAudio -   Name: b'alsa_output.pci-0000_00_1f.3.analog-stereo.monitor'
DEBUG PulseAudio -   Desc: b'Monitor of Built-in Audio Analog Stereo'
DEBUG PulseAudio - pa_sourceinfo_cb() -- finished
DEBUG PulseAudio - pa_sourceinfo_cb() -- Hit EOL
DEBUG PulseAudio - pa_sourceinfo_cb() -- EOL no data!
DEBUG PulseAudio - pa_sourceinfo_cb() -- finished
DEBUG Preferences - Volume changed for volumebutton_audio, new value: 12.000612059827738
DEBUG Preferences - New Audio1: Monitor of Built-in Audio Analog Stereo
DEBUG Preferences - Audio2 Changed.
DEBUG Preferences -   - A_2 0
DEBUG Preferences -   - PA Audio2 IDX: 1
DEBUG PulseAudio - get_source_info_by_index() called. IDX: 1
DEBUG PulseAudio - pa_sourceinfo_cb()
DEBUG PulseAudio -   IDX: 1
DEBUG PulseAudio -   Name: b'alsa_input.pci-0000_00_1f.3.analog-stereo'
DEBUG PulseAudio -   Desc: b'Built-in Audio Analog Stereo'
DEBUG PulseAudio - pa_sourceinfo_cb() -- finished
DEBUG PulseAudio - pa_sourceinfo_cb() -- Hit EOL
DEBUG PulseAudio - pa_sourceinfo_cb() -- EOL no data!
DEBUG PulseAudio - pa_sourceinfo_cb() -- finished
DEBUG Preferences - Volume changed for volumebutton_audio2, new value: 60.0
DEBUG Preferences - New Audio2:
  Built-in Audio Analog Stereo
DEBUG Preferences - Countdown splash: True.
DEBUG Preferences - Autosave for Video: True.
DEBUG Preferences - Video autosave file set to: screencast_
DEBUG Preferences - Autosave video folder set to: /home/sim4n6/Videos
DEBUG Preferences - Shutter sound: True.
DEBUG Preferences - Shutter type set to: 0 - 
DEBUG Preferences - Autosave for Picture: True.
DEBUG Preferences - Webcam changed.
DEBUG Preferences -   - CAM_0 0
DEBUG Preferences - Webcam preview position set to:
DEBUG Preferences -   1
DEBUG Preferences - Webcam resolution: 0
DEBUG Preferences - Webcam preview: True
DEBUG Preferences - Autosave picture folder set to: /home/sim4n6/Desktop
DEBUG Preferences - Broadcast destination set to: 1
DEBUG Preferences - Codec selected: VP8 (WEBM) - 1
DEBUG Preferences - Autosave video folder set to: /home/sim4n6/Videos
DEBUG Preferences - Deleting preferences window
DEBUG Main - Record clicked, invoking Screencast.
DEBUG Main - Running Counter.
DEBUG GStreamer - Audio_source : None
DEBUG GStreamer - Audio2_source : None
DEBUG GStreamer - Video_source: {'x': 0, 'y': 0, 'width': 1366, 'height': 768}
DEBUG GStreamer - Xid: None
DEBUG GStreamer - Area: None
DEBUG GStreamer - Capture Cursor: True
DEBUG GStreamer - Framerate : 15.0
DEBUG GStreamer - ximagesrc selected as video source.
DEBUG GStreamer - Coordinates SX: 0 SY: 0 EX: 1365 EY: 767
DEBUG GStreamer - Testing for xid: None
DEBUG GStreamer - Codec: VP8 (WEBM)
DEBUG GStreamer - Filesink: /home/sim4n6/Videos/kazam_ddhm0xth.movie
DEBUG GStreamer - Link video_src -> f_video_caps: True
DEBUG GStreamer - Link f_video_caps -> q_video_src: True
DEBUG GStreamer - Link q_video_src -> video_rate True
DEBUG GStreamer - Link video_rate -> video_convert: True
DEBUG GStreamer - Linking Video
DEBUG GStreamer - Link video_convert -> video_enc True
DEBUG GStreamer - Link video_enc -> q_video_out True
DEBUG GStreamer - Link q_video_out -> mux True
DEBUG GStreamer - Link mux -> file queue: True
DEBUG GStreamer - Link final queue -> file sink: True
DEBUG Countdown - Detecting pycairo version.
DEBUG Countdown -   pycairo detected: 1.20.1
DEBUG Main - Starting counter.
DEBUG Main - Hiding main window.
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/sim4n6/Videos/kazam_ddhm0xth.movie
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 ...