07-15-2014, 07:51 AM
CapeCodGunny
07-16-2014, 07:05 AM
(07-15-2014 07:51 AM)CapeCodGunny Wrote: [ -> ]What are the steps needed to play a video using Delphi's TMemoryStream object instead of using the FileName property?Hopefully this image explains the concept of what I'd like to accomplish:
I’d like to make the TMemoryStream the INPUT to TVLDSVideoPlayer.
There is no Filename.
The video is inside the database as a BLOB (BinaryLargeOBject).
The database outputs the video BLOB to a TMemoryStream.
The TMemoryStream becomes the INPUT to the TVLDSVideoPlayer.
How can this be done using Video Lab?
Dave
07-16-2014, 09:16 AM
Hi! Instead of a TMemoryStream you may want to assign your blob to a TVLCVideoBuffer, the Read and Write methods might be of interest to you. The buffer can be fed to a VL(DS)ImageDisplay or using a VLGenericFilter to push it to a VideoPlayer. Hope that helps.
Regards,
Dave
Regards,
Dave
CapeCodGunny
07-17-2014, 08:43 PM
(07-16-2014 09:16 AM)Dave Wrote: [ -> ]Hi! Instead of a TMemoryStream you may want to assign your blob to a TVLCVideoBuffer, the Read and Write methods might be of interest to you. The buffer can be fed to a VL(DS)ImageDisplay or using a VLGenericFilter to push it to a VideoPlayer.I'm using Delphi XE4. Where can I find more information on the TVCLVideoBuffer?
Dave
07-18-2014, 12:15 AM