Peter Pan <hawkwithwind@...> writes: > params.setPreviewFormat(ImageFormat.NV21);
> the code works well if the src image is PIX_FMT_YUYV422, > with android camera set to > params.setPreviewFormat(ImageFormat.YUY2); Doesn't this simply indicate that what the camera calls "NV21" is not "AV_PIX_FMT_NV21"? (You really shouldn't use PIX_FMT_*) Carl Eugen _______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
