Quantcast Codecs: How can I Make Xvid Codec Default? - digitalFAQ.com Forums [Archives]
  #1  
02-02-2005, 05:35 PM
digitall.doc digitall.doc is offline
Free Member
 
Join Date: Jul 2003
Location: Valencia (España)
Posts: 741
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
02-02-2005, 06:19 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Deinstalling / reinstalling XVid generally works.
Reply With Quote
  #3  
02-02-2005, 06:44 PM
digitall.doc digitall.doc is offline
Free Member
 
Join Date: Jul 2003
Location: Valencia (España)
Posts: 741
Thanks: 0
Thanked 0 Times in 0 Posts
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?
Reply With Quote
  #4  
02-02-2005, 07:15 PM
muaddib muaddib is offline
Free Member
 
Join Date: Jun 2002
Location: São Paulo - Brasil
Posts: 879
Thanks: 0
Thanked 0 Times in 0 Posts
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 )
Reply With Quote
  #5  
02-07-2005, 01:00 PM
digitall.doc digitall.doc is offline
Free Member
 
Join Date: Jul 2003
Location: Valencia (España)
Posts: 741
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #6  
02-07-2005, 01:02 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Remove Divx and see if Xvid is used.
Then install Divx and see what happens.

I dontt know, I never had such problem
Reply With Quote
  #7  
02-11-2005, 12:11 AM
muaddib muaddib is offline
Free Member
 
Join Date: Jun 2002
Location: São Paulo - Brasil
Posts: 879
Thanks: 0
Thanked 0 Times in 0 Posts
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...
Reply With Quote
  #8  
02-12-2005, 05:23 PM
digitall.doc digitall.doc is offline
Free Member
 
Join Date: Jul 2003
Location: Valencia (España)
Posts: 741
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #9  
02-13-2005, 03:43 PM
stephanV stephanV is offline
Free Member
 
Join Date: May 2004
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
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)
Reply With Quote
  #10  
02-15-2005, 01:43 PM
digitall.doc digitall.doc is offline
Free Member
 
Join Date: Jul 2003
Location: Valencia (España)
Posts: 741
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #11  
02-15-2005, 01:56 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Just a question on the side : where do you read than Divx has colors problems for handling YV12 ?
Reply With Quote
  #12  
02-15-2005, 03:21 PM
rds_correia rds_correia is offline
Free Member
 
Join Date: Apr 2003
Location: Chinese Democracy starts now!
Posts: 2,563
Thanks: 1
Thanked 0 Times in 0 Posts
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
__________________
Rui
Reply With Quote
  #13  
02-15-2005, 03:38 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #14  
02-15-2005, 04:02 PM
digitall.doc digitall.doc is offline
Free Member
 
Join Date: Jul 2003
Location: Valencia (España)
Posts: 741
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #15  
02-15-2005, 04:21 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
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.

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.
Reply With Quote
  #16  
02-15-2005, 11:00 PM
muaddib muaddib is offline
Free Member
 
Join Date: Jun 2002
Location: São Paulo - Brasil
Posts: 879
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #17  
02-16-2005, 04:00 PM
digitall.doc digitall.doc is offline
Free Member
 
Join Date: Jul 2003
Location: Valencia (España)
Posts: 741
Thanks: 0
Thanked 0 Times in 0 Posts
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
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...
Reply With Quote
  #18  
02-16-2005, 04:11 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #19  
02-16-2005, 06:05 PM
digitall.doc digitall.doc is offline
Free Member
 
Join Date: Jul 2003
Location: Valencia (España)
Posts: 741
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Reply With Quote
  #20  
02-16-2005, 06:35 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
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.
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 !
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Codecs: anyone test the VP6 codec? jorel Video Encoding and Conversion 4 09-13-2004 04:17 AM
Codecs: Xvid codec khusru Video Encoding and Conversion 2 03-15-2004 10:27 PM
Codecs: BEST CODEC to use? Wak10 Video Encoding and Conversion 2 09-25-2003 06:22 AM
Codecs: Nic's codecs - xvid, mpeg2dec3, dvd2avi jorel Video Encoding and Conversion 1 09-25-2003 06:08 AM
Codecs: .mp2 codec DerekBarton Video Encoding and Conversion 8 09-09-2003 10:42 AM

Thread Tools



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