Take the 2-minute tour ×
Video Production Stack Exchange is a question and answer site for engineers, producers, editors, and enthusiasts spanning the fields of video, and media creation. It's 100% free, no registration required.

What application is there that can open a video, modify it, and save it?
(the software that I am using now, only allows the video to be used as a source, and then exported)

I have adobe premier, but it does not actually edit videos, you have to make a new project, and set the output type/settings, then import the video, then bring in the video, edit it, and then save it.

I also have iMovie, and again, project, import, edit, export.

Is there any application that I can open a mp4 video make edits (clipping segments) and save it in the same format/size/container/etc as it was opened in?

share|improve this question
3  
Que? Editing software merely allows you to edit - they will not edit for you. –  0x2bad 0xdeadbeef Dec 19 '12 at 19:41
    
If I understand correctly you want to avoid rendering out a new video. You just want tp cut a piece of video and click save. Quicktime Player on the Mac (and probably on Windows) allows you to do this. –  Bart Arondson Dec 19 '12 at 21:23
    
h.264 is not an all-I-frame codec. That means that the frames are dependant on other frames. This is a problem when you cut it, because you may be trimming off the frames on which it depends. TL;DR: You'll find that it will have to be at least partially re-encoded no matter what you use. –  stib Dec 20 '12 at 6:21
    
I'm not asking for the software to edit for me, just trying to update the workflow. My workflow now is, [new project (setup dimensions), import source, edit new video, export video w/o right settings], instead i want to [open video, edit video, save video (in original format/dimensions) –  nycynik Dec 20 '12 at 16:28

4 Answers 4

up vote 4 down vote accepted

If you can script yourself, all you need to do is call FFmpeg repeatedly:

ffmpeg -ss [start-time] -i input.mp4 -c copy -t [clip-time] output.mp4

Here, start and clip times can be in the form HH:MM:SS.mmmm, or just in seconds.


To give you a rough idea how that'd look like in Ruby, see this Gist of mine. It contains a script that takes an edit list, a folder of videos, and cuts them accordingly. I've used it very often for cutting videos based on an input edit list.

The edit list would look like that, with the timestamps in the proper FFmpeg format (e.g. 00:00:24.240) and the difference passed to -t in the last column.

Note that you can't expect it to work with any input/output without synchronization issues. If that's the case, you need to re-encode video and audio parts. I wouldn't use that script of mine though as it's not very … eloquent in that regard. Rather cut your video in a NLE.

share|improve this answer
    
THIS is perfect. Thank you very much. Exactly what I needed. –  nycynik Dec 20 '12 at 16:05
    
Thanks! Let me know if you run into problems, I'm happy to improve that script – been a while since I've used it! –  slhck Dec 20 '12 at 22:12

Open your video in Quicktime Player, click Edit -> Trim and place the start and end marks at the desired beginning and end of your clip. Hit Trim and then click Save.

share|improve this answer
    
the only problem is it changes the video format, wish it could keep the format, but this is much faster then editing with the tools I was using. –  nycynik Dec 19 '12 at 22:01
    
Faster yes, but it's very limited. I just now see that you have a batch of files, then ffmpeg might come in handy. Just google ffmpeg and if you have any specific questions regardin ffmpeg and trimming you can ask them here of course. And not sure if it's an error but you've chose Chris's answer as accepted. –  Bart Arondson Dec 19 '12 at 23:05

What do you mean by "Edit"? If splitting/cutting all you need, take a look at AVS Video Remaker, which makes it without conversion.

share|improve this answer
    
This is also perfect, but I use a mac. But its the right type of software to solve simple edits w/o conversion. –  nycynik Dec 20 '12 at 16:22

I think you are trying to reinvent the wheel here...premiere does exactly what you want it to do, just use google to figure out the parts you dont understand

share|improve this answer
    
OK- I have about 51 videos to trim, they are not uniform size, so im googling, but it seems like I need to set the dimensions for each project, and i must create the project for each video i want to edit, but im googling.. –  nycynik Dec 19 '12 at 21:39
    
I was not able to find a way for premier to do this, it always has to follow the new project, new scene, import, trim, export/encode. Thats a lot of work to trim videos. I am accepting Barts answer, even tho that one changes the video format, i can batch encode them all after I finish the trims. –  nycynik Dec 19 '12 at 22:00

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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