I did that: //-------------------------------------------- ofstream testFile; testFile.open(filepath(each frame another file)); testFile.write((char*)ptr->picture->data[0], ptr->picture->linesize[0]); testFile.write((char*)ptr->picture->data[1], ptr->picture->linesize[1]); testFile.write((char*)ptr->picture->data[2], ptr->picture->linesize[2]); testFile.close(); //--------------------------------------------
But when opening it with irfanView, it asks for size, etc. I give the correct size, and 24BPP (with checked YUV 4:2:0), and Planar as an option. This should be correct for PIX_FMT_YUV420P and the way I'm writing the file, shouldn't it? And all I get are completely grey pictures. Each frame the same. But even if I play around with other BPP settings, no YUV, etc. I get no picture that would make sense to me. -- View this message in context: http://libav-users.943685.n4.nabble.com/Right-pixel-column-is-repeated-in-the-left-tp3972867p3975775.html Sent from the libav-users mailing list archive at Nabble.com. _______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
