Hi
I'm now trying to do the same thing with a flv file that I did with the swf file : read the flv file in my dll, get its frames and give the data buffer to my 3d engine.
But I'm not really aware of how this should work :
- I tried to use FPC_LoadMovie(hWnd,0,"e:\\movie.flv"); , my code goes into GlobalOnLoadExternalResourceHandler() where I copied the code from the Sample_1_SWF_FLV_Reader, but it doesn't seem to work, if I try to get the current frame of my hWnd I get a -1.
- I tried to use FPCPutMovieFromResource(hWnd, 0, _T("FLVPlayer"), _T("SWF")); as in the example, but my code never goes into GlobalOnLoadExternalResourceHandler(). Maybe it is a problem a ressource as the FLVPLAYER ressource is in the dll project, that is called by the 3d engine (the 3d engine should'nt know anything about how the flv is read and so should'nt have the ressource needed).
I don't know if I made my problem really understandable but I'd be happy to have any lead