i have a bunch of .m4a files in one folder, 1000s. can i automate their conversion somehow?

  • ArcaneSlime@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    2
    ·
    8 months ago

    Well sure always back up everything but this command will create new .opus files still leaving the original .m4a in the folder too, so even if it errors just delete the bad .opus files and try to resolve your ffmpeg codec issue before retrying the conversion or trying another method. Ffmpeg in my experience always converts with the “makes a new file with your file(s)” method, I’ve never had it do the “change the file destructively” method.

    • Max-P@lemmy.max-p.me
      link
      fedilink
      arrow-up
      1
      ·
      8 months ago

      It’ll also error out or prompt to overwrite an existing file unless a flag is passed that tells it to overwrite unattended.