![]() |
Quote:
|
Quote:
-kwag |
I've got some SA Cream Stout, Love it. Have your tried their Lite beer yet?
|
Quote:
-kwag |
I'm working on my fourth Meister Brau right now and it's 11 AM here- just kidding! :lol:
Hey Kwag, have you tried Lanczos resizer with the LBR template? I'm really blown away by the sharpness of it. Lanczos is built into avisynth 2.06 and is a resizing option in the latest FitCD too :wink: thanks, ren |
Great result, kwag! I'd have a beer right now, if there were any in the house ;).
This might be a little premature, but I'm getting some promising results with 50/48 and scene change detection OFF for this 1h59m movie... |
Quote:
-kwag |
Quote:
Quote:
-kwag |
Quote:
I just finished sampling with a new technique I'm using (basically the same kinda deal, just slightly more accurate I think) and will know in 3h34m how close it is... By the way, do you know any details on exactly how much overhead there is on a VCD? VCDEasy seems to use a figure of muxed_size + around 11mb for its prediction. |
Quote:
Quote:
Quote:
-kwag |
Quote:
Quote:
If my current test proves to be on the money I think I might have come up with an even more accurate way of doing it that shouldn't require an error margin (or, if it does, it should be very small). Basically instead of doing calculations in seconds I'm doing it with frames: Target media = 80 minutes = 836,640,000 bytes Frames in movie = 171,774 Audio size = 114,633,253 bytes Padded audio size = 115,628,333 bytes Sample points = 50 Sample length = 48 frames Frames in sample = 2424 (:?: still don't know how SelectEvery arrives at this figure... it also gives 4848 for 100/48... any ideas? If we can't come up with a formula to duplicate its frame count I'll have to look at the source, or ask dividee ;)) Compensate for overhead: 836,640,000 - 11,534,336 = 825,105,664 Compensate for system stream: 825,105,664 * (2018 / 2048) = 813,019,155 Compensate for audio: 813,019,155 - 115,628,333 = 697,390,822 Final encode size = 697,390,822 bytes Bytes per frame = 4,060 Target sample size = 4,060 * 2424 = 9,841,440 bytes Theoretically this should bring us as close as possible to the correct result. I have a feeling that disabling scene change detection will help a great deal, and might explain why you always get more accurate predictions than me ;). Does anyone see a problem with my theory/math? |
Hi SansGrip and Kwag,
@SansGrip Quote:
@Kwag I have been using the script below and have a question about using multiples of 30 for each hour of movie time (i.e. 2hrs * 30 = 60)? Minority Report is 139 minutes or 2 hours 19 minutes. I see some scripts using 50????? What's the rule and are you still trying to determine the factor being used (i.e. 0.95, 0.98, 0.95555, etc.) LoadPlugin("E:\DVD Backup\2 - DVD2SVCD\MPEG2DEC\MPEG2DEC.dll") LoadPlugin("E:\DVD Backup\2 - DVD2SVCD\BlockBuster\BlockBuster.dll") LoadPlugin("E:\DVD Backup\2 - DVD2SVCD\LegalClip\LegalClip.dll") mpeg2source("D:\Temp\movie.d2v") # IL = Framecount / 60 SL = round(Framerate) * 2 SelectRangeEvery(IL, SL) # LegalClip() LanczosResize(496,448) Blockbuster( method="noise", detail_min=1, detail_max=10, variance=1, seed=1 ) AddBorders(16,16,16,16) LegalClip() -black prince |
Hey SansGrip,
Just did a test file prediction using Tmpgenc's Clip Frame. The test file size using Clip Frame is 18,483,997 and without 20,305,188. I believe you felt there should be no significant decrease in file size just by masking borders. This shows a 2MB decrease with no change in picture quality. What could be happening during Tmpgenc's mask that accounts for this decrease :? -black prince |
Quote:
Edit: I'm glad you brought this up again. I really want to thrash this out, because that's a serious gain in compressibility... |
Hey SansGrip,
Quote:
LoadPlugin("E:\DVD Backup\2 - DVD2SVCD\BlockBuster\BlockBuster.dll") LoadPlugin("E:\DVD Backup\2 - DVD2SVCD\LegalClip\LegalClip.dll") mpeg2source("D:\Temp\movie.d2v") # IL = Framecount / 60 SL = round(Framerate) * 2 SelectRangeEvery(IL, SL) # LegalClip() LanczosResize(496,448) Blockbuster( method="noise", detail_min=1, detail_max=10, variance=1, seed=1 ) AddBorders(16,16,16,16) LegalClip() I ran this script using CQ_VBR=11 and without Clip Frame file size = 20,305,188 With Clip Frame file size = 18,483,997. This is KVCDx3 (528x480) :) -black prince |
Quote:
|
@SansGrip,
Quote:
view this script with Tmpgenc Clip Frame the borders for masking seem correct for the aspect ratio from FitCD (16,16,16,16) or TV-overscan #2. :) -black prince |
Quote:
Code:
Mpeg2Source("...") |
The results are in :). Untouchables, 1h59m, new GOP, no scene-change detection, 50/48.
Target file size of video: 706,804kb Actual size of video: 697,068kb Difference: 9,736kb = 1.39% Not bad -- looks like I can go ahead and code this new method up and then play a little more with the sample points/sample length settings... |
Quote:
-kwag |
@rendalunit
Hi ren, I tried the LanczosResize on "The Green Mile", and the result looks worse than BilineraResize 8O . Maybe the added sharpness around the edges makes this difference. I didn't like the result, compared to the test sample that came out with BilinearResize. Looks more like the original LBR sample. Maybe Mr. Lan C. Zos ( :lol: ) doesn't like low bit rates :twisted: -kwag |
Quote:
|
Quote:
I viewed it with WMP, so I guess fully stretched in my TV it will look even better :D I can see the Gibbs effect, but it's very little and blurred. I rather see this encode on my TV than the same thing encoded at 352x240. Look at the horses on the far background. You can even see some detail! At 352x240 they would look like "Something" moving in the background :lol: -kwag |
Quote:
Quote:
Overall it looks like this encode came out well, and I can't wait to try it on the TV when the kids have gone to bed :). |
Hi guys,
Just got up and back to business. Yes, I did use FitCD to resize, and yes I did set Block TV overscan to 2, and yes I did use the new GOP (1-12-2-1-24). I used Flux, LegalClip, and Blockbuster as well. I just don't know what went wrong. So, is the prediction script in FitCD still valid or we can now switch to: IL = Framecount / 50 SL = round(Framerate) * 2 SelectRangeEvery(IL, SL) [/quote] |
Quote:
-kwag |
@SansGrip,
Quote:
resize 496x448 with borders (16,16,16,16) :) -black prince |
Are these values valid for pal too?
I want to encode Brain Dead :twisted: Movie lenth is 99 min Is this ok?: IL = Framecount / 30 # interval length in frames SL = round(Framerate)*2 # sample length in frames SelectRangeEvery(IL,SL) And what is the constant now? 0.89? |
Quote:
Code:
LoadPlugin("E:\DVD Backup\2 - DVD2SVCD\MPEG2DEC\MPEG2DEC.dll") |
Quote:
Quote:
|
Quote:
Quote:
|
Quote:
First of all... thank u verry much for the help. But i still have some questions... :lol: Quote:
btw the quality is really superb with the new GOP |
Quote:
Quote:
|
Thank you Sansgrip.
I'll just give it a try and post the results tommorrow. it's 3.00 AM in Germany :D |
50:48, or better yet:
Code:
(MovieTimeInMinutes / 2) : NTSC=48 or PAL=50The factor i'm using is now .98, and seems to be pretty accurate. -kwag |
Quote:
|
Quote:
-kwag |
Hi there,
I downloaded SansGrip's sample and watched in PC and TV, I now know it is called "Gibbs". This is the thing that I have been trying to describe to you people. What causes "Gibbs" and can we get rid of it?? |
Quote:
Quantization Matrix optimization :wink:, improvements on the KVCD Q. Matrix. -kwag |
Well, I just finished watching Untouchables on the TV and all I can say is 8O, even though that's not a word ;).
It really does look very close in quality to a DVD (at least on my TV), with the only noticible artifacts being caused by the Gibbs effect -- not so much visible mosquito noise as a "shimmering" of very high-frequency areas. It's barely noticible, though, once you stop looking for flaws and start enjoying the movie: my wife, who is untrained in the art of critical viewing, did not notice it at all :D. I'd really love to try one of these encodes on an HDTV, but no-one I know has one. kwag, could you do me a favour by burning that clip onto CD-RW and testing it on your high-definition system?? I'd be fascinated to hear if the quality stays so good on such a setup... One problem not related to the new GOP: three times during the very beginning of the movie, separated by perhaps a minute or two, the video and audio froze for about a second, then resumed as normal. Beyond roughly five minutes into the movie it didn't happen again. I know I need to replay and see if this occurs in the same places every time (indicating perhaps a media failure), but if it doesn't, what could be causing it? Since it's only right at the start could that signal a too-low minimum bitrate? Anyway, apart from those two very minor issues the thing looks incredible considering it's on one disc (heck, it looks better than most of my old encodes that were on 3 discs for a 2-hour movie). Naysayers be damned :mrgreen:. |
Site design, images and content © 2002-2026 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2026 Jelsoft Enterprises Ltd.