0

I want to merge audio and video using ffmpeg. I use following command but it keeps the input (source) files while I want to delete them after they were merged. I want to see if there is a command for that or not!

ffmpeg -i "a.avi" -i "a.wav" -y -acodec copy -vcodec copy "b.avi"

2
  • 3
    This doesn't have much to do with ffmpeg. Issue another command compatible with your shell to delete the files (rm on linux or del on windows)
    – Ely
    Nov 13, 2015 at 16:56
  • 1
    ffmpeg has no such option, so you will have to move or delete the files with other tools, such as mentioned by Ely.
    – llogan
    Nov 14, 2015 at 23:20

1 Answer 1

-1

The same command adding && rm a.avi a.wav at the end.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .