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

Remove the Linux Kernel that is not used by the old version on Ubuntu

This page describes how I removed the old version of Linux Kernel taking up space on ubuntu.

linux, python, colab

How to connect to colab from our Server through ssh?

Introduce a bash I wrote to connect to colab vm through ssh. One line of instructions, get colab OpenSSH Server.

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.