PDA

View Full Version : Confused on capping


cdrips
14th March 2003, 08:47
I'm confused on encoding captured material to xvid for example. I've been searching for some guides on how to encode captured material, but all I've found is some on mpeg conversions. I've read around the forum and I see people using avisynth to encode caps. However, I tried this, but just could not get it to work. I tried searching on the forum again, but got even more confused. I've encoded from dvd and maybe that's why I'm not thinking staight. When I have a capped .avi video in Huffy format, do I load it in Virtualdub and seperate video and audio and deinterlace video? Sorry, but I think I'm just having a hard time understanding all this. I'm using a ATI AiW card with new mmc. If anyone can point me in the direction of what to search for, I'd appreciate it. I have read about capping from VDub though, but I'm still searching on how to fix the no sound problem.

cjv
14th March 2003, 09:13
Load your AVI file like this using avisynth:

AVISource("capture.avi")
# put any trim statements here // Trim() ++ Trim(),
# put deinterlacers here // Telecide(), TomsMoComp(), etc...
# put cropping statements here // Crop()
# put smoothers/filters here // TemporalSoften(), c3d(), etc...
# put resize here // BicubicResize(),
# put any sharpening here // MSharpen(), Unfilter()

To get the audio, open the .avs file in VDub, then go File->Save to WAV. This will extract your uncompressed audio stream which you can later encode to mp3, vorbis, etc.

cjv

Valky
14th March 2003, 12:33
well I also curious about that trim option..using it with those ++ marks you can leave example one commercial brake in the middle of the video without processing?

like this?


avisource("c:\capture.avi")
trim(0,22000)
trim(31000,66000)
crop(4,4,-4,-4)
bilinearresize(352,288)


so this leaves the commercials between frames 22000 and 31000 out of my encoding?
Of course this will probably later give me a headache with audio synching, but anyway?

BaronVlad
14th March 2003, 14:49
Originally posted by Valky
well I also curious about that trim option..using it with those ++ marks you can leave example one commercial brake in the middle of the video without processing?

like this?


avisource("c:\capture.avi")
trim(0,22000)
trim(31000,66000)
crop(4,4,-4,-4)
bilinearresize(352,288)


so this leaves the commercials between frames 22000 and 31000 out of my encoding?

Yes, but if you have done multisegment capture you should use "segmentedavisource".

Originally posted by Valky Of course this will probably later give me a headache with audio synching, but anyway?

Should be no problem. But you can also cut in VDub, you dont have to use trim with avisynth.

homersapien
14th March 2003, 18:53
Originally posted by Valky


so this leaves the commercials between frames 22000 and 31000 out of my encoding?
Of course this will probably later give me a headache with audio synching, but anyway?

A much easier way of doing this is to cut out the commercials in Vdub. Hit HOME at the start, END at the end, then delete.

Valky
15th March 2003, 12:45
Yes so, I thought it would be easier. I was just curious about this trim parameter.

I also remove noise from my captured audio with cool edit and it is easier to mux and de-mux with virtualdub to those parts I wanna process.