mpv-player / mpv-player/mpv

rpi 4 libmpv hardware decoding drops frames

Open
#7,862 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

down-upstream hwdec:mmal os:linux platform:rpi
Dominant language
C
Stars
37k
Forks
3.5k
Avg merge
1d 10h
Merged PRs (30d)
22

Description

Important Information

Provide following Information:

  • mpv version - master
  • Linux Distribution and Version - raspbian

If you're not using git master or the latest release, update.
Releases are listed here: https://github.com/mpv-player/mpv/releases

Reproduction steps

Try to reproduce your issue with --no-config first. If it isn't reproducible
with --no-config try to first find out which option or script causes your issue.

Describe the reproduction steps as precise as possible. It's very likely that
the bug you experience wasn't reproduced by the developer because the workflow
differes from your own.

Expected behavior

When using libmpv, selecting hwdec=mmal-copy should not drop any frames for a 1080p h264 2mbps movie

Actual behavior

Using libmpv, hwdec=mmal-copy drops at least 2 frames a second. Selecting hwdec=no does not drop any frames

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue in libmpv on a Raspberry Pi with hwdec=mmal-copy and a 1080p H.264 2 Mbps movie, first using --no-config. Compare frame drops with hwdec=no; done means hardware decoding no longer drops frames in the reported case.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, linux, raspberry-pi
Domain
audio-video-rtc, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.