Proposal: indicate when software encoding is used
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 37k
- Forks
- 3.5k
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 22
Description
I think a lot of mpv users like me would be surprised to learn that it is not doing hardware encoding by default. Nothing is displayed when software encoding is used, and thousands of lines of man page have to be read to get down to --hwdec. So the user has to either wonder why CPU load is a little high, or stumble over a guide that mentions it.
While there are legitimate problems with enabling hwdec by default (as discussed in https://github.com/mpv-player/mpv/issues/12948), mpv could guide the many users for whom hwdec would be a good idea, to enable it.
I propose displaying something like this:
Not using hardware decoding. (Try --hwdec=yes to enable it or press Ctrl+h.)
In the same place that this is displayed when it is enabled:
Using hardware decoding (vaapi).
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the existing status message that reports “Using hardware decoding (vaapi)” and trace how hardware-decoding state is determined. Add the corresponding message for software decoding, including the suggested --hwdec=yes option or Ctrl+h shortcut, and verify that it appears in the same place.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100