How to play a Youtube video with MPV and skip to a certain section.

Playing a Youtube video with mpv is very easy, it is also possible to skip to a certain part of the video whenever you wish. Make sure that you have the latest version of Youtube-dl first. sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/bin/youtube-dlsudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/bin/youtube-dl Then run this command, and it should work … Read more

How to get a nice waveform display with the MPV media player on Linux.

Play a music file in your terminal with a nice visualization, using this one-liner. This is very nice way to get a simple animation whilst playing a music file. MPV does support a massive amount of playing options, and using a visualization while playing music is another hidden feature. mpv –config=no –quiet –vo=tct –lavfi-complex='[aid1]asplit[ao][a1];[a1]avectorscope=r=25:m=lissajous_xy:bc=200:gc=100:rc=75:bf=5:gf=3:rf=1:zoom=2[vo]’ https://www.gnu.org/music/markushaist-free-software-song.oggmpv … Read more

How to play a movie with mpv in your terminal window.

This command will display an image in your terminal. Very useful for viewing images without using an external image viewer. mpv –no-config –pause –vo=tct https://stallman.org/rms.jpgmpv –no-config –pause –vo=tct https://stallman.org/rms.jpg Play a movie in your terminal window with mpv. 4.4 Thu Nov 29 jason@Yog-Sothoth 0: $ mpv –no-config –vo=tct fc4.mp44.4 Thu Nov 29 jason@Yog-Sothoth 0: $ … Read more

How to encode a section of a movie to a webm file with mpv.

To encode a section of a movie file to a high-quality webm file, use this simple addon for mpv. Firstly run this command to create a directory to put the lua script. mkdir -p ~/.config/mpv/scriptsmkdir -p ~/.config/mpv/scripts Then download the required script to the directory we created. This is located on this Github. https://github.com/ekisu/mpv-webm. wget … Read more

How to shuffle play a directory full of movies with mpv on Linux.

The mpv movie player can play a directory of movies randomly, this is useful if the user wants movies playing randomly in the background. Do it like this. mpv –shuffle /media/jason/Seagate\ Backup\ Plus\ Drive/Movies/**mpv –shuffle /media/jason/Seagate\ Backup\ Plus\ Drive/Movies/** This is the result, a randomly chosen movie from your collection. This is how to do … Read more