ShellRecorder not working on gnome-shell 3.30 under X11
packages (arch linux)
$ gnome-shell --version
GNOME Shell 3.30.0
$ pacman -Q gstreamer
gstreamer 1.14.3-1
$ pacman -Q gst-plugins-good
gst-plugins-good 1.14.3-1
$ pacman -Q gnome-shell
gnome-shell 3.30.0+25+g179cd0a3c-1
Trying to launch a shell record with Ctrl+Alt+Shift+R
$ journalctl -fx
sep 20 08:14:36 archlinux-alberto gnome-shell[627]: Failed to load plugin '/usr/lib/gstreamer-1.0/libgstvpx.so': /usr/lib/libgsttag-1.0.so.0: undefined symbol: gst_type_find_helper_get_range_full
sep 20 08:14:36 archlinux-alberto gnome-shell[627]: Failed to load plugin '/usr/lib/gstreamer-1.0/libgstcoreelements.so': /usr/lib/gstreamer-1.0/libgstcoreelements.so: undefined symbol: gst_type_find_helper_get_range_full
sep 20 08:14:36 archlinux-alberto gnome-shell[627]: Failed to load plugin '/usr/lib/gstreamer-1.0/libgstmatroska.so': /usr/lib/libgsttag-1.0.so.0: undefined symbol: gst_type_find_helper_get_range_full
sep 20 08:14:36 archlinux-alberto gnome-shell[627]: ShellRecorder: failed to parse pipeline: no hay un elemento «vp9enc»
sep 20 08:14:36 archlinux-alberto gnome-shell[627]: shell_recorder_close: assertion 'recorder->state != RECORDER_STATE_CLOSED' failed
that is shown on second keystroke (like record stop)
I check the symbol gst_type_find_helper_get_range_full
$ nm -D /usr/lib/libgstbase-1.0.so.0 | grep gst_type_find_helper_get_range_full
0000000000054960 T gst_type_find_helper_get_range_full
And
$ ldd /usr/lib/libgsttag-1.0.so.0 | grep base
libgstbase-1.0.so.0 => /usr/lib/libgstbase-1.0.so.0 (0x00007f1aed044000)
Found the vp9enc in gnome shell in:
$ rg vp9enc
src/gnome-shell/src/shell-recorder.c
151:#define DEFAULT_PIPELINE "vp9enc min_quantizer=13 max_quantizer=13 cpu-used=5 deadline=1000000 threads=%T ! queue ! webmmux"
So I just try with a test:
$ gst-launch-1.0 -v videotestsrc num-buffers=1000 ! vp9enc min_quantizer=13 max_quantizer=13 cpu-used=5 deadline=1000000 threads=0 ! queue ! webmmux ! filesink location=videotestsrc.webm
Estableciendo el conducto a PAUSA …
El conducto está PREPARÁNDOSE …
/GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0.GstPad:src: caps = video/x-raw, width=(int)320, height=(int)240, framerate=(fraction)30/1, format=(string)I420, multiview-mode=(string)mono, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive
Redistribuir latencia…
/GstPipeline:pipeline0/GstVP9Enc:vp9enc0.GstPad:src: caps = video/x-vp9, profile=(string)0, width=(int)320, height=(int)240, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1, interlace-mode=(string)progressive, colorimetry=(string)bt601, chroma-site=(string)jpeg, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:src: caps = video/x-vp9, profile=(string)0, width=(int)320, height=(int)240, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1, interlace-mode=(string)progressive, colorimetry=(string)bt601, chroma-site=(string)jpeg, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono
/GstPipeline:pipeline0/GstWebMMux:webmmux0.GstMatroskamuxPad:video_0: caps = video/x-vp9, profile=(string)0, width=(int)320, height=(int)240, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1, interlace-mode=(string)progressive, colorimetry=(string)bt601, chroma-site=(string)jpeg, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = video/x-vp9, profile=(string)0, width=(int)320, height=(int)240, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1, interlace-mode=(string)progressive, colorimetry=(string)bt601, chroma-site=(string)jpeg, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono
/GstPipeline:pipeline0/GstVP9Enc:vp9enc0.GstPad:sink: caps = video/x-raw, width=(int)320, height=(int)240, framerate=(fraction)30/1, format=(string)I420, multiview-mode=(string)mono, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive
/GstPipeline:pipeline0/GstWebMMux:webmmux0.GstPad:src: caps = video/webm
/GstPipeline:pipeline0/GstFileSink:filesink0.GstPad:sink: caps = video/webm
El conducto está PREPARADO …
Estableciendo el conducto a REPRODUCIENDO …
New clock: GstSystemClock
/GstPipeline:pipeline0/GstWebMMux:webmmux0.GstPad:src: caps = video/webm, streamheader=(buffer)< 1a45dfa301000000000000104282857765626d0042878102428581021853806701ffffffffffffff114d9b74010000000000008c4dbb010000000000001253ab841549a96653ac88ffffffffffffffff4dbb010000000000001253ab841654ae6b53ac88ffffffffffffffff4dbb010000000000001253ab841043a77053ac88ffffffffffffffff4dbb010000000000001253ab841c53bb6b53ac88ffffffffffffffff4dbb010000000000001253ab841254c36753ac88ffffffffffffffff1549a96601000000000000612ad7b1830f424044898840e046aaaaa9f7b64d80a54753747265616d6572206d6174726f736b616d75782076657273696f6e20312e31342e33005741994753747265616d6572204d6174726f736b61206d757865720044618807c261cf21c44c001654ae6b0100000000000043ae010000000000003ad7810183810173c588d6b6c679ccc049cb23e3838401fca055536e86566964656f00e00100000000000007b0820140ba81f08686565f56503900 >
/GstPipeline:pipeline0/GstFileSink:filesink0.GstPad:sink: caps = video/webm, streamheader=(buffer)< 1a45dfa301000000000000104282857765626d0042878102428581021853806701ffffffffffffff114d9b74010000000000008c4dbb010000000000001253ab841549a96653ac88ffffffffffffffff4dbb010000000000001253ab841654ae6b53ac88ffffffffffffffff4dbb010000000000001253ab841043a77053ac88ffffffffffffffff4dbb010000000000001253ab841c53bb6b53ac88ffffffffffffffff4dbb010000000000001253ab841254c36753ac88ffffffffffffffff1549a96601000000000000612ad7b1830f424044898840e046aaaaa9f7b64d80a54753747265616d6572206d6174726f736b616d75782076657273696f6e20312e31342e33005741994753747265616d6572204d6174726f736b61206d757865720044618807c261cf21c44c001654ae6b0100000000000043ae010000000000003ad7810183810173c588d6b6c679ccc049cb23e3838401fca055536e86566964656f00e00100000000000007b0820140ba81f08686565f56503900 >
^Chandling interrupt.
Interrumpir: parando el conducto …
Execution ended after 0:00:04.313806500
Estableciendo el conducto a PAUSA …
Estableciando el conducto a PREPARADO …
Estableciendo el conducto a NULL …
Liberando la tubería…
and seems to work videotestsrc
Do you know what's happening? any further test I can do?
Edited by Ghost User