B4J Question IP cam image recording on a headless Raspberry Pi

walt61

Active Member
Licensed User
Longtime User
Hi all,

I want to write a B4J console program to run on a headless Raspberry Pi and would capture an IP cam’s images and store them as a video file. The IP cam’s image is accessed via a URL and is an MJPEG.

I’ve searched the forums and saw several examples with UI programs, but not with console programs. I do have a B4A app that displays the image as a video in a WebView, but the WebView isn’t available for console programs, which is reasonable enough, and I believe a UI program won't run on the RPi, as Erel mentioned in https://www.b4x.com/android/forum/threads/b4j-and-raspberry-pi-boards.37019/#content (but by all means correct me if i'm wrong :)).

Any pointers would be greatly appreciated!
 
Top