no element "rtmpsink"
When I tried to use different script: https://github.com/joanrieu/gst-live
I get:
root@h-y:/home/obs/gst-live# cat config.sh | ./streamer.sh
0:00:00.039237698 3037 0x16ec590 WARN GST_ELEMENT_FACTORY gstelementfactory.c:456:gst_element_factory_make: no such element factory "rtmpsink"!
0:00:00.039565427 3037 0x16ec590 ERROR GST_PIPELINE grammar.y:816:priv_gst_parse_yyparse: no element "rtmpsink"
0:00:00.039818533 3037 0x16ec590 ERROR GST_PIPELINE grammar.y:901:priv_gst_parse_yyparse: link has no sink [source=@0x16e04a0]
Also:
root@h-y:/home/obs/gst-live# apt install gstreamer1-plugins-bad
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package gstreamer1-plugins-bad
root@h-y:/home/obs/gst-live# apt install gstreamer1.0-plugins-bad
Reading package lists... Done
Building dependency tree
Reading state information... Done
gstreamer1.0-plugins-bad is already the newest version (1.8.3-1ubuntu0.2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Any idea why?