Comments (19)
Hello,
All binaries are cross compiled, that is probably because I use newer toolchain (glibc version is 2.27) then what is available in raspbian. I will probably have to rebuild whole toolchain for arm6 (RPi 1 and 2) with lower versions. Similar issue was this one #6 .
from cam2ip.
Ok, I uploaded a new binary compiled with toolchain with glibc-2.24, that should work. Can you try now?
from cam2ip.
Hello,
Still the same..
root@raspberrypi:/app/docker# docker logs docker_cam2ip_1
/app/cam2ip: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.27' not found (required by /app/cam2ip)
/app/cam2ip: /lib/arm-linux-gnueabihf/libm.so.6: version `GLIBC_2.27' not found (required by /app/cam2ip)
/app/cam2ip: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.27' not found (required by /app/cam2ip)
/app/cam2ip: /lib/arm-linux-gnueabihf/libm.so.6: version `GLIBC_2.27' not found (required by /app/cam2ip)
/app/cam2ip: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.27' not found (required by /app/cam2ip)
/app/cam2ip: /lib/arm-linux-gnueabihf/libm.so.6: version `GLIBC_2.27' not found (required by /app/cam2ip)
/app/cam2ip: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.27' not found (required by /app/cam2ip)
/app/cam2ip: /lib/arm-linux-gnueabihf/libm.so.6: version `GLIBC_2.27' not found (required by /app/cam2ip)
/app/cam2ip: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.27' not found (required by /app/cam2ip)
from cam2ip.
Hmm, cam2ip-1.4-RPi.tar.gz binary should not have such symbols anymore. I can try to build everything once more, if you are willing to test it.
from cam2ip.
Yes I can test
from cam2ip.
Can you try again with https://github.com/gen2brain/cam2ip/releases/download/1.5/cam2ip-1.5-RPi-native.tar.gz , I added suport for V4L native implementation on Linux/RPi. On desktop it works with lower CPU usage compared to version with OpenCV.
from cam2ip.
Hello,
I have this issue now :
root@raspberrypi:/app/docker# docker logs docker_cam2ip_1
/app/cam2ip: error while loading shared libraries: libjpeg.so.62: cannot open shared object file: No such file or directory
/app/cam2ip: error while loading shared libraries: libjpeg.so.62: cannot open shared object file: No such file or directory
/app/cam2ip: error while loading shared libraries: libjpeg.so.62: cannot open shared object file: No such file or directory
/app/cam2ip: error while loading shared libraries: libjpeg.so.62: cannot open shared object file: No such file or directory
/app/cam2ip: error while loading shared libraries: libjpeg.so.62: cannot open shared object file: No such file or directory
/app/cam2ip: error while loading shared libraries: libjpeg.so.62: cannot open shared object file: No such file or directory
/app/cam2ip: error while loading shared libraries: libjpeg.so.62: cannot open shared object file: No such file or directory
from cam2ip.
Ok, new build is uploaded, just download again, it should be ok now.
from cam2ip.
I tried again, I face the same issue
from cam2ip.
Are you sure that is not related to some cache? The last binary I uploaded is compiled with static libjpeg.a, and symbols are in binary:
cam2ip-1.5-RPi-native # armv6j-hardfloat-linux-gnueabi-nm -D cam2ip | grep " jpeg"
U jpeg_CreateCompress
U jpeg_CreateDecompress
U jpeg_destroy_compress
U jpeg_destroy_decompress
U jpeg_finish_compress
U jpeg_finish_decompress
U jpeg_mem_dest
U jpeg_mem_src
U jpeg_read_header
U jpeg_read_scanlines
U jpeg_set_defaults
U jpeg_set_quality
U jpeg_start_compress
U jpeg_start_decompress
U jpeg_std_error
U jpeg_write_scanlines
Anyway, you can try also with https://github.com/gen2brain/cam2ip/releases/download/1.5/cam2ip-1.5-RPi-native-jpeg.tar.gz I just added, it is a completely static binary compiled without CGo support.
from cam2ip.
I tried again, still the same. I tried the other one and it is working, but the default quality of the image is very poor.
Note : the rotate works :-)
from cam2ip.
Is it normal that the more I increase the width and height, the more it is zoomed ? It did not work like this before, it was just increasing the quality, which is what I want
from cam2ip.
Up :-)
from cam2ip.
Can you grab a screenshot? I just tried in Linux OpenCV build and native build, both with 1024x768 and I don't see a difference.
from cam2ip.
I tried but when trying to rebuild the Dockerfile, here is my issue :
--2018-11-17 11:55:38-- https://github.com/gen2brain/cam2ip/releases/download/1.5/cam2ip-1.5-RPi-native-jpeg.tar.gz
Resolving github.com (github.com)... 140.82.118.4, 140.82.118.3
Connecting to github.com (github.com)|140.82.118.4|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-11-17 11:55:43 ERROR 404: Not Found.
Did you remove the binary ?
from cam2ip.
That is a https://github.com/gen2brain/cam2ip/releases/download/1.5/cam2ip-1.5-RPi-nocgo.tar.gz now.
from cam2ip.
With this Dockerfile.
FROM armhf/ubuntu
LABEL maintainer="xxxx"
RUN apt-get update && \
apt-get install -y wget && \
rm -rf /var/lib/apt/lists/* && \
mkdir -p /app && \
cd /app && \
wget https://github.com/gen2brain/cam2ip/releases/download/1.5/cam2ip-1.5-RPi-native-jpeg.tar.gz && \
tar zxvpf cam2ip-1.5-RPi-native-jpeg.tar.gz && \
cp cam2ip-1.5-RPi-native-jpeg/cam2ip ./ && \
chown nobody:nogroup cam2ip && \
chmod +x cam2ip && \
rm cam2ip-1.5-RPi-native-jpeg.tar.gz
WORKDIR /app
EXPOSE 80
CMD [ "/app/cam2ip", "--bind-addr", ":80", "--width", "1280", "--height", "720", "--delay", "2000", "--rotate", "180" ]
With this Dockerfile :
FROM armhf/ubuntu
LABEL maintainer="xxxx"
RUN apt-get update && \
apt-get install -y wget && \
rm -rf /var/lib/apt/lists/* && \
mkdir -p /app && \
cd /app && \
wget https://github.com/gen2brain/cam2ip/releases/download/1.5/cam2ip-1.5-RPi-nocgo.tar.gz && \
tar zxvpf cam2ip-1.5-RPi-nocgo.tar.gz && \
cp cam2ip-1.5-RPi-nocgo/cam2ip ./ && \
chown nobody:nogroup cam2ip && \
chmod +x cam2ip && \
rm cam2ip-1.5-RPi-nocgo.tar.gz
WORKDIR /app
EXPOSE 80
CMD [ "/app/cam2ip", "--bind-addr", ":80", "--width", "720", "--height", "480", "--delay", "2000", "--rotate", "180" ]
PS : It is a chicken coop ^^
from cam2ip.
You are using different aspect ratio, for 720x480 that is 4/3 , and in other case is 16/9 , try with same aspect ratio.
from cam2ip.
Ok my bad, you are right...
I tried with 1280x960
The chicken seems to approve.
Thanks !
from cam2ip.
Related Issues (20)
- Password? HOT 1
- read: camera: can not grab frame: device or resource busy HOT 2
- audio HOT 1
- Goost lib? HOT 2
- Add ability to choose camera by ID HOT 2
- jpeglib.h: No such file or directory HOT 2
- delete pls
- Can't get higher than 5FPS HOT 7
- ERROR: SampleCB() - buffer sizes do not match HOT 1
- Cannot install using go get HOT 6
- cannot retreive frame : eof HOT 1
- Timestamp Scaling? HOT 2
- fatal error: jpeglib.h: No such file or directory - Windows 10 - How to install libjpeg-turbo HOT 11
- How to change index camera HOT 1
- fails to build on some architectures.. HOT 11
- socket: read: camera: invalid JPEG format: uninitialized Huffman table HOT 1
- New Builds on Releases? HOT 1
- How to let multiple clients access the same camera at the same time HOT 4
- Changing resolution Windows HOT 6
- How to access cam2ip outside my network? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cam2ip.