CONVERTING AUDIO FILE ON TERMUX APP

Words
193
Reading
1 min
Listen
Play
9y

What Will I Learn?

How to convert audio files on Termux

Requirements

Termux
Install from play store
& FFmeg

Difficulty

  • Intermediate

Tutorial Contents

STEP 1
Install FFmeg
Enter this command
"pkg install -y ffmpeg"
PicsArt_1517011504902.jpg

STEP 2
You will need to enable storage access for termux.
To do this you need to enter the the following command in the app's console
"termux-setup-storage"
A pop up will show up asking for permission to allow that's if you are on Android 6.0 or higher
Screenshot_20180127-005041.png

Or
You could just go to the app info under permission.
PicsArt_1517011828246.jpg
PicsArt_1517011793253.jpg
PicsArt_1517016023647.jpg

PicsArt_1517011903488.jpg
Enable storage
Either ways

**STEP 3 **
Navigate to the folder where you have the audio file.
The folder where I have the audio file is Internal storage / music
So enter the following command
PicsArt_1517012201600.jpg

cd ~/storage/music

Step 4
you need to type this command
PicsArt_1517012293035.jpg
"ls"
To view available files in the folder
PicsArt_1517012293035.jpg
The file we need to convert now is Wizkid-manya.mp3
STEP 5
we will convert it to WAV using the below
command
"ffmpeg -i filename.mp3 newfilename.wav"
PicsArt_1517010986412.jpg

# RESULT
IMG_20180127_014704_502.JPG

IMG_20180127_021306_023.JPG

Curriculum

This is my very first tutorial



Posted on Utopian.io - Rewarding Open Source Contributors

CONVERTING AUDIO FILE ON TERMUX APP | Ecency