I'm using Rad2010+RVCamera to access the built-in webcam on a surface pro4 device.
I'm wondering if it's possible to preview & take photo by RVCamera component.
It seems that only video stream is supported and the available max resolotion is 1920*1080.
Looking forward to your response, thx a lot!
How to control webcam to preview and take photo by RVCamera?
-
- Posts: 9
- Joined: Thu Dec 27, 2018 1:48 am
Re: How to control webcam to preview and take photo by RVCamera?
I'm not familiar with RVMedia.
But I imagine this is what you want:
https://www.trichview.com/help-media/in ... apshot.htm
But I imagine this is what you want:
https://www.trichview.com/help-media/in ... apshot.htm
Re: How to control webcam to preview and take photo by RVCamera?
Yes, I've tried this one, it can only get a picture with the same resolution as the video(1920*1080 pixels).
But I'd like to take photos with much higher resolution(3264*2448 pixels) which the sensor is acutally capable of.
In other words, I want to make the camera work at "photo mode" instead of "video mode".
You got any idea of this? Thanks a lot!
But I'd like to take photos with much higher resolution(3264*2448 pixels) which the sensor is acutally capable of.
In other words, I want to make the camera work at "photo mode" instead of "video mode".
You got any idea of this? Thanks a lot!
-
- Site Admin
- Posts: 17561
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: How to control webcam to preview and take photo by RVCamera?
No, it's not possible. RVMedia makes snapshots at the same resolution as the current camera video mode.
You can switch camera to high-res mode, make a snapshot, than switch it back.
The demo for switching video modes is in <RVMedia dir>\Demos\Delphi\Cameras\WebCam\
You can switch camera to high-res mode, make a snapshot, than switch it back.
The demo for switching video modes is in <RVMedia dir>\Demos\Delphi\Cameras\WebCam\
Re: How to control webcam to preview and take photo by RVCamera?
Hi Sergey, thx for ur reply.
I tried to run this sample on Surface Pro4 but 1920*1080(1920*1080 16bits YUY2) is the highest one in all listed resolutions.
It seems that only those resolutions that supported under "video mode" are enumerated. Why is that?
I tried to run this sample on Surface Pro4 but 1920*1080(1920*1080 16bits YUY2) is the highest one in all listed resolutions.
It seems that only those resolutions that supported under "video mode" are enumerated. Why is that?
-
- Site Admin
- Posts: 17561
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: How to control webcam to preview and take photo by RVCamera?
Some resolution may use encoding unsupported by RVMedia, or not accessible using DirectX method that RVMedia uses.
RVMedia lists all supported video modes.
RVMedia lists all supported video modes.
Re: How to control webcam to preview and take photo by RVCamera?
OK, I see.
And do you have any plan/intention to use media foundation in the future?
Thx!
And do you have any plan/intention to use media foundation in the future?
Thx!
-
- Site Admin
- Posts: 17561
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: How to control webcam to preview and take photo by RVCamera?
Probably, there are no definite plans about it yet.
There are works with higher priority (FireMonkey, different platforms, ONVIF support)
There are works with higher priority (FireMonkey, different platforms, ONVIF support)