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:
However, running exiftran and then running the commands above gives mixed up colors.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
In the output of mencoder, converting without exiftran gives the following output:
But with exiftran, it gives this: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 ...
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?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.
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.
+ Reply to Thread
Results 1 to 1 of 1
Similar Threads
-
Converting .MTS to a .JPG image sequence?
By Anon1 in forum Newbie / General discussionsReplies: 1Last Post: 30th Jun 2011, 21:14 -
Converting High res JPG File into HD Slide show/HD Movie
By dominic01 in forum Video ConversionReplies: 4Last Post: 13th Oct 2009, 01:58 -
force audio sync during conversion
By dtmp in forum Video ConversionReplies: 1Last Post: 5th Aug 2009, 16:52 -
JPG to AVI Back to JPG is it possible?
By concisa in forum Video ConversionReplies: 3Last Post: 11th Apr 2009, 09:06 -
converting JPG images to VIDEO / MOVIE
By pglenn in forum Video ConversionReplies: 4Last Post: 18th Apr 2008, 00:03