- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Now, I want to use the createDIB in vs2010 to get the pictures and encoded them into h.264 stream.
for the DIB data is hBitmap. maybe I should get the bitmap converted into yuv then encoded into the 264stream.
is there samples or fit funtions to get the bitmap converted ?
thanks a lot
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Generally speaking, yes, it is right processing.
For convert bitmap to YUV format, you may refer to the sample ippiDemo, wich can open a bmp image, then convert to YUV. (it also include other image processing operation). You can try the ippiDemo.exe first.
thenrefer tothe sample ippiDemo's source code, to combine your DIB data toYUV fomat, then encoder with h.264 encodersamplein Getting Started with Intel IPP Unified Media Classes Sample
Regards,
Ying
Generally speaking, yes, it is right processing.
For convert bitmap to YUV format, you may refer to the sample ippiDemo, wich can open a bmp image, then convert to YUV. (it also include other image processing operation). You can try the ippiDemo.exe first.
thenrefer tothe sample ippiDemo's source code, to combine your DIB data toYUV fomat, then encoder with h.264 encodersamplein Getting Started with Intel IPP Unified Media Classes Sample
Regards,
Ying
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page