Closed sooyoungmoon closed 2 years ago
raspimjpeg will build just fine on a raspberry running the normal released Raspberry Pi OS without any extra steps other than installing cmake. When successful the raspimjpeg binary is found under the build/bin folder and is also placed in its operational folder /opt/vc/bin
It looks like you are trying to build under Ubuntu 64 bit. The build output does not show any attempt to build the userland\host_applications\linux\apps\raspicam folder where raspimjpeg is located.
I think anyway the attempt is currently doomed to failure. As far as I know the MMAL camera support in userland (used extensively by raspimjpeg) is currently not supported on 64 bit OS and I suspect won't be as Raspberry is moving camera support to libCamera. It is quite difficult to consider porting raspimjpeg to libCamera at the moment as that does not provide all the facilities that raspimjpeg needs.
I did try building under the trial 64 bit Raspberry OS and that also failed with errors in the main userland support not directly involving raspimjpeg.
Thank you for your comment. I tried to build the whole project by executing '$ ./buildme --aarch64. It seems that I need to try to use libcamera based on the answer. I appreciate for you help.
get official 64-bit Raspibian, install SD card on RBPi 3B, run, all fine git clone from https://github.com/silvanmelchior/RPi_Cam_Web_Interface get bash: usr/bin/raspimjpeg: No such file or directory that is link to /opt/vc/bin/raspimjpeg which is 32 bit
get https://github.com/roberttidey/userland/ compile, but compile does not make raspimjpeg in build/bin and there is not this file in /opt/vc/bin
is all this mission impossible and better for now is switch to 32-bit Raspibian?
find https://github.com/silvanmelchior/RPi_Cam_Web_Interface/issues/649
go to switch back on 32-bit OS
thanks, ieleja
I can't see any realistic prospect of running this under 64 bit at the moment as the underlying userland / MMAL interface that this relies on is not supported on 64 bit.
The only thing that will change this is if the whole software is converted over to using the libCamera software stack but this is not an easy task, particularly as some features that raspimjpeg relies on (e.g. vector support for motion detection) are not supported by libcamera
There is no compelling advantage to using 64 bit for this software at the moment so I would recommend using the 32 bit version which is the main official release unless you need 64 bit for some reason.
Hi, I am trying to use RPi-Cam-Web-Interface (i.e., a web interface for streaming video data from raspberry Pi) and the tool requires raspimjpeg in this repository.
So I processed on a Raspberry Pi 3 B+ platform as follow:
$ git clone https://github.com/roberttidey/userland
$ ./buildme
after solving some minor issues (such as lack of cross compiler in my raspberry Pi 3), I successfully executed the buildme script.
However, I could'nt find any files related to raspimjpeg (i.e., header and library files)
And when I try to run RPi-Cam_Web-Interface, it still complains like this.
ubuntu@ubuntu:~/RPi_Cam_Web_Interface$ ./start.sh bash: raspimjpeg: command not found
I carefully reviewd the result of the buildme script, but there is no word 'raspimjpeg' actually.I tried to perform 'make' command to rebuild the whole project src, but it was not successfule.
You can see the result below.
I don't know what to do now and please give me some hint to build raspimjpeg and use it.
Thank you.