![]() |
Quote:
Quote:
Quote:
|
Quote:
Quote:
Quote:
|
@SansGrip,
Ok, tested your mpeg. On my HDTV, viewed at 3 feet, you can see the artifacts ONLY on the movement scenes. The effect is like a noisy picture. On still scenes, it looks very sharp. There's some motion present on the background objects on stills parts, but I guess that's part of the high compression. Nothing that bothers(from far view point). Viewed at 6+ feet, I can perfectly watch a movie like that :D Now on my 60" Magnavox rear screen projection, I can see NO artifacts at all. That of course is because it's an older (non-HDTV) TV. So there it looks just like if I put a DVD and play it 8) I just wonder what your original "Untoucheables" DVD looks like in a HDTV. Maybe it's a poor mastering in that section, and can only be seen on a HDTV :?: -kwag |
Quote:
Quote:
Quote:
Edit: I just remembered that I used LanczosResize in this encode. I'm guessing if I'd used a neutral bicubic or a bilinear that the Gibbs would be less noticible. Might have to test that tomorrow :). |
By the way, while I was watching it I re-encoded at 352x480 just in case ;). Was able to up the CQ_VBR to 15.6 or so. Not sure I'm going to need it now, but I'm definitely still going to burn it tomorrow and compare. I love this hobby :).
@kwag: Incidentally, I assume you made a conscious decision not to use 480x480 in your templates. What was your reasoning? |
Quote:
All other resolutions we use here, 352x240, 352x480, 704x480 are valid DVD resolutions. And the difference in quality from 352x480 to 480x480 is very small, but 352x480 file size is smaller, and we can take advantage of that. Also I believe that the rigid GOP size for DVD of 18 for DVD specifications could be "Cheated" in the future with some DVD authoring program. Right now, every DVD authoring program you try to use, will give you errors if you try to read an MPEG-2 with GOP larger than 18 frames. I believe this limitation is not in all DVD players ( does this sound familiar :lol: ) so we have a future DVD playground to push MPEGs into DVDs with other GOPs to take the same advantage we are doing now with KVCDs. -kwag |
Quote:
Quote:
Quote:
|
Now running some sample strips for Resident Evil (100m) with x3, the new GOP, and my frame-based prediction method. Hopefully will get to encoding before sleep overcomes me ;).
|
Quote:
-kwag |
Quote:
I think there's tons of room for tweaking even if we can't stick with MPEG-1. While it's true that MPEG-2 is designed for higher bitrates, the designers of SVCD obviously thought that 2.5mb/s was a good maximum at that resolution. I think with lots of q.mat. and GOP optimizations we'll be able to sqeeze a lot out of it. But this is straying pretty far from the point of this thread. Maybe we should move it somewhere else ;). |
The good thing about all of this is that most techniques and methods we develop, we'll be able to apply them to MPEG-2 :D
So when the time comes to do DVDs, we'll be way ahead of everyone using "Standard" DVD burns. Imagine if KVCDs existed at the time when VCD came out :?: Wonder what kind of impact it would have caused in the industry. Everone making 80 minute CBR VCDs, against this :!: For what I see, we have an advantage right now :idea: I have to work on the KDVD templates. It's been a while since the last update. They still run on CQ, not CQ_VBR :roll: -kwag |
Quote:
|
Whew, finally done prediction for x3 of Resident Evil (the manual way is slow... ;)). Target video size: 716,523kb. CQ_VBR: 9.47.
It's now encoding, and I'm going to bed after one more smoke :). I think over the next few days I'm going to really rack my brains to come up with a much faster way of doing prediction... We should be able to get much better than this. |
Quote:
Se'ya all later :D -kwag |
Hmmm, Resident Evil came out way over target at 760mb :?. I'm running some more strips now with 75/48 to see if that helps.
This seems to be a very difficult movie to encode: lots of metal (hence lots of areas to add noise if we don't want blocks) and very dark and fairly high-action. I tried at both 704x480 and 528x480 and the Gibbs was very noticible along with quite a bit of blockiness even with variance=1, so now I'm testing at 352x480. I managed to get the CQ_VBR up to 17 and it's starting to look decent now... I did discover something, though: when getting close to the target size it's just as effective to change the parameters to Blockbuster or the smoother in order to change the file size slightly :). |
Quote:
Quote:
-ren |
Quote:
Code:
All movies are 16:9 Wide Screen-kwag |
@All,
Just finished Minority Report in approximately 12 hours. Here's my stats: Movie Stats = WS (16:9), time=2hrs 19 min, source=DVD Resolution = KVCDx3 (528x480) Actual Audio = 139,392,000 (128kb) Actual Video = 1,430,813,365 Total A+V = 1,573,673,833 CQ_VBR = 12.34 Test Video Calc = 1,434,281,833 Diff % = 0.24% Prediction Factor = .95555 GOP = 1-12-2-1-24 Resize = Used Tmpgenc AddBorder = Used Clip frame (Tmpgenc) Encoding Time = 12:05:48 (hh:mm:ss) Picture quality is excellent. :D In place of avs script's resize and addborder, I used Tmpgenc's resize and clip frame. I was able to increase CQ_VBR from 11.4 to 12.34 and also increase audio from 64kb to 128kb. My process is very manual, but the results are well worth it. :D :D :D -black prince |
Quote:
Of course there's a large element of judgement in which template to choose -- if I were to come across another movie like Resident Evil I would not attempt 704x480 and wouldn't persevere so long with 528x480 if I wasn't getting adequate quality. As far as file size prediction goes, I just did another encode using 75/48 and it's now 726,236kb instead of the desired 699,729kb. That's less of a difference, but still way out. I'm going to redo now with 125/48. Edit: Actually I decided to try 100/72. |
Quote:
|
@SansGrip,
SansGrip wrote: Quote:
I tried to figure out how you determined the resize and crop values, but was at a loss. Still, adding Tmpgenc's resize decrease file size even more, so I went for it. 8) I gained ~1.5MB per 90 seconds of encode time and that allowed for a significant increase for CQ_VBR. :) -black prince |
Quote:
I got tired of this "Unpredictable" file size, depending on the resolutions. I did a test at 352x480, and the file size was WAY off 8O. So here's my latest findings and analysis. Just like the sampling theory, where you sample "at least" twice your highest frequency, a higher sampling rate with smaller windows should give a higher resolution than less samples of a larger window. The principle is that you have a finer grain resoution, the higher you go in sampling, and more "visibility" of the real material analyzed So I'm now testing 256 snapshots of 6 frames each 8O. It seems to give me almost the same sample file size, no matter what resolution I use :wink: So theoretically, this should be more than enough for ANY film of just about any size. You might as well set prediction factor to 1.0, because what I see is that the final size is now almost 100% accurate with the formula. Here are my three tests at different resolutions: Code:
352x240, Sample size=7,010KB, CQ_VBR=29.88My own feedback. This doesn't work!. 256/6. Back to the drawing board. Now trying 128/24 ... -kwag |
Quote:
Quote:
Quote:
|
Quote:
Quote:
Quote:
|
@SansGrip,
SansGrip wrote: Quote:
mask settings. The numbers would not take and defaulted to 0. :( For DVD 3/4 small a output (528x480) and TV-overscan 2 the resize is BilinearResize(496,352,22,0,676,480) and AddBorders(16,64,16,64). :? Not sure how to get this setting in FitCD. :? I tested Tmpgenc's resize vs avs script resize with no filters and there is a decrease. I will test another movie and see if the results are them same. :) @Kwag, Kwag wrote: Quote:
IL = Framecount / 50 SL = round(Framerate) * 2 SelectRangeEvery(IL, SL) Are the CQ_VBR values a starting point :?: -black prince |
Quote:
Code:
IL=Framecount / 256-kwag |
Quote:
Quote:
-kwag |
Hi SansGrip,
SansGrip wrote: Quote:
Test #1 Using avs resize LanczosResize(496,352) and AddBorder(16,16,16,16) with Clip Frame only in Tmpgenc. File Size = 18,547,704 Test #2 Using Tmpgenc's resize of 496x352 and Clip Frame. LanczosResize and AddBorders are commented and not being used. File Size = 17,252,889 The savings are 18,547,704 - 17,252,889 = 1,294,815 or 1.3MB 8O Picture quality and resolution are the same and of course excellent :mrgreen: I'm using LanczosResize and maybe that's why it decreases :?: -black prince |
Hey Kwag,
Kwag wrote: Quote:
Old = ((movie length / 100) * (test file size * .95)) = Total Video file Size New = ((movie lenght / 256) * (test file size * .98 )) = Total Video File Size :?: -black prince |
Quote:
LancosResize gives more sharpness, and that increase the file size. |
Quote:
You can calculate the Total Video File Size like this: (sample size / sample lenght ) * movie lenght * .98 note: movie lenght and sample lenght in seconds |
I just finished my first squeeze of a 120+ minute film onto one disc.
KVCD Predictor predicted 796 mb (CQ_VBR10.5), actual size 820mb (d'oh!). Used TMPGEnc's resizing, clipping, encoded at 480x352 (widescreen), new GOP. Quality is decent -- blocks are apparent on my 27" HDTV -- but for a 133 minute high-action film squished onto ONE 80-minute CD-R, I'm pleased =) It looks alright if you sit at a normal distance from the TV (6-8+ feet). I'll probably do two discs to improve the quality. EDIT: WOW! I was finally able to post on the board! =) |
Welcome grivad :D
-kwag |
Quote:
|
Quote:
|
Quote:
|
Quote:
Make sure you crop ALL borders from the source in Avisynth before running any filters on it (to reduce the work they have to do and thus speed things up significantly) and then resize within Avisynth using FitCD's suggestions. I'm certain that if you do this you'll find only a very slight difference in the two methods (and the difference will be due to the different resizing algorithms being used: TMPGEnc's is apparently slightly less "soft" than bilinear, at least according to my tests). |
Testing.... Testing ..... Encoding..... 8)
-kwag |
Just watched Resident Evil (352x480, CQ_VBR 15.55) and it looks very good -- not DVD quality due to the relative softness, but still very watchable and of course a lot sharper than standard VCD. Also the bitrate was high enough that there was hardly any noticible Gibbs...
Again, though, I had that freezing at the beginning of the disc. However this time there was very bad corruption at the end, video and audio, but only in the last 5 minutes or so. Is this another symptom of too-low minimum bitrate? |
Hi SansGrip,
SansGrip wrote: Quote:
same as yours. I used LanczosResize which add sharpening, so when I commented it and used Tmpgenc's resize the file size decrease was due to no sharpening. I'll switch to BilinearResize in the future. :? Thanks for being patient in answering my questions :) -black prince |
Site design, images and content © 2002-2026 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2026 Jelsoft Enterprises Ltd.