Log in

View Full Version : How to extract time ranges from videos?


666
9th March 2005, 04:45
Hello,

I have an xvid file 28 minutes long.

I am trying to extract the video from 3 min to 6 min and from 11 min to 12 min.

I do not want to do any conversions. I just want to cut these 2 parts from the video as they are.

I could not find a time option. But there is trim option. Unfortunately it is taking frames as arguments. Also, whatever I do in Vdub (like direct stream option), I always get the video uncompressed when I save it if I am using an avisynth script.

Can someone assist me?

Thanks!

Backwoods
9th March 2005, 04:58
Just load your Xvid clip into Virtual Dub, no AVISynth.

666
9th March 2005, 05:12
Originally posted by Backwoods
Just load your Xvid clip into Virtual Dub, no AVISynth.

Hello Backwoods,

Vdub does not allow me to mark 2 different time slices. Besides, I don't want this to be done manually.

Thanks!

stickboy
9th March 2005, 06:54
Originally posted by 666
Vdub does not allow me to mark 2 different time slices.Select the time from 0:12:00 to the end of the video, hit delete.

Select 0:06:00 to 0:11:00, hit delete.

Select 0:00:00 to 0:03:00, hit delete.

If you use AviSynth, yes, you will need to recompress the video. AviSynth decompresses the video frames.

E-Male
9th March 2005, 07:04
calculating framenumbers from timecodes and frmaerate isn't that hard

666
9th March 2005, 10:29
Originally posted by stickboy
Select the time from 0:12:00 to the end of the video, hit delete.

Select 0:06:00 to 0:11:00, hit delete.

Select 0:00:00 to 0:03:00, hit delete.

If you use AviSynth, yes, you will need to recompress the video. AviSynth decompresses the video frames.

Hello stickboy,

Assuming you have 20 different time slices to extract from 100 different files each, would you still be hitting delete? : ((

or would you rather feed the time slices to a file and let the program do it?

I am sure you got my point!

How about vdub? Would it be possible to create a batch file like that there?

Thanks.

666
9th March 2005, 10:30
Originally posted by E-Male
calculating framenumbers from timecodes and frmaerate isn't that hard

Hello E-Male,

Yes, this is an idea but I wanted to know if it is already being done by the program.

Thanks!

666
9th March 2005, 20:52
Alright I can get this stuff done automatically in Vdub through job control scripts.

Thanks for all the help!