Another very nice way to crop a video using mpv.
How to use mpv to crop out a section of a video file and not require reencoding. This is very simple.
How to use mpv to crop out a section of a video file and not require reencoding. This is very simple.
How to scale a video in mpv with the console. A very useful command-line to scale fast.
How to watch Digital Television with MPV on Linux very easily. Using a USB Dongle.
How to record a video stream with MPV on Linux. This is very easy.
How to have a persistent progress bar in MPV.
How to set the geometry of an MPV window in Xorg.
How to stream a TikTok video to MPV using yt-dlp.
How to use MPV to play a video and have a nice VHS video effect on it.
Some more very useful tips for the MPV movie player on Linux. How to play a Youtube video and select the resolution.
Very useful MPV tips and hotkeys When playing a movie in MPV and you wish to inspect a certain scene, press the SPACE key to pause and then the < and > keys to move a frame at a time backwards or forwards to see a frame by frame analysis of the scene. Press Shift-a … Read more
Watching television online is very easy if you are an Australian. There are some very useful streams to watch television over the Internet. The steps described in this posting will get you started with streaming television online. https://securitronlinux.com/battlefield/stream-television-online-with-mpv-on-linux/. Use the command below to watch Seven television in MPV with the ASCII display. ┌──[[email protected]]─[~/Desktop] └──╼ ╼ … Read more
Saving your place in a movie when exiting MPV is very easy, this would be very useful when watching a long film and you need to exit the player and watch some more later. Add this to the ~/.config/mpv/mpv.conf file. save-position-on-quitsave-position-on-quit This will allow the player to resume playback when you restart playing a movie … Read more
This is a sample command, I used this to record TV with MPV from a stream. This is quite problematic, but I managed to get this working on the example stream. ┌──[[email protected]]─[~] └──╼ ╼ $ mpv https://c.mjh.nz/101002210221/ –stream-record=tv1.ts –demuxer-lavf-probe-info=yes [ffmpeg] hls demuxer: Can’t support the subtitle(uri: hdntl=exp=1607128378~acl=%2f*~data=hdntl~hmac=a731c5d7a64c0589edb0290b2e2f44e9c48f2dbb1cf2f564d3d0914ee3341922/index_7_0.m3u8) Video –vid=1 ‘bitrate 1910576’ (h264 1024×576 25.000fps) Video … Read more
It is possible with MPV to play a playlist, which is a list of URL`s one on each line, and this will be played in order by MPV. This is very easy to do. Make a playlist in VIM. This example works just fine. You do not need any special characters, just one URL on … Read more
SSH is amazing in that it can allow a user to access the resources of one machine from another over the network. But with fast gigabit Ethernet connections these days, playing movies from one machine from another is now possible. Install SSHFS on your machine. jason@jason-desktop:~/remote$ sudo apt install sshfsjason@jason-desktop:~/remote$ sudo apt install sshfs Create … Read more
There is a very nice trick you can do with MPV on Linux. This is playing 3 videos at once. In the above image, I am playing 3 videos at once with mpv on Linux. This is very easy to do and a lot of fun. This is how to do it. Have one initial … Read more
There is an easy way to listen to Sydney radio stations over the Internet on Linux. Use the mpv media player. This can stream the radio stations with no effort. Copy the listing of radio stations to your terminal like this. 4.4 Mon Jun 08 jason@Yog-Sothoth 1: $ wget -O- -q http://i.mjh.nz/au/Sydney/radio.pls4.4 Mon Jun 08 … Read more
To get DVD playback working on Ubuntu, the libdvdcss library is required. This is easily installed and necessary to decode a DVD properly for playback. Install this package to prepare for installation. This also allows automated updates to the library. 4.4 Sat Feb 29 jason@Yog-Sothoth 1: $ sudo apt install libdvd-pkg4.4 Sat Feb 29 jason@Yog-Sothoth … Read more
The mpv media player can scale the output, just as mplayer does. This can be useful. Use this parameter to scale the video. -vf scale=960:720-vf scale=960:720 This is how this is done. This will scale the output to 960×720 pixels. 4.4 Mon Jul 08 jason@Yog-Sothoth 0: $ mpv -vf scale=960:720 olr_2_5_controller.mp44.4 Mon Jul 08 jason@Yog-Sothoth … Read more
This nice command allows streaming some nice ambient drone music in the terminal with MPV. Very nice to listen to while doing other things. mpv http://ice.somafm.com/dronezone | sed -n "s/ icy-title: \(.*\)/\x1b[38;5;242m$(date +%T)\x1b[m | \1/p"mpv http://ice.somafm.com/dronezone | sed -n "s/ icy-title: \(.*\)/\x1b[38;5;242m$(date +%T)\x1b[m | \1/p" Play a Youtube video audio only, this is another way … Read more