Page 1 of 1

How to play image files in specified local directory

Posted: Thu Dec 08, 2022 9:05 am
by mitzi
Hello,

Is it possible to display images in local directory one by one as slideshow?

I tried TRVCamera set to rvdtFile, URL to directory, CycleVideoImages to True and then via TRVCamera.VideoImagesURLs.Add(filename with or withou path) and then call PlayVideoStream but nothing happened.

RVMedia 9.2, VCL, FFMPEG, Delphi 11.2, 64bit

Re: How to play image files in specified local directory

Posted: Sun Dec 11, 2022 7:05 pm
by Sergey Tkachenko
CycleVideoImages works only with DeviceType=rvdtIPCamera or rvdtHTTP, and images must be on HTTP location.
If you want to make video from custom images, assign DeviceType = rvdtUserData, and provide images in OnNewImage event.

Re: How to play image files in specified local directory

Posted: Mon Dec 12, 2022 9:01 am
by mitzi
Thanks it works