Log in

View Full Version : settings to encode to max quality...?


roise_r
16th January 2006, 22:08
original topic: is divx better then xvid?
becouse Teegedeck closed my last post, i am forced to open a new thread to the following reason: becouse i am noob to encoding, and i just want to watch movies in my dvd, and i dont know what encoder to use. but as far as this, i undestand that if i want MAX quality, as close as posible to the source, (and as source i mean another .avi MPEG-4 encoded movie, not DVD - VOBs), and i don't care about time, or size (I mean not +1GB size, but if there is a +20MB i don't care, around the source size :)) I should use XVid...right?! The quality is the most important and only criteria !!! and NO, i can't use x264, becouse my dvd wont read it

10x, to all , apologies to Teegedeck for posting almost the same topic again

P.S. and if there is someone kind enough to tell me all the settings for that MAX quality i am looking for, i will be deeply greatfull to him and will serve him longly... i prefer to use PocketDivxEncoder becouse its easy and fun, if i shouldn't pls tell me also...:) 'end'

Teegedeck
16th January 2006, 22:41
HEy! You know posting on the same topic twice is illegal, don't you? ;)

OK then:
1) As someone already commented: Use the original VOBs, reencoding AVIs doesn't result in high quality...
2) Especially it doesn't make sense to reencode AVIs at a higher quality setting than they've been encoded at the first time. Use ffdshow's OSD feature in order to find out at what quantizer you've encoded them with that PockedDivX-thingie the first time and MPEG4Modifier to find out what quantization (H.263, MPEG or custom MPEG) it used - probably just H.263... It doesn't make sense to use less compression the second time than the first time.
3) It makes absolutely no sense to upscale the resolution (if that's really what you wanted to do - I kinda got that impression from your first thread).
4) In general, highest quality means using a high-bitrate CQM at quant=3 or something and ME precision=6, VHQ=4, Trellis. That's the settings that really bring home the bacon and are worth the elongated encoding time.
5):search:

Good night.

CWR03
17th January 2006, 05:08
i undestand that if i want MAX quality, as close as posible to the source, (and as source i mean another .avi MPEG-4 encoded movie, not DVD - VOBsNot only is it better to encode from the source, it's against forum rules to ask for help with material which you do not own, re: rule #6. For more than one reason it would be in your best interest to return to the source if you do in fact own it.

roise_r
17th January 2006, 12:03
ok, thanks to all, so i have these last questions and i will be on my way out.

1)who said that i didnt own the material i want to encode, in fact its me in there and my dog:), its just that a friend of mine encoded it with Xvid the first time but the resolution he used was 800 pixels wide, i want no more then 720.(i want to reduce, not increase resolution) and i dont have the original anyomre (think of my problem this way:) )

2) i use 'pocketdivxencoder' to re-encode already encoded AVIs, mostly with xvid. is this wrong, should i stick with the "lots of options i don't understand" virtualdubmod.

3)'high-bitrate CQM at quant=3' i know what is bitrate but not sure for CQM and quant - means quantizer or quantity.

4)ME precision=6, VHQ=4, Trellis. - where are these options a cant find them in either divx or xvid encoding options

5)i found the quantizer, quantization, bitrate, noise reduction. The bidirectional coding, bias, weight, phsyhovisual enhacements, I have no idea what these are, but the last one sounds important...and scary, if i want to stick max to the source, should i keep them off, or the nosie reduction for example helps the quality and should be given a value, fourCC - also dont know what is it.

6)on the quantization there is also option "optimized quantization" - use that?!

7)i want to stick as much as posible to the source, if there was an option "don't re-encode, use the existing compression, just reduce resolution and crop!" i would have used that, but there isnt, so i am forced to go through all this. as you said there is no point to raise quality more then its already encoded, would get just a bigger file, not more quality. - so these are the settings i am looking for.

8) so first i need to see with what number of quantizer thingie my movie is encoded right? i will use ffshow OSD - where do i find that?! is it included on the k-lide codec pack

9)use MPEG4modifier to find out the quantization, where, how?!:) is it included on k-lite

10)then, after finding these out, put the values to their boxes, just as they are or incrase quantizer +1 just in case?

11)the main question still reamin though, should i use divx or Xvid, and this is not the same question as "which is better" becouse now everyone knows exactly what i want - minimum difference with the source's quality, and it is not realtive anymore.

it took me exactly 55 minutes to write and formulate all this. :)

Teegedeck, take your time in answering, i am not in a hurry, even if you write one answer in a day, this also counts for everyone who wishes to help!!!

Teegedeck
17th January 2006, 14:50
No prob. But again, this will not result in good quality, certainly not if you want to make the files even smaller than they are now.

2) i use 'pocketdivxencoder' to re-encode already encoded AVIs, mostly with xvid. is this wrong, should i stick with the "lots of options i don't understand" virtualdubmod.
...
5)i found the quantizer, quantization, bitrate, noise reduction. The bidirectional coding, bias, weight, phsyhovisual enhacements, I have no idea what these are, but the last one sounds important...and scary, if i want to stick max to the source, should i keep them off, or the nosie reduction for example helps the quality and should be given a value, fourCC - also dont know what is it.
...
6)on the quantization there is also option "optimized quantization" - use that?!
Either these XviD options are renamed in PocketDivX or these are DivX options. Either way, I don't know them. Use an application that exposes the VfW frontend (like VDub) so that you can use the XviD Guides and hints on this forum.

3)'high-bitrate CQM at quant=3' i know what is bitrate but not sure for CQM and quant - means quantizer or quantity.Use search, this complex topic has been talked about a lot!


4)ME precision=6, VHQ=4, Trellis. - where are these options a cant find them in either divx or xvid encoding options:search:

7)i want to stick as much as posible to the source, if there was an option "don't re-encode, use the existing compression, just reduce resolution and crop!" i would have used that, but there isnt, so i am forced to go through all this. as you said there is no point to raise quality more then its already encoded, would get just a bigger file, not more quality. - so these are the settings i am looking for.If you don't reencode the files won't get smaller. If you reencode, quality gets worse. Especially if you want to end up with smaller files. See below.
8) so first i need to see with what number of quantizer thingie my movie is encoded right? i will use ffshow OSD - where do i find that?! is it included on the k-lide codec pack

9)use MPEG4modifier to find out the quantization, where, how?!:) is it included on k-lite
First: Codec packs (except for the so-called GKnot and Matroska codec packs) are evil and mess up your system. They cause all kinds of problems like garbled picture etc. and are sometimes impossible to deinstall. They kinda void your XviD warranty.
Use search and read in order to find out how to use ffdshow's OSD and MPEG4Modifier. That's not a necessity, though. It was just meant to give you a good starting-point for at what quant you should attempt recompression; you can just as well experiment with any constant quantizer and see if the result is small enough - or just go for two-pass instead.

810)then, after finding these out, put the values to their boxes, just as they are or incrase quantizer +1 just in case?See above.

11)the main question still reamin though, should i use divx or Xvid, and this is not the same question as "which is better" becouse now everyone knows exactly what i want - minimum difference with the source's quality, and it is not realtive anymore.That's pretty much like asking 'should I use a PC or a Mac to post on the forum?'. It doesn't matter much. Use whatever feels easier to do for you.

Edit: As to what settings to use in XviD, I believe I've already posted that in the closed thread.

roise_r
17th January 2006, 21:43
ok... 10x but, if the search is everything i need, then somebody needs to tell me how to use it, couse i tried it so many times, i cant find what i am looking for, if i write "settings for divx", a bounch of topics will appear which have absolutly no realtion to the search word, am i not searching objectivly...?

as for the size... i dont care if the movie is DOUBLE the size, i just need the resolution not bigger then 720 pixels wide, couse my stand alone DVD player LG DVX-9900 won't read bigger resolutions... and i want to stick as much as posible to the source's quality

also, i didnt realize that i was talking about DivX options when asking the questions about the options i didnt know... (this options can be found on the virtualdubmod compression menu, when selecting divx5 or 6, and pressing configure.) should i post this in the divx section?? i will take notes of the xvid options though anyway 10x

i am kind of divx oriented becouse there are DivX certified hardware in the name of heavens. is xvid really better if divx is already certifying itself on the bigger hardware companies producing DVD player??!!!

shon3i
17th January 2006, 22:24
First you must use some professional like a VirtualDub to compress to max quality and DivX 6.1 or XviD 1.1 codec. Pocket DivX Encoder can't change settings like vhq, bframes, cqm and other settings. Second Max quality for standalone player can't beacouse you can play video with qpel and gmc. My advice is to use xvid.

BigDid
17th January 2006, 23:25
ok... 10x but, if the search is everything i need, then somebody needs to tell me how to use it, couse i tried it so many times, i cant find what i am looking for...
Hi,

That's a tricky one :scared:

Warnings: for anything that follows, no malicious intention, nobody targeted, just a few thoughts of the actual moment, anybody wanting to contradict is eligible :)

The quoted statement reminded me of an older post (see PS). So I made myself a newbie, for a few moments, and tried to gather information on "search" :( I haven't come with many;
the faq: http://forum.doom9.org/faq.php?faq=vb_faq#faq_vb_board_usage
can I search: http://forum.doom9.org/faq.php?faq=vb_board_usage#faq_vb_board_search
...
I even tried a search on "search" ...
Maybe I'm still a newby in that domain :scared:

So the bottom line seems: If you don't know how to search on the internet, you won't learn how to do it here (but you will practice a lot).

Did

Ps: I posted a few months ago on something related: http://forum.doom9.org/showthread.php?p=666394#post666394

Caroliano
18th January 2006, 04:07
I will help you a bit: http://ronald.vslcatena.nl/docs/xvidfaq.html

It is a bit outdated thought....

roise_r
18th January 2006, 15:37
Pocket DivX Encoder can't change settings like vhq, bframes, cqm and other settings.

does this mean that you are familiar with PocketDivxEncoder, if so, are you saying that pocketencoder cannot and DOESN'T change any of this settings, this means that it will re-encode to the new .avi with the exact values of these settings as thay were...right?, if you are familiar with the pocket thingie - pls tell me more about it, for example - does it use the system codecs, or has its own, if so, what version are thay, becouse i noticed that when i change settings to the divx or xvid through virtualdubmod, it will not effect pocketencoder. if it uses system codecs, then does it matter if i use 1-pass or 2-pass encoding on the original settings, or it will override any settings i use as default and use the specific settings i define in the pocket thingie. 10x

celtic_druid
18th January 2006, 16:22
mencoder uses 2 bframes by default, so if it doesn't change the setting then that is what you would get. VHQ is default 1 and BVHQ is enabled. Default quant matrix is h.263.

No it doesn't mean that you get the same settings as the source. You get whatever the defaults are if it won't let you change them. I would suspect that for pocketPC's that perhaps it changes some of the default settings, like disabling bframes, setting a handheld profile, etc.

mencoder uses internal codecs. Not sure what version of XviD comes included with PocketDivXEncoder though. I'd suggest that if you like mencoder, that you use another more powerfull GUI or use it via command line. If you use my builds, then you get 1.2dev. I could put up some builds with 1.1final though if anyone is interested.

roise_r
18th January 2006, 16:26
I will help you a bit: http://ronald.vslcatena.nl/docs/xvidfaq.html

It is a bit outdated thought....

WOW 10x alot this is what exactly i was looking for... but pls, tell me similar sites for dvix also, couse i need to compare, and if there is more up-to-date version of the info there, it would be great help.. 10x 10x 10x

roise_r
18th January 2006, 16:48
@ celtic_druid

what is your build, are you talking about pocketdivxencoder?

what is mencoder? pls don't say use search pls pls, is virtualdub or gordian knot mencoder? i dont like mencoder couse i dont know what it is, i like whatever program has the option of telling it to re-encode an existing xvid encoded movie with minimal diference in the quality between the input xvid encoded movie and the output xvid encoded movie:) i dont care about the size, i dont care about the time it will take, in few word i am looking for any option in any program that will do minimal changes to the input's quality and just reduce resolution by very little becouse my stupid DVD (standalone) player wont read 800pixel wide resolutions!!!!!!!!! maybe i am looking for a program which will automaticly detect the settigs (settings like vhq, bframes, cqm and other settings.) of the movie that was encoded the first itme and use them to encode the second time, something like that....

Teegedeck
18th January 2006, 17:55
Please do us a favour and read The GUIDES (http://www.doom9.org/guides.htm)! They've been written exactly for people in your situation: Just starting out and having a lot of questions. You'll be amazed what a deep well of information The GUIDES (http://www.doom9.org/guides.htm) are. I'll be happy to answer any question that you haven't found answered in The GUIDES (http://www.doom9.org/guides.htm) after you've read The GUIDES (http://www.doom9.org/guides.htm). :)

And until then: Please use AutoGK (http://www.doom9.org/autogk.htm).
(Yes, AFAIK it also does AVI-->AVI conversion.)

Caroliano
18th January 2006, 18:15
:goodpost:

WOW 10x alot this is what exactly i was looking for... but pls, tell me similar sites for dvix also, couse i need to compare, and if there is more up-to-date version of the info there, it would be great help.. 10x 10x 10x
For Divx I think that the Offical Divx User Guide shoud be the best one. And for realy up-to-date information for Xvid you will need to use search by this forum... no way around... but after reading the Xvid FAQ you shoud have more knowledge to use the search, with better key-words.

BigDid
18th January 2006, 23:27
Please do us a favour and read The GUIDES (http://www.doom9.org/guides.htm)! They've been written exactly for people in your situation: Just starting out and having a lot of questions. You'll be amazed what a deep well of information The GUIDES (http://www.doom9.org/guides.htm) are...
+1

See related post here: http://forum.doom9.org/showthread.php?p=770797#post770797

Did

celtic_druid
19th January 2006, 04:24
PocketDivXEncoder uses mencoder for encoding. At least according to the changelog.

Completely recompiled the background encoding engine (mencoder)