I made a series of JPEGs using burst mode on my camera (Canon S2 IS), and I managed to convert them to a nice movie.

However, when I first run `exiftran -a -i -p *.jpg` over the pictures, the resulting movie has the colors all mixed up. I think this may have to do with exiftran removing EXIF data and putting JFIF data there instead, but I'm not sure.

Converting the original pictures as such works just fine:
Code:
for i in *.JPG; do convert -size 2592x1944 $i -resize 320x240 resized_$i ; done
mencoder mf://resized_*.JPG -mf fps=10:type=jpeg -ovc xvid -xvidencopts bitrate=1600 -oac copy -o output.avi
However, running exiftran and then running the commands above gives mixed up colors.

In the output of mencoder, converting without exiftran gives the following output:
Code:
VDec: vo config request - 320 x 240 (preferred colorspace: Planar 422P)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using Planar 422P as output csp (no 1)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
...
SwScaler: BICUBIC scaler, from yuv422p to yuv420p using MMX2
...
But with exiftran, it gives this:
Code:
VDec: vo config request - 320 x 240 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 3)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
Now, I think the solution lies in forcing the second run (after running exiftran) to take yuv422p as input and yuv420p as output, just like SwScaler does in the first run, but how do I do that?

I have put the original files for both runs in http://stuff.nieko.net/burst/

P.S.: I know next time I should let convert take care of the rotation, cause they're all the same orientation anyway, but I would also like to see it working with the pictures I already have.