Gabriel,

 

>Well I am not sure about that, but I think in either case it would be better 
>to use 444 than 420. I would try it and see if you can notice any difference.



I gave this a try. But – everything else being equal except that I now set 
codec->pix_fmt to AV_PIX_FMT_YUV444P rather than AV_PIX_FMT_YUV420P, and 
sws_getContext also uses AV_PIX_FMT_YUV444P – my call to avformat_write_header 
returns opt = NULL.

The truth is that the quality of YUV420P is good. If you have any thoughts on 
how I can correct the error from avformat_write_header I’ll be happy to give it 
a try.

Thanks.

-Arthur

 

_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to