I tried sending multiple images within a single START and END tag, but only the first image is shown. Subsequent images are ignored.
If I send the images with a RESET tag or CLEAR tag, the image updates but there is flickering.
Do I need to use video stream? Do you have example for this?
Sending continuous stream of image updates?
-
- Posts: 4
- Joined: Fri Jan 27, 2023 7:46 pm
Re: Sending continuous stream of image updates?
Yes you will need to send video stream in your case. The procedure is identical with sending picture.
-
- Posts: 4
- Joined: Fri Jan 27, 2023 7:46 pm
Re: Sending continuous stream of image updates?
Ok.
I have successfully done what I wanted and it works great. However, I noticed that only the following works:
"video/x-raw, format=RGB16, width=1280, height=480, framerate=0/1"
If I change the header format to RGB/RGBA/ARGB and also convert the picture accordingly to the right format, the picture comes out corrupted.
I have also manually created test RGB/RGBA byte frames manually to confirm. Are these supported?
E.g:
"video/x-raw, format=RGB, width=1280, height=480, framerate=0/1"
Assuming converting a frame with bytes size 1280 * 3 * 480 and all bytes sets of 3s (R,G,B) set as below:
- RGB(255,255,255) displays as full green picture instead of white.
- RGB(0,0,0) displays as full pink instead of black.
- RGB(255,0,0) displays as corruption.
I have successfully done what I wanted and it works great. However, I noticed that only the following works:
"video/x-raw, format=RGB16, width=1280, height=480, framerate=0/1"
If I change the header format to RGB/RGBA/ARGB and also convert the picture accordingly to the right format, the picture comes out corrupted.
I have also manually created test RGB/RGBA byte frames manually to confirm. Are these supported?
E.g:
"video/x-raw, format=RGB, width=1280, height=480, framerate=0/1"
Assuming converting a frame with bytes size 1280 * 3 * 480 and all bytes sets of 3s (R,G,B) set as below:
- RGB(255,255,255) displays as full green picture instead of white.
- RGB(0,0,0) displays as full pink instead of black.
- RGB(255,0,0) displays as corruption.
Re: Sending continuous stream of image updates?
Only those format supported for raw video:
format: { BGRx, RGB16, RGB15, I420, YV12, Y42B, UYVY, YUY2, YVYU, NV12, NV21, NV16 }
format: { BGRx, RGB16, RGB15, I420, YV12, Y42B, UYVY, YUY2, YVYU, NV12, NV21, NV16 }
Who is online
Users browsing this forum: No registered users and 43 guests