I find issue when I use ffdshow to play MJPEG avi file, but I use the other codec to play MJPEG avi file is no problem.
I have further analysis issue, due to our JPEG file provide restart marker.
Restart marker are placed on byte boundaries. Any fractional bits input stream that have not been used are discarded before the restart marker(RST0 ~ RST7).
I fill 0 in any fractional bits cause ffdshow decode MJPEG avi file show corrupt image.
I try to fill 1 in any fractional bits, the ffdshow decode MJPEG avi file show correct image.
Log in to post a comment.