![]() To toggle between play or pause, run: $ playerctl play-pause smplayer To go the previous track, run: $ playerctl previous smplayer To go to the next track, run: $ playerctl next smplayer To pause the currently playing track (assuming you have only one running player), run: $ playerctl pause smplayer Playerctl will automatically play the track playing in the currently opened player. If there were only one player is running, you don't have to use "-p" or "-player" switch. To play the track, run: $ playerctl play -p smplayer ![]() Vlc is stopped and smplayer is playing now. You can view the status of a player by mentioning its name with playerctl command: $ playerctl status vlcĪs you can see, currently there are two players available (currently opened and running players) in my system. Control Media Players Using Playerctlįirst, list all available players using command: $ playerctl -l The latest source files are available in the releases page. If it is not available in the official repositories, you can manually compile and install it from using source. On openSUSE: $ sudo zypper install playerctl On Debian, Ubuntu and derivatives: $ sudo apt-get install playerctl ![]() On Arch Linux: $ sudo pacman -S playerctl So, you can install it using the distribution's default package manager. Playerctl is available in the official repositories of all modern Linux distributions. Some of the popular media players that can be controlled using Playerctl are given below. Using Playerctl, we can manage the all media players that implement the MPRIS D-Bus Interface Specification. It will allow you to play, pause media files, switch to next or previous track, increase or decrease the volume, stop the playback etc. User specific options override system-wide options and options given on the command line override either.Playerctl is a command line utility for controlling media files from Terminal. etc/mplayer or /usr/local/etc/mplayer), the user specific one is ~/.mplayer/config. The system-wide configuration file ‘nf’ is in your configuration directory (e.g. See the Configuration Files section in the man page for more information. ![]() Simply add the following in the “# audio settings #” section You can change this quickly by creating an alias alias mplayer='mplayer -af scaletempo'Ī more permanent way to set this is to configure your mplayer configuration file. You can change this by starting mplayer with the switch -af scaletempo So if you speed it up the speaker starts to sound like a chipmunk, and if you slow it down female voices start to sound like male voices. I strongly recommend taking some time to review the keyboard controls in the manpage.īy default mplayer will not maintain pitch when you change the speed. You can use the key will speed up by 50% of the current rate For people with Dyslexia this is very empowering as it gives them control over the rate of input. In other cases you may want to slow down a recording so that you can transcribe the text. In some cases you may wish to speed up podcasts, to get more enjoyment in. Not very useful for music but very handy if you are listening to speech. One of it’s lesser known features is the ability to speed up or slow down whatever it’s playing. Mplayer is a fantastic media player and I have been using it as the default tool to play both music and speech for years now. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |