Unexpected VP9 WebM unplayable in Fenix
Categories
(Core :: Audio/Video, defect)
Tracking
()
People
(Reporter: masterquestionable, Unassigned)
Details
Attachments
(1 file)
20.61 KB,
text/plain
|
Details |
Firefox Fenix 126 (2016013391) (2024-04-06).
"Video can't be played because the file is corrupt."
https://github.com/mozilla-mobile/firefox-android/assets/38040960/fd50937d-5442-494e-b4aa-0baf75569a57 (~ 33.91 MiB; WebM: VP9 video, 21.403 s, 24 FPS VFR (avg: 22.61, min: 21.277, max: 25), 2560x1600, YUV 4:2:0, ~ 33.86 MiB; Vorbis audio, 21.369 s, 44,100 Hz, ~ 25.2 KiB)
https://github.com/mozilla-mobile/firefox-android/pull/5218#issue-2090573376
.
Per the thread's following comments (and extra testing) it should be playable.
[ Unsure if it's regression, as which might be hardware/platform dependent. ]
Playable in Chrome on the same device.
Re-muxing doesn't help:
mkclean --optimize --unsafe --remux "mkclean.webm"
[ WebM is Matroska. Not effective as `ffmpeg`. ]
ffmpeg -i "tablet-tab-strip-3.webm" -c copy -fflags +bitexact -map_metadata -1 -cues_to_front 1 -write_crc32 0 -default_mode 0 "Remux.webm"
ffmpeg -i "tablet-tab-strip-3.webm" -map v:0 -c copy -fflags +bitexact -map_metadata -1 -cues_to_front 1 -write_crc32 0 -default_mode 0 "VP9.webm"
ffmpeg -i "tablet-tab-strip-3.webm" -map a:0 -c copy -fflags +bitexact -map_metadata -1 -cues_to_front 1 -write_crc32 0 -default_mode 0 "Vorbis.webm"
[ Playable. Note the audio is dummy silence. ]
MediaError:
code: 3, message: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - auto mozilla::MediaChangeMonitor::CreateDecoderAndInit(MediaRawData *)::(anonymous class)::operator()()::(anonymous class)::operator()(const MediaResult &) const: Unable to initialize decoder
See also:
https://github.com/richtr/NoSleep.js/issues/157#issuecomment-1529149759
(my hefty placebo research on VideoWakeLock...)
Demo snippet: https://github.com/MasterInQuestion/Markup/blob/main/VideoD.htm
Friendly notice:
It's recommended to enact below uBlock Origin filter on such pages:
*$header=content-type:/^video(?=\/|$)/i,domain=github.com|bugzilla.mozilla.org
(potential bandwidth killer)
Also, could someone help forward [ https://github.com/MasterInQuestion/talk/discussions/14 ]?
I'm blocked by the developer.
![]() |
Reporter | |
Comment 1•1 year ago
|
||
Seems to influence YouTube too. (VP9 video unavailable)
E.g. https://www.youtube.com/watch?v=IwrWot3jVFI
[ 2560x1440 VP9 ("itag": 271) ]
After more diagnosis it appears anything larger than 1920x1080 would fail with the exact MediaError.
248: 1920x1080 VP9
247: 1280x720 VP9
242: 426x240 VP9
; all playable.
Download e.g.
yt-dlp -f 242 -o "%(id)s.%(format_id)s.%(ext)s" "https://www.youtube.com/watch?v=IwrWot3jVFI"
Note:
Per YouTube's report the videos are encoded around 2017-06-07.
![]() |
||
Updated•1 year ago
|
![]() |
Reporter | |
Comment 2•1 year ago
|
||
Not necessarily Fenix only, potentially hardware related.
Comment 3•1 year ago
|
||
The severity field is not set for this bug.
:jimm, could you have a look please?
For more information, please visit BugBot documentation.
![]() |
||
Updated•1 year ago
|
![]() |
||
Updated•1 year ago
|
Description
•