Page 1 of 1

Displaying image in TRVCamera works strangely

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

when I set TRVCamera to rvdtFile and SourceFileName to any jpg or png file and call PlayVideoStream , sometimes image stays displayed and sometimes image only blinks and then default blue screen is displayed. How can I achieve image to stay displayed?

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

Re: Displaying image in TRVCamera works strangely

Posted: Sun Dec 11, 2022 6:40 pm
by Sergey Tkachenko
Use DeviceType = rvdtUserData, and provide image in OnNewImage event.

Re: Displaying image in TRVCamera works strangely

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