digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   Avisynth: Increasing compression through preprocessing (http://www.digitalfaq.com/archives/avisynth/2150-avisynth-increasing-compression.html)

SansGrip 01-15-2003 12:51 AM

Quote:

Originally Posted by kwag
That looks perfectly good for one CD :D

It's pretty good, but it's no Signs -- I'll keep tinkering with it :).

kwag 01-15-2003 01:01 AM

Well it seems I'll be re-encoding "Monte Cristo" with a CQ > 70 at 528x480 :mrgreen:
I just ran a sample at 70 and was ~1MB lower then predicted. And I also had 1 blocks overscan, and not 2 as I usually do for 528x480. So I figure the CQ is going to be ~74-75, and that's a hell of good quality for 528x480 :D

-kwag

SansGrip 01-15-2003 01:07 AM

Quote:

Originally Posted by kwag
the CQ is going to be ~74-75, and that's a hell of good quality for 528x480 :D

It sure is. What's the movie length/AR? What script?

kwag 01-15-2003 01:11 AM

Quote:

Originally Posted by SansGrip
Quote:

Originally Posted by kwag
the CQ is going to be ~74-75, and that's a hell of good quality for 528x480 :D

It sure is. What's the movie length/AR? What script?

131 minutes, 32 seconds. Here's the script I'm using:

Code:

LoadPlugin("C:\encoding\MPEG2DEC.dll")
LoadPlugin("C:\encoding\fluxsmooth.dll")
LoadPlugin("C:\encoding\GripFit_preview.dll")
LoadPlugin("C:\encoding\blockbuster.dll")
LoadPlugin("C:\encoding\legalclip.dll")
LoadPlugin("C:\encoding\sampler.dll")
LoadPlugin("C:\encoding\vobsub.dll")
LoadPlugin("C:\encoding\convolution3d.dll")
LoadPlugin("C:\encoding\dustv3.dll")

Mpeg2Source("K:\COUNT_OF_MONTE_CRISTO\VIDEO_TS\count.d2v")
LegalClip()
vobsub("K:\COUNT_OF_MONTE_CRISTO\VIDEO_TS\VTS_01_0")
GripFit( width=528, height=480, overscan=2 )
FaeryDust()
Convolution3D(preset="movieLQ")
GripBorders()
LegalClip()

Sampler(length=24)
## MPEG size = ((Total frames/MovieTimeInMinutes)/24) * MPEG sample file size ##

Looks like final CQ is going to be 71.5, as 72 was just barely over.

Edit: Aspect wide screen 16:9

-kwag

SansGrip 01-15-2003 01:16 AM

Quote:

Originally Posted by kwag
131 minutes, 32 seconds. [...] Aspect wide screen 16:9

That's a very high CQ for a >2hr 16:9 movie... Mind you, it should be fairly compressible because it's quite dark and mostly low-action. Gonna post a sample? :)

kwag 01-15-2003 01:19 AM

Quote:

Originally Posted by SansGrip
Quote:

Originally Posted by kwag
131 minutes, 32 seconds. [...] Aspect wide screen 16:9

That's a very high CQ for a >2hr 16:9 movie... Mind you, it should be fairly compressible because it's quite dark and mostly low-action. Gonna post a sample? :)

You bet :D. 5 minutes to end the sample ( FaeryDust is really slow :cry: )
Then I'll cut a sample and post it here. Don't go to sleep yet :mrgreen:

-kwag

SansGrip 01-15-2003 01:25 AM

Quote:

Originally Posted by kwag
FaeryDust is really slow :cry:

Very. However, Steady is already working on a new version (mostly rewritten, from what I can gather) that uses a different algorithm for motion estimation. Should be much faster.

Quote:

Don't go to sleep yet :mrgreen:
I'm going to have to watch that sample tomorrow, because I'm dead in my chair here. Have a good one -- see you in the morning ;).

kwag 01-15-2003 01:31 AM

So it will be CQ=71 :D
Here you go: http://www.kvcd.net/count-sample-528x480-cq71.mpg
That's for one CD. :wink:

-kwag

GFR 01-15-2003 05:22 AM

Quote:

Originally Posted by SansGrip
Quote:

Originally Posted by kwag
(haven't seen the movie yet, just the sample 8))

It's not great ;) -- nowhere near as much swashbuckling as there should be :D.

Agreed - not great.

But, DO read the book! It's awesome!

SansGrip 01-15-2003 08:44 AM

Quote:

Originally Posted by kwag
That's for one CD. :wink:

Very nice... Man, I'd forgotten how dark that movie is :).

SansGrip 01-15-2003 01:09 PM

If you do a StackVertical compare of a sample done with, say, Flux against a sample done with FaeryDust and C3D movieLQ you'll notice quite a significant loss of detail in the latter. That's where all the compression comes from ;).

I'm thinking that movieLQ is a good choice if you really want to get something on one disc and don't have an HDTV, but otherwise movieHQ might be more suitable.

In fact what I'm really thinking is that we need a filter to do an edge detection then smooth non-edge areas and sharpen the edges simultaneously. That would be nice. But what to call it? :mrgreen:

SansGrip 01-15-2003 01:13 PM

Look in particular at Gibson's face and jacket:

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

The top was done with Flux and TemporalSoften. The bottom with FaeryDust and C3D movieLQ.

kwag 01-15-2003 01:17 PM

What about Flux + FaeryDust
Or TemporalSmoother + C3D
Or FaeryDust + TemporalSmoother :wink: (:mrgreen:)

-kwag

SansGrip 01-15-2003 01:44 PM

Quote:

Originally Posted by kwag
What about Flux + FaeryDust

Well, they're both denoisers, so you don't really need to use them together. Faery should catch all the noise that Flux does, and all the noise it doesn't, too ;).

Quote:

Or TemporalSmoother + C3D
And these are both smoothers rather than denoisers. I think we want:

Flux or FaeryDust

and a smoother, be it TemporalSoften, TemporalSmoother, C3D, or my as-yet-unnamed smoother/sharpener combo filter :).

Daagar 01-15-2003 05:39 PM

SansNoise.

kwag 01-16-2003 01:49 PM

Sansgrip,

Do you know if the source code for faerydust is available :?:
I can't find it :?

-kwag

SansGrip 01-16-2003 01:53 PM

Quote:

Originally Posted by kwag
Do you know if the source code for faerydust is available :?: I can't find it :?

Not yet. I've gently hinted that he should release it ;).

Gaudi 01-16-2003 05:59 PM

Where can I get FaeryDust filter?

Thanks

kwag 01-16-2003 06:07 PM

Quote:

Originally Posted by Gaudi
Where can I get FaeryDust filter?

Thanks

http://forum.doom9.org/showthread.ph...ight=faerydust

SansGrip 01-16-2003 11:06 PM

Quote:

Originally Posted by kwag
I can see it clearly in the (not too distant) future: The KVCD 300 minute
(U)ltraLBR :mrgreen: :mnkypile:
-kwag

...and I thought you were joking :mrgreen:.


All times are GMT -5. The time now is 09:44 PM  —  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.