![]() |
do divx settings affect mpeg output?
should i leave post-processing options for divx disabled or has it no effect on the final mpeg output?
i ve read somewhere that the latest divx scripts 'spray' noise to reduce blocks. so what if i enable deblocking and deringing (divx 5.1) and then 'spray' even more noise for mpeg? just a thought :) |
Let every postprocessing off. Scripts are designed to deal with all artifacts, and if you removed them with the codec feature, the filters used in the scripts will be too heavy. Your picture will probably become too blurry.
Deringing for instance blurs the picture a lot ! |
merci ;)
so it does have an effect :?
explains why my mpegs were kinda blurry thanks! |
where does one change these divx settings?
|
I think post-processing settings are not used unless you use DirectShowSource instead of AVISource (but DirectShowSource gives me problems). Right now I am doing some tests exchanging undot for BilndPP() on the version 2 of the script and getting nice results. But I haven't tried version 1 script yet. BlindPP is a postprocessing filter included in MPEG2DEC package.
[]'s VMesquita |
vmesquita we are talking about the postprocessing done by the codec itself ! So they are used when you decode the video with avisource.
And the proof is that CQ found by CQMatic raise when you set the post process settings on. |
And encoding gets a lot slower too. Try encoding a small DivX clip with zero postprocessing and then at full PP in the codec settings. You'll see the difference :wink:
|
Dialhot and boulder,
This is very interesting! I'll do some tests about it, I always thought post-processing was not used when decoding but I never tested... So maybe I can replace undot by leaving Post-Processing on. :D []'s VMesquita |
I wouldn't do that. Post-processing in the decompression process means removing blocks whereas UnDot deals with general noise. Besides, UnDot doesn't slow down the encoding process nearly as much as the PP settings.
|
What is amusing is that XVID decoder has the deblocking/dering features since a long time a noone ever ask a question about it.
The same : the "film effect" of Divx decoder that is present since version 5 is the equivalent of Blockbuster(noise), and again noone ever thought about this. But that is a good thing : do not rely on anything that is in the codec else you will need a script for each CODEC TYPE avi : xvid, divx 5.05, divx 3.11, divx 4.01... Note : Didn't you ever notice that mpeg2dec3 has a deblocking/deringing feature also ? |
Quote:
|
@Dialhot
DIvX "film effect" is not the same thing as blockbuster. It adds noise to the hole picture (not only the DCT areas), making compression very hard (I tried with DirectShowsource). About the codec problem: I agree, but most people is doing only DivX AND XVid and it DivX 5 can handle DivX3 content. It looks like a good way to improve the source. BlindPP() produces good results but emulates a quantisizer "BlindPP(clip, int "quant", int "cpu", str "cpu2", bool "iPP", int "moderate_h", int "moderate_v") To Deblock and Dering on any kind of DCT-encoded source. Of course, less accurate than decoder intergrated PP, but still very efficient need YV12 input." What means that integrated PP would be even better. Real PP works by knowing the quantisizer and softening the blocks and rings. Maybe PP+blockbuster noise would be a great team... @boulder Good point about undot. |
update:
Just did a 1000 frames xvid clip with and without post-processing using avisource and got exactly 8.125.412 bytes in both... Wired... I encoded in CCE Q40. []'s VMesquita |
Quote:
|
Quote:
Quote:
Quote:
Quote:
Quote:
|
i'm thinking off letting the codec's PP do it's job and be done with it. no filters in avisynth. gonna do a few encodes, see what it's worth.
|
nm
i did 2 quick encodes to see if there's a clear difference .
first one: divx max deblocking, no deringing, and a little bit film effect, no script second : divx PP disabled, and dialhot script. ok i must admit i was doubting this whole scripting bit for a sec, but i'm back on track now :lol: though they both had practically the same bitrate, dialhot's script does a nicer job on the source than divx' own PP options. more artifacts were seen with divx PP, dialhot's was crisper. but for the deblocking part: both were blocky as hell (used a low quality divx) in the same parts. seems that there's no real solution to this yet :cry: |
Re: nm
Quote:
|
this one
i've been using this script for a while now
Code:
#Post-Process |
@Dialhot
How do I enable post-processing during decoding in XVid? I was trying to do that changing XVid settings during playback, but I guess I was only changing DirectShow Decoder properties... Maybe changing in other place I can get it to work. I really would like to compare this to blindpp()... []'s VMesquita |
Quote:
If you do not see the modification is probably because they can't be changed on the fly. You have to restart the player to take in account the new settings. |
Quote:
[]'s VMesquita |
Didn't you find them in the configuration box of Xvid ?
That is in the middle of the box, in a area called : post-processing :-) Or are you saying you do not know how to access to this box ? |
Quote:
PS: I also tried changing in VirtualDub but at least my XVid has no "Post-processing" box. What XVid version are you using, maybe the problem lies here... I am using the latest Nic's build. []'s VMesquita |
Quote:
There is NO directshow filter options in Xvid configuration box because Xvid is a CODEC ! I can't be more clear that this ! The title of this box is very clear : XVID MPEG4 VIDEO CODEC In this box you have 4 parts : - a slider for brightness - 6 box for post processing (horiz deblock Y - Vert Deblock Y - Horiz Deblock C - Vert Deblock C - Dering Y - Dering C) - 2 boxes to enter threshold of the PP (default 20 and 40) - an area where you can force the codec to output in YV12 (how did you force it if you can't open this box ?) I can't post a screenshot of the configuration box but I can send it to you by mail. This way we will see if you are talking about the same thing I do. Quote:
Quote:
|
Quote:
As Vmesquita thought, the problem is probably in Xvid version (there are more than one version unfortunally). |
Dialhot,
What you described is exactly what I did, and it made no effect in CCE. In changed properties while playing in Media Player, closed the player and reloaded to see if the post-processing options stand. And they did. The box is exactly with the options you described. So I encoded with all of them enabled and with all of them disabled and got exacly the same output in bytes, using the same Q factor. I know it makes no sense that CCE and TMpgEnc gives different results, but I am only reporting the result of my test. I plan on doing it again with TmpgEnc just for checking. :? []'s VMesquita |
Quote:
|
Dialhot,
Sorry but I think you're mistaken. I was just walking aroung XVid Nick's builds and found this: http://nic.dnsalias.com/xvid.html So as you see, you can download only the DirectShow Decoder, instead of the full codec. If that is possible and you would still be able to play XVid movies using the directshow decoder, then I guess your theory is wrong... :wink: It's like FFDShow which is a directshow filter and can be used to playback DivX and XVid content, without installing both codecs. But only with FFDshow installed (no DivX/Xvid) you can't use AVISource, altrough you can play content. []'s VMesquita |
I know what is a direct show filter, and I know about ffdshow (because i use it to test my avisynth script on the fly :-)).
I just didn't know there was a directshow filter existing of xvid ;-) But I also know what is on my disc and I can tell you : it is the CODEC version of xvid. For instance, the field to force the output colorspace do have an effect into avisynth. If I change it I can see a difference in the hints given by the avs command "Info()". Can you check this point on your PC ? By the way : do you have zoomplayer ? If yes you can see with it that codec and filters aren't called in the same place by windows : codec is called in first place, before the splitter. filters (like ffdshow or directvobsub) are called after the splitter and you can have more than one. Note: How the hell do you manage to read Xvid video in avisynth if you do not have codec installed ? Avisource does not use directshow filters :!: |
Site design, images and content © 2002-2026 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2026 Jelsoft Enterprises Ltd.