Totem 3.38.1-1 unable to play YouTube videos
Hi all,
I have been using Totem for a bit and wanted to play YouTube videos in it. When I went to play any kind of video from YouTube, I get the error:
Unable to play the file text/html decoder is required to play the file, but is not installed.
A screenshot is attached.
Upon further inspection, it does seem to be a gstreamer problem according to the output of this:
`
$ gst-launch-1.0 playbin uri=https://www.youtube.com/watch?v=RBtlPT23PTM
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Got context from element 'source': gst.soup.session=context, session=(SoupSession)NULL, force=(boolean)false;
Missing element: text/html decoder
ERROR: from element /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: Your GStreamer installation is missing a plug-in.
Additional debug info:
../gst-plugins-base/gst/playback/gsturidecodebin.c(1024): no_more_pads_full (): /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0:
no suitable plugins found:
../gst-plugins-base/gst/playback/gstdecodebin2.c(4719): gst_decode_bin_expose (): /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0:
no suitable plugins found: Missing decoder: text/html (text/html)
WARNING: from element /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: No decoder available for type 'text/html'.
ERROR: pipeline doesn't want to preroll.
Additional debug info:
../gst-plugins-base/gst/playback/gsturidecodebin.c(957): unknown_type_cb (): /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0
Setting pipeline to NULL ...
Freeing pipeline ...
`
The gstreamer version on my system is 1.18.4-1.
I also have the following gstreamer plugins installed with Arch Linux's pacman:
`
clutter-gst 3.0.27-3
gst-editing-services 1.18.4-1
gst-libav 1.18.4-1
gst-plugin-gtk 1.18.4-2
gst-plugin-pipewire 1:0.3.31-1
gst-plugins-bad 1.18.4-8
gst-plugins-bad-libs 1.18.4-8
gst-plugins-base 1.18.4-1
gst-plugins-base-libs 1.18.4-1
gst-plugins-good 1.18.4-2
gst-plugins-ugly 1.18.4-2
`
Perhaps Totem could use youtube-dl to download the video and then play it?
EDIT: fixed formatting EDIT 2: fixed it again