Recording with VP8 / WEBM doesn't work

Bug #1083317 reported by Nicola Jelmorini
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Kazam Screencaster
Expired
Undecided
Unassigned

Bug Description

I use the last version 1.3.5 on my system Ubuntu 12.04 64bit.
I found that I can record only with the format H264/MP4, and that the format VP8/WEBM doesn't work.

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

Hi, thank you for your report. If you can run Kazam with --debug option and paste the output here, I'll get more information on how to deal with this.

Revision history for this message
Nicola Jelmorini (jelmorini) wrote :

Well the problem now is that the preferences are not saved.
If I try to set WEBM format, Kazam records always in H264. If I set WEBM and I close and reopen Kazam, in the preferences there is always H264. So actually I can't test the WEBM recording until I can't set properly the preferences.

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

I'd like to see a debug log from your full session. So far there were no problems with preferences. You could also try to remove ~/.config/kazam/kazam.conf.

Revision history for this message
Nicola Jelmorini (jelmorini) wrote :
Download full text (6.7 KiB)

I have deleted the "kazam.conf" file, but the issue with the preferences is still present. No way to set what I want. Now the codec used is always RAW/AVI.
Anyway here the "kazam --debug" messages::

nicola@pangolino-pb:~$ kazam --debug
DEBUG Kazam - Starting ...
DEBUG Kazam - Starting new instance ...
DEBUG Constants - Getting hardware specs
DEBUG Constants - Getting Video sources.
DEBUG Constants - Found 1 monitors.
DEBUG Constants - Monitor 0 - X: 0, Y: 0, W: 1366, H: 768
DEBUG Main - Gstreamer version detected: 1.0.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
DEBUG Indicator - Trying to bind hotkeys.
DEBUG Main - Main Window UI setup.
DEBUG Main - Unable to get name for '<Adjustment object at 0x2c89690 (GtkAdjustment at 0x2c7f5e0)>'

(kazam:13937): Gtk-WARNING **: Can't set a parent on widget which has a parent

(kazam:13937): 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_output.pci-0000_00_1b.0.analog-stereo.monitor'
DEBUG PulseAudio - Desc: b'Monitor of Audio interno Stereo analogico'
DEBUG PulseAudio - pa_sourcelist_cb()
DEBUG PulseAudio - IDX: 1
DEBUG PulseAudio - Name: b'alsa_input.pci-0000_00_1b.0.analog-stereo'
DEBUG PulseAudio - Desc: b'Audio interno Stereo analogico'
DEBUG PulseAudio - pa_sourcelist_cb() -- finished
DEBUG Prefs - Device found:
DEBUG Prefs - - 0
DEBUG Prefs - - alsa_output.pci-0000_00_1b.0.analog-stereo.monitor
DEBUG Prefs - - Monitor of Audio interno Stereo analogico
DEBUG Prefs - Device found:
DEBUG Prefs - - 1
DEBUG Prefs - - alsa_input.pci-0000_00_1b.0.analog-stereo
DEBUG Prefs - - Audio interno Stereo analogico
DEBUG Main - Capture cursor: True.
DEBUG Main - Capture speakers: True.
DEBUG Main - Capture microphone: True.
DEBUG Main - Capture cursor_pic: True.
DEBUG Main - Capture borders_pic: True.
DEBUG Main - Record clicked, invoking Screencast.
DEBUG GStreamer - audio_source : None
DEBUG GStreamer - video_source: {'y': 0, 'x': 0, 'height': 768, 'width': 1366}
DEBUG GStreamer - xid: None
DEBUG GStreamer - area: None
DEBUG GStreamer - Capture Cursor: True
DEBUG GStreamer - Framerate : 15.0
DEBUG GStreamer - Codec: None
DEBUG GStreamer - Coordinates SX: 0 SY: 0 EX: 1365 EY: 767
DEBUG GStreamer - testing for xid: None
DEBUG GStreamer - Codec: RAW / AVI
DEBUG GStreamer - Filesink: /home/nicola/Video/kazam_56vl22.movie
DEBUG GStreamer - Linking RAW Video
DEBUG GStreamer - Link mux -> file queue: True
DEBUG GStreamer - Link file queue -> sink: True
DEBUG Main - Hiding main window.
DEBUG Main - Counter finished.
DEBUG Indicator - Recording started.
DEBUG GStreamer - Setting STATE_PLAYING
DEBUG Indicator - Recording pau...

Read more...

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

Thanks for the log. I apologize, because I wasn't clear enough, I wanted to see the log from when you start Kazam, open preferences, change codec and then start recording.

There's a reason why codec selection isn't remembered and it would be most helpful if you are able to catch an exception or any other kind of errors.

Revision history for this message
Nicola Jelmorini (jelmorini) wrote :
Download full text (4.0 KiB)

I see, but the problem is that even with the command "kazam --debug" I can't capture any issue with the preferences.
I have changed the recording format from RAW/AVI to WEBM, but nothing is written in the terminal. As you can see here in my debug session, the format displayed is always RAW/AVI.

#########################################################
nicola@pangolino-pb:~$ kazam --debug
DEBUG Kazam - Starting ...
DEBUG Kazam - Starting new instance ...
DEBUG Constants - Getting hardware specs
DEBUG Constants - Getting Video sources.
DEBUG Constants - Found 1 monitors.
DEBUG Constants - Monitor 0 - X: 0, Y: 0, W: 1366, H: 768
DEBUG Main - Gstreamer version detected: 1.0.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
DEBUG Indicator - Trying to bind hotkeys.
DEBUG Main - Main Window UI setup.
DEBUG Main - Unable to get name for '<Adjustment object at 0x2c93690 (GtkAdjustment at 0x2c52de0)>'

(kazam:6055): Gtk-WARNING **: Can't set a parent on widget which has a parent

(kazam:6055): 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_output.pci-0000_00_1b.0.analog-stereo.monitor'
DEBUG PulseAudio - Desc: b'Monitor of Audio interno Stereo analogico'
DEBUG PulseAudio - pa_sourcelist_cb()
DEBUG PulseAudio - IDX: 1
DEBUG PulseAudio - Name: b'alsa_input.pci-0000_00_1b.0.analog-stereo'
DEBUG PulseAudio - Desc: b'Audio interno Stereo analogico'
DEBUG PulseAudio - pa_sourcelist_cb() -- finished
DEBUG Prefs - Device found:
DEBUG Prefs - - 0
DEBUG Prefs - - alsa_output.pci-0000_00_1b.0.analog-stereo.monitor
DEBUG Prefs - - Monitor of Audio interno Stereo analogico
DEBUG Prefs - Device found:
DEBUG Prefs - - 1
DEBUG Prefs - - alsa_input.pci-0000_00_1b.0.analog-stereo
DEBUG Prefs - - Audio interno Stereo analogico
DEBUG Main - Capture cursor: True.
DEBUG Main - Capture speakers: True.
DEBUG Main - Capture microphone: True.
DEBUG Main - Capture cursor_pic: True.
DEBUG Main - Capture borders_pic: True.
DEBUG Main - Record clicked, invoking Screencast.
DEBUG GStreamer - audio_source : None
DEBUG GStreamer - video_source: {'y': 0, 'x': 0, 'height': 768, 'width': 1366}
DEBUG GStreamer - xid: None
DEBUG GStreamer - area: None
DEBUG GStreamer - Capture Cursor: True
DEBUG GStreamer - Framerate : 15.0
DEBUG GStreamer - Codec: None
DEBUG GStreamer - Coordinates SX: 0 SY: 0 EX: 1365 EY: 767
DEBUG GStreamer - testing for xid: None
DEBUG GStreamer - Codec: RAW / AVI
DEBUG GStreamer - Filesink: /home/nicola/Video/kazam_4ngzwq.movie
DEBUG GStreamer - Linking RAW Video
DEBUG GStreamer - Link mux -> file queue: True
DEBUG GStreamer - Link file queue -> sink: True
DEBUG Main - Hiding...

Read more...

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

Is this still present in the latest version of Kazam? 1.3.101? If yes, please attach one more debug log.

Revision history for this message
Nicola Jelmorini (jelmorini) wrote :
Download full text (8.7 KiB)

Well, kazam now works with the webm format, but the video output is far from perfect.

1) The audio and the video streams are not always very well synchronized.

2) When I try to open the video with Totem, I have this error:
====================================================
Internal GStreamer error: negotiation problem. Please file a bug at http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer.
====================================================
I can watch the video only with the gnome sushi files preview

This is the debug log:
==========================================================================================
nicola@pangolino-pb:~$ kazam --debug
DEBUG Kazam - Starting ...
DEBUG Kazam - Running on: Ubuntu 12.04
DEBUG Kazam - Kazam version: 1.3.101-0ubuntu1 NX-01
DEBUG Kazam - Starting new instance ...
DEBUG Constants - Getting hardware specs
DEBUG Constants - Getting Video sources.
DEBUG Constants - Found 1 monitor(s).
DEBUG Constants - Monitor 0 - X: 0, Y: 0, W: 1366, H: 768
DEBUG Main - Gstreamer version detected: 1.0.4.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
DEBUG Indicator - Trying to bind hotkeys.
DEBUG Main - Main Window UI setup.
DEBUG Main - Unable to get name for '<Adjustment object at 0x29db460 (GtkAdjustment at 0x2a1f990)>'

(kazam:8080): Gtk-WARNING **: Can't set a parent on widget which has a parent

(kazam:8080): 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_output.pci-0000_00_1b.0.analog-stereo.monitor'
DEBUG PulseAudio - Desc: b'Monitor of Audio interno Stereo analogico'
DEBUG PulseAudio - pa_sourcelist_cb()
DEBUG PulseAudio - IDX: 1
DEBUG PulseAudio - Name: b'alsa_input.pci-0000_00_1b.0.analog-stereo'
DEBUG PulseAudio - Desc: b'Audio interno Stereo analogico'
DEBUG PulseAudio - pa_sourcelist_cb()
DEBUG PulseAudio - IDX: 2
DEBUG PulseAudio - Name: b'alsa_output.usb-Logitech_Logitech_USB_Headset-00-Headset.analog-stereo.monitor'
DEBUG PulseAudio - Desc: b'Monitor of USB Headset Stereo analogico'
DEBUG PulseAudio - pa_sourcelist_cb()
DEBUG PulseAudio - IDX: 3
DEBUG PulseAudio - Name: b'alsa_input.usb-Logitech_Logitech_USB_Headset-00-Headset.analog-mono'
DEBUG PulseAudio - Desc: b'USB Headset Mono analogico'
DEBUG PulseAudio - pa_sourcelist_cb() -- finished
DEBUG Prefs - Device found:
DEBUG Prefs - - 0
DEBUG Prefs - - alsa_output.pci-0000_00_1b.0.analog-stereo.monitor
DEBUG Prefs - - Monitor of Audio interno Stereo analogico
DEBUG Prefs - Device found:
DEBUG Prefs - - 1
DEBUG Prefs - - alsa_input.pci-0000_00_1b.0.analog-stereo
DEBUG Prefs - - Audio interno Stereo analogico
DEBUG Prefs - Device found...

Read more...

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

Thanks for all the input. There are some know issues with WebM and I am still looking into this. It appears to be a bug with GStreamer backend and VP8 implementation. As a workaround, please use H264 for encoding videos.

Revision history for this message
Franklin (franklin-goodhorse) wrote :

Hi,

I'm using kazam 1.4.3 on Kubuntu 12.10. Recording with webm didn't give any error, but in the result webm file only maybe 5 pixel in the middle was shown. All other parts in the left and right were black.

Please see the attached 3.webm. I recorded a window but the result was like that.

Is it also because of the gstreamer backend problem? Any suggestion to avoid this problem?

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

If there are still issues with this bug in Ubuntu 14.04 and Kazam 1.4.4, please run kazam with --debug option again and attach the output. Thanks.

Changed in kazam:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Kazam Screencaster because there has been no activity for 60 days.]

Changed in kazam:
status: Incomplete → Expired
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.