Cutting Clips

This forum is for questions and discussion of all the aspects of handling and cleaning up your footage with Avisynth.
Duelingk
Joined: Tue Feb 06, 2007 5:53 pm
Org Profile

Cutting Clips

Post by Duelingk » Thu Sep 18, 2008 12:48 pm

I have always heard that Lossless codecs take up alot of space. The suggested method was always to cut the clips you need out of the source video. How do i do that? Use a video editing program to cut individual clips, then render it? Doesn't that lose quality when preformed? There must be some other way i dont know about.

User avatar
The Origonal Head Hunter
The Propheteer
Joined: Sat Jul 16, 2005 12:21 am
Status: Hooked on a Feeling
Location: State of Denial
Org Profile

Post by The Origonal Head Hunter » Thu Sep 18, 2008 12:54 pm

1) Get VirtualDubMod

2)
JaddziaDax wrote:2.open the video file in virtualdub mod
Image
use those to mark the beginning and the end of the "clips" you want
RonnieDaking wrote:i like my anime like I like my women, from japan and speaking english
Image
Boredom.

Duelingk
Joined: Tue Feb 06, 2007 5:53 pm
Org Profile

Oh...

Post by Duelingk » Thu Sep 18, 2008 1:18 pm

And that keeps the same quality and everything? Well thanks for the help.

User avatar
Vivaldi
Polemic Apologist
Joined: Sat Sep 29, 2007 9:39 am
Location: Petting mah cat..
Org Profile

Re: Oh...

Post by Vivaldi » Thu Sep 18, 2008 1:35 pm

Duelingk wrote:And that keeps the same quality and everything? Well thanks for the help.
Well, you load your .avs into virtualdub, and then using the method above, select small clips and convert just those clips to lossless. So yes, there won't be any quality loss.
Image
Image
<Kenzichu> HAHAHA!!
<Kenzichu> everyone died!

Duelingk
Joined: Tue Feb 06, 2007 5:53 pm
Org Profile

Post by Duelingk » Thu Sep 18, 2008 1:42 pm

Oh! ok. Well i have a small problem with the conversion part. I end up with a super fast video. I was told it was a framerate problem, but i dont know how to fix it.

User avatar
mirkosp
The Absolute Mudman
Joined: Mon Apr 24, 2006 6:24 am
Status: (」・ワ・)」(⊃・ワ・)⊃
Location: Gallarate (VA), Italy
Contact:
Org Profile

Post by mirkosp » Thu Sep 18, 2008 3:10 pm

Put

Code: Select all

AssumeFPS(29.97)
in your script. If it still is too fast, try to put 23.976 instead of 29.97, or perhaps try 25 if your video is PAL. If none of these parameters work, then just try another framerate, perhaps 24 or something else, until you find the right working one.
Another way might be specify the fps parameter if you're using the directshowsource. You do it like this:

Code: Select all

directshowsource("C:\filepath\filename.extension", fps= 29.97)
The directshowsource will automatically take that as the framerate to use... it will fix problems that might occur with vfr videos, for example.
Image

Duelingk
Joined: Tue Feb 06, 2007 5:53 pm
Org Profile

Post by Duelingk » Thu Sep 18, 2008 3:15 pm

I kinda got the same argument going on in two forums by complete accident. See the problem is that there is an error in the code somewhere. Cause avisynth wont even open the file after i put the Fps. See someone else told me to put the Fps of the video. So the code i use is
ffmpegsource("C:\Users\Owner\Desktop\Raws\Code Geass Hangyaku no Lelouch 24 DVD RAW (x264 704x480 AAC)[3B4B2245]")
AssumeFPS(95.904095)

User avatar
LivingFlame
Joined: Sat May 28, 2005 4:41 pm
Location: Closer than you think...
Org Profile

Post by LivingFlame » Thu Sep 18, 2008 3:24 pm

o.O

The fps definitely shouldn't be that high. I dunno what VLC was doing, but video doesn't go that fast. O.o

Your standard frame rates are:
29.97 (NTSC standard)
23.976 (IVTC film)
24 (film)
25(PAL)

and a few others that are so rare I don't even feel like mentioning them.
... yea ...

User avatar
LivingFlame
Joined: Sat May 28, 2005 4:41 pm
Location: Closer than you think...
Org Profile

Post by LivingFlame » Thu Sep 18, 2008 3:29 pm

Or at least I've never seen a frame rate go that high...
... yea ...

Duelingk
Joined: Tue Feb 06, 2007 5:53 pm
Org Profile

Post by Duelingk » Thu Sep 18, 2008 3:58 pm

Well that is what VLC said. Here is some info according to Vlc on the video:
Framefrate: 95.04095
Stream1:
Sample rate: 48000hz
Bits per sample: 16
Bitrate: 1536 kb/s

Hope it helps...

Locked

Return to “AviSynth Help”