Hi.
I encountered a problem: when I select the MJPEG format, the video from the camera does not start. YUY2 is fine. Logi C270 HD camera, OS windows 10. RVMedia version 10. What could be wrong and how to fix it?
Doesn't capture video stream
Doesn't capture video stream
- Attachments
-
- WebCamera_2024-03-12_14-59-18.png (11.74 KiB) Viewed 21672 times
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: Doesn't capture video stream
Do you use the full version or the trial version?
If the full version, can you check if the function TRVWebCam.SampleCB (MRVWinWebCamera.pas) is called?
If the full version, can you check if the function TRVWebCam.SampleCB (MRVWinWebCamera.pas) is called?
Re: Doesn't capture video stream
Yes, full. The function is called, returns 0. Inside the DoSampleCB subfunction processes with an error, except is called on the line "bmp.GetBitmap.Assign(jpeg);", error text: JPEG error #50 (added e.Message to see).
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: Doesn't capture video stream
Summary:
I received a sample jpeg frame from the topic starter.
This is an unusual Jpeg, it cannot be read by Delphi classes (by TJpegImage in Vcl, and by TBitmap in FireMonkey).
But I found how to modify it to make it compatible, and it seems to work now.
I sent modified units to the topic starter for testing.
I received a sample jpeg frame from the topic starter.
This is an unusual Jpeg, it cannot be read by Delphi classes (by TJpegImage in Vcl, and by TBitmap in FireMonkey).
But I found how to modify it to make it compatible, and it seems to work now.
I sent modified units to the topic starter for testing.
Re: Doesn't capture video stream
I checked. Everything is working. Thank you!