У чт, 2009-04-16 у 16:20 -0700, Cai, Xin пише:
> Hi guys
> 
> I am trying to create a program that plays a video stream in a windows
> inside my own windows app so I realize I have to use direct draw to
> write the video to the screen instead of SDL. (because apparently you
> can't embed SDL into a windows program). So far I am able to decode the
> video packet using avlibrary and I am able to create a direct draw
> surface and draw circles in my screen, but I have no idea how to put
> those two together. How do display a picture decoded by AV library and
> display it to the screen using direct draw? I haven't been able to find
> any kind of sample code online so I would really appreciate it if I can
> get some help. Or at least maybe point me to a book or a website I can
> look up??? Any help you guys can offer would be greatly appreciated.
> Thanks.
> 
>  
> 
> Xin Cai
> 

Now you have to find the way to pass image (rgb/yuv) to DirectDraw and
you are done. Use msdn, Luke! ;-)

_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to