Equivalent for "mpv --hwdec=vaapi --gpu-context=x11egl --vo=gpu"?

*nix specific usage questions
vvvvlllllccccc
Blank Cone
Blank Cone
Posts: 11
Joined: 11 Oct 2014 12:40

Equivalent for "mpv --hwdec=vaapi --gpu-context=x11egl --vo=gpu"?

Postby vvvvlllllccccc » 27 Nov 2018 05:20

I opened the 4K HEVC jelly video file with VLC, and the video was choppy with 90%+ CPU usage. The same with MPV.

But after web searching, I found this parameter, and now the video was played fine with lower than 10% CPU usage.

Code: Select all

mpv --hwdec=vaapi --gpu-context=x11egl --vo=gpu jelly.mkv
What is the equivalent for VLC? I think "hwdec" is like Codecs->Hardware-accelerated decoding, and "vo" is like Video->Output. But what is "gpu-context"?

VLC: 3.0.4
OS: Ubuntu 18.10
GPU: RX 560

Rémi Denis-Courmont
Developer
Developer
Posts: 15267
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Equivalent for "mpv --hwdec=vaapi --gpu-context=x11egl --vo=gpu"?

Postby Rémi Denis-Courmont » 27 Nov 2018 19:23

--gl
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 6 guests