TMLewiss2
22nd October 2004, 10:33
Ok, I am encodeing TV rips (SciFi Channel things) and I mostly use VirtualDubMod, AviSynth, DVD2AVI and BeSweet. My problem is that I don't know how to use audio in AviSynth, maybe I am going about this all wrong but here is what I am doing.
LoadPlugin("C:\Program Files\AviSynth2\plugins\decomb521.dll")
LoadPlugin("C:\Program Files\AviSynth2\plugins\MPEG2Dec3.dll")
Mpeg2Source("C:\My Videos\Projects\Farscape.d2v",cpu=4,iPP=true)
telecide(1)
decimate(cycle=5, quality=3)
blur(1)
sharpen(.4)
TemporalSoften(4,4,8,15,2)
saturation = 1
cu = - (1-saturation)*256
ColorYUV(off_y=-9, gain_y=0, cont_u=cu, cont_v = cu, opt="coring")
Crop(8,60,-8,-60)
ConvertToRGB32()
Trim(13706,22274) ++ Trim(27717,43376) ++ Trim(47956,60254)
++ Trim(64826,74448) ++ Trim(79529,92149) ++ Trim(96985,98773)
Now that comes out to pretty good quality, but no audio at all. I know I can add the audio via "streams" in VirtualDubMod, but then it won't be trimmed to the right spots. I really don't want to convert it to an avi first. So what do I do? Oh yeah one other questions, if Decimate (Decomb Plugin) goes by every X frames, if I trim the movie wouldn't that make it remove the wrong frames? Anyways, feel free to improve script and thanks in advance for any help on this topic.
P.S.: Sorry if this is in the wrong spot, it contains audio and digital TV capture, so I didn't know where to put it.
LoadPlugin("C:\Program Files\AviSynth2\plugins\decomb521.dll")
LoadPlugin("C:\Program Files\AviSynth2\plugins\MPEG2Dec3.dll")
Mpeg2Source("C:\My Videos\Projects\Farscape.d2v",cpu=4,iPP=true)
telecide(1)
decimate(cycle=5, quality=3)
blur(1)
sharpen(.4)
TemporalSoften(4,4,8,15,2)
saturation = 1
cu = - (1-saturation)*256
ColorYUV(off_y=-9, gain_y=0, cont_u=cu, cont_v = cu, opt="coring")
Crop(8,60,-8,-60)
ConvertToRGB32()
Trim(13706,22274) ++ Trim(27717,43376) ++ Trim(47956,60254)
++ Trim(64826,74448) ++ Trim(79529,92149) ++ Trim(96985,98773)
Now that comes out to pretty good quality, but no audio at all. I know I can add the audio via "streams" in VirtualDubMod, but then it won't be trimmed to the right spots. I really don't want to convert it to an avi first. So what do I do? Oh yeah one other questions, if Decimate (Decomb Plugin) goes by every X frames, if I trim the movie wouldn't that make it remove the wrong frames? Anyways, feel free to improve script and thanks in advance for any help on this topic.
P.S.: Sorry if this is in the wrong spot, it contains audio and digital TV capture, so I didn't know where to put it.