How to extract audio from any Video using Command Line Android Termux [Also work for non-rooted Devices]

in #utopian-io8 years ago (edited)

What is Termux?

Termux combines powerful terminal emulation with an extensive Linux package collection.
• Enjoy the bash and zsh shells.

• Edit files with nano and vim.

• Access servers over ssh.

• Develop in C with clang, make and gdb.

• Use the python console as a pocket calculator.

• Check out projects with git and subversion.

What Will I Learn?

How to extract audio from any Video using Command Line Termux

Requirements

Termux

Download Link

Difficulty

  • Intermediate

Tutorial Contents

  • Set-up the Termux
  • Install the ffmpeg Script on Termux.
  • Make directories
  • Set-up termux-file-editor on Termux
  • Extract the audio from video

Procedure

  • With this procedure, you can extract the audio voice from any of your video song or any recorded video by using the command line app Termux. Termux is the most popular command line app that mostly based on Linux.
  • 1: Type command apt-get update && apt-get upgrade and press Enter. Press y if it asked for installing.
    apt update.jpg

y.jpg

  • 2: Now type commandtermux-setup-storage and press Enter and then click on Allow.

IMG-20180310-WA0009.jpg
LLOW.jpg

  • 3: Type command pkg install -y ffmpeg and press Enter. Press y if it asked for installing.
    pkg install m.jpg

  • 4: Type command pkg install wget and press Enter.

insatll wget.jpg

  • 5: Type command mkdir ~/bin and press Enter.

  • 6: Type command mkdir ~/storage/shared/convertedFiles and press Enter.

  • 7: Type command wget http://pastebin.com/raw/JxKNaixQ -O ~/bin/termux-file-editor and
    press Enter.

  • 8: Now type command dos2unix ~/bin/termux-file-editor and press Enter.
    mkdirs.jpg

  • 9: Now go you file manager and select any video file that you want to extract audio and then share it with Termux app.
    share.jpg

  • 10: A popup box will open, enter the new file name and extension .mp3 and tap on Edit.

orig exten.jpg

  • Change the Extension to .mp3 and click on EDIT
  • mp3 exten.jpg
  • 11: Termux will run series of commands. Once it’s done, it’ll prompt you to press the Enter key. Do that.

end enter.jpg

  • 12: Now, go to the internal storage of your Android and look for the folder convertedFiles, open it and there you’ll find all your converted files.
    sdcard.jpg
    there file'.jpg

All Done! you extracted the audio from your Video. Lets test it.


audio.jpg

Curriculum

How to setup and run python and C++ in Android Termux

Tutorial 1: How to download, Install, Run and Use Fish-shell in Termux [Also work for non-rooted devices]

Tutorial 2: How to make a call and send SMS using Android Termux

Tutorial 3: How to install SQLmap in Android Termux [Also work for non-rooted devices]

Tutorial 4: How to Trace exact IP Location on Android Termux [Also work for non-rooted devices]



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

Thank you for the contribution. It has been approved.

You can contact us on Discord.
[utopian-moderator]

Hey @faisalamin I am @utopian-io. I have just upvoted you!

Achievements

  • You have less than 500 followers. Just gave you a gift to help you succeed!
  • Seems like you contribute quite often. AMAZING!

Community-Driven Witness!

I am the first and only Steem Community-Driven Witness. Participate on Discord. Lets GROW TOGETHER!

mooncryption-utopian-witness-gif

Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x

Coin Marketplace

STEEM 0.13
TRX 0.35
JST 0.034
BTC 114527.12
ETH 4430.90
SBD 0.86