Forums
loading a movie from resource - Printable Version

+- Forums (http://mitov.com/forum)
+-- Forum: FireMonkey Components (/forum-5.html)
+--- Forum: VideoLab (/forum-18.html)
+--- Thread: loading a movie from resource (/thread-23.html)



loading a movie from resource - yvesr - 11-18-2011 06:41 AM

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


RE: loading a movie from resource - mitov - 11-20-2011 08:21 AM

(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