View Full Version : Recent Xvid build compatibility ( koepi, nic )
burnix
23rd April 2003, 08:13
Hello. Just some word about Vidomi. Yes i know that all the people here love avisynth and vdub, but for satellitte rip the most flexible solution was vidomi ( vdubmod crash with no raison ). so i found on the vidomi forum that someone found the problem of the green image generated when encoding with Xvid. It seems there is a problem in the xvid.dll, vidomi cannot recognize well the xvid codec format. So koepi and nic, could you see at that page the dll ans some source to resolve the problem ??????
http://xvidomi.web1000.com
I tested last night and it work with the march koepi xvid build.
So, thank you for all of this.
You can see the discussion at this address : http://www.vidomi.com/viewtopic.php?topic=6455&forum=1&start=0
majerle
23rd April 2003, 09:00
as old vidomi user
the problem is within Vidomi source,not in xvid, afaik
I like the speed and the facility to use but i don't think that this problem is in xvid.
form vidomi forum
due to a strange interpretation of Xvid of the YV12 format.
"strange interpretation" ?
i hope that Nic or Koepi could give a more precise answer.
Regards
Andres
Originally posted by majerle
form vidomi forum
due to a strange interpretation of Xvid of the YV12 format.
"strange interpretation" ?
i hope that Nic or Koepi could give a more precise answer.
XviD color conversion might not be the best, but in the case of YV12 there aren't any problems springing from XviD itself afaik. So I'd suspect that the problem lies with Vidomi. I also heard something about Vidomi only being able to process to XviD in RGB.
FullAction
23rd April 2003, 10:37
The problematic lines are in codec.c:
if (frame.colorspace == XVID_CSP_I420 || frame.colorspace == XVID_CSP_YV12)
frame.stride = (frame.stride*2)/3;
As you can see, the stride, is set to a 2/3 rd value of before, which is width*2, when it comes to that line. Correct for the planar color formats would be stride=width, so a modification to the line would be:
frame.stride = frame.stride >> 1;
After these modifications, Vidomi's YV12 format again works with Xvid. As far as I can see, there's nothing wrong with the format inside Vidomi.
burnix
23rd April 2003, 11:21
I just want to know if the modification can be put in the future relaese, or if it not because of a compatibility with other software. I guess that no other programs have problem with that. If it's not possible, i just continue to use my old pc with vidomi.
Thanks for your response (i'm not a programmer so i dont understand anything of the reply befor mine, sorry)
Thank for all.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.