Displaying image in TRVCamera works strangely

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

Displaying image in TRVCamera works strangely

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

Re: Displaying image in TRVCamera works strangely

Post by Sergey Tkachenko »

Use DeviceType = rvdtUserData, and provide image in OnNewImage event.
mitzi
Posts: 31
Joined: Thu Oct 10, 2019 12:14 pm

Re: Displaying image in TRVCamera works strangely

Post by mitzi »

Thanks it works
Post Reply