Forums

Full Version: loading a movie from resource
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hello ,

I am currently trying the Basic video on XE2 firemonkey (SP2).

I would like to know if it's possible to load a movie from the resource or a stream ?
component avi player seem to have only filename for input.


thanks

Yves
(11-18-2011 06:41 AM)yvesr Wrote: [ -> ]I would like to know if it's possible to load a movie from the resource or a stream ?
component avi player seem to have only filename for input.

Hi Yves,

Thank you!
Currently you will need to use the SLGenericFilter to lay compressed video from stream. You can take a look at the VideoCompressionDemo in the DirectShow directory as example to see how you can play compressed video data. You can extract the data from a resource and then pass it to the generic filter.

With best regards,
Boian Mitov
Reference URL's