How to play image files in specified local directory

RVMedia support and discussion (components for displaying and controlling IP cameras, webcams, video conferencing, video chats, recording audio and video files)
Post Reply
mitzi
Posts: 31
Joined: Thu Oct 10, 2019 12:14 pm

How to play image files in specified local directory

Post 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
Sergey Tkachenko
Site Admin
Posts: 17602
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: How to play image files in specified local directory

Post 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.
mitzi
Posts: 31
Joined: Thu Oct 10, 2019 12:14 pm

Re: How to play image files in specified local directory

Post by mitzi »

Thanks it works
Post Reply