mpv-player / mpv-player/mpv

Please recommend parameters for software decode/play_back

Open
#14,090 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

os:linux
Dominant language
C
Stars
37k
Forks
3.5k
Avg merge
1d 10h
Merged PRs (30d)
22

Description

Important Information

Provide following Information:

Reproduction steps

play the video with : mpv --log-file=./loga.txt ./test.mkv

Expected behavior

The video is played smoothly.

Actual behavior

Occasional black screen. Sudden mute in audio sometimes.

I tried the latest mpv at my embeded device ( similiar to s905x with 2G ddr3 , but its GPU is Mali-G31 instead of mali450 )
and find out its effect is far way from satisfaction .
Even though there is still quite a lot of hardware margin during mpv running :
%Cpu(s): 11.9 us, 2.4 sy, 0.0 ni, 85.7 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
MiB Mem : 1939.3 total, 644.0 free, 547.2 used, 748.1 buff/cache
MiB Swap: 969.6 total, 969.6 free, 0.0 used. 1098.0 avail Mem

My setting ( /etc/mpv/mpv.conf ) :
hwdec=no
vo=gpu-next
gpu-context=wayland
profile=sw-fast
scale=bilinear
osc=no
load-scripts=no
input-vo-keyboard=no
fs=yes

Log file

https://pastebin.com/8HqLYEnP

Sample files

https://raw.githubusercontent.com/trump-7575/opencv/master/test
Please add extension "mkv" to the test clip.

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

No source file or test is named. Start by reproducing the supplied mpv 0.38.0 command with the linked sample and reviewing the linked log alongside /etc/mpv/mpv.conf; done means establishing whether the black screen and audio mute are reproducible and documenting a supported configuration or a clear diagnosis.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, ubuntu
Domain
desktop, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.