This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

ค้นหาฝ่ายสนับสนุน

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

เรียนรู้เพิ่มเติม

Linux_64, Youtube: HTML 5 videos are black although sound and buttons work perfectly

  • 3 การตอบกลับ
  • 2 คนมีปัญหานี้
  • 2 ครั้งที่ดู
  • ตอบกลับล่าสุดโดย cor-el

more options

Hi,

I have an up-to-date Firefox on a 64 bits GNU/Linux, also up-to-date (it's PCLinuxOS).

Flash videos work sufficiently well (quite slow though, but I guess that's normal), but I have a problem with HTML 5 videos on youtube (haven't tried other ones): the buttons are displayed correctly and are functional, the sound of the video is rendered without problems. But there is no video, all I get is a black image. When I right-click on "Stats for nerds", I see:

Dimensions: 640x360 Resolution: 0x0 Stream type: https Mime Type: video/mp4; codecs="avc1.42001E, mp4a.40.2"

All the "decoded frames", "video bytes decoded", etc. fields are empty ("-").

I have tried to launch firefox in safe mode, disabling hardware acceleration (which anyhow doesn't work on linux, does it?), emptied the cache, none of it worked...

What do you think?

Hi, I have an up-to-date Firefox on a 64 bits GNU/Linux, also up-to-date (it's PCLinuxOS). Flash videos work sufficiently well (quite slow though, but I guess that's normal), but I have a problem with HTML 5 videos on youtube (haven't tried other ones): the buttons are displayed correctly and are functional, the sound of the video is rendered without problems. But there is no video, all I get is a black image. When I right-click on "Stats for nerds", I see: Dimensions: 640x360 Resolution: 0x0 Stream type: https Mime Type: video/mp4; codecs="avc1.42001E, mp4a.40.2" All the "decoded frames", "video bytes decoded", etc. fields are empty ("-"). I have tried to launch firefox in safe mode, disabling hardware acceleration (which anyhow doesn't work on linux, does it?), emptied the cache, none of it worked... What do you think?

เปลี่ยนแปลงโดย Bornerdogge เมื่อ

วิธีแก้ปัญหาที่เลือก

You can try to set the media.gstreamer.enabled pref to false to see if that makes YouTube send the media file in a different format in case you do not have the proper codec to play the mp4 file.

You can open the about:config page via the location bar.

อ่านคำตอบนี้ในบริบท 👍 1

การตอบกลับทั้งหมด (3)

more options

วิธีแก้ปัญหาที่เลือก

You can try to set the media.gstreamer.enabled pref to false to see if that makes YouTube send the media file in a different format in case you do not have the proper codec to play the mp4 file.

You can open the about:config page via the location bar.

more options

Thank you, that solved the problem! :)

What might be the cause of this? I thought the codecs used by youtube were supported by firefox?

more options

This is not about codecs or media support in Firefox, but about native GStreamer support in Linux.

Note that disabling this pref also prevents playing other supported media formats like mp3 via the HTML5 media player.

เปลี่ยนแปลงโดย cor-el เมื่อ