phoboslab / pl_mpeg

Single file C library for decoding MPEG1 Video and MP2 Audio
799 stars 58 forks source link

Corrupted video #17

Closed matsondawson closed 2 years ago

matsondawson commented 3 years ago

When playing video sometimes I get corrupt blocks on the right hand side. When played in VLC media player it is not corrupted.

See example here: image

Source file here: https://www.mdawson.net/files/termcrop.mpg

Frame number 980 I wonder if it's something to do with certain motion blocks on the right hand side?

phoboslab commented 2 years ago

This appears to be fixed in https://github.com/phoboslab/pl_mpeg/commit/f0b29241317f149b5be1ba9b6e776f3b51b2827c

Thanks for the test case!