by Devin Yang
(This article was automatically translated.)

Published - 3 years ago ( Updated - 3 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

Raspberry Pi 3 Raspberry Pi operating system installation

In this article, share the use of built-in instructions on MacOS to install the operating system of Raspberry Pi. Regarding the dd command during this installation process, please carefully specify the parameter of your of, which is the location of the write output to the file, If you make a mistake, your system will be destroyed.

linux, centos, rsnapshot

How to install rsnapshot on CentOS 7

rsnapshot is a rsync-based tool that can perform snapshot incremental backups. However, we installed which rsnapshot in CentOS. Why is there no such command? There is no way to install it with yum install rsnapshot?

linux,config

Ubuntu ppp0 renamed eth0

Not sure who will use it, but I encountered it myself, because my home is a floating IP. A software I installed cannot detect that the ppp0 network card is an external network, so changing the name can trick him into successfully installing it.