|
|
| -vdub- |
| Posted: Jul 18 2011, 03:47 PM |
 |
|
Advanced Member
  
Group: Members
Posts: 613
Member No.: 27087
Joined: 24-February 10

|
Mediacoder uses xvid.dll but its settings are not named the same. Would like to know what each one corresponds to in actual xvid encoder settings.
Why because mediacoder easily produces the best xvid quality video output. And knowing the settings it has for xvid to do the same in actual xvid. Would enable us to have same quality from any transcoder not only mediacoder. Just cannot achieve the same using xvid encode itself through virtualdub or any other transcoder.
Did a search on mediacoder site and net. People are looking for the same answers. But seems no one knows or has not shared their list list. Has anyone worked these settings out (all of them) or have a list or know a url link to somewhere that shows what all the settings actually means compared to xvid own settings ?
Update:
Mediacoder I no longer use since this post or near to it. As now is scamware, malware, payware and other non freeware. Reason I dislike mentioning such encoder for long while now. No one knows there future and yet I have mentioned them in these forums no so often but have. For this I am sory and one day will find those posts and update to reflect this. elf warned don;t mention on any forum tools such as multi encoders that can go the way this rubbish has done. Besides now know AviSynth and Virtualdub has much more power together than this crap software I had mentioned. That is if you have virtualdub external encoders setup for all the formats and containers.
With that in mind I think this forum should make a sub forum for External Encoder and one for profiles alone. There by making external encoders more used and so virtualdub more used for any video format and container output. Though external encoders ui needs to be updated to be eaier for new and older virtualdub use to use it. I have made some suggestions to phaeron here http://forums.virtualdub.org/index.php?act...ST&f=15&t=21459 maybe you also add there what you like to have available with external encoders ui !! |
 |
| evropej |
| Posted: Jul 18 2011, 04:21 PM |
 |
|
Advanced Member
  
Group: Members
Posts: 514
Member No.: 26523
Joined: 28-November 09

|
I have tried myself. I just ended up using a program which does things for me very well. For example, freemake video converter.
Some hardware encoders do a really good job. But the cream of the crop are the guys who put a whole dvd on 600 meg cd with awesome quality.
Maybe once people find the answer, they keep it for themselves lol. |
 |
| dloneranger |
| Posted: Jul 18 2011, 05:08 PM |
 |
|
Moderator
  
Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07

|
Which particular settings? Do you have screenshots etc... as most people aren't going to install software they don't want, just to see the settings
Mediainfo can show a lot of information about the encoded file (if you use one of the extended information displays)
-------------------- MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask Windows7/8 Codec Chooser All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3 |
 |
| -vdub- |
| Posted: Jul 20 2011, 09:21 PM |
 |
|
Advanced Member
  
Group: Members
Posts: 613
Member No.: 27087
Joined: 24-February 10

|
Have had a look at xvid 1.3.0 / 1.3.1 and 1.3.2. Mediacoder uses xvid.dll is the settings different or differently than in xvid end user install. What is needed to be done with your help is to workout exactly which of the __UNKNOWN settings listed below are same and equal to those in the xvid settings.
Only two __UNKNOWN commands now to be found. Will need to use Xvid_Enraw.exe instead of the xvid.exe encoder through virtualdub compressors. Xvid_Encraw.exe can be used through Virtualdub > Options > External Encoders. Xvid_Encraw has many if not all the options listed here maybe to do this.
Anyone know what the last two __UNKNOWN commands in the list below equate to in xvid_encraw.exe ?
The list below is in the same layout as in mediacoder the example below showing the layout i have used for the list.
| CODE | __Actual Location In Xvid Encoder Settings = Mediacoder Configuration Name - Mediacoder Settings Name
Default Setting
....Mediacoder Setting Description Details |
| CODE | XviD is a free and open source MPEG-4 video codec. It features MPEG-4 Advanced Simple Profile features such as b-frames, global and quarter pixel motion compensation, lumi masking, trellis quantization, and H.263, MPEG and custom quantization matrices.
__Profile @ Level = Profile
Unrestricted
..Description - Restricts options and VBV (peak bitrate over a short period) according to the Simple, Advanced Simple and DivX profiles. The resulting videos should be playable on standalone players adhering to these profile specifications.
__Profile @ Level > Level > Profile @ Level = videnc xvid strict - Strict Profile Conformation
False
..Description - If set, all options which may conflicts with profile specification will be disabled.
__Quality Preset > more > Motion Precision > VHQ Mode = Motion Search Algorithm
Medium Search
..Description - The motion search algorithm is based on a search in the usual color domain and tries to find a motion vector that minimizes the difference between the reference frame and the encoded frame. With this setting activated, XviD will also use the frequency domain (DCT) to search for a motion vector that minimizes not only the spatial difference but also the encoding length of the block.
__Quality Preset > more > Motion Precision > Motion Estimation Quality [min=1 | max=6]
6
..Description - This option controls the motion estimation subsystem. The higher the value, the more precise the estimation should be (default: 6). The more precise the motion estimation is, the more bits can be saved. Precision is gained at the expense of CPU time so decrease this setting if you need realtime encoding.
__Profile @ Level > B_VOPs = Maximum B-frames between I/P-frames [min=0 | max=4]
0
Description - Maximum number of B-frames to put between I/P-frames
__Profile @ Level > B_VOPs = B-frames quantitizer ratio
150
__Profile @ Level > B_VOPs = B-frames quantitizer offset">
100
__Quality Preset > more > Motion Precision > VHQ Mode > use VHQ for B Frames Too = BVHQ
True
..Description - Allow vector candidates for B-frames
__Zone Options > Greyscale Encoding = Greyscale
False
..Description - Make XviD discard chroma planes so the encoded video is greyscale only. Note that this does not speed up encoding, it just prevents chroma data from being written in the last stage of encoding.
__Profile @ Level - Quarter Pixel = qpel = Quarter Pixel Precision
False
..Description - MPEG-4 uses a half pixel precision for its motion search by default. The standard proposes a mode where encoders are allowed to use quarter pixel precision. This option usually results in a sharper image. Unfortunately it has a great impact on bitrate and sometimes the higher bitrate use will prevent it from giving a better image quality at a fixed bitrate. It is better to test with and without this option and see whether it is worth activating.
__Profile @ Level - Global Motion Compensation = gmc - Global Motion Compensation
False
..Description - Enable Global Motion Compensation, which makes XviD generate special frames (GMC-frames) which are well suited for Pan/Zoom/ Rotating images. Whether or not the use of this option will save bits is highly dependent on the source material.
__Quality Preset > More > Quantization = trellis - Adaptive Quantization">
True
..Description - Trellis Quantization is a kind of adaptive quantization method that saves bits by modifying quantized coefficients to make them more compressible by the entropy encoder. Its impact on quality is good, and if VHQ uses too much CPU for you, this setting can be a good alternative to save a few bits (and gain quality at fixed bitrate) at a lesser cost than with VHQ</desc>
__Zone Options > Cartoon Mode = cartoon - Optimize for Cartoons
False
..Description - Activate this if your encoded sequence is an anime/cartoon. It modifies some XviD internal thresholds so XviD takes better decisions on frame types and motion vectors for flat looking cartoons.
__Profile @ Level > Quantization Type = quantType - Quantitizer Type
False
..Description - Sets the type of quantizer to use. For high bitrates, you will find that MPEG quantization preserves more detail. For low bitrates, the smoothing of H.263 will give you less block noise. When using custom matrices, MPEG quantization must be used.
__Quality Preset > Use Chroma Motion = chroma_me - Using the Chroma Planes
True
..Description - The usual motion estimation algorithm uses only the luminance information to find the best motion vector. However for some video material, using the chroma planes can help find better vectors. This setting toggles the use of chroma planes for motion estimation.
__Zone > Chroma Optimizer Enabled = chroma_opt - Enable a Chroma Optimizer Prefilter
True
..Description - Enable a chroma optimizer prefilter. It will do some extra magic on color information to minimize the stepped-stairs effect on edges. It will improve quality at the cost of encoding speed. It reduces PSNR by nature, as the mathematical deviation to the original picture will get bigger, but the subjective image quality will raise. Since it works with color information, you might want to turn it off when encoding in greyscale.
__UNKNOWN = hqac - High Quality AC Coefficient Prediction
True
..Description - Activates high-quality prediction of AC coefficients for intra frames from neighbor blocks
__Profile @ Level > Packed Bitstream = packed - Frame Packed
False
..Description - This option is meant to solve frame-order issues when encoding to container formats like AVI that cannot cope with out-of-order frames. In practice, most decoders (both software and hardware) are able to deal with frame-order themselves, and may get confused when this option is turned on, so you can safely leave if off, unless you really know what you are doing.
__Xvid_Encraw.exe > Glosed Gop = closedgop - Closed GOP
False
__Quality Preset > More > Turbo = turbo - Turbo Mode (2-pass)
True
..Description - Dramatically speeds up pass one using faster algorithms and disabling CPU-intensive options. This will probably reduce global PSNR a little bit and change individual frame type and PSNR a little bit more.
__Other Options > FourCC Used = dx50 - Using DivX 5 ffourcc
False
__Other Options > Number Of Threads (0=auto detected) = threads - Threads (0 for auto) min=0 | max=8
0
..Description - Create n threads to run the motion estimation.
__Xvid_Encraw.exe > No-Asm = Common asm - Use Assembly Optimization
True
__More > More > Maximum I-Frame Interval = keyint - Maximum interval between I-frames (0=auto)
0
__Profile @ Level > Adaptive Quantization = lumimask - Luminance Mask
0
__UNKNOWN = vop - VOP Quality min=0 | max=5
5
__Encoding Type > TwoPass-2nd Pass > I-Frame Boost = keyframe_boost - Keyframe boost min=0 | max=100
0
__Encoding Type > TwoPass-2nd Pass > Curve Compression > High Bitrate Scenes Degradation = vbr_curve_high - VBR compression curve high value min=0 | max=100
0
..Description - Percentage of compression performed on the high part of the curve (above average)
__Encoding Type > TwoPass-2nd Pass > Curve Compression > Low Bitrate Scenes Degradation = vbr_curve_low - VBR compression curve low value min=0 | max=100
0
..Description - Percentage of compression performed on the high part of the curve (below average)
__Encoding Type > TwoPass-2nd Pass > Overflow Treatment > Overflow Control Strength = overflow_control_strength - Overflow control strength min=0 | max=100
5
..Description - Payback delay expressed in number of frames</desc>
__Encoding Type > TwoPass-2nd Pass > Overflow Treatment > Max Overflow Improvement = overflow_improvement - Max overflow improvement min=0 max=100
5
..Description - Percentage of allowed range for a frame that gets bigger because of overflow bonus
__Encoding Type > TwoPass-2nd Pass > Overflow Treatment > Max Overflow Degradation = overflow_degradation - Max overflow degradation min=0 | max=100
5
..Description - Percentage of allowed range for a frame that gets smaller because of overflow penalty
__Encoding Type > TwoPass-2nd Pass > Intra-Frames Tuning > I-Frames Closer Than... (frames) = kfreduction - Key frame reduction min=0 | max=100
0
..Description - Maximum bitrate reduction applied to an iframe under the kfthreshold distance limit
__Encoding Type > TwoPass-2nd Pass > Intra-Frames Tuning > ...Are Reduced By = kfthreshold - Key frame threshold min=0 | max=100
0
..Description - If an iframe is closer to the next iframe than this distance, a quantity of bits is substracted from its bit allocation. The reduction is computed as multiples of kfreduction/kthreshold.
__Xvid_Encraw.exe > Overhead = container_overhead - Container frame overhead
24
..Description - How many bytes the controller has to compensate per frame due to container format overhead |
Mediacoder xvid settings screen shot showing these as detailed above

Mediacoder can produce nice videos with a few quick tweaks of the above default settings. Then it is used each time and can be saved to a profile for later use.
A good reason to know what these __Unknown settings above equate to in the xvid settings, is so we can then use xvid in virtualdub with same setting to have also good picture quality that can be achieved in mediacoder.
Then we all would be able to use better xvid settings from virtualdub for all xvid encoding, instead of using mediacoder or other non virtualdub tool. 
| CODE | Note: These mediacoder default settings above likely produce horrible video quality, same as xvid default settings would. |
The above settings can be educational and finding out what the __UNKNOWN mediacoder settings equate to in the xvid encoder settings. |
 |
| dloneranger |
| Posted: Jul 21 2011, 02:09 PM |
 |
|
Moderator
  
Group: Moderators
Posts: 2366
Member No.: 22158
Joined: 26-September 07

|
Most of the _Unknown ones are not really interesting from a quality basis Open gop for example can be more of a pain than a benefit (especially as you're not even using b-frames anyway)
Must admit I'm curious why you have worse quality with xvid and virtualdub - those settings for mediacoder aren't particularly 'good quality' ones
eg unrestricted profile is selected (so you can use as many b-frames as you like etc) b-frames are turned off though turbo mode is enabled, faster, but lower quality (ok for pass 1 of multipass though i guess) vhq mode is on medium open gops are selected, but b-frames are turned of.....
In short, there's nothing 'great' about those settings, they just look more like a random turn-some-on-and-others-off
If virtualdubs xvid encoding is bad, it might be worth reloading the defaults in it's config dialog Maybe there's a bad setting from playing with it, or from an old version of xvid
-------------------- MultiAdjust JoinWav WavNormalize FFMPeg Input Plugin v1827 UnSharpMask Windows7/8 Codec Chooser All FccHandlers Stuff inc. Installers for acm codecs AAC, AC3, LameMp3 |
 |
| -vdub- |
| Posted: Jul 21 2011, 02:26 PM |
 |
|
Advanced Member
  
Group: Members
Posts: 613
Member No.: 27087
Joined: 24-February 10

|
The settings above are mediacoder default settings, the above default settings will produce horrible video most likely. Will edit above post to reflect this.
To harness xvid in virtualdub to achieve what picture quality mediacoder outputs. Have to know what the above __UNKNOWN settings actually relate to in xvid encoder. |
 |
| Placio74 |
| Posted: Jul 21 2011, 08:56 PM |
 |
|

VideoAudio
  
Group: Members
Posts: 1216
Member No.: 21485
Joined: 24-May 07

|
During years of 'development' MediaCoder initially used MEncoder (libxvid), later was added alternative use of xvidcore. Now it's reversed - xvidcore is used by default, when MEncoder (libxvid) is an alternative choice.
Configuration for Xvid is used for both encoders. Descriptions of options are copied from MPlayer/MEncoder docs.
Some features are used in Xvid by default and in (current) VfW config GUI is not an option to disable them (but some can disable in xvid_encraw). Also it seems that some options refer rather to MEncoder than xvidcore.
I think that rather...
Closed GOP refers to Closed GOV in Xvid VfW config GUI. Description of Closed GOV: "Closes every group-of-pictures before encoding new keyframe."
Container frame overhead is used with default value for AVI - I see no option to change in Xvid VfW config GUI.
Assembly optimizations is used by default - no option to disable in Xvid VfW config GUI.
High Quality AC Coefficient Prediction (hq_ac) is for MEncoder (as 'command').
Using DivX 5 fourcc - although in Xvid VfW config GUI is possible to set FourCC, this option is used by MediaCoder only for MEncoder (nothing to xvidcore or libxvid - this simply adds -ffourcc DX50 for MEncoder).
VOP Quality? I'm not sure...
-------------------- VideoAudio.pl - Serwis o technologii wideo & audio |
 |
| Jawor |
| Posted: Jul 21 2011, 09:46 PM |
 |
|

Newbie

Group: Members
Posts: 1
Member No.: 32256
Joined: 21-July 11

|
| QUOTE | Closed GOP refers to Closed GOV in Xvid VfW config GUI. Description of Closed GOV: "Closes every group-of-pictures before encoding new keyframe." |
That's right. "GOV" simply means "group of VOPs" (the MPEG-4 standard can't just call a frame a frame... it has to be called a VOP - Video Object Plane).
Closing GOPs (GOVs) is done by putting a P-frame before every I-frame.
| QUOTE | | VOP Quality? I'm not sure... |
That's a mystery for me as well Maybe that had something to do with the (now deprecated) Advanced RealTime Simple profile and its Reduced Resolution function... But I'm only guessing here.
| QUOTE | | High Quality AC Coefficient Prediction |
Yeah, there is such a flag in Xvid's API (XVID_VOP_HQACPRED). It's always enabled when encoding through Xvid's VfW interface (there's no checkbox available for it).
| QUOTE | | Assembly optimizations is used by default - no option to disable in Xvid VfW config GUI. |
That's probably the same as Other options -> Common -> Performance optimizations in VfW (where we can enable or disable the hand-written assembly code for different instruction sets - MMX, SSE, SSE2 etc.). Output files may differ slightly depending on the instruction sets that were used (probably due to a different precision of floating point calculations).
-------------------- VideoAudio.pl Jawor's Xvid builds and other stuff |
 |
| -vdub- |
| Posted: Jul 21 2011, 10:23 PM |
 |
|
Advanced Member
  
Group: Members
Posts: 613
Member No.: 27087
Joined: 24-February 10

|
__UNKNOWN = vop - VOP Quality min=0 | max=5
5
Maybe ... xvid > Zone Options BVOP sensitivity (or not ??)
-
__UNKNOWN = hqac - High Quality AC Coefficient Prediction
True
..Description - Activates high-quality prediction of AC coefficients for intra frames from neighbor blocks
MPlayer Documentation for hq_ac http://www.mplayerhq.hu/DOCS/HTML/en/MPlayer.html
7.4.2. Encoding options of Xvid
hq_ac Activates a better coefficient cost estimation method, which slightly reduces file size by around 0.15 to 0.19% (which corresponds to less than 0.01dB PSNR increase), while having a negligible impact on speed. It is therefore recommended to always leave it on.
-
xvid_encraw __Closed Gop = closedgop - Closed GOP
False
MPlayer Documentation http://www.mplayerhq.hu/DOCS/HTML/en/MPlayer.html
7.3.3. Encoding options of libavcodec
vmax_b_frames: 1 or 2 is good, depending on the movie. Note that if you need to have your encode be decodable by DivX5, you need to activate closed GOP support, using libavcodec's cgop option, but you need to deactivate scene detection, which is not a good idea as it will hurt encode efficiency a bit.
-
xvid_encraw __Overhead = container_overhead - Container frame overhead
24
..Description - How many bytes the controller has to compensate per frame due to container format overhead
MPlayer Documentation http://www.mplayerhq.hu/DOCS/HTML/en/MPlayer.html
7.1.12.2. Limitations of the AVI container
Although it is the most widely-supported container format after MPEG-1, AVI also has some major drawbacks. Perhaps the most obvious is the overhead. For each chunk of the AVI file, 24 bytes are wasted on headers and index. This translates into a little over 5 MB per hour, or 1-2.5% overhead for a 700 MB movie. This may not seem like much, but it could mean the difference between being able to use 700 kbit/sec video or 714 kbit/sec, and every bit of quality counts.
In addition this gross inefficiency, AVI also has the following major limitations:
Only fixed-fps content can be stored. This is particularly limiting if the original material you want to encode is mixed content, for example a mix of NTSC video and film material. Actually there are hacks that can be used to store mixed-framerate content in AVI, but they increase the (already huge) overhead fivefold or more and so are not practical.
Audio in AVI files must be either constant-bitrate (CBR) or constant-framesize (i.e. all frames decode to the same number of samples). Unfortunately, the most efficient codec, Vorbis, does not meet either of these requirements. Therefore, if you plan to store your movie in AVI, you will have to use a less efficient codec such as MP3 or AC-3.
Having said all that, MEncoder does not currently support variable-fps output or Vorbis encoding. Therefore, you may not see these as limitations if MEncoder is the only tool you will be using to produce your encodes. However, it is possible to use MEncoder only for video encoding, and then use external tools to encode audio and mux it into another container format.
-
xvid_encraw __No-Asm = Common asm - Use Assembly Optimization
True
Related info... http://forum.videohelp.com/threads/332074-...8356&viewfull=1 |
 |
| -vdub- |
| Posted: Jul 21 2011, 10:34 PM |
 |
|
Advanced Member
  
Group: Members
Posts: 613
Member No.: 27087
Joined: 24-February 10

|
. |
 |
| -vdub- |
| Posted: Jul 21 2011, 11:02 PM |
 |
|
Advanced Member
  
Group: Members
Posts: 613
Member No.: 27087
Joined: 24-February 10

|
xvid_encraw - raw mpeg4 bitstream encoder written by Christoph Lampert
xvid_encraw built at 03:38:40 on Jun 24 2011 Usage : xvid_encraw [OPTIONS]
Input options: -i string : input filename (stdin) -type integer: input data type (yuv=0, pgm=1, avi/avs=2) -w integer: frame width ([1.2048]) -h integer: frame height ([1.2048]) -csp string : colorspace of raw input file i420, yv12 (default) -frames integer: number of frames to encode
Output options: -dump : save decoder output -save : save an Elementary Stream file per frame -o string : save an Elementary Stream for the complete sequence -avi string: save an AVI file for the complete sequence -mkv string: save a MKV file for the complete sequence
BFrames options: -max_bframes integer: max bframes (2) -bquant_ratio integer: bframe quantizer ratio (150) -bquant_offset integer: bframe quantizer offset (100)
Rate control options: -framerate float : target framerate (auto) -bitrate [integer] : target bitrate in kbps (700) -size integer : target size in kilobytes -single : single pass mode (default) -cq float : single pass constant quantizer -pass1 [filename] : twopass mode (first pass) -full1pass : perform full first pass -pass2 [filename] : twopass mode (2nd pass) -zq starting_frame float : bitrate zone; quant -zw starting_frame float : bitrate zone; weight -max_key_interval integer : maximum keyframe interval (300)
Single Pass options: -reaction integer : reaction delay factor (16) -averaging integer : averaging period (100) -smoother integer : smoothing buffer (100)
Second Pass options: -kboost integer : I frame boost (10) -kthresh integer : I frame reduction threshold (1) -kreduction integer : I frame reduction amount (20) -ostrength integer : overflow control strength (5) -oimprove integer : max overflow improvement (5) -odegrade integer : max overflow degradation (5) -chigh integer : high bitrate scenes degradation (0) -clow integer : low bitrate scenes improvement (0) -overhead integer : container frame overhead (0) -vbvsize integer : use vbv buffer size -vbvmax integer : vbv max bitrate -vbvpeak integer : vbv peak bitrate over 1 second
Other options -noasm : do not use assembly optmized code -turbo : use turbo presets for higher encoding speed -quality integer : quality ([0..6]) (6) -vhqmode integer : level of R-D optimizations ([0..4]) (1) -bvhq : use R-D optimizations for B-frames -metric integer : distortion metric for R-D opt (PSNR:0, PSNRHVS M: 1) -qpel : use quarter pixel ME -gmc : use global motion compensation -qtype integer : quantization type (H263:0, MPEG4:1) (0) -qmatrix filename : use custom MPEG4 quantization matrix -interlaced [integer] : interlaced encoding (BFF:1, TFF:2) (1) -nopacked : Disable packed mode -noclosed_gop : Disable closed GOP mode -masking [integer] : HVS masking mode (None:0, Lumi:1, Variance:2) (0) -stats : print stats about encoded frames -ssim [integer] : prints ssim for every frame (accurate: 0 fast: 4) (2) -ssim_file filename : outputs the ssim stats into a file -psnrhvsm : prints PSNRHVSM metric for every frame -debug : activates xvidcore internal debugging output -vop_debug : print some info directly into encoded frames (where then is vop quality that this may debug) -nochromame : Disable chroma motion estimation -notrellis : Disable trellis quantization -imin integer : Minimum I Quantizer (1..31) (2) -imax integer : Maximum I quantizer (1..31) (31) -bmin integer : Minimum B Quantizer (1..31) (2) -bmax integer : Maximum B quantizer (1..31) (31) -pmin integer : Minimum P Quantizer (1..31) (2) -pmax integer : Maximum P quantizer (1..31) (31) -drop integer : Frame Drop Ratio (0..100) (0) -start integer : Starting frame number -threads integer : Number of threads -slices integer : Number of slices -progress [integer] : Show progress updates every n frames (10) -par integer[:integer] : Set Pixel Aspect Ratio. 1 = 1:1 2 = 12:11 (4:3 PAL) 3 = 10:11 (4:3 NTSC) 4 = 16:11 (16:9 PAL) 5 = 40:33 (16:9 NTSC) other = custom (width:height) -help : prints this help message
NB: You can define 64 zones repeating the -z[qw] option as needed. |
 |
| -vdub- |
| Posted: Jul 21 2011, 11:16 PM |
 |
|
Advanced Member
  
Group: Members
Posts: 613
Member No.: 27087
Joined: 24-February 10

|
All that is to find then is the following
__UNKNOWN = hqac - High Quality AC Coefficient Prediction
True
..Description - Activates high-quality prediction of AC coefficients for intra frames from neighbor blocks
In mediacoder xvid encoder, this option is able to be enabled or disabled
-
__UNKNOWN = vop - VOP Quality min=0 | max=5
5
Looking more like we will have to use xvid_encraw encoder in virtualdub, by using virtualdub encoder controls. The vfw xvid encoder gui will be of no use if need to match or achieve better picture quality that mediacode xvid outputs atm.
FRirst need to know the last two missing __UNKNOWN above. And that all the other options listed are also in xvid_encraw.
Update: The initial first list i posted above i have updated now to show the only two remaining __UNKNOWN commands yet to be found. Can you help finding these in the xvid_encraw.exe ?
The known new found past __UNKNOWN ones now updated with __xvid_encraw.exe > command = |
 |
| Placio74 |
| Posted: Jul 24 2011, 12:16 AM |
 |
|

VideoAudio
  
Group: Members
Posts: 1216
Member No.: 21485
Joined: 24-May 07

|
Some about hq_ac (in MEncoder/libxvid): http://lists.mplayerhq.hu/pipermail/mplaye...ril/017695.html
High quality ac prediction is default in Xvid VfW (without disable option). In MEncoder it's also used by default (with disable 'option'). But, some nonsense in MediaCoder... High Quality AC Coefficient Prediction (MediaCoder option) adds or removes hq_ac to/from MEncoder command line. However it does not turn on or off, because hq_ac is used by default and to disable high quality ac prediction is required to use... nohq_ac (which MediaCoder does not add).
Some other (inconsistency)... If Maximum B-frames between I/P-frames is set to 0 (what (if I right remember) is set for 'compatibility' with some PMP/PVP devices), then it does not matter whether Closed GOP is enabled or not.
Hmm... VOP Quality (MediaCoder option) is not related to vop_debug in Xvid. In Xvid VfW vop_debug it's just Print debug info on each frame option (in Other Options...).
It seems (after compared DRF analysis processed vids) that MediaCoder's VOP Quality option with value set to 5 is just equal to Use 4MV in Xvid VfW...
-------------------- VideoAudio.pl - Serwis o technologii wideo & audio |
 |
| -vdub- |
| Posted: Jul 24 2011, 11:20 PM |
 |
|
Advanced Member
  
Group: Members
Posts: 613
Member No.: 27087
Joined: 24-February 10

|
hq_ac link you posted is written this
| QUOTE | | The VfW code use a hq_mode variable (off, mode decision, limited search, medium search, wide search) and then puts *_BITS flags into enc_frame.motion according to this "hq_mode" selector. This way we can adjust HQ power independently. |
Equivalent xvid vfw control __Quality Preset > more > Motion Precision > VHQ Mode = Motion Search Algorithm
Equivalent xvid_encraw control -vhqmode integer : level of R-D optimizations ([0..4]) (1)
_ 4MV (4 motion vectors) some related info here http://list.xvid.org/pipermail/xvid-devel/...ber/004559.html
| QUOTE | | 4mv was depreciated, and all is taken care by the me_quality option, me_quality 4, 4mv is activated. |
http://www.birds-eye.net/definition/b/bvop...ect_plane.shtml
Maybe then long as Motion estimation is active VOPs will be active else disabled
I know it is nice to assume mencoder is part of xvid setting in mediacoder at least to explain what is happening. Though i think the xvid settings are all xvid. Xvid history shows they have used same name or similar, maybe no longer in the settings to control from user. But the still remain and can be accessed using the setting (testing) ?
It seems (after compared DRF analysis processed vids) that MediaCoder's VOP Quality option with value set to 5 is just equal to Use 4MV in Xvid VfW... I use avinaptic to know xvid DRF, what you using to show DRF ? (will get if showing more DRF detail than avinaptic) |
 |
| Placio74 |
| Posted: Jul 25 2011, 05:58 AM |
 |
|

VideoAudio
  
Group: Members
Posts: 1216
Member No.: 21485
Joined: 24-May 07

|
I guess that if VHQ Mode is enabled, then high quality ac prediction is used by default. It also is used by default used in MEncoder (currently there is no need to add hq_ac command), with possibility to disable (while still using selected VHQ mode). Question is... anybody intentionally uses nohq_ac option...?
| QUOTE (-vdub- @ Jul 25 2011, 01:20 AM) | | QUOTE | | 4mv was depreciated, and all is taken care by the me_quality option, me_quality 4, 4mv is activated. |
|
But a year later, PROFILE_4MV flag has been added... ... and in Xvid VfW option Use 4MV is present... ... and mostly 4MV is used by default, with exception of a few profiles (DivX qMobile and DivX Handheld).
| QUOTE (-vdub- @ Jul 25 2011, 01:20 AM) | | I use avinaptic to know xvid DRF, what you using to show DRF ? ... |
Also I used Avinaptic.
BTW As I understand, MediaCoder uses Xvid API to 'direct' switch/set flags and arguments for xvidcore. So... when High Quality AC Coefficient Prediction is disabled in MediaCoder, flag XVID_VOP_HQACPRED will be 'switched off'.
-------------------- VideoAudio.pl - Serwis o technologii wideo & audio |
 |