DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 5 of 5

Thread: YV12 viewer

  1. #1
    Join Date
    Dec 2007

    YV12 viewer


    Iím trying to display an YV12 image. I capture it from my mobile device and send to a PC via wireless. I send the data taken from the mobile device directly, without doing anything with it. Then, in the PC, I want to view it but I donít know what to do with the raw data.

    I tried to convert to RGB but when I visualize it, itís different from the image taken with the device (since I preview the image in the mobile device at the same time).

    The goal is to do a conference system between the mobile device and the PC using c++. Iím using DirectShow too, if itís of any help.


  2. #2
    Join Date
    Dec 2003
    this might help. The format you mention looks aggravating, to say the least, but it *is* an open format and many sites on the web describe it, this one had source code.

  3. #3
    Join Date
    Dec 2007
    Thanks for the reply but it's just the other way round...I would need conversion from YV12 to RGB but I wanted to know if I can give the renderer the YV12 raw data directly without any conversion, since the conversion doesn't work for my application (I don't know why not).:(

  4. #4
    Join Date
    Dec 2003
    you cannot just display this format in directdraw - it is a form of mpeg compression (its the basis for several codecs) so you will have to turn it into rgb *or* embed an mpeg player and a find a codec that can handle this format.

    My bad, I thought that link had both to and from conversions.

  5. #5
    Join Date
    Jan 2008
    As for understanding the format YUV formats, this page might be of value:

Similar Threads

  1. Replies: 5
    Last Post: 09-17-2009, 12:41 PM
  2. API viewer?
    By kurt sune in forum .NET
    Replies: 3
    Last Post: 10-28-2002, 01:09 PM
  3. Replies: 2
    Last Post: 06-08-2002, 11:30 AM
  4. API Viewer
    By Larry Rebich in forum .NET
    Replies: 2
    Last Post: 11-17-2001, 10:59 PM
  5. Developping an Image Viewer
    By ---> Pedro Ńvila in forum VB Classic
    Replies: 0
    Last Post: 10-09-2001, 07:36 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center