Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 ASP

Reply
 
Thread Tools Search this Thread Display Modes
Old 23rd June 2003, 12:28   #1  |  Link
Koepi
Moderator
 
Koepi's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 4,454
XviD-19062003-1

Aloha,

a whole month without a new build, amazing XviD's getting somewhat stable I think (I'd nearly say sorry for the delay, but I wanted to test that build a little before releasing it. It works absolutely fine for me.)

XviD-19062003-1:
- CVS update.
- sysKin's new i/p/b-decision. New thresholds: -40 disables bframes, +90 produces only bframes
- sysKin's new VHQ fixes.

There are some features in which I already forgot etc., but you can read most of them in the CVS changelog at umaniac's

Please do some testing like you did with the last build, the PSNR-tables were pretty impressive.

Find the build clicking on the "www"-botton below this post or use the link in my signature.

Best regards
Koepi
Koepi is offline   Reply With Quote
Old 23rd June 2003, 12:31   #2  |  Link
The Edge
Achtung Baby
 
The Edge's Avatar
 
Join Date: Aug 2002
Location: Dublin
Posts: 625
Cheers Koepi.
I can almost smell stable XviD 1.0
Will test tonight.


Bren
The Edge is offline   Reply With Quote
Old 23rd June 2003, 12:38   #3  |  Link
JagPanzer
XviD and Matroska user :)
 
JagPanzer's Avatar
 
Join Date: Aug 2002
Location: Slovenia
Posts: 30
Aloha!

Thank you, thank you, thank you...

It's time to do some tests now...
__________________
There's got to be just more to it than this
Or tell me why do we exist
I'd like to think that when I die
I'd get a chance another time
And to return and live again
Reincarnate, play the game
Again and again and again

Iron Maiden - Infinite Dreams
JagPanzer is offline   Reply With Quote
Old 23rd June 2003, 12:43   #4  |  Link
Koepi
Moderator
 
Koepi's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 4,454
A first observation:

bframe-settings: 2/150/75/0 seem to give impessing results (currently compressing 1GB 1st pass to 650mb 2nd pass at average quant <2.5 ).

Just as a hint.

regards
Koepi
Koepi is offline   Reply With Quote
Old 23rd June 2003, 12:44   #5  |  Link
kaitsuburi
Registered User
 
kaitsuburi's Avatar
 
Join Date: Mar 2003
Posts: 109
Thank you Koepi!

Just finished a quick 2-pass encode of "The Flight of the Osiris" -- worked like a charm. The quality is awesome!

-kaitsuburi
__________________
~~ aim low, deliver.
kaitsuburi is offline   Reply With Quote
Old 23rd June 2003, 13:25   #6  |  Link
Garfield
I don't do mornings
 
Garfield's Avatar
 
Join Date: May 2002
Posts: 53
Thanks Koepi, another update of our favorite toy


I just have a few dumb questions :

-40 disables bframes, +90 produces only bframes

Does that mean that 90 is the highest treshold value ?

sysKin's new VHQ fixes.

So now it is safe, stable and good in any mode for sure ? ()
Garfield is offline   Reply With Quote
Old 23rd June 2003, 14:02   #7  |  Link
Koepi
Moderator
 
Koepi's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 4,454
You can add higher values as well, but you won't notice much difference. That comment is there to make the new range clear.

It was safe before to use VHQ, it didn't break anything (badly). It should be safer now, only tests will show (I use vhq 4 [or 0 when i'm in a hurry] without problems).

Regards
Koepi
Koepi is offline   Reply With Quote
Old 23rd June 2003, 14:48   #8  |  Link
kilg0r3
! - User - !
 
kilg0r3's Avatar
 
Join Date: Nov 2001
Posts: 1,081
1.)
anything new about trellis quant (don't quite remeber what the problem was)? The changelogs at umaniac's do not contain all insta builts, seems to me, at least.

Sorry, it's very hot in here ... praying for a nice thunderstorm ...

2.)
Something from the mpeg2-quality thread
Quote:
originally posted by trbarry And I don't know if it is my imagination or not, but it does seem that it's not really possible with Xvid anymore to get really detailed high bit rate HDTV encodings. But I've wondered this before and found it was just me, screwing up my encoding parameters, so maybe it is again. But something does seem different recently.
__________________
Keep your tone warm and your sigs decent!

Last edited by kilg0r3; 23rd June 2003 at 15:31.
kilg0r3 is offline   Reply With Quote
Old 23rd June 2003, 15:03   #9  |  Link
sh0dan
Retired AviSynth Dev ;)
 
sh0dan's Avatar
 
Join Date: Nov 2001
Location: Dark Side of the Moon
Posts: 3,480
Looking good!

Minor stuff: The text displayed, when hovering over VHQ mode should probably be updated (as quality doesn't decrease with VHQ > 1). Or am I mistaking?
__________________
Regards, sh0dan // VoxPod
sh0dan is offline   Reply With Quote
Old 23rd June 2003, 15:26   #10  |  Link
Koepi
Moderator
 
Koepi's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 4,454
Oops, update needed there indeed

Thanks for pointing that out

Trellis quant is still the same code as in my last build, nothing changed there.

regards
Koepi
Koepi is offline   Reply With Quote
Old 23rd June 2003, 19:29   #11  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
1st thx for the build
2nd since latest changelog just came:

Quote:
23.6.2003 17:40:
U xvidcore/src/motion/motion_est.c (rev.1.71) syskin:
- ugly bugs fixed, R-D works better now
U xvidcore/src/motion/motion_est.h (rev.1.9) syskin:
- ugly bugs fixed, R-D works better now
I wonder if you could update to XviD-19062003-2, so we might even test a bit more with R-D


Cu Selur
Selur is offline   Reply With Quote
Old 23rd June 2003, 19:57   #12  |  Link
Koepi
Moderator
 
Koepi's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 4,454
Those bugfixes are the same as in my build, the only thing that _may_ have changed is thresholds for bframes-decision... which is just a bit more of testing IMO as sysKin tends to optimize with single sources and not different ones Just kidding, I still think it's worth to test the difference on _many more_ sources.

regards
Koepi
Koepi is offline   Reply With Quote
Old 23rd June 2003, 20:01   #13  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
Oh,.. if those fixes are included I'm happy
Thx for the info

Cu Selur
Selur is offline   Reply With Quote
Old 23rd June 2003, 20:14   #14  |  Link
Teegedeck
Moderator, Ex(viD)-Mascot
 
Teegedeck's Avatar
 
Join Date: Oct 2001
Posts: 2,564
Hello Koepi,

thanks for the new build (and many thanks to sysKin for his work, too!)!

First impressions of an encoding with your build, compared against an identical encoding performed with uManiac's CVS-checkout from 11th, are very positive. Considerably less blocks in a 'too-low-bitrate' encoding. May not be too low, soon.

Anyway, one thing I wanted to ask: Do you still have that tweaked lambda-value in your build? I'd thought sysKin said something of the sort 'VHQ isn't there for saving space anymore'?
__________________
It's a man's life in Doom9's 52nd MPEG division.
"The cat sat on the mat."
ATM I'm thoroughly enjoying the Banshee - a fantastic music player/ripper for Linux. Give it a whirl!
Teegedeck is offline   Reply With Quote
Old 23rd June 2003, 20:33   #15  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
and a little questions about "+90 produces only bframes":

Does this mean "maximum Bframes" will not be respected and there'll be no more Pframes ?

What if "maximum bframes" is set to zero ?
- Will the bframe threshold still produce 'only bframes'?

How is the bframe threshold scaled?
(I mean earlier it was scaled in percent (as far as I know), but how is it scaled now? )

Cu Selur
Selur is offline   Reply With Quote
Old 23rd June 2003, 20:50   #16  |  Link
plazz2000
Registered User
 
Join Date: Jun 2002
Posts: 84
What is happening with GMC? Will it be fixed for 1.0?
plazz2000 is offline   Reply With Quote
Old 23rd June 2003, 22:10   #17  |  Link
Koepi
Moderator
 
Koepi's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 4,454
Selur:

take a test sequence of 20 frames and find out for yourself (and report back here of course). I don't think the new ipb-decision will mess up that badly. it will be more like closed GOP.

plazz2k:
This thread is about this actual build. So please stay on-topic. I think skal and gruel have some nice GMC code at hands in dev-api-4(=will become 1.0), but it's not backported. Don't expect much efficiency out of GMC though.

Teegedeck:
that#s a good question - all the file-circling and updating make it impossible to track every change. It's very likely that I have other values in the sources now (sysKin's tweaks ). I'll go and check that - later, tomorrow.

Regards
Koepi
Koepi is offline   Reply With Quote
Old 23rd June 2003, 23:22   #18  |  Link
Teegedeck
Moderator, Ex(viD)-Mascot
 
Teegedeck's Avatar
 
Join Date: Oct 2001
Posts: 2,564
Whatever lambda, the results are great! Closer examination just reinforces my first impression: A good quality boost, again! This may be the breakthrough for B-frames that should prompt even anime-encoders to switch them on, finally.
__________________
It's a man's life in Doom9's 52nd MPEG division.
"The cat sat on the mat."
ATM I'm thoroughly enjoying the Banshee - a fantastic music player/ripper for Linux. Give it a whirl!
Teegedeck is offline   Reply With Quote
Old 24th June 2003, 05:49   #19  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,277
did a smal 30frame sequnce.
(monotone scene someone speaking, no backround action)

Quote:
Does this mean "maximum Bframes" will not be respected and there'll be no more Pframes ?
No, "maximum bframes" (in a row) will still be respected, so a 30frame sequence could turn up with 1 Ifram, 15 Pframes and 14bframes (if max bframe is set to 1)

But what confuses me is that if I set "maximum bframes" to 10 and threshold to +90, I still ed up with 1 Iframe, 12 pframes and 17 bframes,.. (thought "DX50 copatibility" caused this, but disabling it, didn't change the distribution)

Quote:
What if "maximum bframes" is set to zero ?
- Will the bframe threshold still produce 'only bframes'?
If "maximum bframes" is set to zero, no bframes will be produced.

Quote:
How is the bframe threshold scaled?
No clue,.. especially since I can't say: "+90 produces only bframes"

Cu Selur

Ps.: got the distribution infos from statsview,..
(hope that's okay)

Last edited by Selur; 24th June 2003 at 06:44.
Selur is offline   Reply With Quote
Old 24th June 2003, 06:27   #20  |  Link
sysKin
Registered User
 
sysKin's Avatar
 
Join Date: Jun 2002
Location: Adelaide, Australia
Posts: 1,167
Hi,
Since I'm here, instead of learning for tommorow:

About 'max bframes' - the statement "will produce only bframes" means that the decision itself will always say 'B' or 'I'. After the 'max' has been reached, B turns to P anyway. 'Max' is always respected.
But the statement is not 100% true anyway, because every next b-frame has its threashold decreased by 20. If you always want 10 bframes in a row, the threshold will have to be 90+9*20 = 270 ))

In any case, threshold above 40..60 will just remove any smartness of the decision. If you want to experiment, go for +/- 10 first.

About lambdas and VHQ: VHQ still decreases filesize. It wasn't the case in the last build becuase of the bugs. Lambda is still 1.00 , I don't think changing it will have any big effect (on constant-bitrate/constant-filesize. It will have effect on constant quant, but that's not what we do*)

I have a favour to ask - could you please check the new keyframe-decision? Does it miss any scenechangs? If yes, are the scenes dark or bright?
Does it put any unexpected keyframes, which hasn't been there in last build**?

Thanks,
Radek

* well, if you do 'compressability test', you care about constant quantizer result. Another prove that compressability value just stopped showing anything after divx3.11.

** like at the beginning, or in the middle, of any fade
__________________
Visit #xvid or #x264 at irc.freenode.net
sysKin is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 17:04.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.