23

I use Dab to rip wav files, but I want to reencode them to 320 kb/s MP3s on android. I can't seem to find a good program to do that. Any suggestions? (I can already do it on desktop, I specifically need mobile)

you are viewing a single comment's thread
view the rest of the comments
[-] Zikeji@programming.dev 13 points 5 days ago

When all else fails, get Termux and just run the commands manually / setup some scripts.

[-] basiclemmon98@lemmy.dbzer0.com 7 points 4 days ago

I was really hoping for something I could just use without running commands with a phone keyboard (it feels so odd to do that), but scripting it instead of having to manually run commands everytime seems like it could be fine. Thanks for the suggestion!

[-] Cevilia@lemmy.blahaj.zone 5 points 4 days ago

Termux will accept files "shared" to it, and pass the full filename to ~/bin/termux-file-editor

So, if it's the only thing you plan to use Termux for, you could make your ~/bin/termux-file-editor something like:

#!/bin/bash
ffmpeg -i "$1" -b:a 320k "$1.mp3"

...and then never think about it again, just share files via Termux and it'll re-encode them for you. :)


or, if you don't specifically need CBR and just want ffmpeg to output on its highest quality:

#!/bin/bash
ffmpeg -i "$1" -q:a 0 "$1.mp3"

I'm not sure of the exact syntax, but hope this at least helps point you in the right direction :)

[-] basiclemmon98@lemmy.dbzer0.com 3 points 4 days ago

Just got this set up and it works like a charm! Thx so much for the help!

[-] Cevilia@lemmy.blahaj.zone 3 points 4 days ago

You're welcome, the collaborative effort wins again :)

[-] frongt@lemmy.zip 2 points 4 days ago

And if you want to make it fancy, make that a wrapper script that checks the incoming file type. MP3s get transcoded, text files get opened, ...

load more comments (3 replies)
this post was submitted on 11 Aug 2025
23 points (100.0% liked)

Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ

63502 readers
566 users here now

⚓ Dedicated to the discussion of digital piracy, including ethical problems and legal advancements.

Rules • Full Version

1. Posts must be related to the discussion of digital piracy

2. Don't request invites, trade, sell, or self-promote

3. Don't request or link to specific pirated titles, including DMs

4. Don't submit low-quality posts, be entitled, or harass others



Loot, Pillage, & Plunder

📜 c/Piracy Wiki (Community Edition):

🏴‍☠️ Other communities

FUCK ADOBE!

Torrenting/P2P:

Gaming:


💰 Please help cover server costs.

Ko-Fi Liberapay
Ko-fi Liberapay

founded 2 years ago
MODERATORS