logo       

RE: How can I write AVFrame to .yuv file ?: msg#00128

video.ffmpeg.user

Subject: RE: How can I write AVFrame to .yuv file ?

>>What am I doing wrong?
>>What should the order of pixels in yuv file be like ?


Pixel in YUV file (*.yuv) should normally be order as YYYYYY... UUUUU.. VVVVV..

>From what you do, i believe that you are using packed 420YUV which are Y00 U0
>V0 Y01 Y02 Y03 Y10 U1 V1 Y11 Y12 Y13...

Probably you can change the format to non-packed ?

This is a good reference http://en.wikipedia.org/wiki/4:2:0.

Also, reply if it you're successful.

Thank you.

_____________________________________
Ahmad Zaidee Abu
Senior Assistant Reseacher
Dip., Bach. Eng. (Tele), MIEEE.
Multimedia Communication Unit
Telekom Research & Development
UPM-MTDC Inc. Center One
Serdang, Selangor
Tel: +603 89441862
Fax: +603 89441822


The information contained in this Internet message is confidential
and intended only for the use of the individual or entity
identified. If the reader of this message is not the intended
recipient, any dissemination, distribution or copying of the
information contained in this Internet message is strictly
prohibited. If you received this message in error, please notify
the sender immediately.


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise