Can't play or download embedded video on bugzilla
Categories
(Core :: Audio/Video: Playback, defect)
Tracking
()
People
(Reporter: wewek94423, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0
Actual results:
Can't play or download this embedded video:
https://bugzillaattachments.eclipsecontent.org/bugs/attachment.cgi?id=286941
Comment 2•3 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Audio/Video: Playback' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
Comment 3•3 years ago
|
||
The log below grabbed from MOZ_LOG="MediaDemuxer:5, MediaDecoder:5"
, when open https://bugzillaattachments.eclipsecontent.org/bugs/attachment.cgi?id=286941, indicates the file fails in MP4Demuxer. here
...
[Child 88485: MediaPDecoder #1]: D/MediaDemuxer Moof(7fb29d7d6740)::Metadata: Starting.
[Child 88485: MediaPDecoder #1]: D/MediaDemuxer Moof(7fb29d7d6740)::ScanForMetadata: Starting.
[Child 88485: MediaPDecoder #1]: D/MediaDemuxer Moof(7fb29d7d6740)::ScanForMetadata: Done, mInitRange.mStart=829907, mInitRange.mEnd=838846
[Child 88485: MediaPDecoder #1]: D/MediaDemuxer Moof(7fb29d7d6740)::Metadata: Done, found metadata.
[Child 88485, MediaDecoderStateMachine #1] WARNING: Decoder=7fb28bcc2c00 state=DECODING_METADATA Decode metadata failed, shutting down decoder: file /home/cm/Work/mozilla-unified/dom/media/MediaDecoderStateMachine.cpp:366
[Child 88485, MediaDecoderStateMachine #1] WARNING: Decoder=7fb28bcc2c00 Decode error: NS_ERROR_DOM_MEDIA_DEMUXER_ERR (0x806e000c) - virtual RefPtr<MP4Demuxer::InitPromise> mozilla::MP4Demuxer::Init(): No MP4 audio () or video () tracks: file /home/cm/Work/mozilla-unified/dom/media/MediaDecoderStateMachine.cpp:3541
[Child 88485: Main Thread]: D/MediaDecoder MediaDecoder[7fb28bcc2c00] Play state changes from LOADING to SHUTDOWN
...
Run ffprobe
with the file
ffprobe version 4.3.2-0+deb11u1ubuntu1 Copyright (c) 2007-2021 the FFmpeg developers
...
libavutil 56. 51.100 / 56. 51.100
libavcodec 58. 91.100 / 58. 91.100
libavformat 58. 45.100 / 58. 45.100
libavdevice 58. 10.100 / 58. 10.100
libavfilter 7. 85.100 / 7. 85.100
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 7.100 / 5. 7.100
libswresample 3. 7.100 / 3. 7.100
libpostproc 55. 7.100 / 55. 7.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '<path>/<to>/eclipse-adds-backslash-println.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2mp41
encoder : Lavf59.4.101
Duration: 00:00:16.00, start: 0.000000, bitrate: 419 kb/s
Stream #0:0(und): Video: hevc (Main) (hev1 / 0x31766568), yuv420p(tv, bt709, progressive), 1000x700 [SAR 1:1 DAR 10:7], 414 kb/s, 30 fps, 30 tbr, 15360 tbn, 30 tbc (default)
Metadata:
handler_name : VideoHandler
Bryce, do you happen to know if the file is muxed incorrectly, or we might need to update MP4Demuxer
?
Looks like the stream in that file contains HEVC. Comment 3 shows this, but I poked around to make sure. We don't currently support HEVC, and don't plan to, so I'm going to close this out.
Description
•