Window screenshots does not include subsurfaces
I started totem on my video, video is correctly played. I have selected 'Take screenshot' option and I expected to get a screenshot of the video in the pictures folder I got an error message, a pop-up showing 'Totem could not get a screenshot of the video. This is not supposed to happen; please file a bug report.' and no screenshot available in 'Pictures' folder I reported this bug in https://bugs.launchpad.net/ubuntu/+source/totem/+bug/1732204 and I was invited to report this bug here. note: removing gstreamer1.0-vaapi the problem disappears
I have same problem on Ubuntu 17.10, 18.04 and 18.10 corrado@corrado-p6-cc-0509:~$ totem Videos/cincia.webm --gst-debug-level=3 0:00:00.095816120 4071 0x55ffdf81c120 FIXME bin gstbin.c:4336:gst_bin_query: implement duration caching in GstBin again 0:00:00.114646259 4071 0x55ffdf81c120 WARN basesrc gstbasesrc.c:3583:gst_base_src_start_complete: pad not activated yet 0:00:00.114851257 4071 0x55ffdf81c120 WARN basesrc gstbasesrc.c:3583:gst_base_src_start_complete: pad not activated yet
(totem:4071): Gtk-WARNING **: 17:04:11.525: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node slider owner GtkScale)
(totem:4071): Gtk-WARNING **: 17:04:11.558: Drawing a gadget with negative dimensions. Did you forget to allocate a size? (node slider owner GtkScale) 0:00:00.265802299 4071 0x55ffdf81c120 WARN totem bacon-video-widget.c:2074:bvw_update_tags: Pipeline sent audio tags update with no changes 0:00:00.266116192 4071 0x55ffdf81c120 WARN totem bacon-video-widget.c:2074:bvw_update_tags: Pipeline sent video tags update with no changes 0:00:04.553185560 4071 0x55ffe0174850 FIXME default gstutils.c:3963:gst_pad_create_stream_id_internal:appsrc0:src Creating random stream-id, consider implementing a deterministic way of creating a stream-id 0:00:04.553928990 4071 0x55ffe0174850 WARN basetransform gstbasetransform.c:1355:gst_base_transform_setcaps: transform could not transform video/x-raw(meta:GstVideoGLTextureUploadMeta), format=(string)RGBA, width=(int)1600, height=(int)1200, framerate=(fraction)15/1, pixel-aspect-ratio=(fraction)1/1, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono, interlace-mode=(string)progressive in anything we support 0:00:04.554241720 4071 0x55ffe0174850 WARN basetransform gstbasetransform.c:1355:gst_base_transform_setcaps: transform could not transform video/x-raw(meta:GstVideoGLTextureUploadMeta), format=(string)RGBA, width=(int)1600, height=(int)1200, framerate=(fraction)15/1, pixel-aspect-ratio=(fraction)1/1, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono, interlace-mode=(string)progressive in anything we support 0:00:04.554447569 4071 0x55ffe0174850 WARN basetransform gstbasetransform.c:1355:gst_base_transform_setcaps: transform could not transform video/x-raw(meta:GstVideoGLTextureUploadMeta), format=(string)RGBA, width=(int)1600, height=(int)1200, framerate=(fraction)15/1, pixel-aspect-ratio=(fraction)1/1, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono, interlace-mode=(string)progressive in anything we support 0:00:04.554560605 4071 0x55ffe0174850 WARN basesrc gstbasesrc.c:3055:gst_base_src_loop: error: Internal data stream error. 0:00:04.554586610 4071 0x55ffe0174850 WARN basesrc gstbasesrc.c:3055:gst_base_src_loop: error: streaming stopped, reason not-negotiated (-4) 0:00:04.554725522 4071 0x55ffdf81c120 ERROR default convertframe.c:373:gst_video_convert_sample: Could not convert video frame: Internal data stream error. 0:00:04.554809494 4071 0x55ffe0174850 WARN basetransform gstbasetransform.c:1355:gst_base_transform_setcaps: transform could not transform video/x-raw(meta:GstVideoGLTextureUploadMeta), format=(string)RGBA, width=(int)1600, height=(int)1200, framerate=(fraction)15/1, pixel-aspect-ratio=(fraction)1/1, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono, interlace-mode=(string)progressive in anything we support 0:00:04.555313960 4071 0x55ffdf81c120 ERROR playsink gstplaysink.c:4104:gst_play_sink_convert_sample: Error converting frame: Internal data stream error.
** (totem:4071): WARNING **: 17:04:15.850: Could not take screenshot: failed to retrieve or convert video frame corrado@corrado-p6-cc-0509:~$
corrado@corrado-p6-cc-0509:$ inxi -SCGx
System: Host: corrado-p6-cc-0509 Kernel: 4.15.0-20-generic x86_64 bits: 64 compiler: gcc v: 7.3.0
Desktop: Gnome 3.28.1 Distro: Ubuntu Cosmic Cuttlefish (development branch)
CPU: Topology: Dual Core model: Intel Core i3-7100 bits: 64 type: MT MCP arch: Skylake rev: 9
L2 cache: 3072 KiB
flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 31296
Speed: 800 MHz min/max: 800/3900 MHz Core speeds (MHz): 1: 800 2: 800 3: 800 4: 803
Graphics: Card-1: Intel HD Graphics 630 driver: i915 v: kernel bus ID: 00:02.0
Display: x11 server: X.Org 1.19.6 driver: i915 resolution: 1920x108060Hz
OpenGL: renderer: Mesa DRI Intel HD Graphics 630 (Kaby Lake GT2) v: 4.5 Mesa 18.0.0-rc5
direct render: Yes
corrado@corrado-p6-cc-0509:~$ apt policy totem
totem:
Installed: 3.26.0-0ubuntu6
Candidate: 3.26.0-0ubuntu6
Version table:
*** 3.26.0-0ubuntu6 500
500 http://archive.ubuntu.com/ubuntu cosmic/main amd64 Packages
100 /var/lib/dpkg/status
corrado@corrado-p6-cc-0509:~$ apt policy gstreamer1.0-vaapi
gstreamer1.0-vaapi:
Installed: 1.14.0-1
Candidate: 1.14.0-1
Version table:
*** 1.14.0-1 500
500 http://archive.ubuntu.com/ubuntu cosmic/universe amd64 Packages
100 /var/lib/dpkg/status
corrado@corrado-p6-cc-0509:~$