Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 ASP

Reply
 
Thread Tools Search this Thread Display Modes
Old 22nd January 2002, 13:49   #1  |  Link
herineth
Registered User
 
Join Date: Oct 2001
Posts: 18
Which win codec can I permanently remove? And how?

Hi All,

maybe this is a dumb question, but I'm not very experienced with win (heck, I love Unix). And I also know I can find out if I only search enough. Anyway I hope i dont step on you toes by askin this.

What codecs can I savely remove PERMANENTLY. I tried to remove them via the codec tab but they just appear again after reboot or openeing the dialog (this also happens if i delete the dlls - 2k seems to copy it over from the dll cache dir).

And of course, what codecs can I remove? The ones I know that I need 'em are:

- DivX lo/mo and hi/mo
- DivX 4
- Huffyuv
- VFAPI Reader
- Mpeg2decoder.dll
strange, this one does not appear in the dialog box,
but it works. Might be also interesing what else does
NOT show up but is installed - don't know how to check this

The others I'm not sure of bit I think I don't need them -> don't want them:

- MS Video 1 (guess old AVI video for windows format)
- Cinepack Codec by radius
- msyuf (don't want it have huffyuf)
- msh263.drv, msh261.drv ???
- Indeo codec by intel
- Indeo video 5.10
- Microsoft RLE codec

So to sum things up. How can I permanently remove one or more of the above?

PS: System W2k sp2 doing AVI->SVCD later DVD2SVCD (as soon as i can afford a dvdrom;-))

Best,
Herineth
herineth is offline   Reply With Quote
Old 22nd January 2002, 23:25   #2  |  Link
-h
Kilted Yaksman
 
-h's Avatar
 
Join Date: Oct 2001
Location: South Carolina
Posts: 1,303
If you really want to do this (?), you can delete the offending codecs from the registry key:

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

Now they won't show up in the codec list anymore. The files themselves are protected by SFP, and can't be deleted without a lot of work.

I suppose you can delete these ones without any adverse issues:

vidc.I420
vidc.iv31
vidc.iv32
vidc.iv50
vidc.M261
vidc.M263
vidc.mrle
vidc.msvc

-h
-h is offline   Reply With Quote
Old 23rd January 2002, 19:32   #3  |  Link
herineth
Registered User
 
Join Date: Oct 2001
Posts: 18
Removing Codecs

Hi -h,

thanks for your reply. I removed only the mshuv codec for now. It seems to work. Tny a lot.

Why I wanna do this? Just experimenting. I've installed HUFFYUV and want the system only to use this if it needs a YUF codec. I'm not sure about it but my MPEG2 file seem to come out in wrong colors.

All colors anoyingly shiftet to slight greens and the saturation is not so good. Blacks are almost with no details I can workaround this to a certain extend (not satisfiying anyway) by using the Video Adjustment on my stand-alone player.

(

Best
Herineth
herineth is offline   Reply With Quote
Old 23rd January 2002, 23:22   #4  |  Link
-h
Kilted Yaksman
 
-h's Avatar
 
Join Date: Oct 2001
Location: South Carolina
Posts: 1,303
This sounds like a bug in the program (or codec?) that is doing a colour conversion to RGB space. Do you know where in the pipeline any conversions are taking place?

The MS YUV convertor only works in 16-bit, so it would just horribly distort anything it processes. This seems much more subtle?

-h
-h is offline   Reply With Quote
Old 23rd January 2002, 23:43   #5  |  Link
herineth
Registered User
 
Join Date: Oct 2001
Posts: 18
Hi -h,

hmm I'm going directly from the divx file to the cce encoder, and the log shows that the encoder receives uncompressed YUV2 and does _no_ RGB->YUF2 conversion. I'm frameserving with avisynth i.e. like this:

LoadPlugin("C:\opt\audiovideo\dvd2svcd\MPEG2Dec\MPEG2DEC.dll")
AviSource("C:\home\scratch\masters\Blade.avi")
ConvertToYUV2
BicubicResize(448,350,0.5,0.5,0,0,640,304)
TemporalSmoother(2,2)
AddBorders(16,113,16,113)

I don't know if avisynth does actually the conversion or passes only through (don't know if divx is RGB or somehting other).

Have the latest huffyuv (w/cce fix) and avisynth.

Ideas?


PS:
Sorry, for the off-topic on aviynth.
herineth is offline   Reply With Quote
Old 24th January 2002, 01:30   #6  |  Link
-h
Kilted Yaksman
 
-h's Avatar
 
Join Date: Oct 2001
Location: South Carolina
Posts: 1,303
Have you tried viewing the .avs in VirtualDub to see if the discolouration occurs before it gets to CCE? Or tried encoding in TMPGEnc?

Is the ConvertToYUV2() line needed there?

-h
-h is offline   Reply With Quote
Old 24th January 2002, 02:38   #7  |  Link
herineth
Registered User
 
Join Date: Oct 2001
Posts: 18
Hi -h,

> Have you tried viewing the .avs in VirtualDub to see if the
> discolouration occurs before it gets to CCE? Or tried
> encoding in TMPGEnc?

I just compared

- the encoded mpeg2
- the source avi
- the avs with ConvertToYUV2
- the avs with ConvertToRGB
- the avs with no CovertTo* statements

And it all looked the same on my PC monitor. I conclude the following, please correct me If i'm wrong:

Neither the the source isn't so good or the HUFFYUF is buggy _if_ it is somehow used during decoding of the avi/divx.

Damned. Is there somewhere a reference DivX around or something, so I could validate if the encoding process is fine?


> Is the ConvertToYUV2() line needed there?

Not really. But if CCE gets YUV2 data it does not convert which seem to speed up the encoding process. At least that states the huffyuv readme. And according to the Avysynth reference it does no harm if the source is already YUF2. So I added it to be save.


Best,
Herineth
herineth is offline   Reply With Quote
Old 24th January 2002, 03:30   #8  |  Link
-h
Kilted Yaksman
 
-h's Avatar
 
Join Date: Oct 2001
Location: South Carolina
Posts: 1,303
If they all looked the same (including the avi source), how can you tell that it is skewed to green?

The only other suggestions I could think of are to remove the resize, smoothing and borders from the .avs, maybe even one at a time, and see if it's one of the filters that are affecting it (I suspect it would most likely the smoother out of those).

Apart from that, I'm out of ideas

-h
-h is offline   Reply With Quote
Old 24th January 2002, 12:37   #9  |  Link
herineth
Registered User
 
Join Date: Oct 2001
Posts: 18
Hi -h,

> If they all looked the same (including the avi source), how can you
> tell that it is skewed to green?

Well it's vrey obvious in some scenes. The movie I'm encoding is BLADE and the guy is black. But in some scenes, especially in darker passages the black skin or black clothing is green tinted. Or passages that contain white i.e. a wall look very unnatural green. If there's more bright color in the image - i.e. a lamp lumminating on the face it looks perfectly well.

At this point I'm just assuming that it is not as it should be. Becaus I don't have a reference AVI/DIVX to check against I can not validate wether the encoding/decoding is faulty or the source.

I'll try with some other movies to see if it is present there too.


> The only other suggestions I could think of are to remove the
> resize, smoothing and borders from the .avs, maybe even one at a
> time, and see if it's one of the filters that are affecting it (I
> suspect it would most likely the smoother out of those).

Yepp, already did this. No difference at all. I also tried this

-- avisynth --
clip = AviSource("C:\home\scratch\masters\Blade.avi")
control = ConvertToYUY2(clip)
test = ConvertToYUY2(ConvertToRGB(ConvertToYUY2(ConvertToRGB(ConvertToYUY2(ConvertToRGB(control))))))
return Subtract(test,control)
-- avisynth --

It displays me the distortion generated by the YUV2 conversion. But It does only show slight ghost images on contours of objects not entire objects are filled.

> Apart from that, I'm out of ideas

Ok, thanks anyway. I'll try with other movies and at least get a DVDrom to have a reference stream to compare with. For now I'm just assuming that the source is not well encoded.

Thanks a lot for your help!!!

Best,
Herineth
herineth is offline   Reply With Quote
Old 24th January 2002, 13:05   #10  |  Link
-h
Kilted Yaksman
 
-h's Avatar
 
Join Date: Oct 2001
Location: South Carolina
Posts: 1,303
Well it's vrey obvious in some scenes. The movie I'm encoding is BLADE and the guy is black. But in some scenes, especially in darker passages the black skin or black clothing is green tinted. Or passages that contain white i.e. a wall look very unnatural green. If there's more bright color in the image - i.e. a lamp lumminating on the face it looks perfectly well.

If this is a movie you downloaded, I recall a number of 'green tint' issues with older builds of DivX 4.x. It is most likely that the avi you've got suffers from this issue, which from memory was a bug in the codec's RGB->YUY2 conversion during encoding.

Looks like you need a fresh source

-h
-h is offline   Reply With Quote
Old 24th January 2002, 13:37   #11  |  Link
herineth
Registered User
 
Join Date: Oct 2001
Posts: 18
> If this is a movie you downloaded,
Yeah it is

> I recall a number of 'green tint' issues with older builds of DivX
> 4.x. It is most likely that the avi you've got suffers from this
> issue, which from memory was a bug in the codec's RGB->YUY2
> conversion during encoding.

Ah interesting. Then I think this it the bug. Just checked it, it's encoded with the 4.0 Fast-Motion codec (anyway not the best do encode movies, i heard).

> Looks like you need a fresh source

Yeah, I've to get a DVDROM to get the best quality out of of it, i guess.

Well, thank you very much for all the input - even if this was a bit off topic here.

cya
Herineth
herineth is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 23:50.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.