digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   Codecs: How can I make Xvid codec default? (http://www.digitalfaq.com/archives/encode/13283-codecs-how-make.html)

digitall.doc 02-02-2005 05:35 PM

How can I make Xvid codec default?
 
I'm afraid it's a silly question. And I think it was answered once, but I cannot find the thread.
I opened an avs script in VirtualDub and it said under 'File Information...' that the codec in use is DivX 5.0.5... But I want XviD to be the one to be used for decoding!.
I played with XviD decoding options and it says FourCC support for DIVX, DX50 and mp4v.
Where can I tell may system to use XviD for decoding?. I remember posts with errors in colors due to DiX decoding, I'd prefer to use XviD.
Thankyou

Dialhot 02-02-2005 06:19 PM

Deinstalling / reinstalling XVid generally works.

digitall.doc 02-02-2005 06:44 PM

Thanx Dialhot.
I thought this also (I should have said that in my first post) and uninstalled previous xvid codec, and reinstalled the latest version, but this didn't the trick (maybe it will work after rebooting the system).
Any other hint?

muaddib 02-02-2005 07:15 PM

The "Merit System" that decides what decoder will be used is updated only after a reboot. So rebooting your system is a worthy try.

If it doesn’t work, use ZoomPlayer to increase the XviD merit over the DivX merit.
(... and reboot :wink: )

digitall.doc 02-07-2005 01:00 PM

Rebooting didn't work. Still when I open an avs file in VirtualDub it says it's opened with DivX.
I downloaded ZoomPlayer Standard (BTW, looks great, even it doesn't yet play my m1v tests). I don't know where look for associations, and how change them...
Some help else, please :wink:

Dialhot 02-07-2005 01:02 PM

Remove Divx and see if Xvid is used.
Then install Divx and see what happens.

I dontt know, I never had such problem :-D

muaddib 02-11-2005 12:11 AM

Quote:

Originally Posted by digitall.doc
I don't know where look for associations, and how change them...

You are not looking for associations; you are looking for the "Filter Manager" to change the merits.

First use advanced options, then go to Filter Control -> Registered Filter Manager. There you will be able to change the merits or even unregister any filter. Btw, be careful there... :wink:

digitall.doc 02-12-2005 05:23 PM

Thanx muaddib,
I could follow your instructions, and changed merit of DivX (in fact I had 2: one in windows/system32 and a second one don't know where) to 600000, leaving XviD in 800000 "most preferred".
After closing ZoomPlayer I saw no change. I'll reboot and post result.
You've been very helpful.

stephanV 02-13-2005 03:43 PM

changing directshow filter merit wont help a lot with VDub, it is VFW based.

if youre on Win2K or XP, run regedit

go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Drivers32

youll see a value vidc.yv12 linked to divx.dll (or something like that)

right-click on it and select modify, then link to the xvid dll (look at your vidc.XVID for the correct file name)

NOTE: all messing up of your registry is for your own account. if you not sure what do with this, ignore this post.

(For Win98 i dont know how to fix it)

digitall.doc 02-15-2005 01:43 PM

Well stephanV, you were right: modifying filter merit didn't change anything. VirtualDub keeps saying it's opening my avs files with DivX.

I followed your fine advice. I don't know if I have a problem here: there's no entry in my registry named vidc.yv12. I have vidc.UYVY, vidc.YUY2, vidc.YVU9, and vidc.YVYU (between some others, like vidc.XVID and vidc.DIVX).

Should I generate a new value named vidc.YV12 and link it to xvidvfw.dll (the one linked to vidc.XVID)?.
In fact, my problem is not what codec does VirtualDub use to open my avs scripts, but what codec is used by TMPGenc or CCE when they are opening avisynth scripts... I feel I'm getting closer, but I don't know how to know what codec is being used by avisynth to read my d2v files and feed frames to encoders, neither how can I change the codec in case it is not xvid...
Still need some help. :roll:

Dialhot 02-15-2005 01:56 PM

Just a question on the side : where do you read than Divx has colors problems for handling YV12 ?

rds_correia 02-15-2005 03:21 PM

Hmmm, yes as far as I can remember only ffdshow had some color issues or "upside down" frameserving.
And I'm not quite sure but I think I read that it has been solved.
To be honest I never heard DivX had color problems, but I don't know why, I would feel safer knowing that I was using XviD instead ;-)
Maybe I'm wrong about this.
What do you think about that Phil?
I mean, you use some AVI sources once in a while. You would know better than us.
Cheers

Dialhot 02-15-2005 03:38 PM

Quote:

Originally Posted by rds_correia
What do you think about that Phil?

I know that I never ask myself what is used on my pc to decode YV12 and I wonder now if I should check or not :)

Concerning MPEG4 sources themselves, opened with an avisource command in the script, I never had any color concerns, whatever the codec.

digitall.doc 02-15-2005 04:02 PM

Quote:

Originally Posted by Dialhot
Just a question on the side : where do you read than Divx has colors problems for handling YV12 ?

Well Phil, if you ask me this question I'll have to begin wondering if I'm wrong. I don't exactly remember where, and related to what, but it was here at KVCD.net
And I'll have to search the forums to find the answer, but I can asure you that I keep the feeling it was better to have XviD decoding YV12 streams. Don't remember the argument (fastest?, color fidelity?,...)

But if it is not necessary, I'll just forget it. I'll keep curious about how to change decoder in my system.

Dialhot 02-15-2005 04:21 PM

Quote:

Originally Posted by digitall.doc
I keep the feeling it was better to have XviD decoding YV12 streams. Don't remember the argument (fastest?, color fidelity?,...)

Okay. lol !

This advice started with release of avisynth2.5. At this time, Divx codec was around 5.0 and didn't decode YV12. So we (I) adviced to install XVid for this purpose, insteed of some codec like aviYV12 that has color problems !
Afterwards, when someone missed a YV12 codec, I adviced to use Xvid, just because this is the one I always advidced.

Quote:

But if it is not necessary, I'll just forget it. I'll keep curious about how to change decoder in my system.
The method given by StephanV is the correct one. I can't tell why you don't have the entry in your registry.

:idea: Perhaps VD does not read the file in YV12 but in something else that you have in your registry (maybe with Divx). And if Divx is configured to force the ouput in YV12, then you have the codec that outputs YV12 even if it was called by the system to output an other colorspace.

muaddib 02-15-2005 11:00 PM

Quote:

Originally Posted by stephanV
changing directshow filter merit wont help a lot with VDub, it is VFW based.

You are absolutely right! I totally forgot that. :oops: :)

digitall.doc 02-16-2005 04:00 PM

Quote:

Originally Posted by Dialhot
This advice started with release of avisynth2.5. At this time, Divx codec was around 5.0 and didn't decode YV12. So we (I) adviced to install XVid for this purpose, insteed of some codec like aviYV12 that has color problems !
Afterwards, when someone missed a YV12 codec, I adviced to use Xvid, just because this is the one I always advidced.

Well, maybe I have this feeling from your advices, don't quite remember now.

Quote:

Originally Posted by Dialhot
The method given by StephanV is the correct one. I can't tell why you don't have the entry in your registry.

I hope StephanV will read this and give me a clue.

Quote:

Originally Posted by Dialhot
:idea: Perhaps VD does not read the file in YV12 but in something else that you have in your registry (maybe with Divx). And if Divx is configured to force the ouput in YV12, then you have the codec that outputs YV12 even if it was called by the system to output an other colorspace.

I can't follow you here. I have got DivX 5.0.5, and opened the decoder configuration program, that doesn't say a word about output colorspace. As avisynth doesn't complain about bad colorspace, I guess that mpeg2dec3 is really opening in YV12. But I keep worried not understanding what's happening in my system...

Dialhot 02-16-2005 04:11 PM

I can't remember what was in 5.0.5 but in 5.2.1 this setting is called "Enhanced Yuv mode".

Edit: I just use "codec_sniper" (found on dvdrhelp.org forum) and check that vid.yv12 is decoded on my PC by xvidvfw.dll :!:

digitall.doc 02-16-2005 06:05 PM

Quote:

Originally Posted by Dialhot
I can't remember what was in 5.0.5 but in 5.2.1 this setting is called "Enhanced Yuv mode".

I don't know if it's the same. In DivX 5.0.5 there's a checkbox called "YUV extended mode". It was unchecked, and I already checked it...

Quote:

Originally Posted by Dialhot
Edit: I just use "codec_sniper" (found on dvdrhelp.org forum) and check that vid.yv12 is decoded on my PC by xvidvfw.dll :!:

I downloaded and run the tool. And I don't know how to look who the he*l is decoding vid.yv12. I just get a (complete) list of audio and video codecs in my system. :cry:

Dialhot 02-16-2005 06:35 PM

Quote:

Originally Posted by digitall.doc
I downloaded and run the tool. And I don't know how to look who the he*l is decoding vid.yv12. I just get a (complete) list of audio and video codecs in my system. :cry:

Focus on the 4th column (Fourcc). Look for "vid.yv12". If there is not, then what you saw in the registry databse was correct : you dont have any codec defined for yv12 !


All times are GMT -5. The time now is 07:03 PM  —  vBulletin © Jelsoft Enterprises Ltd

Site design, images and content © 2002-2022 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2022 Jelsoft Enterprises Ltd.