digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   goign to take about a day to encode 2-hour movie? (http://www.digitalfaq.com/archives/encode/3578-goign-day-encode.html)

andybno1 05-12-2003 02:05 AM

goign to take about a day to encode 2-hour movie?
 
well I captured something last night that was 1hr 45mins done the essentials to the capture lke seperate audio and video and encode audio to mp2. But now about 10mins ago I pt a capture throguh tmpgenc and it says its goin to take about a day to do 1hr 45mins of film here check it out for youselves:

http://www.digitalfaq.com/archives/error.gif

and the script is:

Code:

LoadPlugin("C:\fitcd\MPEG2DEC.dll")
LoadPlugin("C:\fitcd\fluxsmooth.dll")
LoadPlugin("C:\fitcd\GripFit_preview.dll")
LoadPlugin("C:\fitcd\Convolution3D.dll")
LoadPlugin("C:\fitcd\MergeChroma.dll")
LoadPlugin("C:\fitcd\MergeLuma.dll")
LoadPlugin("C:\fitcd\UnFilter.dll")
LoadPlugin("C:\fitcd\STMedianFilter.dll")
LoadPlugin("C:\fitcd\DustV5.dll")
LoadPlugin("C:\fitcd\sampler.dll")
LoadPlugin("C:\fitcd\legalclip.dll")

avisource("C:\*.avi")
ConvertToYUY2()
LegalClip()
# GripCrop( X, Y )
# GripSize(resizer="BicubicResize")
STMedianFilter(10, 30, 0, 0, 10, 30)
FaeryDust() # or PixieDust()
unfilter(50,50)
# mergechroma(blur(1.50))
# mergeluma(blur(0.2))
# Convolution3d or DCTFilter for extreme worse cases.
# GripBorders()
LegalClip()


Boulder 05-12-2003 08:50 AM

Encoding captures (MJPEG, HuffYUV) is slower than encoding DivX or DVD material to MPEG-1.

You are also filtering the source with FaeryDust which is _extremely_ slow compared to many other filters.

Are you also resizing in TMPGEnc (if that's the script you're using and your source is not 352x576 itself, you are) ? That's very slow too compared to resizing in the script.

andybno1 05-12-2003 11:56 AM

the res of the avi is 640x480 and it was converted from mjpeg to divx low-motion, I only have faerydust cause thats how it was on the optimal script section which I think was beginning of this month.

Boulder 05-12-2003 12:08 PM

Well, if you let TMPGEnc do the resizing, it is painfully slow.

Try this script:

Code:

LoadPlugin("C:\fitcd\MPEG2DEC.dll")
LoadPlugin("C:\fitcd\fluxsmooth.dll")
LoadPlugin("C:\fitcd\GripFit_preview.dll")
LoadPlugin("C:\fitcd\Convolution3D.dll")
LoadPlugin("C:\fitcd\MergeChroma.dll")
LoadPlugin("C:\fitcd\MergeLuma.dll")
LoadPlugin("C:\fitcd\UnFilter.dll")
LoadPlugin("C:\fitcd\STMedianFilter.dll")
LoadPlugin("C:\fitcd\DustV5.dll")
LoadPlugin("C:\fitcd\sampler.dll")
LoadPlugin("C:\fitcd\legalclip.dll")

avisource("C:\*.avi")
ConvertToYUY2()
LegalClip()
GripCrop( 352, 576 )
GripSize(resizer="BicubicResize")
STMedianFilter(10, 30, 0, 0, 10, 30)
FaeryDust() # or PixieDust()
unfilter(50,50)
mergechroma(blur(1.50))
mergeluma(blur(0.2))
# Convolution3d or DCTFilter for extreme worse cases.
GripBorders()
LegalClip()

Replace the *.avi with the actual path :wink:

I'm not 100% sure of the GripCrop parameters, but I think that they should be the same as the wanted output resolution.

andybno1 05-12-2003 03:30 PM

oh no no no no, not a big fan of gripcrop, I find it crops the initial source as I found out when I done Batman Forever. I disabled faerydust like u said it slows it down, wow gone from 23hrs to 11hrs. YAY Thanx

Boulder 05-13-2003 04:10 AM

Well then, do the resizing in the script and you'll get some more speed.

Code:

LoadPlugin("C:\fitcd\fluxsmooth.dll")
LoadPlugin("C:\fitcd\MergeChroma.dll")
LoadPlugin("C:\fitcd\MergeLuma.dll")
LoadPlugin("C:\fitcd\UnFilter.dll")
LoadPlugin("C:\fitcd\STMedianFilter.dll")
LoadPlugin("C:\fitcd\sampler.dll")
LoadPlugin("C:\fitcd\legalclip.dll")

avisource("C:\*.avi")
ConvertToYUY2()
LegalClip()
BicubicResize(352,576,0,0.6)
STMedianFilter(10, 30, 0, 0, 10, 30)
unfilter(50,50)
mergechroma(blur(1.50))
mergeluma(blur(0.2))
LegalClip()

You may want to add some overscan blocks if your TV crops the picture. For 352x576 I use 2 overscan blocks (you can get the proper values with FitCD).

The script would look like this with 2 overscan blocks:

Code:

LoadPlugin("C:\fitcd\fluxsmooth.dll")
LoadPlugin("C:\fitcd\MergeChroma.dll")
LoadPlugin("C:\fitcd\MergeLuma.dll")
LoadPlugin("C:\fitcd\UnFilter.dll")
LoadPlugin("C:\fitcd\STMedianFilter.dll")
LoadPlugin("C:\fitcd\sampler.dll")
LoadPlugin("C:\fitcd\legalclip.dll")

avisource("C:\*.avi")
ConvertToYUY2()
LegalClip()
BicubicResize(320,528,0,0.6)
STMedianFilter(10, 30, 0, 0, 10, 30)
unfilter(50,50)
mergechroma(blur(1.50))
mergeluma(blur(0.2))
AddBorders(16,24,16,24)
LegalClip()

If you see the black borders, try 1 overscan block. Just replace 320,528 with 336,560 in the resizing line and use AddBorders(8,8,8,8) (the last number is eight).

Overscan blocks allow you to use more CQ as there's less actual film pixels to encode. If your TV crops the picture, you can fill that area with black and won't lose any film pixels there.

andybno1 05-13-2003 02:37 PM

tahxnfor the help, seems to be workin much faster now thanx :wink:


All times are GMT -5. The time now is 03:37 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.