Sending continuous stream of image updates?

BeadaPanel versatile media display
Post Reply
voldermord
Posts: 4
Joined: Fri Jan 27, 2023 7:46 pm

Sending continuous stream of image updates?

Post by voldermord » Tue Jan 31, 2023 8:18 am

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?

esky-sh
Posts: 1449
Joined: Sat Dec 20, 2008 4:21 am

Re: Sending continuous stream of image updates?

Post by esky-sh » Tue Jan 31, 2023 6:09 pm

Yes you will need to send video stream in your case. The procedure is identical with sending picture.

voldermord
Posts: 4
Joined: Fri Jan 27, 2023 7:46 pm

Re: Sending continuous stream of image updates?

Post by voldermord » Tue Jan 31, 2023 8:01 pm

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.

esky-sh
Posts: 1449
Joined: Sat Dec 20, 2008 4:21 am

Re: Sending continuous stream of image updates?

Post by esky-sh » Tue Jan 31, 2023 9:18 pm

Only those format supported for raw video:
format: { BGRx, RGB16, RGB15, I420, YV12, Y42B, UYVY, YUY2, YVYU, NV12, NV21, NV16 }

Post Reply

Who is online

Users browsing this forum: No registered users and 18 guests