When all else fails, get Termux and just run the commands manually / setup some scripts.
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!
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 :)
Just got this set up and it works like a charm! Thx so much for the help!
You're welcome, the collaborative effort wins again :)
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, ...
I use this minimal ffmpeg wrapper app for all my media encoding needs: https://play.google.com/store/apps/details?id=com.silentlexx.ffmpeggui
I don't know if the GUI has any support for audio, but you can just give it a plain ffmpeg command if needed.
I use ffmpeg on termux but you can also use ffmpeGUI which is basically command line ffmpeg with a gui wrapper
I don't know how to do it on Android, but look into variable bit rate (VBR) rather than 320 kb/s. 320 kb/s is a constant bit rate (CBR), and means that silence is given the same quality and detail as the busiest track, and takes up space for no reason.
The highest VBR setting, V0, is indistinguishable from 320, but saves space. Depending on your ears and the phone speakers, you might be able to drop the quality slightly and save more space 👍
Thanks! I might try vbr for a few and see if I notice a quality difference with that, last time I tried it, I looked at it in audacity and the waveforms were a tad off so I have just fallen back on 320 CBR mostly, but it might sound fine honestly.
It is highly unlikely you will be able to hear a difference.
https://trac.ffmpeg.org/wiki/Encode/MP3
If you have golden ears or are just that worried, why not use a lossless codec like flac?
@basiclemmon98
Wish this was still maintained
https://github.com/brarcher/video-transcoder/releases/tag/v0.14
It was good for a quicky job
There's ffshare on f-droid, but I've never tried it, don't know if it works.
Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ
⚓ 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:
- !seedboxes@lemmy.dbzer0.com
- !trackers@lemmy.dbzer0.com
- !qbittorrent@lemmy.dbzer0.com
- !libretorrent@lemmy.dbzer0.com
- !soulseek@lemmy.dbzer0.com
Gaming:
- !steamdeckpirates@lemmy.dbzer0.com
- !newyuzupiracy@lemmy.dbzer0.com
- !switchpirates@lemmy.dbzer0.com
- !3dspiracy@lemmy.dbzer0.com
- !retropirates@lemmy.dbzer0.com
💰 Please help cover server costs.
![]() |
![]() |
---|---|
Ko-fi | Liberapay |