Thanks!
I really wanted to bring FoM window remote, and from what I learned that is not possible by enhancing picamera.
Next I wanted to capture HDMI via dispmanx interface and bring that remote.
I stopped, because that job is done very well by uv4l raspidisp.
While uv4l raspicam works without issues on the Pi4B, I cannot get raspidisp starting.
So I remembered telepi repo that was last updated 12/2014, but still works!
https://github.com/DougGore/telepi
On Pi3B with 1024x600 DPMI display I started via ssh:
Code: Select all
pi@raspberrypi3B:~ $ nc -l 5002 | mplayer -fps 31 -cache 512 -
MPlayer 1.3.0 (Debian), built with gcc-6.2.1 (C) 2000-2016 MPlayer Team
do_connect: could not connect to socket
connect: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
Playing -.
Reading from stdin...
Cache fill: 0.00% (0 bytes)
Then on Pi4B I started via ssh:
Code: Select all
๐ ./telepi - | nc 192.168.178.70 5002
TelePi - Raspberry Pi remote viewer
Open display[0]...
Display is 1360 x 768
VC image ptr: 0x0
Port 200: in 1/1 15360 16 disabled,not pop.,not cont. 160x64 160x64 @1966080 20
Port 200: in 1/1 15360 16 disabled,not pop.,not cont. 1360x768 1360x768 @1966080 12
OMX_SetParameter for video_encode:201...
Current Bitrate=16000000
encode to idle...
enabling port buffers for 200...
enabling port buffers for 201...
encode to executing...
looping for buffers...
This displays the top left 1024x600 of Pi4B display with 31fps on Pi3B DPMI display!
Finally I logged into Pi3B in another terminal via ssh and did capture the framebuffer:
Code: Select all
pi@raspberrypi3B:~ $ raspi2png
pi@raspberrypi3B:~ $
As you can see, cvlc has some problems in top area of screen, but telepi works AND displays Pi4B FoM window remotely on Pi3B!
(pngtopnm snapshot.png | pnmtojpeg > snapshot.png.jpg)

- snapshot.png.jpg
- snapshot.png.jpg (59.67 KiB) Viewed 5836 times
P.S:
I did it fully remotely now. Made Pi4B boot into CLI.
Then opened an ssh session on Pi4B starting raspistill with FoM window first:
Code: Select all
๐ userland/build/bin/raspistill -fw -t 0 -p 426,160,507,380
Followed by the steps already discribed.
This is Pi4B FoM window remotely on Pi3B display fully remotely

- snapshot.2.png.jpg
- snapshot.2.png.jpg (89.54 KiB) Viewed 5822 times