mirror of
https://github.com/gen2brain/cam2ip.git
synced 2026-04-27 07:05:59 +03:00
[GH-ISSUE #45] Cannot install using go get #35
Labels
No labels
enhancement
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cam2ip#35
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @MaddyPhi on GitHub (Apr 11, 2023).
Original GitHub issue: https://github.com/gen2brain/cam2ip/issues/45
When I try to install using
go get -v -tags cv2 github.com/gen2brain/cam2ip/cmd/cam2ipI get the following:When I do
go get -v github.com/gen2brain/cam2ip/cmd/cam2ipI get the same without the opencv issue.When I run one of the binaries offered, I get
-bash: ./cam2ip: No such file or directoryexcept for if I use the rpi static version which seems to work. However, when running that version it would seem that the frame rate is very slow.For some context, this is the system I am working with
Any help you can offer, I would appreciate. Thank you in advance.
@mmokrejs commented on GitHub (Feb 17, 2024):
It worked for me:
The camera appears twice as /dev/video* files. That confuses cam2ip. I have an internal UVC camera and the external, so 4
/dev/video*files in total.While the first device of a pair cannot be used by guvcview it must be used by cam2ip. But I only get 640x480 resulution.
From another shell I can run:
OK, the issue with only 640x480 resolution is selected also happens if I access the device directly. No idea how to ask for higher resolution.
@gen2brain commented on GitHub (Feb 17, 2024):
I changed recently the default to be internal native jpeg, and not libturbo-jpeg. That is slower but I cannot handle the issues people who don't know how to compile are sending. Also, every cam has resolution, if the cam is 640x, you cannot "request" higher, you need to get better camera. Of course, you can do software scale.
@mmokrejs commented on GitHub (Feb 17, 2024):
@gen2brain Thank you for your answer.
I discovered https://github.com/jacksonliam/mjpg-streamer meanwhile:
I read a bit the code because the README.md were not detailed enough to give me a clue how to handle the tool. I suggest showing more complicated examples:
Then I could access both instances with my camera 2 and 3 (camera 0 is laptops internal, yet another UVC):
I did not manage to use the
--fourcc RGB565or--fourcc RGB24for some reason. Also not setup UDP streaming server or RTSP server.@gen2brain commented on GitHub (Feb 17, 2024):
Thanks, but that all seems to be related to mjpg_streeamer app, right? I just heard about it. Readme should have just basic info imo, the rest is up to user.
@mmokrejs commented on GitHub (Feb 17, 2024):
Yes, this about mjpg_streeamer app, which allows me to select even the maximum resolution of my camera.
@gen2brain commented on GitHub (Feb 17, 2024):
If you can, please send a PR for readme, where ffplay and vlc are, but just one example please.