by Devin Yang
(This article was automatically translated.)

Published - 4 years ago ( Updated - 4 years ago )

I have some audio files downloaded from Youtube that I want to play in the background, do I know how to do it?
There are all command lines, it is not difficult for me to make a front-end broadcast... :p
mpv is almost passable, and playing mp3 is no problem.

1. First, download the Termux terminal software
2. Install the mpv command (apt install mpv)
$ mpv --help
Usage: mpv [options] [url|path/]filename

Basic options:
--start=
3. You can add parameters when playing, for example: --no-video
The Android download directory is in /sdcard/Download
$ mpv --no-video 歌曲及歌詞.mp4
Video --vid=1 (*) (h264 640x360 30.000fps)
(+) Audio --aid=1 (*) (aac 2ch 44100Hz)
AO: [opensles] 44100Hz stereo 2ch float
A: 00:00:12 / 03:00:26 (0%) Cache: 4575s/150MB
Even if the piezoelectric power is turned off, the screen still has sound..:)

Tags: linux termux

Devin Yang

Feel free to ask me, if you don't get it.:)

No Comment

Post your comment

Login is required to leave comments

Similar Stories


linux

How to install the monitor tool htop on CentOS

Htop is a free (GPL) ncurses-based program monitor tool for Linux. It is similar to top, but allows you to scroll vertically and horizontally, so you can see the full command line running on the system, And you can view them as program trees, select multiple programs and operate them.

php,linux

WebShell Function Introduction and Precautions

I suddenly wanted to introduce what is WebShell, so I found one on the Internet. Its functions are quite good. But I still wanted some features, so I spent three nights making some small optimizations for him. If you haven't heard of WebShell yet, take a look at this video. If you like my optimized version, please give me a like, thank you.

linux

About setfacl

I think most of the current Linux supports Access Control List (ACL). With filesystem ACLs enabled, We can set additional permissions to different users or groups. This allows us to set the file system permissions of different users more freely. Go straight to the command.