Hali > > > -char * jpeg_outdir; > > > +char * jpeg_outdir = '.'; > > It should be ".", I guess. > > snprintf (buf, 256, "%s/%08d.jpg", jpeg_outdir, ++framenum); Ok, i look :) Pontscho