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 > New and alternative video codecs

Reply
 
Thread Tools Search this Thread Display Modes
Old 9th January 2004, 17:08   #101  |  Link
karl_lillevold
Moderator
 
karl_lillevold's Avatar
 
Join Date: Oct 2002
Location: Seattle
Posts: 1,584
How to set encoding complexity in RV10

What it all comes down to is the encoding complexity setting to the RV9/10 encoder. It is the same encoder, this is true, but for RealVideo 10 relative to RealVideo 9, the complexity scale was shifted, as illustrated below:
Code:
85               RV10 high   
75               RV10 medium 
65  RV9 high     RV10 low    
57  RV9 medium 
50  RV9 low
You can to set your complexity level in one of two ways, either choose codec name + high/medium/low, or just codec name and direct complexity as a number. The recommended quality is RV10 High = Complexity level '85'.

Method one, preferred, "official" method
Code:
<videoStream>
  <pluginName type="string">rn-videocodec-realvideo</pluginName>
  <codecName type="string">rv10</codecName>
  <encodingComplexity type="string">high</encodingComplexity>
  <codecProperties type="bag">
      <customPacketSize type="uint">16000</customPacketSize>
  </codecProperties>
</videoStream>
encodingComplexity takes a string:
'high', 'medium', 'low'

or

command line option to producer : -eco <complexity>, where complexity is high, medium, or low. This means that you can simply run producer 10 on the command line with '-eco high' for the best quality.

Method two, direct codec control, inside the <codecProperties> tag. This is undocumented, except here in this forum
Code:
<videoStream>
  <pluginName type="string">rn-videocodec-realvideo</pluginName>
  <codecName type="string">rv10</codecName>
  <codecProperties type="bag">
      <encoderComplexity type="uint">85</encoderComplexity>
      <customPacketSize type="uint">16000</customPacketSize>
  </codecProperties>
/videoStream>
encoderComplexity takes a number, here is the mapping:
100: RV 10 max
85 : RV 10 high
75 : RV 10 medium
65 : RV 10 Low = RV 9 High
57 : RV 9 Medium
50 : RV 9 Low

(note than 100 is "undocumented", and just a tiny better than 85, but slower, may be improved in the future, as time permits)

Again, I am sorry these settings have been changing, but that happens during development.
__________________
This information is provided "AS IS" with no warranties, grants no rights, and reflects my personal opinion.

Last edited by karl_lillevold; 9th February 2004 at 07:42.
karl_lillevold is offline   Reply With Quote
Old 16th January 2004, 14:29   #102  |  Link
methos
Registered User
 
Join Date: Jul 2003
Posts: 41
first and second pass compl. difference

Are the settings for rv10 different for encoding a fast first pass or are they the same? (i didn' see them in your video stream settings above, so i'm wondering...)
methos is offline   Reply With Quote
Old 16th January 2004, 14:34   #103  |  Link
Sirber
retired developer
 
Sirber's Avatar
 
Join Date: Oct 2002
Location: Canada
Posts: 8,978
the first pass tweak is the same, in <codecProperties type="bag">.
__________________
Detritus Software
Sirber is offline   Reply With Quote
Old 16th January 2004, 18:49   #104  |  Link
karl_lillevold
Moderator
 
karl_lillevold's Avatar
 
Join Date: Oct 2002
Location: Seattle
Posts: 1,584
I just checked in the change to make this default behavior as well (firstPassComplexity=65 when encoderComplexity>65). Next Milestone build will have this change included.
__________________
This information is provided "AS IS" with no warranties, grants no rights, and reflects my personal opinion.
karl_lillevold is offline   Reply With Quote
Old 18th January 2004, 16:47   #105  |  Link
Sirber
retired developer
 
Sirber's Avatar
 
Join Date: Oct 2002
Location: Canada
Posts: 8,978
Cool, I'll revert to default as soon as the new producer comes out.
__________________
Detritus Software
Sirber 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 15:32.


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