Log in

View Full Version : Possible Bug in Decoder?


Aktan
2nd October 2004, 03:33
I think i have found a bug in xvid's decoder filter. The weird thing is it only happens sometimes! If the stream is in AVI it doesn't appear. If the stream is in OGM it appears. It appears in VDub's Input Window, while if I try to save the frames to BMP using save image sequence, it disappears! I had this happen to me on 2 frames. Both frames are checked to be a P-Frame (using debugview and vdub since I used Packed Bitstream). Both times had a B-Frame after which is fine (if that info helps in any way). I know it is only the decoder since ffdshow (libavcodec) is fine in both avi and ogm. It is also fine in VLC which is again libavcodec. I am using the latest binary on Koepi's site and this clip was encoded with H.263 matrix.

Here is the 2 frames from VDub Input Window:

http://img41.exs.cx/img41/11/Decode-Error1.png
http://img49.exs.cx/img49/3940/Decode-Error2.png

Apparently Koepi's latest standalone decoder DirectShow filter has the bug fixed.

No it doesn't only fixed the first frame, not the second one

Sorry last edit. It seems the bug was present in both the DS filter and the Video for Windows. But once I installed the latest DS filter from Koepi, the DS filter was fixed. Well basicly this is what I see:

Koepi's latest DS filter: fine
VDub Input Window: Both bad
ffdshow (libavcodec): fine
ffdshow (Xvid 1): Both bad

sysKin
2nd October 2004, 06:00
THE thing that we need now is the stream that breaks :)

Radek

sysKin
3rd October 2004, 17:22
Found it and fixed it in 1.1 tree. I hope 1.0 doesn't need such a patch, it's a bit risky (all my patches are risky, experience tells me).

Thanks, Aktan :)

Radek

Aktan
4th October 2004, 07:11
I'm happy to help Xvid in any way :)