Increasing compression through preprocessing
I've been playing with various smoothing filters and have come up with a nice combination for adding some serious numbers to the CQ level of a given movie.
Of all the combinations I've tried so far, what gives me the best compression increase is: Code:
FaeryDust() The script's output is quite smooth when viewed from WMP, and likely wouldn't be suitable for MPEG-4 encoding (or even high-bitrate MPEG-1), but for low-bitrate MPEG-1 it seems that the encoding process masks the lack of details fairly effectively. If you find this too much smoothing, try preset="movieHQ" for Convolution3D instead. These two filters are very slow, though :?. Anyway, that's what I've been playing with this evening. Make sure you get v4 of Dust since it fixes one of the bugs I mentioned earlier... Test and post :). |
Forgot to mention, I also used
Code:
Tweak(cont=0.8, sat=0.8) Oh, and I also put a Code:
Letterbox(8, 8) |
Hehe, this just never ends :mrgreen:
I can see it clearly in the (not too distant) future: The KVCD 300 minute (U)ltraLBR :mrgreen: :mnkypile: -kwag |
Quote:
Quote:
|
Maxed out at CQ 100 -- about 300kB below target size. I'm now going to watch the sample on the TV... Back in a bit ;).
|
.................................................. .................................................. ............................................. :roll: .................................................. ........................ :roll: .................................................. ........... :roll: .................................................. ....... :roll: WAITING :!:
|
Quote:
Looks very nice -- perhaps a little softer than usual, but not a lot. I'm thinking of trying the DVD trick (i.e. heavy smoothing followed by an edge-enhancement) next... Of course the real test is an HDTV. Want a sample? :D |
Quote:
Quote:
-kwag |
Quote:
Quote:
Quote:
Edit: Here it is, 6.5mB. |
Quote:
I did use preset="movieHQ" on "Count of Monte Cristo" movie which is very dark with smoke or dust ( haven't seen the movie yet, just the sample 8) ) -kwag |
Quote:
|
Check the file name :wink:
|
Quote:
|
There should be a "Hall of fame" sample gallery, because that definitively looks like a DVD :mrgreen:
I'm going to re-encode "Count of Monte Cristo" again, which I had done at 352x480. I think that it can go on 528x480 with these filters :mrgreen: Just AMAZING :D -kwag |
What was your .avs script for that SansGrip :?:
|
Quote:
|
Ok, so I lied. Here's the same 30 seconds from the one-disc version (112kbps audio). It's nowhere near as good as the two-disc (particularly anything very saturated in colour) but it's a heck of a lot better than without the extra compression from the preprocessing.
It's starting to look like I might get it on one disc at 528x480 after all :). |
There's no Blockbuster or Fluxsmoot there right :?:
|
Quote:
-kwag |
Quote:
Code:
Mpeg2Source("..\dts.d2v") |
Quote:
|
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 |
Quote:
|
Quote:
Code:
LoadPlugin("C:\encoding\MPEG2DEC.dll") Edit: Aspect wide screen 16:9 -kwag |
Quote:
|
Quote:
Then I'll cut a sample and post it here. Don't go to sleep yet :mrgreen: -kwag |
Quote:
Quote:
|
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 |
Quote:
But, DO read the book! It's awesome! |
Quote:
|
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: |
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. |
What about Flux + FaeryDust
Or TemporalSmoother + C3D Or FaeryDust + TemporalSmoother :wink: (:mrgreen:) -kwag |
Quote:
Quote:
Flux or FaeryDust and a smoother, be it TemporalSoften, TemporalSmoother, C3D, or my as-yet-unnamed smoother/sharpener combo filter :). |
SansNoise.
|
Sansgrip,
Do you know if the source code for faerydust is available :?: I can't find it :? -kwag |
Quote:
|
Where can I get FaeryDust filter?
Thanks |
Quote:
|
Quote:
|
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.