posted 13 years ago
Hi Guys,
I need a help.In method onPreviewFrame(byte[] data, Camera arg1), i get byte[] which is YUV encoded. i am transferring this byte [] through TCP to my PC.What i want is that i want to get a MPEG file from these YUV encoded frame.But i don't know a way to convert these YUV frames into MPEG file.Moreover, it would be even better if i can change this YUV frame into MPEG frame at Android and then send that MPEG frames through TCP to my PC. Please help me in this.
Best regards,
Zee