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

  • ArcaneSlime@lemmy.dbzer0.com
    cake
    link
    fedilink
    arrow-up
    1
    ·
    3 months ago

    Sure, but if it errors out no harm no foul, and don’t pass any flags to overwrite the input file which I had not included above.

    While I’m thinking about it, what is that flag? Because afaik ffmpeg can’t overwrite and convert the file simultaneously, you have to use a temp file.

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

      That’s the point: you have to go out of your way to accidentally overwrite your input files with ffmpeg.

      And no it indeed can’t output to the same file as input.