Recording with VP8 / WEBM doesn't work
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.
David Klasinc (bigwhale) wrote : | #1 |
Nicola Jelmorini (jelmorini) wrote : | #2 |
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.
David Klasinc (bigwhale) wrote : | #3 |
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/
Nicola Jelmorini (jelmorini) wrote : | #4 |
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@
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_
DEBUG PulseAudio - Desc: b'Monitor of Audio interno Stereo analogico'
DEBUG PulseAudio - pa_sourcelist_cb()
DEBUG PulseAudio - IDX: 1
DEBUG PulseAudio - Name: b'alsa_
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.
DEBUG Prefs - - Monitor of Audio interno Stereo analogico
DEBUG Prefs - Device found:
DEBUG Prefs - - 1
DEBUG Prefs - - alsa_input.
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/
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...
David Klasinc (bigwhale) wrote : | #5 |
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.
Nicola Jelmorini (jelmorini) wrote : | #6 |
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@
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_
DEBUG PulseAudio - Desc: b'Monitor of Audio interno Stereo analogico'
DEBUG PulseAudio - pa_sourcelist_cb()
DEBUG PulseAudio - IDX: 1
DEBUG PulseAudio - Name: b'alsa_
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.
DEBUG Prefs - - Monitor of Audio interno Stereo analogico
DEBUG Prefs - Device found:
DEBUG Prefs - - 1
DEBUG Prefs - - alsa_input.
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/
DEBUG GStreamer - Linking RAW Video
DEBUG GStreamer - Link mux -> file queue: True
DEBUG GStreamer - Link file queue -> sink: True
DEBUG Main - Hiding...
David Klasinc (bigwhale) wrote : | #7 |
Is this still present in the latest version of Kazam? 1.3.101? If yes, please attach one more debug log.
Nicola Jelmorini (jelmorini) wrote : | #8 |
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://
=======
I can watch the video only with the gnome sushi files preview
This is the debug log:
=======
nicola@
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_
DEBUG PulseAudio - Desc: b'Monitor of Audio interno Stereo analogico'
DEBUG PulseAudio - pa_sourcelist_cb()
DEBUG PulseAudio - IDX: 1
DEBUG PulseAudio - Name: b'alsa_
DEBUG PulseAudio - Desc: b'Audio interno Stereo analogico'
DEBUG PulseAudio - pa_sourcelist_cb()
DEBUG PulseAudio - IDX: 2
DEBUG PulseAudio - Name: b'alsa_
DEBUG PulseAudio - Desc: b'Monitor of USB Headset Stereo analogico'
DEBUG PulseAudio - pa_sourcelist_cb()
DEBUG PulseAudio - IDX: 3
DEBUG PulseAudio - Name: b'alsa_
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.
DEBUG Prefs - - Monitor of Audio interno Stereo analogico
DEBUG Prefs - Device found:
DEBUG Prefs - - 1
DEBUG Prefs - - alsa_input.
DEBUG Prefs - - Audio interno Stereo analogico
DEBUG Prefs - Device found...
David Klasinc (bigwhale) wrote : | #9 |
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.
Franklin (franklin-goodhorse) wrote : | #10 |
- wrong result webm file Edit (1.0 MiB, video/webm)
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?
David Klasinc (bigwhale) wrote : | #11 |
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 |
Launchpad Janitor (janitor) wrote : | #12 |
[Expired for Kazam Screencaster because there has been no activity for 60 days.]
Changed in kazam: | |
status: | Incomplete → Expired |
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.