Hey guys, Thanks for the prompt response and explanation. I'll try to decode 422 and try out sws_scaler as well.
Cheers, Naveed On 2010-09-10, at 1:29 AM, Mark Heath wrote: > > On 10/09/2010, at 1:30 AM, Naveed Gazi wrote: >> >> >> I am not sure how to deal with YUVJ422P. My video player is currently >> capable of working with YUV420P and I have to make it capable of handling >> YUVJ422P as well. So far I didn't find any information on how the Y,U and V >> arrays are organized in YUVJ422P or any other relevant information about how >> this format works (google did not help). I was hoping someone could help me >> determine how to either convert YUVJ422P to YUV420P or explain how YUVJ422P >> works or point me to some good resources. Your help is much appreciated and >> thanks in advance. > > You can use the sws_scaler to convert it. However 422 is better quality than > 420. > > It should be the same layout as 420 except the height of the chroma channels > are the same as the luma channel not half as with 420. > > Mark > _______________________________________________ > libav-user mailing list > [email protected] > https://lists.mplayerhq.hu/mailman/listinfo/libav-user ----------------------------- Naveed Ahmed Gazi Video Software Developer Magor Communications Corporation 350 Terry Fox Drive Kanata, ON, K2K 2W5 Canada Office: 613-686-1731 ext. 5529 email: [email protected] http://www.magorcorp.com _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
