Skip to content

Instantly share code, notes, and snippets.

@leewardbound
Last active June 29, 2020 22:46
Show Gist options
  • Save leewardbound/e1534770f99aba206eddfaa23afe5441 to your computer and use it in GitHub Desktop.
Save leewardbound/e1534770f99aba206eddfaa23afe5441 to your computer and use it in GitHub Desktop.
GST_DEBUG=3 node gst.js [625c9e3]
{ headless: false,
args:
[ '--enable-usermedia-screen-capturing',
'--allow-http-screen-capture',
'--auto-select-desktop-capture-source=broadcast',
'--load-extension=/home/linked/Nextcloud/home/p/net-prophet/streamhuddle/standup/recorder_extension',
'--disable-extensions-except=/home/linked/Nextcloud/home/p/net-prophet/streamhuddle/standup/recorder_extension',
'--disable-infobars',
'--no-sandbox',
'--shm-size=1gb',
'--disable-dev-shm-usage',
'--start-fullscreen',
'--app=https://www.google.com/',
'--window-size=1280,720' ],
executablePath: '/usr/bin/chromium-browser' }
Launching https://www.youtube.com/watch?v=Sff7Kc77QAY&list=RDSff7Kc77QAY&start_radio=1&autoplay
Listening...
PAGE LOG: A cookie associated with a cross-site resource at https://accounts.google.com/ was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5088147346030592 and https://www.chromestatus.com/feature/5633521622188032.
PAGE LOG: Refused to display 'https://accounts.google.com/ServiceLogin?continue=https%3A%2F%2Fwww.youtube.com%2Fsignin%3Fapp%3Ddesktop%26action_handle_signin%3Dtrue%26hl%3Den%26next%3D%252Fsignin_passive%26feature%3Dpassive&passive=true&hl=en&service=youtube&uilel=3' in a frame because it set 'X-Frame-Options' to 'deny'.
PAGE LOG: Failed to load resource: net::ERR_FAILED
PAGE LOG: Failed to load resource: net::ERR_FAILED
PAGE LOG: FFMPEG_SERVER
PAGE LOG: REC_START
connection
Spawning ffmpeg -> rtmp://localhost:1935/publish/foobar
Launching > gst-launch-1.0 fdsrc fd=0 ! decodebin name=d ! queue ! videoconvert ! video/x-raw,format=I420 ! x264enc speed-preset=ultrafast tune=zerolatency key-int-max=20 ! flvmux name=flvmux ! rtmpsink location=rtmp://localhost:1935/publish/foobar d. ! audiorate ! audio/x-raw,channels=2 ! audioconvert ! alawenc ! flvmux.
FFmpeg STDERR: 0:00:00.016394568 23323 0x7fd53c002320 WARN GST_POLL gstpoll.c:951:gst_poll_remove_fd: 0x55b2732a8ca0: couldn't find fd !
PAGE LOG: The resource https://r5---sn-n4v7knll.googlevideo.com/generate_204 was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
PAGE LOG: The resource https://i.ytimg.com/generate_204 was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
PAGE LOG: The resource https://r5---sn-n4v7knll.googlevideo.com/generate_204?conn2 was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
DATA <Buffer 1a 45 df a3 a3 42 86 81 01 42 f7 81 01 42 f2 81 04 42 f3 81 08 42 82 88 6d 61 74 72 6f 73 6b 61 42 87 81 04 42 85 81 02 18 53 80 67 01 ff ff ff ff ff ... >
FFmpeg STDERR: 0:00:06.664500955 23323 0x55b2732b3120 WARN matroskademux matroska-demux.c:6191:gst_matroska_demux_video_caps: No codec data found, assuming output is byte-stream
DATA <Buffer 8c 82 01 2d 80 ff 03 ff fe ff fe ff fe a3 8c 82 01 73 80 ff 03 ff fe ff fe ff fe a3 8c 82 01 a1 80 ff 03 ff fe ff fe ff fe a3 8c 82 01 e7 80 ff 03 ff ... >
FFmpeg STDERR: 0:00:07.701070312 23323 0x55b2732b9760 WARN basetransform gstbasetransform.c:1362:gst_base_transform_setcaps:<audioconvert0> transform could not transform audio/x-raw, format=(string)S16LE, layout=(string)interleaved, rate=(int)48000, channels=(int)2, channel-mask=(bitmask)0x0000000000000003 in anything we support
FFmpeg STDERR: 0:00:07.702077014 23323 0x55b2732b9760 WARN basetransform gstbasetransform.c:1362:gst_base_transform_setcaps:<audioconvert0> transform could not transform audio/x-raw, format=(string)S16LE, layout=(string)interleaved, rate=(int)48000, channels=(int)2, channel-mask=(bitmask)0x0000000000000003 in anything we support
FFmpeg STDERR: 0:00:07.702307791 23323 0x55b2732b9760 WARN basetransform gstbasetransform.c:1362:gst_base_transform_setcaps:<audioconvert0> transform could not transform audio/x-raw, format=(string)S16LE, layout=(string)interleaved, rate=(int)48000, channels=(int)2, channel-mask=(bitmask)0x0000000000000003 in anything we support
FFmpeg STDERR: 0:00:07.702490118 23323 0x55b2732b9760 WARN basetransform gstbasetransform.c:1362:gst_base_transform_setcaps:<audioconvert0> transform could not transform audio/x-raw, format=(string)S16LE, layout=(string)interleaved, rate=(int)48000, channels=(int)2, channel-mask=(bitmask)0x0000000000000003 in anything we support
FFmpeg STDERR: 0:00:07.702675591 23323 0x55b2732b9760 WARN basetransform gstbasetransform.c:1362:gst_base_transform_setcaps:<audioconvert0> transform could not transform audio/x-raw, format=(string)S16LE, layout=(string)interleaved, rate=(int)48000, channels=(int)2, channel-mask=(bitmask)0x0000000000000003 in anything we support
FFmpeg STDERR: 0:00:07.702926065 23323 0x55b2732b9760 WARN basetransform gstbasetransform.c:1362:gst_base_transform_setcaps:<audioconvert0> transform could not transform audio/x-raw, format=(string)S16LE, layout=(string)interleaved, rate=(int)48000, channels=(int)2, channel-mask=(bitmask)0x0000000000000003 in anything we support
FFmpeg STDERR: 0:00:07.703178196 23323 0x55b2732b3120 WARN basesrc gstbasesrc.c:3072:gst_base_src_loop:<fdsrc0> error: Internal data stream error.
0:00:07.703220852 23323 0x55b2732b3120 WARN basesrc gstbasesrc.c:3072:gst_base_src_loop:<fdsrc0> error: streaming stopped, reason not-negotiated (-4)
FFmpeg STDERR: ERROR: from element /GstPipeline:pipeline0/GstFdSrc:fdsrc0: Internal data stream error.
Additional debug info:
gstbasesrc.c(3072): gst_base_src_loop (): /GstPipeline:pipeline0/GstFdSrc:fdsrc0:
streaming stopped, reason not-negotiated (-4)
FFmpeg STDERR: ERROR: pipeline doesn't want to preroll.
FFmpeg STDERR: 0:00:07.715288766 23323 0x55b2732b3060 WARN GST_PADS gstpad.c:4231:gst_pad_peer_query:<capsfilter0:src> could not send sticky events
FFmpeg STDERR: 0:00:07.715558013 23323 0x55b2732b3060 WARN GST_PADS gstpad.c:4231:gst_pad_peer_query:<capsfilter0:src> could not send sticky events
FFmpeg STDERR: 0:00:07.716399239 23323 0x55b2732b3060 WARN GST_PADS gstpad.c:4231:gst_pad_peer_query:<capsfilter0:src> could not send sticky events
FFmpeg child process closed, code 1, signal null
connection
Spawning ffmpeg -> rtmp://localhost:1935/publish/foobar
Launching > gst-launch-1.0 fdsrc fd=0 ! decodebin name=d ! queue ! videoconvert ! video/x-raw,format=I420 ! x264enc speed-preset=ultrafast tune=zerolatency key-int-max=20 ! flvmux name=flvmux ! rtmpsink location=rtmp://localhost:1935/publish/foobar d. ! audiorate ! audio/x-raw,channels=2 ! audioconvert ! alawenc ! flvmux.
FFmpeg STDERR: 0:00:00.020729514 23670 0x7ff8f0002320 WARN GST_POLL gstpoll.c:951:gst_poll_remove_fd: 0x55a201786ca0: couldn't find fd !
DATA <Buffer 1a 45 df a3 a3 42 86 81 01 42 f7 81 01 42 f2 81 04 42 f3 81 08 42 82 88 6d 61 74 72 6f 73 6b 61 42 87 81 04 42 85 81 02 18 53 80 67 01 ff ff ff ff ff ... >
FFmpeg STDERR: 0:00:01.026538760 23670 0x55a201791120 WARN matroskademux matroska-demux.c:6191:gst_matroska_demux_video_caps: No codec data found, assuming output is byte-stream
FFmpeg STDERR: 0:00:01.081656851 23670 0x55a201797760 WARN basetransform gstbasetransform.c:1362:gst_base_transform_setcaps:<audioconvert0> transform could not transform audio/x-raw, format=(string)S16LE, layout=(string)interleaved, rate=(int)48000, channels=(int)2, channel-mask=(bitmask)0x0000000000000003 in anything we support
FFmpeg STDERR: 0:00:01.081973544 23670 0x55a201797760 WARN basetransform gstbasetransform.c:1362:gst_base_transform_setcaps:<audioconvert0> transform could not transform audio/x-raw, format=(string)S16LE, layout=(string)interleaved, rate=(int)48000, channels=(int)2, channel-mask=(bitmask)0x0000000000000003 in anything we support
FFmpeg STDERR: 0:00:01.082012106 23670 0x55a201797760 WARN basetransform gstbasetransform.c:1362:gst_base_transform_setcaps:<audioconvert0> transform could not transform audio/x-raw, format=(string)S16LE, layout=(string)interleaved, rate=(int)48000, channels=(int)2, channel-mask=(bitmask)0x0000000000000003 in anything we support
0:00:01.082039345 23670 0x55a201797760 WARN basetransform gstbasetransform.c:1362:gst_base_transform_setcaps:<audioconvert0> transform could not transform audio/x-raw, format=(string)S16LE, layout=(string)interleaved, rate=(int)48000, channels=(int)2, channel-mask=(bitmask)0x0000000000000003 in anything we support
0:00:01.082066895 23670 0x55a201797760 WARN basetransform gstbasetransform.c:1362:gst_base_transform_setcaps:<audioconvert0> transform could not transform audio/x-raw, format=(string)S16LE, layout=(string)interleaved, rate=(int)48000, channels=(int)2, channel-mask=(bitmask)0x0000000000000003 in anything we support
FFmpeg STDERR: 0:00:01.082116718 23670 0x55a201797760 WARN basetransform gstbasetransform.c:1362:gst_base_transform_setcaps:<audioconvert0> transform could not transform audio/x-raw, format=(string)S16LE, layout=(string)interleaved, rate=(int)48000, channels=(int)2, channel-mask=(bitmask)0x0000000000000003 in anything we support
FFmpeg STDERR: 0:00:01.082199083 23670 0x55a201791120 WARN basesrc gstbasesrc.c:3072:gst_base_src_loop:<fdsrc0> error: Internal data stream error.
0:00:01.082207778 23670 0x55a201791120 WARN basesrc gstbasesrc.c:3072:gst_base_src_loop:<fdsrc0> error: streaming stopped, reason not-negotiated (-4)
FFmpeg STDERR: ERROR: from element /GstPipeline:pipeline0/GstFdSrc:fdsrc0: Internal data stream error.
Additional debug info:
gstbasesrc.c(3072): gst_base_src_loop (): /GstPipeline:pipeline0/GstFdSrc:fdsrc0:
streaming stopped, reason not-negotiated (-4)
FFmpeg STDERR: ERROR: pipeline doesn't want to preroll.
FFmpeg STDERR: 0:00:01.087454758 23670 0x55a201791060 WARN GST_PADS gstpad.c:4231:gst_pad_peer_query:<capsfilter0:src> could not send sticky events
FFmpeg STDERR: 0:00:01.087692385 23670 0x55a201791060 WARN GST_PADS gstpad.c:4231:gst_pad_peer_query:<capsfilter0:src> could not send sticky events
FFmpeg STDIN Error { Error: write EPIPE
at WriteWrap.afterWrite [as oncomplete] (net.js:789:14) errno: 'EPIPE', code: 'EPIPE', syscall: 'write' }
FFmpeg child process closed, code 1, signal null
connection
Spawning ffmpeg -> rtmp://localhost:1935/publish/foobar
Launching > gst-launch-1.0 fdsrc fd=0 ! decodebin name=d ! queue ! videoconvert ! video/x-raw,format=I420 ! x264enc speed-preset=ultrafast tune=zerolatency key-int-max=20 ! flvmux name=flvmux ! rtmpsink location=rtmp://localhost:1935/publish/foobar d. ! audiorate ! audio/x-raw,channels=2 ! audioconvert ! alawenc ! flvmux.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment