![]() There also a YUV conversion filter available at Īssuming that you've got access to the raw YUV data, one option would be to create a DirectShow YUV source filter. It outputs YV12 using standard test sequence files but perhaps you can use it as a starting point. There's an open source YUV source filter you can have a look at our sourceforge site (See my signature). In the end you'll have a media pipeline that typically looks something like this YUV Source -> YUV to RGB converter -> video renderer or YUV Source -> video renderer If you are unfamiliar with DirectShow I suggest you read up on the DirectShow framework on MSDN. I don't know about DirectDraw so I don't know if there's an easier way to do it. If you've setup your media types correctly, DirectShow will create a media pipeline by either converting the YUV to RGB or rendering the YUV directly. Then you would "render" the graph and should be able to see your video. Assuming that you've got access to the raw YUV data, one option would be to create a DirectShow YUV source filter.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |