3ivx Discussion Forums: wrong bitrate: 2-pass bug? - 3ivx Discussion Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

wrong bitrate: 2-pass bug?

#1 User is offline   mat Icon

  • Novice
  • Pip
  • Group: Members
  • Posts: 29
  • Joined: 03-April 02

Posted 23 December 2003 - 07:07 AM

It is the second time that I come across this problem:

With automatic 2-pass checked, I've tried to encode my FOTR, special extended edition with 300KBytes/s. The outcome was 417.7KB/s according to DIVA. I havn't calculated myself, but the filesize hints at 417 rather than 300.

Probably it has something to do with DIVA having encoded another movie before (using the wrong log file?). However, I have checked under 3ivx settings that "first pass" showed up.

Any ideas?
0

#2 User is offline   appleguru Icon

  • Master
  • PipPipPipPip
  • Group: Moderators
  • Posts: 365
  • Joined: 05-April 02
  • Location:MA, USA
  • Interests:3ivx, Xbox, mobile phones, macs

Posted 23 December 2003 - 10:23 AM

This is a known bug (Actually discovered when encoding a similar movie you yours; LOTR: TTT, EE ;)). It is a bug in 3ivx and is currently being worked on. It only occurs with 2-pass, and with really really long-ass movies ;) This is also an issue in Xvid I think. The video that you got is essentially just QP2; thus the higher than expected bitrate. I bet it looks great though :P
0

#3 User is offline   Stux Icon

  • The Captain
  • PipPipPipPipPip
  • Group: Admin
  • Posts: 1510
  • Joined: 30-March 02
  • Location:3ivx Compression Heaven
  • Interests:3ivx :)

Posted 23 December 2003 - 10:23 AM

Quote

Probably it has something to do with DIVA having encoded another movie before

No, I think it has to do with the extreme length of the feature...

TTT:EE also causes a dual-pass bug

Until its fixed (which should be in the next update) you will have to encode the movie with another mode, or perhaps chop off the credits or something to make it short (do it in two halves?)
3ivx is pronounced Thriv-ex
http://www.3ivx.com
0

#4 User is offline   zav Icon

  • Master
  • PipPipPipPip
  • Group: Members
  • Posts: 394
  • Joined: 20-February 03
  • Gender:Male
  • Location:Then: SF CA USA. Now, Dallas, TX.
  • Interests:Pigeon kicking.<br />Smurfs.<br />Cross platform compatibility testing matrices.<br />Gum.<br />Coding core and user interface foundation classes.<br />Polymorphism as it applies to object oriented theory.<br />The recapitualtive ability of ontology as it relates to phylogeny<br />3ivx Crush

Posted 26 December 2003 - 02:30 PM

Think I ran into the same problem with Nemo.  Single pass at qp2 produced a 2.9 G movie.  Dual pass at best quality produced a blocky 848 Meg movie.
- Zav
0

#5 User is offline   JWMac3ivx Icon

  • Apprentice
  • PipPip
  • Group: Members
  • Posts: 102
  • Joined: 21-October 03
  • Location:West Coast, USA
  • Interests:Carl Jung, Joseph Campbell, Nietzsche, William Blake...&lt;p&gt;Psychology, Mythology, Philosophy, Religion, Creativity, Photography, Clay...

Posted 26 December 2003 - 11:12 PM

I was encoding a 1hr 45min video with 'Dual Pass - Best Quality' and came across the same problem.  I had to use single pass to get the desired filesize.  Nice to know that this is a known problem, I just thought I was crazy and didn't know what I was doing...Well, I guess this is still true.
I am nobody...
0

#6 User is offline   V99 Icon

  • Mage
  • PipPipPipPipPip
  • Group: Moderators
  • Posts: 1247
  • Joined: 03-April 02
  • Gender:Male
  • Location:Scottsdale, AZ, US

Posted 27 December 2003 - 03:48 PM

Once again, dual pass is meaningless without specifying a bitrate.  If you don't set one, an arbitrary (to you) default is set.  "Best Quality" means for that specific bitrate, not "Give me the best you've got at any cost".  The latter is single pass constant quality QP2 (or QP1).  2 pass just analyzes the file in the first pass to decide what average quantizer is needed for the 2nd pass to meet the bitrate you asked for.  If you don't have a specific bitrate, 2 pass makes absolutely no sense to use.

(Edited by V99 at 1:50 pm on Dec. 27, 2003)
V
Ruler of the planet Omicron Persei 8.
In the beginning there was nothing. Nothing was everywhere. Everywhere was nothing.
Then nothing exploded, creating everything.
0

#7 User is offline   Stux Icon

  • The Captain
  • PipPipPipPipPip
  • Group: Admin
  • Posts: 1510
  • Joined: 30-March 02
  • Location:3ivx Compression Heaven
  • Interests:3ivx :)

Posted 30 December 2003 - 12:56 AM

There may be a second bug of course.

The only dual-pass bug we are aware about occurs on extremely long videos (ie FOTR:EE and TTT:EE) where 2nd pass comes out to the same size as the first pass 7+ Gigs.
3ivx is pronounced Thriv-ex
http://www.3ivx.com
0

#8 User is offline   zav Icon

  • Master
  • PipPipPipPip
  • Group: Members
  • Posts: 394
  • Joined: 20-February 03
  • Gender:Male
  • Location:Then: SF CA USA. Now, Dallas, TX.
  • Interests:Pigeon kicking.<br />Smurfs.<br />Cross platform compatibility testing matrices.<br />Gum.<br />Coding core and user interface foundation classes.<br />Polymorphism as it applies to object oriented theory.<br />The recapitualtive ability of ontology as it relates to phylogeny<br />3ivx Crush

Posted 30 December 2003 - 09:16 AM

Sooooo V, one thing I heart about 3ivx is that is appears to give me "best quality while getting the best bitrate it can."  

How do you propose I aim for that?  Can't 3ivx have a mode that does this?  Does it already?

If I don't know the bitrate I want, but the quality I want, because I don't care about a "specific" bitrate, then how can I set that bitrate?  I'd like 3ivx to come up with the bitrate required for the quality I desire on a per frame basis.
- Zav
0

#9 User is offline   V99 Icon

  • Mage
  • PipPipPipPipPip
  • Group: Moderators
  • Posts: 1247
  • Joined: 03-April 02
  • Gender:Male
  • Location:Scottsdale, AZ, US

Posted 30 December 2003 - 03:33 PM

There are 5 encoder modes.  4 of them are for meeting a bitrate, one of them is not.  If you do not have a specific bitrate, Single Pass CQ is the only encoder mode to use.  If you ignore that and use one of the other 4 without entering a bitrate, the codec assigns an arbitrary (to you) default bitrate which has no bearing on the results you want.

Single Pass - Constant quality (CQ):  "Give me this quality at whatever bitrate it takes"

Single Pass - Average bitrate (ABR): "Try and give me the best quality you can while averaging out to about this bitrate, while guessing about the contents of the file since you don't know what's coming in the future."

Single Pass - Constant bitrate: "Stick tightly to the given bitrate;  Lower quality on complex scenes so that the bitrate stays constant, because I want to stream this file, possibly streaming live.  Guess about the future like in Single pass - ABR"

Dual Pass - Constant bitrate: "Look through the whole file once and decide how to meet the constant bitrate the best way, because I still want to stream this file eventually, but I have some time on my hands."

Dual Pass - Best Quality: "Look through the whole file once and decide exactly what the best average quality you can use that will result in a file that exactly matches the bitrate I asked for and looks better than the single pass ABR because you didn't have to guess."
V
Ruler of the planet Omicron Persei 8.
In the beginning there was nothing. Nothing was everywhere. Everywhere was nothing.
Then nothing exploded, creating everything.
0

#10 User is offline   zav Icon

  • Master
  • PipPipPipPip
  • Group: Members
  • Posts: 394
  • Joined: 20-February 03
  • Gender:Male
  • Location:Then: SF CA USA. Now, Dallas, TX.
  • Interests:Pigeon kicking.<br />Smurfs.<br />Cross platform compatibility testing matrices.<br />Gum.<br />Coding core and user interface foundation classes.<br />Polymorphism as it applies to object oriented theory.<br />The recapitualtive ability of ontology as it relates to phylogeny<br />3ivx Crush

Posted 31 December 2003 - 04:57 PM

THANK YOU V99!!

I'll try to digest all that and come up with something meaningful.
- Zav
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users