Open Bug 1479203 Opened Last year Updated 23 days ago
Videos encoded with a 5
.2+ h264 profile stay black (audio only)
User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0 Build ID: 20180704003137 Steps to reproduce: Trying to see this video url : https://web.poecdn.com/public/news/2018-05-02/VLS_news.mp4 or also https://web.poecdn.com/public/news/2018-04-17/NewRainofArrows.mp4 Actual results: Audio only, video stays black. Expected results: Audio + video. I've opened a discussion here several months ago : https://support.mozilla.org/en-US/questions/1216054 Additional details i could see on my own, with videos that work and the ones that don't : Seems like Imgur (videos work here) uses x264 (http://www.videolan.org/x264.html) to encode their videos (ftypisom : MP4 Base Media v1 [IS0 14496-12:2003]), while GGG (poecdn) used something else (Mainconcept Video Media Handler ; ftypmp42 : MP4 v2 [ISO 14496-14]).
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0 20180704003137 Works for me.
Has STR: --- → yes
Component: Untriaged → Audio/Video: Playback
OS: Unspecified → Windows 7
Product: Firefox → Core
Hardware: Unspecified → x86_64
Troubleshooting Information (stripped of printers info)
jya, do you see anything strange here in the prefs? Is advanced layers supposed to be enabled on Windows 7?
Can you try with a refreshed profile ? https://support.mozilla.org/en-US/kb/refresh-firefox-reset-add-ons-and-settings I do not have the hardware/OS to reproduce this problem unfortunately. WFM with Windows 10
Flags: needinfo?(jyavenard) → needinfo?(eric.debra)
(In reply to Jean-Yves Avenard [:jya] from comment #4) > Can you try with a refreshed profile ? > > https://support.mozilla.org/en-US/kb/refresh-firefox-reset-add-ons-and- > settings > > I do not have the hardware/OS to reproduce this problem unfortunately. WFM > with Windows 10 Is there a way to test without losing settings (here extensions : "Extensions and extension data are removed.") ? In the meantime, i tried on a different computer, without any change in the about:config and totally different add-ons activated, but still on win7 x64. Same issue occured.
(In reply to Eric Debra from comment #5) > Is there a way to test without losing settings You can start in a brand new profile. You can afterwards return to your regular profile. https://support.mozilla.com/kb/profile-manager-create-and-remove-firefox-profiles
(In reply to Gingerbread Man from comment #6) > (In reply to Eric Debra from comment #5) > > Is there a way to test without losing settings > > You can start in a brand new profile. You can afterwards return to your > regular profile. > https://support.mozilla.com/kb/profile-manager-create-and-remove-firefox- > profiles I did that but modified settings in about:config were still there apparently alongside add-ons. I created a "Test" profile and opened it in a new window from about:profiles. I had disabled all add-ons to test, the issue was still there. But then by disabling the add-ons i saw they were also disabled on my current profile in the other window. I then re-enabled them and removed this "Test" profile. Is the safe mode a good way to test it also instead of refreshing a profile ?
Correction from my last comment: The profile wasn't started in a new window but in a new browser ("Lancer le profil dans un nouveau navigateur", en: Launch the profile in a new browser), cf. option in about:profiles.
(In reply to Eric Debra from comment #7) > I did that but modified settings in about:config were still there apparently > alongside add-ons. Then you didn't start in a brand new profile. > I created a "Test" profile and opened it in a new window from about:profiles. You just opened a new window. Bug 1367743 is only fixed in Firefox 63. Like the support article I linked to earlier directs, please use the separate profile manager, launched via firefox.exe -p > Is the safe mode a good way to test it also instead of refreshing a profile ? No. Safe Mode keeps all your customized preferences and disables hardware acceleration.
The videos from web.poecdn.com are not encoded optimally. They are encoded in H.264 level 5.2, which is not supported on Windows 7 with hardware acceleration, see https://docs.microsoft.com/windows/desktop/medfound/h-264-video-decoder. It should work on Windows 8.1 and later, though. The videos could be encoded just with level 4.2 that is sufficient for 1920x1080@60fps, i.e. the params the web.poecdn.com videos are encoded with (see https://en.wikipedia.org/wiki/H.264/MPEG-4_AVC#Levels) and would then work in Firefox on Windows 7 as well. So essentially three possible outcomes to see the videos on Windows OS: 1. stay on Windows 7 and disable default hardware acceleration support in Firefox 2. upgrade to Windows 10 and keep default hardware acceleration support in Firefox 3. complain to content creators at web.poecdn.com and have them decrease H.264 level for their 1080p content (the fact that they use Mainconcept encoder does not play any role in this) and keep default hardware acceleration support in Firefox Alternatively. Mozilla could try to switch to software rendering on Windows 7 and 8 for H.264 level 5.2 automatically, but not sure how feasible that is.
@Gingerbread Man (comment #9) : Oh okay, i didn't know it was not functional, i guess it explains what happened then. I just tried again with the profile manager this time but the video didn't show up too. I also tried during this test to disable hardware accel in Firefox (cf. comment #10 by @Tomas Bucher) to see if the video would show up : not the case. I did the same test in my default profile without success as expected (since in a fresh profile it didn't work either). Is there something else (than turning off "use hardware accel when available" in performance settings) to do to disable properly the hardware accel to make it work under Firefox or it'll just never work in Firefox with Windows 7 ? The only way i could see the video atm is outside of Firefox, with VLC for instance.
@Eric Debra Ah, yes, just disabling hardware acceleration on Windows 7 does not help, you are correct. Unless Mozilla can work around this Windows Media Foundation limitation on Windows 7, your immediate options have been reduced to just two (which I outlined earlier and confirmed to be working). Stay on Windows 7 and discuss the level encoding issue with content creators or upgrade to Windows 10.
Sounds like this is a rare edge case of content creators using non-ideal H264 profiles causing problem on Windows 7.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P3
Summary: Some (rare) videos encoded with h264 stay black (audio only) → Videos encoded with a 5.2+ h264 profile stay black (audio only)
You need to log in before you can comment on or make changes to this bug.