PDA

View Full Version : alternative to mkvmergeGUI for splitting/cropping?


Sion
8th April 2009, 23:16
Hello...

I often want to create short clips of .mkv files, so I can play around with encoder settings in megui or handbrake, etc., without having to encode an entire 30, or 45 minute (or longer!) video each time.

So far, I've used mkvmergeGUI to split the mkv files (x264) into smaller parts. I usually split into 1-minute segments, limit # of files to 2 or 3 or so, then delete the extra long remainder segment.

It would be really cool though if I could just crop out a 30 or 45 second section from the *middle* of the video, and discard everything else. This way if there was a particularly challenging (encoder/processor wise) section of the video in the middle, I could just play with that part. With my current method, I'd have to split all of the file up to the segment of interest, into several 1-minute segments. This is annoying to do ... there's gotta be a better way. Besides, it's slow!

So, is there a way to do this in mkvmergegui or is there another application (preferably opensource/freeware) that can do this well and fast?

Thanks...

unskinnyboy
9th April 2009, 02:53
Avidemux.

Inspector.Gadget
9th April 2009, 05:31
Yeah, Avidemux will be the way to go. Make sure to grab the latest SVN build from Lord Mulder's site as well as the latest x264 build for Avidemux. As always, make sure to cut only on I-frames (keyframes), particularly since Avidemux H.264 handling is not as stable as it will be in version 2.6. By the way, for using esoteric Avisynth plugins in Avidemux, the AVS Proxy GUI is invaluable.

corporalgator
12th April 2009, 20:06
If you're encoding in megui, you can just use the trim option in the avisynth script and specify what parts you want to encode unless I'm not understanding what you want to do.

trim(frame, frame) trim(5000, 5100) etc.