jackpot@lemmy.ml to Asklemmy@lemmy.ml · 8 months agois there any way to losslessly convert a whole recursive file directory of .m4a files to .opusmessage-squaremessage-square19fedilinkarrow-up132arrow-down14file-text
arrow-up128arrow-down1message-squareis there any way to losslessly convert a whole recursive file directory of .m4a files to .opusjackpot@lemmy.ml to Asklemmy@lemmy.ml · 8 months agomessage-square19fedilinkfile-text
minus-squareMax-P@lemmy.max-p.melinkfedilinkarrow-up2·8 months agoIt’ll also error out or prompt to overwrite an existing file unless a flag is passed that tells it to overwrite unattended.
minus-squareArcaneSlime@lemmy.dbzer0.comlinkfedilinkarrow-up1·8 months agoSure, 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.
minus-squareMax-P@lemmy.max-p.melinkfedilinkarrow-up1·8 months agoThat’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.
It’ll also error out or prompt to overwrite an existing file unless a flag is passed that tells it to overwrite unattended.
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.
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.