![]() |
Quote:
|
@kwag
I'm sure everyone is waiting for your new kvcd template and have already fallen off their chairs waiting :grrr:. And the way it sounds your getting there. :lol: Keep up the great work. |
@Boulder,
With Tmpgenc --> Settings --> Video Settings try setting P_Picture Spoilage = 0 and B_Picture Spoilage = 0. This I understand (as SansGrip says) improves file size. I don't know why, but when I tried this and it worked. :) -black prince |
Quote:
|
Quote:
|
Hello everybody,
Here's another short sample (extremely high contrast scene) from K-Pax, made with the new parameters: http://www.kvcd.net/kpax-newgop-newmat.mpg (no audio) K-Pax is 2 hours and 40 seconds. That's what it looks like on one CD-R at 528x480 with audio at 112Kbps. CQ used was 71.3. :wink: -kwag |
Quote:
I'm not sure we'll ever be able to get rid of that pulsing completely, since if you single-step through each frame of any MPEG-1 stream you'll see that the I-frames are much blockier than the P- and B- frames, which is why we get a pulse every time the I-frame comes around. You can see it even on completely standard VCDs. That's one area where MPEG-2 wins -- its I-frames are much less blocky. I'd be really interested to see the same clip done with CQ_VBR and Blockbuster method="noise" (maybe variance=0.7 or so). Maybe that would get rid of the little bit of blockiness, but how much Gibbs would be introduced? |
Quote:
Both clips were made with this script: Code:
LoadPlugin("C:\encoding\MPEG2DEC.dll")-kwag |
Quote:
Quote:
|
Quote:
:mrgreen: |
Quote:
|
Quote:
I don't know how it will look at 352x240. I haven't tested that yet. But I saw K-19 on my HDTV and it looks by far better than every previous matrix or GOP :wink: So for 528x480, New GOP + CQ + BETA-1a Notch Matrix wins by far :D -kwag |
Quote:
|
@Kwag,
Kwag wrote: Quote:
CQ_VBR=60. Here's my avs script: mpeg2source("D:\Temp\movie.d2v") LegalClip() # GripFit( source_anamorphic = true, dest_anamorphic=false, width=352, height=240, overscan=1) # opening=Trim(0,3093) opening=opening.TemporalSoften(3,8,30) # movie=Trim(3094,145515) movie=movie.Blockbuster(method="noise", variance=.5, seed=1).FluxSmooth() # credits=Trim(145516,0) credits=credits.Greyscale().TemporalSoften(3,8,30) # last=opening+movie+credits # LegalClip() # #Sampler(length=24) At 352x240 it's very hard to detect flashing unless I got right up to my PC. At higher resolutions (e.g. 528x480) it more noticable. There was hardly any noticable blockiness probably due to Blockbuster noise. The picture was softer looking so that Gibbs noise wasn't noticable. I wanted to sharpen the picture just a little without dramatically increas- ing file size, anybody have suggestions. From 5+ feet the picture is very good. I'd say there was an improvement from the older GOP and standard Q-Matrix. File size with the new GOP and Q-Matrix has decreased :D -black prince |
Quote:
-kwag |
So is the template ready to release to the masses?
or Does more testing need to be done? |
Quote:
yes,i want to know too! :) |
@Kwag,
Kwag wrote: Quote:
a few feet and still see flashing. SansGrip has a point about MPEG-2, that there are really two compressions taking place for I, P, and B frames. The blocks are compressed as well as the entire frame itself. Your latest adjustments to GOP and Q-Matrix has made a noticable decrease, which leads me to believe there still possibly a solution. At high CQ or CQ_VBR, Gibbs noise seems to be almost gone. If it weren't for flashing this would be equal to DVD quality. :wink: -black prince |
Quote:
|
Quote:
|
@SansGrip,
I tried 2 CD encodes with CQ and CQ_VBR. Flashing still remains a problem, but Gibbs is much better :) I also, tried your method of manual file prediction: ((CD size - Audio) / Total Frames) * test frames) = Target File Size It's slightly more accurate, but I was wondering how you determined for 1 CD the capacity is 813,019,155. For 2 CD's would it be correct to multiply by 2. :?: -black prince |
@Kwag,
It looked bad on TV and PC. (flashing with 704x480 CQ). Also, 528x480 was a little better, but it's still noticalbe. Not until I used 352x240 did flashing disappear, but Gibbs seemed a little worst. :) Seemed the higher the resolution flashing was more noticable :) -black prince |
Ok, you guys push me, so I'm going to look at this very closely :D
I'm going to go grab something to eat, and I'll be back in a couple of hours ( wife wants to go out :x ). I have something in my mind that might solve the problem. Later :wink: , -kwag |
Quote:
Capacity of CD in bytes = minutes * 60 * 75 * 2324 For an 80-minute CD, that would be: 80 * 60 * 75 * 2324 = 836,640,000 A good guess for VCD/SVCD filesystem overhead is 11mb, or 11,534,336. This brings us down to: 836,640,000 - 11,534,336 = 825,105,664 We then need to compensate for the system stream, which is calculated using the following formula: Total size = (video size + audio size) * (2048 / 2018) Therefore we do: 825,105,664 * (2018 / 2048) = 813,019,155 That's the total number of bytes we have available for our video and audio. Once we subtract the size of our audio from that, we have the maximum size for video. Quote:
1,673,280,000 - 22 * 1024 * 1024 = 1,673,280,000 - 23,068,672 = 1,650,211,328 1,650,211,328 * (2018 / 2048) = 1,626,038,310 and 813,019,155 * 2 = 1,626,038,310 In other words, "yep" :mrgreen:. |
@SansGrip,
SansGrip wrote: Quote:
-black prince |
@black prince
By the way, that's the formula I'm going to be using in the next release of KVCDP... It does seem to be more accurate, as you say, but it's a bit of a pain doing it manually. |
@black prince, jorel, SansGrip, and All@,
Download this, and tell me if the "flashing" effect is gone or not. 8O http://www.kvcd.net/kpax-1-12-4-1-16.mpg 8O Is the quality retained :?: ( To me, it seems the same ) Is the flashing gone :?: ( To me, yes, gone for good! ) But I need more eyes to look at it 8) If it is, I'll explain what it means, and why ( I assume you already see what ) :wink: Compare it to the sample I posted yesterday -kwag |
Quote:
amazing 8O can't see any problem! 8) (perfect color cubs,skin faces..... :wink: ) see in zoomplayer too,a little dark and some blocks in dark! :? |
Expect more changes tonight on the GOP. My goal is to find an optimal value to match the quality of the 1-12-1-1-24 at the same file size. This thread will be polluted by me with samples. 8O But when I put my mind on something, I "sock it to it" until I get what I want :D
So stay tunned, and compare the samples I'll start to post until we all agree that it matches the "Almost Gibbs free" kpax-newgop-newmat.mpg sample, but better stable background without flashes. This is the reference sample and size that I am focusing on right now. -kwag |
Quote:
|
Tunning, tunning..... 8)
-kwag |
Quote:
(I just realized... The more time you spend doing this, the less time you spend playing with GripFit 8O ;)) |
Quote:
Those flashes are (were) really annoying. :wink: |
Quote:
Original reference: http://www.kvcd.net/kpax-newgop-newmat.mpg New test model: http://www.kvcd.net/kpax-1-24-4-1.24.mpg Quote:
-kwag |
Need some testers here :wink:
Encode a sample ( 15 second or so ) with GOP 1-12-1-1-24 and another sample of the same 15 second clip with GOP 1-24-4-1-24. Play with CQ of second sample until size matches size of first sample. Then make a visual comparison. Use KVCD BETA-1a Notch Matrix for both. -kwag |
@Kwag,
I created two 30 second samples. One with the GOP 1-12-1-1-24 and the other using 1-24-4-1-24. I used file predictor to create the second file by setting the target file size to the size of the first test file. I agree with SansGrip, that the flashing is much improved. It appeared to be there but much less noticable. I viewed the samples up close on my PC and TV. Up close, meaning, within one foot. From 5+ feet, It's not noticable. There was some Gibbs, but maybe your CQ settings were not very high. I realize that flashing can not be completely eliminated, but if it reduced to a point where it's not noticable that'ss just as good. :D -black prince |
Quote:
|
Quote:
I can't see flashing anymore on that scene 8O. At least on that last sample I posted. I'll encode something else. As far as Gibbs, they're actually there, but they're "smoothed" because of the additional B frames, so they don't show as sharp as with 1-12-1-1-24. -kwag |
@Kwag,
Without realizing it, you are using psychovisual techniques. Reducing picture effects the are very noticable and enhancing those the vision focuses on more often. It's like listening to music and realizing the audio range of the ear will never notice certain imperfections and others it will pick very quickly. Knownig which visual effects are ignored and which are very accute to sight is useful to creating high quality video with greater compression. I think it's really interesting and fun tweaking this process towards that goal. :D -black prince |
Quote:
Quote:
Quote:
Quote:
-kwag |
Site design, images and content © 2002-2026 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2026 Jelsoft Enterprises Ltd.