by ygator » Sat Aug 20, 2011 1:24 am
I downloaded the Daily Snapshot from the subversion trunk. It was unable to compile with ffmpeg support, because they have coded it specifically for the PC platform. I was able to uninstall ffmpeg and then do a configure and compile it since it now supports not having linux/videodev.h. However, I still have the problem with the colors. I've tried a second webcam and it does the same thing. However, both webcams only support the JPEG palette. So there might be a bug lurking inside.
Definately a bug. I just checked and the JPEG image from the camera is perfect.
It then makes a call to mjpegtoyuv420p and this makes a call to decode_jpeg_raw.
I have just checked the yuv image data coming out of decode_jpeg_raw.
It is wrong, so the bug is inside that function somewhere.
Last edited by
ygator on Sat Aug 20, 2011 5:21 pm, edited 1 time in total.