VCDQuality Forums
Here you can view your subscribed threads, work with private messages and edit your profile and preferences Frequently Asked Questions Search Home  
VCDQuality Forums : Powered by vBulletin version 2.3.0 VCDQuality Forums > VCDQuality.com > Jargon, Encoding/Conversion and Burning > Easiest way to trim an .avi file?
  Last Thread   Next Thread
Author
Thread Post New Thread    Post A Reply
ChaldeanPimp
Oct 2004


Registered

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.

Report this post to a moderator | IP: Logged

Old Post 01-24-2005 05:35 PM
ChaldeanPimp is offline Click Here to See the Profile for ChaldeanPimp Click here to Send ChaldeanPimp a Private Message Find more posts by ChaldeanPimp Add ChaldeanPimp to your buddy list Edit/Delete Message Reply w/Quote
jenny867
Jan 2004


Registered

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

__________________
Reality is not your friend.

Report this post to a moderator | IP: Logged

Old Post 01-25-2005 12:58 AM
jenny867 is offline Click Here to See the Profile for jenny867 Click here to Send jenny867 a Private Message Visit jenny867's homepage! Find more posts by jenny867 Add jenny867 to your buddy list Edit/Delete Message Reply w/Quote
horizonstar
Dec 2002


$uXor

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!

Report this post to a moderator | IP: Logged

Old Post 01-25-2005 02:37 AM
horizonstar is offline Click Here to See the Profile for horizonstar Click here to Send horizonstar a Private Message Find more posts by horizonstar Add horizonstar to your buddy list Edit/Delete Message Reply w/Quote
chiv
Dec 2003

Zippy The Stunt Turtle

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.

Last edited by chiv on 01-25-2005 at 06:35 AM

Report this post to a moderator | IP: Logged

Old Post 01-25-2005 06:29 AM
chiv is offline Click Here to See the Profile for chiv Click here to Send chiv a Private Message Find more posts by chiv Add chiv to your buddy list Edit/Delete Message Reply w/Quote
J Fresh
Jan 2004


Jord-man

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

__________________

Report this post to a moderator | IP: Logged

Old Post 01-25-2005 06:37 AM
J Fresh is offline Click Here to See the Profile for J Fresh Click here to Send J Fresh a Private Message Visit J Fresh's homepage! Find more posts by J Fresh Add J Fresh to your buddy list Edit/Delete Message Reply w/Quote
ChaldeanPimp
Oct 2004


Registered

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

Report this post to a moderator | IP: Logged

Old Post 01-25-2005 07:26 PM
ChaldeanPimp is offline Click Here to See the Profile for ChaldeanPimp Click here to Send ChaldeanPimp a Private Message Find more posts by ChaldeanPimp Add ChaldeanPimp to your buddy list Edit/Delete Message Reply w/Quote
chiv
Dec 2003

Zippy The Stunt Turtle

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

Report this post to a moderator | IP: Logged

Old Post 02-01-2005 05:24 PM
chiv is offline Click Here to See the Profile for chiv Click here to Send chiv a Private Message Find more posts by chiv Add chiv to your buddy list Edit/Delete Message Reply w/Quote
katsushin
Jan 2005


Zatoichi Sees All

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.

Report this post to a moderator | IP: Logged

Old Post 02-03-2005 07:02 AM
katsushin is offline Click Here to See the Profile for katsushin Click here to Send katsushin a Private Message Find more posts by katsushin Add katsushin to your buddy list Edit/Delete Message Reply w/Quote
All times are GMT. The time now is 06:18 PM. Post New Thread    Post A Reply
  Last Thread   Next Thread
Show Printable Version | Email this Page | Subscribe to this Thread

Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is ON
 

< Contact Us - www.vcdhq.com >

Powered by: vBulletin Version 2.3.0
Copyright ©2000, 2001, Jelsoft Enterprises Limited.