Monday, May 6, 2024
6
rated 0 times [  6] [ 0]  / answers: 1 / hits: 11082  / 1 Year ago, wed, may 10, 2023, 4:09:39

I can make VLC use hardware decoding with



vlc --ffmpeg-hw video.mkv


Is there an equivalent flag for mplayer?


More From » command-line

 Answers
4

Mind you if you have an nVidia graphics card you should not only specify the -vo device but also give a -vc setting. On my own system I give the following on the commandline:


mplayer -vo vdpau filename

(replacing 'filename' with the actual name of your file of course) and place the following in ~/.mplayer/config:


[vo.vdpau]
vc=ffmpeg12vdpau,ffwmv3vdpau,ffvc1vdpau,ffh264vdpau,ffodivxvdpau,

but there are several different ways of doing this. This method allows you to use different video out devices with MPlayer but will give proper -vc values when you specify -vo vdpau from the commandline.


Hope this helps :).


[#40532] Thursday, May 11, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
aslity

Total Points: 336
Total Questions: 133
Total Answers: 98

Location: Zimbabwe
Member since Thu, Jul 21, 2022
2 Years ago
;