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

  • M. Orange
    link
    fedilink
    61 year ago

    Unless the m4a files are ALAC-encoded, you shouldn’t do it. m4a files tend to hold AAC-encoded audio, which is a lossy format. Opus is also a lossy format, so you’ll only lose sound quality, basically. You should only convert lossless to lossy.

      • 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.

  • @hperrin@lemmy.world
    link
    fedilink
    11 year ago

    Opus is lossy, so no. But they’re already stored in a lossy format, so you probably won’t notice a difference if you use the same bitrate.