Back Forum Reply New

analog capture processing guide

I finished my analog capture processing guide. You can find it here:
index.php?pa...to_XviD%2FSVCD

Comments, reactions , corrections, additions, etc., are welcome!

Long anticipated - now it´s there!

Thankyou Wilbert for having it all in one document.

One guess though: SVCD is still in YUV2 colourspace (at least with the encoders I use) I have seen the little questionmark behind SVCD -
but maybe you know an encoder that I don´t know?

Harald

AFAIK, VCD, SVCD, DVD amp; DivX, all are in YV12.

well, first I have to ask about this trim..if I want to remove advertises in the middle of movie that last 3000 frames. How could I do that? I know they start at frame 15000 and end at frame 18000 but if I use trim(14999,17999) I end up with movie that last only 3000 frames, right?

Also, havent you guys have had any problems with PicVideo mjpeg since this script or even plain avi doesn't work in avisynt at least when using RealMedia. It doesn't produce 700mb file it always stops at 518mb.

I have discussed it before at this thread:
showthread.ph...029#post295029video=AviSource(quot;E:\capture\capture.aviquot;, false)
audio = wavsource(quot;E:\capture\capture.wavquot;)
video=audiodub(video,audio)
video=ConvertToYV12(video)
#video=trim(video,102300,102900)
#video=Levels(video,0, 1.2, 255, 0, 255)
#video=TemporalSoften(video,3,4,4,mode=2,scenechange=10)
#video=AutoCrop(video,1,wMultOf=4, hMultOf=4)
video=cnr2(video)
video=crop(video,4,2,380,572)
video=bilinearresize(video,384,288)
video=Convolution3d(video,1,10,20,10,10,0,0)
video=ConvertToYUY2(video)
return(video) btw, in this script there is trim function but it also produce me an exmaple clip between those frames..

One guess though: SVCD is still in YUV2 colourspace (at least with the encoders I use) I have seen the little questionmark behind SVCD - but maybe you know an encoder that I don´t know?

Like Awatef said SVCD in YV12. The questionmark behind SVCD doesn't mean anything (Wiki stuff for making links), I removed it.

if I want to remove advertises in the middle of movie that last 3000 frames. How could I do that? I know they start at frame 15000 and end at frame 18000 but if I use trim(14999,17999) I end up with movie that last only 3000 frames, right?

clip=AviSource(...)
return trim(clip,0,14999)+trim(clip,18000,framecount(clip)-1)

Also, havent you guys have had any problems with PicVideo mjpeg since this script or even plain avi doesn't work in avisynt at least when using RealMedia.

I don't know about RealMedia. Can you open your avs script in Virtualdub?

@Wilbert

Thank you for the capture guide!  It is very thorough and informative.

I had one small question though.  In your resulting sample script, all noise filtering is done before letterbox amp; cropping.  Wouldn't the 16 lines of garbage on the bottom interfere with the noise filters?  I am ignorant about this, but most other guides/suggestions I have read put noise filtering after crop and before resize (with IVTC/deinterlace usually going before crop).  Is there any particular reason for your choice?

-kaitsuburi

Wouldn't the 16 lines of garbage on the bottom interfere with the noise filters?

Yes, in general it's probably better to do it before denoising. I will change that, thx.

Very good work!! Let's hope we get a way to get images up there soon!

Minor stuff:

ColorYUV(off_y=-28, gain_y=64)
Tweak(sat=0.8)
Limiter()can be compacted into:

ColorYUV(off_y=-28, gain_y=64, cont_u=-50, cont_v=-50, opt=quot;coringquot;)

cont_u, cont_v is calculated: - (0.2* 256.0)  (compare it to quot;subtract 20%quot;)
opt=quot;coringquot;  is the same as quot;Limiter()quot;.

Personally I would convert to yv12 as soon as possible in the script - but that's a rather personal opinion.

Originally posted by Wilbert
Like Awatef said SVCD in YV12. The questionmark behind SVCD doesn't mean anything (Wiki stuff for making links), I removed it.clip=AviSource(...)
return trim(clip,0,14999)+trim(clip,18000,framecount(clip)-1)I don't know about RealMedia. Can you open your avs script in Virtualdub?

Yes, I can..and I can encode testclips from the same clip using trim-option. Is this PicVideo avisynth 2.5x related or RealMedia encoder?

thank you very much Wilbert

for this complete capture guide.

server (e.g. to host images), send me email.

@Sh0dan,

Thanks, I will change it.

I guess the contrast is determined in the same way, ie

cont_y = - ((1-contrast)* 256.0)  # contrast from the Tweak filter

I guess

off_y = brightness  # brightness from the Tweak filter

What about hue? Is that related to off_u and off_v?

@Valky,
Yes, I can..and I can encode testclips from the same clip using trim-option. Is this PicVideo avisynth 2.5x related or RealMedia encoder?

Sorry I can't help you with that.

@Wilbert:  I don' know if there is a way to translate hue - but I have yet to find a clip where it is actually useful.  You have much more control over the color settings, when using off_u and off_v.

I could add the parameters from Tweak to ColorYUV, and make automatic quot;translationquot; of saturation, contrast and brightness, so that the same parameters from tweak can be used in ColorYUV. I guess that would make it much easier to use for entry users.

I could add the parameters from Tweak to ColorYUV, and make automatic quot;translationquot; of saturation, contrast and brightness, so that the same parameters from tweak can be used in ColorYUV. I guess that would make it much easier to use for entry users.

That would be great! (If you don't I will add the quot;translationsquot; to the docs.)
¥
Back Forum Reply New