[ / / / / / / / / / / / / / ] [ dir / random / 93 / biohzrd / hkacade / hkpnd / tct / utd / uy / yebalnia ]

/slackware/ - Slackware Linux

#slackware@irc.rizon.net
Name
Email
Subject
REC
STOP
Comment *
File
Password (Randomized for file and post deletion; you may also set your own.)
Archive
* = required field[▶Show post options & limits]
Confused? See the FAQ.
Options

Allowed file types:jpg, jpeg, gif, png, webp,webm, mp4, mov
Max filesize is16 MB.
Max image dimensions are15000 x15000.
You may upload5 per post.


File: 64cb1418fc6e6ad⋯.png (10.34 KB,128x128,1:1,mpv_logo_128_0baae5aa.png)

 No.17

Currently my favourite video player is mpv.

Overview: mpv is a media player based on MPlayer and mplayer2. It supports a wide variety of video file formats, audio and video codecs, and subtitle types.

Links:

https://mpv.io/

https://github.com/mpv-player/mpv

I prefer to compile mpv myself instead of using a SlackBuild or downloading a pre-compiled package.

Installation instructions (read Generic Instructions): https://github.com/mpv-player/mpv-build

It's important to notice that you don't need to run ./install (read Generic Instructions). Just copy the binary to /user/local/bin or any other place of your choice (preferably inside a executable path).

mpv creates the directory $HOME/.config/mpv

The watch_later directory according to the documentation "Contains temporary config files needed for resuming playback of files with the watch later feature." Use Shift+q/Q to quit a video with resume playback. Play the file normally again and you'll notice it'll resume from when you quit. Quite handy.

You can edit the files in $HOME/.config/mpv to your taste, but here goes my mpv.conf (I have no GUI for mpv):

$ cat .config/mpv/mpv.conf

# Write your default config options here!

#

# Profile:

#profile=pseudo-gui

#

# Gui:

#player-operation-mode=pseudo-gui

#

#terminal=yes

#input-terminal=yes

# Video:

vo=gpu

brightness=0

contrast=0

hue=0

saturation=0

monitoraspect='16:9'

keepaspect

#

# Audio:

ao=pulse

volume=50

volume-max=200

#volstep=5

#softvol=no

#

# Playback:

#mc=0.2

#autosync=30

#

# Subtitles:

sub-ass=yes

sub-font-size=35

#ass-force-style='FontName=Clean,Style.Regular=1'

#vf=sub=125:0

#sub-pos=90

#

# OSD:

#really-quiet

osd-font-size=20

#osd-blur=20

#osd-color=0.5/0.75

osd-msg1=''

osd-msg2='${time-pos} / ${duration}'

osd-msg3='${time-pos} / ${duration} (${percent-pos}%)${?cache: ${cache}%} x${speed} ${frame-drop-count} ${avsync}\n${filename}'

My input.conf is almost the default so I won't paste it here.

From the mpv IRC channel a long time ago I got the following command line to compile mpv after a first compilation: ./update –master && ./clean && ./build -j4

I put that inside a text file, made it executable (you can also use sh to execute it) and then I run it in the mpv-build directory whenever I want to update mpv. Before using it yourself, check the documentation. That command line is old and I haven't verified if it's still recommended (I do need to read the documentation too).

$ cat programs/mpv-build/j2run

./update –master && ./clean && ./build -j4

Have fun!

____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
Post last edited at


[Return][Go to top][Catalog][Nerve Center][Random][Post a Reply]
Delete Post [ ]
[]
[ / / / / / / / / / / / / / ] [ dir / random / 93 / biohzrd / hkacade / hkpnd / tct / utd / uy / yebalnia ]