Log in

View Full Version : simple question...DV in CCE using AVISYNTH???


whoman421
11th November 2003, 21:39
I've captured some DV from my camera, and it is at 720x480. CCE opens it fine, but AVISYNTH [and VirtualDub] does not. I need to resize the video to 352x480, so I really need to use AVISYNTH. I tried DirectShow Source but that didn't work either [but I'd rather not use that anyway, as I'd like to process the audio as well.

I'm assuming by reading many posts that it's possible, but I haven't found info on exactly how.

Can someone please point me in the right direction to open my DV captured AVI file in AVISYNTH?

sorry if this is asked way too often.

DDogg
11th November 2003, 23:58
Do you have avisynth installed? You gave 0 information. What error did you get when you attempted to open it in VirtualDub? A standard avisyth script would be: avisource("c:\yourdv.avi")

Have you installed a VFW codec? If not do so. Use the panasonic (http://forum.doom9.org/attachment.php?s=&postid=265418) one available in the sticky. Copy the dll to your system or system32 directory and double click the reg file.

moon1234
15th November 2003, 19:34
I disagree. I would use the Canopus codec.

In any event you may need to change the AVI FourCC in order to open the DV source in AviSynth. You can get a FourCC changer by installing any of the laster builds of the Xvid codec. The four CC changer is located under the Xvid program group. The FourCC for the Canopus codec is CDVC (Just remember "Canopus DV Codec")

You should then be able to open the file with Avisource(). Remember to trim off 8 pixels on each side of the horizontal axis.

Here is the scipt that I use:

avisource("f:\capture\wng.avi")
LoadPlugin("C:\Program Files\AviSynth 2.5\2Plugins\LoadPluginEX.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\dustv5.dll")
#Telecide(order=0)
#Decimate()
#FieldDeinterlace(Blend=false)
UnFoldFieldsVertical(true)
Pixiedust()
#FixBrokenChromaUpsampling()
#Levels(16,1,224,0,255)
FoldFieldsVertical(true)
Crop(8,0,-8,0)
#Sharpen(.75)
BicubicResize(480,480,0,.75)
Crop(0,4,0,-4)
AddBorders(0,4,0,+4)
#ConvertToYuY2()
#Trim(0,300)

Dust can be found on this board. Since dust is a temporal-spacial cleaner it does not work well with interlaced sources. That is why you see the UnFoldFieldsVertical(true) and FoldFieldsVertical(true) commands. Descriptions of these can be found using a search on this board.

My destination is interlaced SVCD, you can change your resizing to suit your needs.

Make sure that you uncheck "Top field first". You will also need to fix the RFF/TFF bug if using CCE 2.5.1 encoded DV material.

You can do this with pulldown using the following command:

"C:\Program Files\DVD2SVCD\Pulldown\pulldown.exe" "f:\capture\movie.mpv" "f:\capture\movie1.mpv" -nopulldown -norff -tff even

Then multiplex and author with your favorite program.

-Moon1234