@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-square20fedilinkarrow-up133arrow-down14file-text
arrow-up129arrow-down1message-squareis there any way to losslessly convert a whole recursive file directory of .m4a files to .opus@jackpot@lemmy.ml to Asklemmy@lemmy.ml • 8 months agomessage-square20fedilinkfile-text
minus-squareMax-Plinkfedilink2•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-square@ArcaneSlime@lemmy.dbzer0.comlinkfedilink1•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-Plinkfedilink1•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.