kazam is not able to finish video recording when sound recording is enabled

Bug #1037538 reported by Sasa Paporovic
86
This bug affects 17 people
Affects Status Importance Assigned to Milestone
Kazam Screencaster
Fix Released
Undecided
Unassigned
kazam (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I am on Ubuntu12.10 Quantal 64bit.

When I additional enable sound recording in kazam (Audio Source 1), kazam is not able to finish recording. It shows the stop symbos in menu, but nothing further happen.

Expected:

The "save/work on it in openshot" window shoud also come up in this configuration.

Steps to reproduce:

1.Install kazam on Ubuntu Quantla 12.10 64bit
2 Install openshot
3. Start kazam.
4.Enable audio recording
5.Make a record.
6.Finsih the record.
7.See that the "save/work on it in video editor"p up do not pop up.

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: kazam 1.0.6-0ubuntu1
ProcVersionSignature: Ubuntu 3.5.0-10.10-generic 3.5.1
Uname: Linux 3.5.0-10-generic x86_64
ApportVersion: 2.4-0ubuntu8
Architecture: amd64
Date: Thu Aug 16 13:56:43 2012
ExecutablePath: /usr/bin/kazam
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Alpha amd64 (20120722)
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, no username)
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: kazam
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Sasa Paporovic (melchiaros) wrote :
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in kazam (Ubuntu):
status: New → Confirmed
Revision history for this message
Bugsbane (bugsbane) wrote :

I'm seeing the same with:
quantal
amd64 cpu (but 32 bit Ubuntu)

Revision history for this message
Bugsbane (bugsbane) wrote :

Interestingly I get this bug if I choose:

* HDMI audio device
* Monitor of Internal audio
* Monitor of my USB sound board

however if I choose the internal sound device or the usb sound board WITHOUT the monitor... I don't get this bug... or any sound in my video. :/

Revision history for this message
CrazySky (makarovdenis11) wrote :

Ubuntu Quantal Quetzal 12.10 (64-bit) I have this bug too.

the internal sound device or the usb sound board WITHOUT the monitor, I don't get this bug first time. When I do this a second time, again, I have this bug.

Revision history for this message
David Klasinc (bigwhale) wrote :

If someone can run kazam with -d switch and reproduce the bug and then attach the debug output, I'll have a little bit more insight on what's happening. Thanks.

Revision history for this message
Sasa Paporovic (melchiaros) wrote :

Difficult.

I was able to reproduce it only on the first run on Quantal final.

Any further attempts works good and the error do not occure.

This is also correct for the terminal call

kazam -d

Could anybody elso try it?

Revision history for this message
fariazz (fariazz) wrote :
Download full text (10.5 KiB)

I'm having this same bug. Ubuntu 12.10 64 bits. Using USB Headset to record which works fine on Skype.

When clicing on "Finish recording" nothing happens many times, sometimes it works fine.. usually after a system reboot it works fine the first time.

In the log below I ran kazam -d, picked my options (MP4, sound from USB chat set), recorded once successfully, then picked "cancel", started recording again (same settings) and the second time it failed.. as you see there is no error messsage at the end:

DEBUG Kazam - Starting ...
DEBUG Main - Setting variables.
DEBUG PulseAudio - PA - Starting mainloop.
DEBUG PulseAudio - PA - Getting API.
DEBUG PulseAudio - PA - Setting context.
DEBUG PulseAudio - PA - Set state callback.
DEBUG PulseAudio - PA - Connecting to server.
DEBUG PulseAudio - PA - Start mainloop.
DEBUG PulseAudio - PA - Connected.
DEBUG Main - Connecting indicator signals.
DEBUG Main - Main Window UI setup.
DEBUG Main - Getting Audio sources.
DEBUG PulseAudio - PA - get_audio_sources() called.
DEBUG PulseAudio - PA - pa_sourcelist_cb()
DEBUG PulseAudio - - IDX: 0
DEBUG PulseAudio - - Name: alsa_output.pci-0000_00_1b.0.analog-stereo.monitor
DEBUG PulseAudio - - Desc: Monitor of Built-in Audio Analog Stereo
DEBUG PulseAudio - PA - pa_sourcelist_cb()
DEBUG PulseAudio - - IDX: 1
DEBUG PulseAudio - - Name: alsa_input.pci-0000_00_1b.0.analog-stereo
DEBUG PulseAudio - - Desc: Built-in Audio Analog Stereo
DEBUG PulseAudio - PA - pa_sourcelist_cb()
DEBUG PulseAudio - - IDX: 2
DEBUG PulseAudio - - Name: alsa_output.usb-Logitech_Logitech_USB_Headset-00-Headset.analog-stereo.monitor
DEBUG PulseAudio - - Desc: Monitor of Clear Chat Comfort USB Headset Analog Stereo
DEBUG PulseAudio - PA - pa_sourcelist_cb()
DEBUG PulseAudio - - IDX: 3
DEBUG PulseAudio - - Name: alsa_input.usb-Logitech_Logitech_USB_Headset-00-Headset.analog-mono
DEBUG PulseAudio - - Desc: Clear Chat Comfort USB Headset Analog Mono
DEBUG PulseAudio - PA - pa_sourcelist_cb() -- finished
DEBUG Main - Device found:
DEBUG Main - - 0
DEBUG Main - - alsa_output.pci-0000_00_1b.0.analog-stereo.monitor
DEBUG Main - - Monitor of Built-in Audio Analog Stereo
DEBUG Main - Device found:
DEBUG Main - - 1
DEBUG Main - - alsa_input.pci-0000_00_1b.0.analog-stereo
DEBUG Main - - Built-in Audio Analog Stereo
DEBUG Main - Device found:
DEBUG Main - - 2
DEBUG Main - - alsa_output.usb-Logitech_Logitech_USB_Headset-00-Headset.analog-stereo.monitor
DEBUG Main - - Monitor of Clear Chat Comfort USB Headset Analog Stereo
DEBUG Main - Device found:
DEBUG Main - - 3
DEBUG Main - - alsa_input.usb-Logitech_Logitech_USB_Headset-00-Headset.analog-mono
DEBUG Main - - Clear Chat Comfort USB Headset Analog Mono
DEBUG Main - Getting Video sources.
DEBUG Main - Found 2 monitors.
DEBUG Main - Monitor 0 - X: 0, Y: 0, W: 1920, H: 1080
DEBUG Main - Monitor 1 - X: 327, Y: 1080, W: 1366, H: 768
DEBUG Main - Video Toggled.
DEBUG Main - Audio1 Toggled.
DEBUG Main - Restoring state - sources: V (1), A_...

Revision history for this message
fariazz (fariazz) wrote :

So after getting "DEBUG GStreamer - Sending new EOS event" I don't get anything else in the log and no "save as" window is shown. In the tray area, "Quit" and "Record Setup" are grayed out, leaving active "Stop recording" and "Pause recording". Nothing happens when I click on them.

Revision history for this message
fariazz (fariazz) wrote :

I just tried with the latest unstable one (1.3.3 for 386) and after a 8 min recording pressed stop, I didn't get the "save as" window either, I also tried with the new "automatic file saving" option in the preferences and it didn't get saved either, only a .movie and a .mux temporary files were left.

Tried with MP4 and with the option "raw/avi". Using my usb chat headphones with mic that work perfectly on Skype and all other programs.

Revision history for this message
Julian Fernandes (julianfernandes) wrote :
Download full text (6.5 KiB)

Same problem here, but I record using the webm codec. Here is the debug output:

DEBUG Kazam - Starting ...
DEBUG Main - Setting variables.
DEBUG PulseAudio - PA - Starting mainloop.
DEBUG PulseAudio - PA - Getting API.
DEBUG PulseAudio - PA - Setting context.
DEBUG PulseAudio - PA - Set state callback.
DEBUG PulseAudio - PA - Connecting to server.
DEBUG PulseAudio - PA - Start mainloop.
DEBUG PulseAudio - PA - Connected.
DEBUG Main - Connecting indicator signals.
DEBUG Main - Main Window UI setup.
DEBUG Main - Getting Audio sources.
DEBUG PulseAudio - PA - get_audio_sources() called.
DEBUG PulseAudio - PA - pa_sourcelist_cb()
DEBUG PulseAudio - - IDX: 0
DEBUG PulseAudio - - Name: alsa_output.pci-0000_00_1b.0.analog-stereo.monitor
DEBUG PulseAudio - - Desc: Monitor of Áudio interno Estéreo analógico
DEBUG PulseAudio - PA - pa_sourcelist_cb()
DEBUG PulseAudio - - IDX: 1
DEBUG PulseAudio - - Name: alsa_input.pci-0000_00_1b.0.analog-stereo
DEBUG PulseAudio - - Desc: Áudio interno Estéreo analógico
DEBUG PulseAudio - PA - pa_sourcelist_cb() -- finished
DEBUG Main - Device found:
DEBUG Main - - 0
DEBUG Main - - alsa_output.pci-0000_00_1b.0.analog-stereo.monitor
DEBUG Main - - Monitor of Áudio interno Estéreo analógico
DEBUG Main - Device found:
DEBUG Main - - 1
DEBUG Main - - alsa_input.pci-0000_00_1b.0.analog-stereo
DEBUG Main - - Áudio interno Estéreo analógico
DEBUG Main - Getting Video sources.
DEBUG Main - Found 1 monitors.
DEBUG Main - Monitor 0 - X: 0, Y: 0, W: 1440, H: 900
DEBUG Main - Video Toggled.
DEBUG Main - Audio1 Toggled.
DEBUG Main - Restoring state - sources: V (0), A_1 (0), A_2 (1)
DEBUG Main - Video changed.
DEBUG Main - New Video: {'y': 0, 'x': 0, 'height': 900, 'width': 1440}
DEBUG Main - Audio Changed.
DEBUG Main - - A_1 0
DEBUG Main - - A_2 -1
DEBUG Main - - PA Audio1 IDX: 0
DEBUG Main - - PA Audio2 IDX: 1
DEBUG PulseAudio - PA - get_source_info_by_index() called. IDX: 0
DEBUG PulseAudio - PA - pa_sourceinfo_cb()
DEBUG PulseAudio - - IDX: 0
DEBUG PulseAudio - - Name: alsa_output.pci-0000_00_1b.0.analog-stereo.monitor
DEBUG PulseAudio - - Desc: Monitor of Áudio interno Estéreo analógico
DEBUG PulseAudio - PA - pa_sourceinfo_cb() -- finished
DEBUG PulseAudio - PA - pa_sourceinfo_cb() -- Hit EOL
DEBUG PulseAudio - PA - pa_sourceinfo_cb() -- EOL no data!
DEBUG PulseAudio - PA - pa_sourceinfo_cb() -- finished
DEBUG PulseAudio - PA - get_source_info_by_index() called. IDX: 1
DEBUG PulseAudio - PA - pa_sourceinfo_cb()
DEBUG PulseAudio - - IDX: 1
DEBUG PulseAudio - - Name: alsa_input.pci-0000_00_1b.0.analog-stereo
DEBUG PulseAudio - - Desc: Áudio interno Estéreo analógico
DEBUG PulseAudio - PA - pa_sourceinfo_cb() -- finished
DEBUG PulseAudio - PA - pa_sourceinfo_cb() -- Hit EOL
DEBUG PulseAudio - PA - pa_sourceinfo_cb() -- EOL no data!
DEBUG PulseAudio - PA - pa_sourceinfo_cb() -- finished
DEBUG Main - New Audio1:
  Monitor of Áudio interno Estéreo analógico
DEBUG Main - New Audio2:
  Áudio interno Estéreo analógico
DE...

Read more...

Revision history for this message
Jacob Illum (jillum) wrote :

Affects my system too. Ubuntu 12.10 64 bit. Similar experience to fariazz

Works sometimes. Unpredictably.

----- End of debug output.
INFO Indicator - Recording started.
DEBUG GStreamer - Generating dot file.
DEBUG GStreamer - Setting STATE_PLAYING
INFO Indicator - Recording stopped.
DEBUG Main - Stop request.
DEBUG GStreamer - Sending new EOS event

David Klasinc (bigwhale)
Changed in kazam:
status: New → Fix Committed
Revision history for this message
David Klasinc (bigwhale) wrote :

Unfortunately, here are various different reports so it is hard to figure out when things work or not. Fortunately, a lot of issues with audio and with video recording, especially when using WEBM, were resolved and are already available in the unstable branch. PPA will be available when a few more issues are resolved.

David Klasinc (bigwhale)
Changed in kazam:
status: Fix Committed → Fix Released
Patrick (pwcsquared)
Changed in kazam (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Diego Paez (diegocampo071007) wrote :

Where I find the fix?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.