Cevilia (she/they/…)

40 year old she/her or they/them or any pronoun. I’m a woman… I think. I pretend to be an elf on the Internet. I’m mostly attracted to femininity.

I use tone indicators.

Trans rights.

“Stay woke. Keep your eyes open.”

/srs

  • 3 Posts
  • 39 Comments
Joined 2 years ago
cake
Cake day: June 16th, 2023

help-circle


  • 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 :)