[FFmpeg-user] Get frame info into an ALIGNED DATA ARRAY. :D

ja0335 ja0335 at gmail.com
Tue Aug 9 23:53:48 CEST 2011


hii

My question is simple, how can i get the aligned data from an AvFrame?

the format needed is :

char* img_data = new char[pFrame->width*pFrame->height*4] = {
RED, GREEN, BLUE, ALPHA,
RED, GREEN, BLUE, ALPHA,
RED, GREEN, BLUE, ALPHA, ......};


I dont know how to extract the data in this format, please help me

--
View this message in context: http://ffmpeg-users.933282.n4.nabble.com/Get-frame-info-into-an-ALIGNED-DATA-ARRAY-D-tp3731378p3731378.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.


More information about the ffmpeg-user mailing list