Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add quirks section to video playback notes #296

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions recipes/video-playback.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,30 @@ And then using `LD_PRELOAD_PATH` to instruct `mpv` to use different library:
LD_PRELOAD_PATH=/usr/lib/aarch64-linux-gnu/gbm mpv --vo=gpu --gpu-context=drm --hwdec=rkmpp video.mkv
```

### Quirks

If you experience distorted or very jerky video playback, try adding the follwing switch:

--drm-mode=21

or

--drm-mode=17

If you get large horizontal black bars during video playback ('letterboxing'), you may be able to achieve full screen playback by adjusting the aspect ratio.

Tap 'A' during playback of a video to cycle through aspect modes or use a switch to make it permanent by adding something like:

--video-aspect=1.3333

To the example mpv command above.

mpv defaults to rotating videos that have been shot in potrait mode. To get it to ignore videos rotation metadata and always play videos in landscape mode add:

--video-rotate=no

To the example mpv command.

## Thanks

You should thank [LongChair](https://github.com/LongChair) and [Kwiboo](https://github.com/Kwiboo/) for making this work!