7

Today I noticed that I get no video (the audio is there) when watching an YouTube video using the HTML 5 player (enabled on http://youtube.com/html5).

If I use the Flash player, all works correctly, but I'd rather avoid it.

What I have from gstreamer installed is:

ii  gstreamer0.10-alsa:amd64                     0.10.36-1.1                       amd64        GStreamer plugin for ALSA
ii  gstreamer0.10-gconf:amd64                    0.10.31-3+nmu2                    amd64        GStreamer plugin for getting the sink/source information from GConf
ii  gstreamer0.10-nice:amd64                     0.1.4-1                           amd64        ICE library (GStreamer 0.10 plugin)
ii  gstreamer0.10-plugins-bad:amd64              0.10.23-7.1                       amd64        GStreamer plugins from the "bad" set
ii  gstreamer0.10-plugins-base:amd64             0.10.36-1.1                       amd64        GStreamer plugins from the "base" set
ii  gstreamer0.10-plugins-good:amd64             0.10.31-3+nmu2                    amd64        GStreamer plugins from the "good" set
ii  gstreamer0.10-plugins-ugly:amd64             0.10.19-2+b3                      amd64        GStreamer plugins from the "ugly" set
ii  gstreamer0.10-pulseaudio:amd64               0.10.31-3+nmu2                    amd64        GStreamer plugin for PulseAudio
ii  gstreamer0.10-x:amd64                        0.10.36-1.1                       amd64        GStreamer plugins for X11 and Pango
ii  gstreamer1.0-clutter                         2.0.8-1                           amd64        Clutter PLugin for GStreamer 1.0
ii  gstreamer1.0-libav:amd64                     1:1.2.2-dmo1                      amd64        FFmpeg plugin for GStreamer
ii  gstreamer1.0-plugins-bad:amd64               1.2.2-1                           amd64        GStreamer plugins from the "bad" set
ii  gstreamer1.0-plugins-base:amd64              1.2.2-1                           amd64        GStreamer plugins from the "base" set
ii  gstreamer1.0-plugins-good:amd64              1.2.1-1                           amd64        GStreamer plugins from the "good" set
ii  gstreamer1.0-plugins-ugly:amd64              1.2.2-1                           amd64        GStreamer plugins from the "ugly" set
ii  gstreamer1.0-pulseaudio:amd64                1.2.1-1                           amd64        GStreamer plugin for PulseAudio
ii  gstreamer1.0-x:amd64                         1.2.2-1                           amd64        GStreamer plugins for X11 and Pango
ii  libgstreamer-plugins-bad0.10-0:amd64         0.10.23-7.1                       amd64        GStreamer development files for libraries from the "bad" set
ii  libgstreamer-plugins-bad1.0-0:amd64          1.2.2-1                           amd64        GStreamer development files for libraries from the "bad" set
ii  libgstreamer-plugins-base0.10-0:amd64        0.10.36-1.1                       amd64        GStreamer libraries from the "base" set
ii  libgstreamer-plugins-base1.0-0:amd64         1.2.2-1                           amd64        GStreamer libraries from the "base" set
ii  libgstreamer0.10-0:amd64                     0.10.36-1.2                       amd64        Core GStreamer libraries and elements
ii  libgstreamer1.0-0:amd64                      1.2.2-1                           amd64        Core GStreamer libraries and elements

Looks like I'm missing a codec, but I don't know which one. I am using Debian "testing", Iceweasel 26.0. What to do?

  • Does this work? Youtube might only provide the MP4 html5 format, which might not work - see here – Wilf Jan 12 '14 at 1:11
  • It doesn't work, I don't get any video or sound. I find it odd that HTML5 YouTube worked correctly in Fedora 20 (which I was using before). – Renan Jan 12 '14 at 1:15
  • I'm using a fresh install F20 of that now (still trying to work out whehter to go back to 19 for the Gnome 3.8), with Firefox 26, and it works fine. I think as IceWeasel is a fork of Firefox, it might not have this feature, or it might have to be enabled. There is other HTML5 stuff you could test here, then you could find out whether it is the media plugins or html5 support... – Wilf Jan 12 '14 at 1:20
  • Those HTML 5 stuff works. It's just the videos that don't play, this looks like a codec problem (but I don't know what to install). – Renan Jan 12 '14 at 2:38
  • There is other stuff listed here, apart from that, you may just need to enable it in about:config of the browser or something. – Wilf Jan 12 '14 at 14:00
10

You need to install the gstreamer0.10-ffmpeg package.

Then, to see if it works, go to http://youtube.com/html5 and see if there's a green tick next to H.264.

[edit] On recent Debian versions (>= 8.0) you need gstreamer1.0-libav

|improve this answer|||||
  • 1
    Congrats on getting to 10k! – slm Aug 21 '14 at 5:47
  • 1
    I had this issue under Debian Jessie. Uninstalling extra gstreamer1.0 backends while leaving gstreamer1.0-alsa, -libav, -x, -nice, -packagekit, -tools and -plugins-* in place solved the problem for me. – sudoman Jul 13 '15 at 22:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.