Win a copy of Getting started with Java programming language this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

YUV--->MPEG  RSS feed

 
zainu Mehmood
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!