Patrice Roulet wrote: > and after I save it in a PGM file (P6) > And I have the same align problem > You could take a look to the jpeg in addendum Nice clock :) Mmm... strange. The video file is good I suppose... did you watch it with ffplay first?