jackpot@lemmy.ml to Asklemmy@lemmy.ml · 1 年前is there any way to losslessly convert a whole recursive file directory of .m4a files to .opusmessage-squaremessage-square22fedilinkarrow-up133arrow-down14file-text
arrow-up129arrow-down1message-squareis there any way to losslessly convert a whole recursive file directory of .m4a files to .opusjackpot@lemmy.ml to Asklemmy@lemmy.ml · 1 年前message-square22fedilinkfile-text
minus-squareMax-P@lemmy.max-p.melinkfedilinkarrow-up2·1 年前It’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·1 年前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.
minus-squareMax-P@lemmy.max-p.melinkfedilinkarrow-up1·1 年前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.
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.