conversion with good jpeg quality:

1
avconv -i ./input.avi -q:v 1 output_frame_%05d.jpg