Hai all, i am decoding jpeg using avcodec_decode_video2(pCodecCtx, pFrame, &frameFinished, &packet); I want to save pFrame to a file i,e in yuv420 format. Can some one please help me. Thanks in advance. vijay