digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   TMPGEnc: Why is encoding taking so long? (http://www.digitalfaq.com/archives/encode/13188-tmpgenc-encoding-long.html)

oxycotton420 01-13-2005 07:02 PM

TMPGEnc: Why is encoding taking so long?
 
Hello again i am encoding a 196 minute DVD pal to a 2 cd VCD using this script and it is taking about 16 hours to do this process can somone tell me why and what things i don't need in my script?

Code:

LoadPlugin("D:\KVCD\avisynth plugins\MPEG2Dec3.dll")
LoadPlugin("D:\KVCD\avisynth plugins\GripFit_YV12.dll")
LoadPlugin("D:\KVCD\avisynth plugins\STMedianFilter.dll")
LoadPlugin("D:\KVCD\avisynth plugins\asharp.dll")
LoadPlugin("D:\KVCD\avisynth plugins\unfilter.dll")
LoadPlugin("D:\KVCD\avisynth plugins\undot.dll")

Mpeg2Source("D:\DVDr\movie\VIDEO_TS\movie.d2v")

undot()
asharp(1, 4)

BicubicResize(352,432,0,0.6,8,0,704,576)
STMedianFilter(3, 3, 1, 1 )
MergeChroma(blur(1.5))
MergeLuma(blur(0.1))


ScriptClip(" nf = YDifferenceToNext()" +chr(13)+ "unfilter( -(fmin(round(nf)*2, 100)), -(fmin(round(nf)*2, 100)) ).TemporalSoften( fmin( round(2/nf), 6), round(1/nf) , round(3/nf) , 1, 1) ")


AddBorders(0,72,0,72)
#Trim(0,188727).FadeOut(150)
function fmin( int f1, int f2) { return ( f1<f2 ) ? f1 : f2}

Pentium 4
1.61 Ghz
512 MB ram

Dialhot 01-13-2005 07:16 PM

Unfortunally you need everything.

oxycotton420 01-13-2005 07:17 PM

Quote:

Originally Posted by Dialhot
Unfortunally you need everything.

haha :D
hmmm is it normal to be taking that long for that long of a movie to encode? i mean 16 hours thats a lot 8O

Dialhot 01-13-2005 07:24 PM

Which answer do you expect ?

We can't know what is running on your PC, how fast is your disc, how big is its fragmentation level, what you are doing with it while it is encoding.

So what can we tell you ? Yes it is normal. If tmpgenc needs 16h, then it needs 16h.

oxycotton420 01-13-2005 07:27 PM

Quote:

Originally Posted by Dialhot
Yes it is normal

:D all i wanted to hear bro

kwag 01-13-2005 07:55 PM

And for a movie of 196 minutes, encoding at 1.61 Ghz, it sounds about right :!:

-kwag

oxycotton420 01-13-2005 08:15 PM

yeah and btw kwag i tried the 352 * 576 and it was a cq level of 68 so thats good but quality not that good but i understand why cause its a 196 minute movie trying to put on 2 cd's :) thx anyways

Boulder 01-14-2005 05:08 AM

Change the last line of the MA part from

(3/nf) , 1, 1) ")

to

(3/nf) , 1, 2) ")

and see how long it would take then. Mode 2 is supposed to be faster (and better) than mode 1. I think Kwag changed it because it caused problems with some cartoon?

Encoder Master 01-14-2005 06:45 AM

No, he didn't change it. But gives it also better quality?

Boulder 01-14-2005 07:11 AM

Quote:

Originally Posted by Encoder Master
No, he didn't change it. But gives it also better quality?

Yes he did.
Quote:

Changed scenechange detect from 0 to 1 and "Mode" from 2 to 1 on TemporalSoften parameters. The old parameters were causing some problems on Anime/Cartoon types of movies.
I don't know what the problems were since I've never seen anyone complain about TemporalSoften and anime/cartoons. Mode 2 should produce better quality.

Encoder Master 01-15-2005 03:15 AM

Quote:

ScriptClip(" nf = YDifferenceToNext()" +chr(13)+ "unfilter( -(fmin(round(nf)*2, 100)), -(fmin(round(nf)*2, 100)) ).TemporalSoften( fmin( round(2/nf), 6), round(1/nf) , round(3/nf) , 1, 1) ")
But here I can't see. :?

Boulder 01-15-2005 05:00 AM

Kwag switched from mode 2 to mode 1. The last number in the MA part :wink:

TemporalSoften( fmin( round(2/nf), 6), round(1/nf) , round(3/nf) , 1, 1) ")

Encoder Master 01-15-2005 06:33 AM

Quote:

Change the last line of the MA part from

(3/nf) , 1, 1) ")

to

(3/nf) , 1, 2) ")
But you say he should change to 2. :)

Boulder 01-15-2005 06:37 AM

Because mode 2 is faster and produces better quality than mode 1. I don't know what the problem with mode 2 was with MA, but I've never seen any complaints about it. Besides, the problem has been reported only with cartoons/anime, and I'm quite sure it doesn't even apply to every single cartoon/anime source.


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