View Full Version : New XviD 2-pass mode


-h
27th January 2002, 12:24
I just added a new 2-pass mode so that you no longer need an external .stats editor - just set the mode to "2 Pass - 2nd Pass Int." and enter the desired file size in Kilobytes. It seemed to stick pretty well from my testing (it just does a linear curve mod).

There's no credits stuff or minimum bitrate or anything you get from an external editor. Just set it and pray.

Might take a day or so for the build to appear on the usual sites.

-h

Doom9
27th January 2002, 12:51
hmm.. are there any other differences to gknot than the min bitrate stuff? as you can read in my codec comparison I got pretty accurate results in the filesize department using gknot and I do not wish that to change ;)

-h
27th January 2002, 12:57
Well.. I have no idea how GKnot's internals work :)

The old 2-pass mode is still there as "2 Pass - 2nd Pass Ext." for external tools to play with. All the new mode does is scale every frame by the same divider to reach the desired file size (same as Xiphrom I'm told).

The code isn't terribly modular, so if people want internal credits, smoothing or whatever else, it might be a while longer.

-h

Doom9
27th January 2002, 14:02
btw.. you said you can get it at the usual places.. I only know about umanic's place and he hasn't updated his builds for a week now.. is there any place better updated to go? requests for binaries are slowly coming in now...

-h
27th January 2002, 14:17
Hmm Nic's site is a bit aged too now that I look at it.. I don't check binary sites all that often I must confess.

Not sure what the best stop-gap measure would be, the 02-01-20 build had a few issues.. I can attach a CVS build if you think it'd be worthwhile.

-h

Doom9
27th January 2002, 14:22
I guess it wouldn't be such a bad idea... and you can exchange it easily, too

gldblade
27th January 2002, 22:03
I'm encoding a movie right now and it seems that it is going to be undersized by about 50 mb. :(

Nic
27th January 2002, 23:37
A bit aged? I only did it on Thursday! :) (sunday today!)

Ill grab the latest source, compile and put up tomorrow morning (GMT)

Cheers,
-Nic

-h
27th January 2002, 23:57
I'm encoding a movie right now and it seems that it is going to be undersized by about 50 mb. :(

Great :)

How'd it end up? If anything I thought it'd be oversized by a few MB.

-h

gldblade
27th January 2002, 23:58
Scratch that! It ended up being right on target! Great job!

MaTTeR
28th January 2002, 00:21
I just encoded a movie with the 01/27 build and am absolutely impressed to say the least. Bearing in mind this code is still in development makes it that much more sweeter:)

I used the 2 pass mode along with Gknot and Vdub 1.48 and totally agree with Doom9's comparison article. When I compared my encoded XviD to my DivX3 flick I noticed the XviD appeared to hold better detail. Along with that, the macroblock artifacts were almost totally gone even though I encoded the flick at 759 bitrate. The movie (Frighteners) I encoded didn't have much action so I think I'll do one more test on Pitch Black:D IMO DivX4 never gave me a reason to stop using DivX3/SBC but XviD might just pry me away. Hope others will post results as well.

EDIT- Oh by the way! Size prediction?? Well my Xvid came out within 75K of the DivX3. Me likes lot:eek:

Foo
28th January 2002, 01:09
"and enter the desired file size in Kilobytes"

Just starting screwing around with Xvid and wanted to be sure about something. When discussing bitrates, either with the new built in two pass or when using GK, we are talking about 1kb=1000bits right? So we would use the same target bitrate as we would for DivX4?

Lately I've been doing all my stuff as either SBC or DivX4, depending on which looked better for a particular title. But I must say I'm impressed with my initial tests of Xvid (on trailers). I'll begin testing it on full encodes tonight.

-h
28th January 2002, 01:22
Just starting screwing around with Xvid and wanted to be sure about something. When discussing bitrates, either with the new built in two pass or when using GK, we are talking about 1kb=1000bits right? So we would use the same target bitrate as we would for DivX4?

If you set a bitrate in XviD, it's held that 1 kilobit = 1000 bits as per the MPEG4 spec. However that only affects 1-pass CBR encodes.

The 2-pass mode, where you set a desired file size, just works with standard kilobytes (1024 bytes). If you enter 573440, you'll hopefully get a 560 MB output file.

-h

Nic
28th January 2002, 10:34
Latest version compiled:

http://xvidbinary.20megsfree.com/

or

http://www.stormpages.com/xvid/

Cheers,
-Nic

Teegedeck
28th January 2002, 11:15
Hi Nic,

thanks for informing us about new binaries (thanks for compiling them, anyway!) - but updating us twice is a bit much... ;) 'cause it seems quite OT in this thread. Perhaps future update-notifications only on the "My XviD binaries"-thread?

Best regards,

Teegedeck

Nic
28th January 2002, 11:39
I know, for some bizarre reason I forget that both threads goto to the top of the forum, Doh! :) Sorry about that, Ill just keep them to the one thread from now on (the My xvid binaries one)

Again my apologies,

-Nic

ps
I compiled the latest VP3 codec (as YouriP asked me too, as the version in the CVS is later than the downloadable version). If anyone wants it shout me.

Alexy
28th January 2002, 12:23
you cand post the latest VP3 codec on you page like the XviD

geart work :)

AMD_Guy
9th February 2002, 02:10
yet another BUMP for the best (IMO) low bit rate CODEC available .. VP3 !! Foo ! ;)