Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow overwriting the input file #22

Closed
reuben opened this issue Mar 11, 2017 · 3 comments
Closed

Allow overwriting the input file #22

reuben opened this issue Mar 11, 2017 · 3 comments
Assignees

Comments

@reuben
Copy link

reuben commented Mar 11, 2017

Is there any reason why overwriting the input file with the output file is currently forbidden?

@slhck
Copy link
Owner

slhck commented Mar 11, 2017

It's not impossible, but when you do it with ffmpeg, it will truncate and damage the input file.

This could be achieved by creating a temporary file and then renaming it, but it's something I did not foresee since it can be easily done with a shell loop.

But it's on my TODO list!

@slhck slhck self-assigned this Mar 13, 2017
@slhck slhck closed this as completed in 9909813 Jul 31, 2017
@slhck
Copy link
Owner

slhck commented Jul 31, 2017

This should be possible now with -uxf.

@reuben
Copy link
Author

reuben commented Jul 31, 2017

Awesome, thanks! :)

auricgoldfinger pushed a commit to auricgoldfinger/audio-normalize that referenced this issue Dec 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants