[FFmpeg-devel] ffmpeg4iphone creating mp4 video from video frame

Daniel Sof dsoffer86
Tue Jun 15 04:49:57 CEST 2010


I been trying to convert a video frame into few seconds? mp4 video using avlib, im using the sample provided in the source? output-example.c, I have a CVPixelBuffer with this pixel format : 
?kCVPixelFormatType_420YpCbCr8BiPlanarVideoRange = '420v', /* Bi-Planar Component Y'CbCr 8-bit 4:2:0, video-range (luma=[16,235] chroma=[16,240]).? baseAddr points to a big-endian CVPlanarPixelBufferInfo_YCbCrBiPlanar struct */
To encode it to video it requires YUV420P pixel format, is the above the same as ffmpegs YUV420P? If not how can i convert it? Any suggestions?




More information about the ffmpeg-devel mailing list