Closed Bug 1853024 Opened 2 years ago Closed 2 years ago

HW accelerated video failed to play

Categories

(Core :: Audio/Video: Playback, defect)

defect

Tracking

()

VERIFIED FIXED
120 Branch
Tracking Status
firefox120 --- verified
firefox121 --- verified

People

(Reporter: stransky, Assigned: stransky)

References

(Blocks 1 open bug)

Details

Attachments

(4 files)

HW accelerated video clip https://twitter.com/bezig101/status/1697934645386690904?
failed to play. SW decoder works fine. Looks like we fail to fallback to SW decode.

Assignee: nobody → stransky
Flags: needinfo?(stransky)

Looks related to twitter site. If the clip is played locally it's restarted to SW decode fallback.

May be also AMD specific, need to test on Intel.

No longer blocks: 1853875
Depends on: 1853875

PtsCorrectionContext is used on libavcodec < 58 only so build it only there.

Don't use FFMPEG_AV1_DECODE in FFmpegDataDecoder.cpp as it's defined in FFmpegVideoDecoder.cpp file only.

Depends on D188595

  • Set libva log according to sFFmpegVideoLog/sFFmpegAudioLog by default
  • Allow to override by MOZ_AV_LOG_LEVEL env variable
  • Don't fiddle with LIBVA_MESSAGING_LEVEL if it's already set

Depends on D188704

Flags: needinfo?(stransky)
Pushed by stransky@redhat.com: https://hg.mozilla.org/integration/autoland/rev/1c575547ce8b Build PtsCorrectionContext only on libavcodec < 58 r=alwu https://hg.mozilla.org/integration/autoland/rev/6f05427591ac Move decode statistics to DecodeStats class and use averange decode time to detect slow decode r=alwu https://hg.mozilla.org/integration/autoland/rev/59acae352cc1 Use LIBAVCODEC_VERSION instead of FFMPEG_AV1_DECODE in IsVideoCodec() r=alwu https://hg.mozilla.org/integration/autoland/rev/09362d9c7385 Allow to explicitly set libav log level by MOZ_AV_LOG_LEVEL env variable r=alwu
QA Whiteboard: [qa-120b-p2]

Reproducible on a 2023-09-13 Nightly build on Ubuntu 22.
Verified as fixed on Firefox 120.0 and Nightly 121.0a1 on Ubuntu 22.

Status: RESOLVED → VERIFIED
QA Whiteboard: [qa-120b-p2]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: