digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Capturing / Recording (http://www.digitalfaq.com/archives/capture/)
-   -   Recording Video: What's Best to do? (http://www.digitalfaq.com/archives/capture/5195-recording-video-best.html)

andybno1 08-25-2003 05:24 AM

Recording Video: What's Best to do?
 
I captured a 3hr sportin event and I was wonderin which is best to do??
1. use the 22gb m-jpeg file and use that straigh through tmpgenc
or
2. convert it to divx andnthen encode to kvcd

which one would anyone recommend?? and what is the best script to use??

el_mero_zooter 08-25-2003 08:29 AM

Re: Whats best to do???
 
Quote:

Originally Posted by andybno1
I captured a 3hr sportin event and I was wonderin which is best to do??
1. use the 22gb m-jpeg file and use that straigh through tmpgenc
or
2. convert it to divx andnthen encode to kvcd

which one would anyone recommend?? and what is the best script to use??

A,
there's really no need to do divx (unless you want to, say for archival purposes), you can go directly to kvcd. If you haven't already, u may wish
to download the kvcd samples, burn them to cdrw and test them out on your dvdplayer to make sure it can play or which kvcd resolution rather, your dvdplayer can play.
For scripts, it'd depend on the quality of your capture, noisy, vhs, satellite, etc...but we can work on scripts.

ztr

andybno1 08-25-2003 09:27 AM

well its analogue capture from satalite tv, pretty clean capture through vfw drivers. I have done many dvd to kvcds but this would be my first attempt at avi to kvcd so any help will be great lol.

vmesquita 08-27-2003 10:15 AM

andybno1,

You can do that for educational purposes, otherwise I advise against it. To get the best results, MJPEG is the way to go.

[]'s
Vmesquita

andybno1 08-28-2003 03:37 AM

ok I'l go with mjpeg then, so seein as I don't have avisynth .20 anymore is there a 2.5 script for avi to kvcd?

vmesquita 08-28-2003 07:34 AM

There is an optimal script for VHS, and I can give the one I use depending of your source... What is your source? VHS, Satellite, cable...? :D

[]'s
Vmesquita

andybno1 08-28-2003 08:24 AM

I tried the optimal script but got a load of not 2.5 compatible filters so gave up lol, the source is a clean stalite capture through vfw drivers.

andybno1 09-04-2003 04:03 AM

so any 2.5 scripts??

incredible 09-04-2003 05:38 PM

Here I posted an AVS 2.5 capture Script, I think your capture is interlaced so it also contains a good adaptive deinterlacer, ... but also see the commends further down of Jorel and DialHot for optimisations ;-)

http://www.kvcd.net/forum/viewtopic.php?t=5067&start=16

vmesquita 09-04-2003 06:37 PM

It's your luck day!

I have a very good script using undot and convolution3D adapted for interlaced stuff! I use with all my satellite captures and they look great. I'll post later (I don't have access right now) for you to try. :D

[]'s
Vmesquita

andybno1 09-06-2003 11:22 AM

cheers for the help will try that scriptout and await vmesquita's script to try out aswell.

nicksteel 09-06-2003 11:58 AM

Quote:

Originally Posted by vmesquita
It's your luck day!

I have a very good script using undot and convolution3D adapted for interlaced stuff! I use with all my satellite captures and they look great. I'll post later (I don't have access right now) for you to try. :D

[]'s
Vmesquita

Do send.

vmesquita 09-07-2003 12:00 AM

Sorry for the delay... Here it goes:

a=AviSource("capture.avi")
a.undot().SeparateFields()
even=SelectEven(a).Convolution3d(0, 10, 17, 10, 13, 2.8, 0)
odd=SelectOdd(a).Convolution3d(0, 10, 17, 10, 13, 2.8, 0)
a=Interleave(even,odd).weave()

a=Crop(a,24,16,680,448).AddBorders(24,16,0,16).lan czosresize(352,480)
return(a)

[]'s
Vmesquita

nicksteel 09-07-2003 04:54 AM

Quote:

Originally Posted by vmesquita
Sorry for the delay... Here it goes:

a=AviSource("capture.avi")
a.undot().SeparateFields()
even=SelectEven(a).Convolution3d(0, 10, 17, 10, 13, 2.8, 0)
odd=SelectOdd(a).Convolution3d(0, 10, 17, 10, 13, 2.8, 0)
a=Interleave(even,odd).weave()

a=Crop(a,24,16,680,448).AddBorders(24,16,0,16).lan czosresize(352,480)
return(a)

[]'s
Vmesquita

Which template/resolution are you using for encoding?

vmesquita 09-07-2003 09:08 AM

When doing interlaced stuff for DVD, I always use 352x480.

[]'s
Vmesquita

andybno1 09-07-2003 12:26 PM

firstly heres the script I used as indicated in the link posted by incredible:

Code:

#==============================================
# An AviSynth 2.5 Script für (PAL)Tv Captures
#==============================================

### The needed Plugins for Avisynth 2.5!!! will be loaded in here
### If you miss one you can find it here:
### http://www.avisynth.org/~warpenterprises/

LoadPlugin("C:\Program Files\MovieStacker\Filters\MPEG2Dec3.dll")
LoadPlugin("C:\Program Files\MovieStacker\Filters\STMedianFilter.dll")
LoadPlugin("C:\Program Files\MovieStacker\Filters\GripFit.dll")
LoadPlugin("C:\Program Files\MovieStacker\Filters\FluxSmooth-2.5.dll")
LoadPlugin("C:\Program Files\MovieStacker\Filters\asharp.dll")

### Load the avi file

AviSource("C:\Capture000.00.avi")

### Change for GripFit into the YV12 colorspace

ConvertToYV12()

### Now we change the size (in here I use 480x576 PAL SVCD Size)

GripCrop(480, 576, overscan=0, source_anamorphic=false)
GripSize(resizer="BilinearResize")

# To work with the following integrated VirtualDub Plugin
# you have to change into the RGB32 Colorspace

ConvertToRGB32()

### We intentionally use the Vdub-Deinterlacer AFTER the resizing,
### cause we did not modify the high of the movie (576!)
### By not modifying the Videos high at "GripCrop" above
### we keep the interlaced lines correctly "alive", but on the other side
### we enjoy a faster deinterlacing process cause of less horiz. size!

### A very good VirtualDub Deinterlacer "SmartDeinterlace"
### with a good compromise of Quality and speed
### Download: http://vdfilters.videoxone.de/downlo.../smart27b2.zip

LoadVirtualdubPlugin("C:\Virtualdub\Smart.vdf","_VD_smartdeinterlace",1)
_VD_smartdeinterlace(0, 1, 15, 100, 0, 0, 0, 0, 1, 2, 1, 0)

### Back to the YV12 colorspace to continue working with the following filetrs

ConvertToYV12()

### Unsharp mask using Asharp

asharp(2, 2)

### Now we remove the noise from the capture videostream

#FluxSmooth(2, 2)# In case of heavy noise, remove the "#" at the BEGINNING of this line ;-)
STMedianFilter(8, 15, 4, 7)

MergeChroma(blur(1.58))
MergeLuma(blur(0.2))

GripBorders()

and well I got one interesting colour sceme.

here is the sample. Anyone know what is wrong here?

incredible 09-08-2003 01:06 PM

Quote:

Originally Posted by andybno1
firstly heres the script I used as indicated in the link posted by incredible:

....

and well I got one interesting colour sceme.

here is the sample. Anyone know what is wrong here?

(first you have to tell the people to copy the URL in the browser adressbar directly to get into the link, it seems that Yahoo prohibits links to Files)

Well your encoding example seems to be strange!
Maybe its a Problem when using this script handling NTSC Streams?

As I told ....

Quote:

LoadVirtualdubPlugin("C:\Virtualdub\Smart.vdf","_V D_smartdeinterlace",1)
_VD_smartdeinterlace(0, 1, 15, 100, 0, 0, 0, 0, 1, 2, 1, 0)
.. this line has to be used with caution, cause I don't know if these Values are the same for NTSC.

But, how does the Pictore look like when opening the .avs in Windows Media Player?
ok?

If there are still Problems ... try to switch off these lines as quoted right here above by adding a "#" in front of the lines and do a test, also by watching the .avs in WindowsMediaPlayer.
If the problem is gone, then you have to correct the Number Values of the Vdub PlugIn by loading this movie into Virtualdub, adding the SmartDeinterlace Filter an do your special settings in the Window.
Let it run in Vdub to test your deinterlacing. If its ok, safe the processing Settings in Vdub and open the .vcf file using Windows Editor.
Copy exactly the new values strored in the line where the SmartDeinterlace command is shown and post them into the capture .avs script.

Another problem could be the ConvertToYV12() command.
Whats the colorspace of your Avi?
Try to switch off the ConvertToYV12() line and do a test. Gone?
Or try to change it to ConvertToYUY2().

Well lets see if it helps.

Let me know .... ;-)

vmesquita 09-08-2003 07:28 PM

incredible,

Avisynth has such great deinterlacers, why use an old VirtualDub plugin to do the job :?:
:idea: Use one of the great VirtualDub Deinterlacers, like Tomsmocomp (my favorite), fielddeinterlacer, GreedyHMA... :wink:

[]'s
Vmesquita

vhelp 09-08-2003 08:25 PM

Hi all..

just jumping in here.. what the heck.. :hihi:

In my script-of-things for my encode projects, I have yet to find an AVIsynth
(AVS) script that handles Interlace well enough for me to accept. I mean,
I've about tried them all, and nothing seems to come close to the level of
quality output that I can, have and do acheave when using vdub filters.. or
should I say, de-Interlace techniques.

But, remember this one important fact which everyone here, there and pretty
much everywhere else is missing..
That Interlace sources are NOT one in the same. They vary from one to
another, for reasons (at the moment) beyond me. What I'm saying here, is
that there seems to be more than one variation of Interlace Types.

My conclusions are based on the many different de-interlacing techniques
I had to employ to many sources, and even though they were all Interlace
sources, the same de-interlace algorythm or technique or filter did not always
produce the same output quality. I find myself having to resort to various
de-interlace techniques, hence the need to index them. And, another thing
to mention here on Interlace..

Well, the above was my two cents worth.
-vhelp

incredible 09-09-2003 01:28 AM

Quote:

Originally Posted by vmesquita
incredible,

Avisynth has such great deinterlacers, why use an old VirtualDub plugin to do the job :?:
:idea: Use one of the great VirtualDub Deinterlacers, like Tomsmocomp (my favorite), fielddeinterlacer, GreedyHMA... :wink:

[]'s
Vmesquita

Hi Vmesquita! ;-)

I tried a lot of avisynths deinterlacers but the best for me is Deinterlace_MAP but too slow even on my overclocked athlon 1800@2400Mhz real. So SmartDeinterlacer gives the best compromoise of quality and speed to me. I tried Fielddeinterlace from avisnth but it seems that its a Non-adaptive deinterlacer, anyway the quali of smartdeinterlacer was better cause of its adaptive deinterlacing routines.
But ... Ill try it again and also the Greedy one, TomsMoComp I know also.
;-) Thanks for the tip. ... Ill run next weekend the big-deinterlacer hall of fame test ;-)))


@vhelp

Quote:

That Interlace sources are NOT one in the same. They vary from one to
another, for reasons (at the moment) beyond me.
Youre exactly right! Thats wy I first modify the settings during a test in Vdub, like I explained in the reply above. There are many techniques like even odd field techniques and so on.
Well the best is to find the best deinterlacer you stay with and integrate it into the capture script above ;-)


All times are GMT -5. The time now is 05:09 AM  —  vBulletin © Jelsoft Enterprises Ltd

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.