I need a application to cut video files. I have tried some applications and they require me to save the cut video into a new file rather than overwriting the original file.

This is quite annoying because I won't regret cutting those junk part of a video and I wish to save it and overwrite it.

Any suggestion please?

link|improve this question

47% accept rate
What platform is this for? – Clare Macrae Oct 21 '11 at 8:17
Windows xp....words limit... – gunbuster363 Oct 21 '11 at 8:43
I doubt that you are going to get a positive answer for this. – paradroid Oct 31 '11 at 3:25
Which programs did you try? If it is a free, open-source app, you can post a request to provide an option to do that. If it is a commercial app that you paid for, then you can post a request to provide an option to do that. – Synetech May 25 at 17:40
feedback

2 Answers

When you are cutting a video, you are really just pointing how where you would like the new clip to start and stop - it doesn't actually create the new cut video file until you save it.

At this point, it reads the original video file, and writes a new one based on the cuts you have decided upon.

This is why you cannot overwrite the original, it is required during the saving process.

link|improve this answer
They should write a temp file for that, then overwrite the original one with the temp file, and delete the temp file. – gunbuster363 Oct 21 '11 at 6:02
@gunbuster363, yes they could do that, but since unlike text files, videos are large and re-acquiring them if you decide you did want it would be a big hassle, they leave the original file alone. Can you not simply move the new file and overwrite the original? – Synetech May 25 at 17:38
feedback

If all you want is automating the process of replacing the file after its done, you could use any software you want that provides a line command (such as HandBrake) and use any shell script to do it for you. Being in windows, use a batch such as this:

handbrakecli ref=1:weightp=1:subq=2:rc-lookahead=10:trellis=0:8x8dct=0 -i %1.mp4 -o %1.tmp
del %1.mp4
ren %1.tmp %1.mp4
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.