VCDQuality Forums
Show all 8 posts from this thread on one page

VCDQuality Forums (http://www.vcdhq.com/forum/index.php)
- Jargon, Encoding/Conversion and Burning (http://www.vcdhq.com/forum/forumdisplay.php?forumid=9)
-- Easiest way to trim an .avi file? (http://www.vcdhq.com/forum/showthread.php?threadid=54314)


Posted by ChaldeanPimp on 01-24-2005 05:35 PM:

Easiest way to trim an .avi file?

Hey, I've never been able to find this out, so you are a god if you can help me. I have an .avi file that I simple want to trim the beginning and end. I have found the only way to do this is by programs which trim the movie, but then force you to use a video/audio compressor for the output.
Can't I just trim off a part of the video without going through all that? Thanks in advance.


Posted by jenny867 on 01-25-2005 12:58 AM:

Virtualdub. Under video and audio, use options "direct stream copy".

__________________
Reality is not your friend.


Posted by horizonstar on 01-25-2005 02:37 AM:

I use mencoder for this all the time. There are several ways to specify the start and end positions ... times, bytes, frame numbers, etc.

Example:

mencoder -ss 00:00:20 -endpos 730000000b file.avi -ovc copy -oac copy -o file.cut.avi

Not much encoding is necessary; it's mostly just copying and takes about 3 minutes for a 700MB file on my 867MHz laptop.

__________________


Scrobble all you want, we'll make more!


Posted by chiv on 01-25-2005 06:29 AM:

i suggest nandub, its what i use for splitting movies and trimming them all the time - i wish some sod hadn't told me ages ago (when i knew far less about this kinda stuff...) that 'you can only trim them if you re-encode the film'... BAH. sod

anyway, nandub is easy, just load the film, press 'home', hold shift, and 'right arrow' to fast forward to the keyframe (important to cut on a keyframe) you want to cut to, then press 'end', and 'delete'

now hold 'control' and 'right' to skip to the very END of the film, press 'end', then 'shift' and 'left arrow' to scan backwards through the film, to find the keyframe you want to cut too. press 'home' then 'delete'.

-then go video/direct stream copy

finally, file, save as, then save your trimmed file..

quite a few steps, but insanely easy when you actually do it.


Posted by J Fresh on 01-25-2005 06:37 AM:

nandub is basically virtualdib with a bit more features i guess.....like ac3 and cbr audio right?

__________________


Posted by ChaldeanPimp on 01-25-2005 07:26 PM:

Thanks for all the responses. I'll try them all once I get home from work.


Posted by chiv on 02-01-2005 05:24 PM:

i just got into the habit of using nandub for any post encoding work -ie adding sound, and then after that, splitting the file to 2 cds, so thats the only reason i suggested it


Posted by katsushin on 02-03-2005 07:02 AM:

quote:
Originally posted by Sobaku
nandub is basically virtualdib with a bit more features i guess.....like ac3 and cbr audio right?

nandub supports VBR(if its a scene rls itll have vbr)...vdub doesnt and will want to rewrite the audio header potentially causing you uneeded headaches.

nandub is also much easier to trim with. open nandub/set both video and audio to "direct stream copy"(audio should default to direct stream copy and AVI audio...thats what you want)/hit ctl+o and find your file/navigate(use the slider or keyframe buttons and fine tune with left and right arrows that move it a frame at a time) to start position of the part you want - press "home" key/navigate to end of the part you want - press "end" key/hit F7 and choose name for new file/hit enter and wait a bit.
You can also pick out multiple clips in batch. just check the "add operation to job list..." box in the middle of the save dialoge each time you ad a new clip...when youre done hit F4 and start.


All times are GMT. The time now is 06:11 PM.
Show all 8 posts from this thread on one page

Powered by: vBulletin Version 2.3.0
Copyright © Jelsoft Enterprises Limited 2000 - 2002.