#Creality cam didnt works
172 messages ยท Page 1 of 1 (latest)
Fix your tags #readme
Also send a crowsnest.log
And just fyi, this post isn't from us, but the guy who posted this, found it and shared it at first on this server. Overall I don't have the camera and therefore can only help with the details provided in this post: https://discord.com/channels/758059413700345988/1090261571063783564
Inside that post there is linked another post that got a lot more information
Click on it and you will see it ๐
Set delete_log: true, log_level: debug and device: /dev/v4l/by-id/usb-Creality_3D_Technology_CREALITY_CAM_00000000-video-index2 inside your crowsnest.conf
And mode: ustreamer
yep
And then read through it and set the values I said
After that you send a new log please and then we continue
[crowsnest]
log_path: /home/klipper/printer_data/logs/crowsnest.log
log_level: debug # Valid Options are quiet/verbose/debug
delete_log: true # Deletes log on every restart, if set to true
no_proxy: false
[cam 1]
mode: mjpg
port: 8080
device: /dev/v4l/by-id/usb-Creality_3D_Technology_CREALITY_CAM_00000000-video-index3
resolution: 1920x1080
max_fps: 30
oke ?
No, you missed 2 values
[crowsnest]
log_path: /home/klipper/printer_data/logs/crowsnest.log
log_level: debug # Valid Options are quiet/verbose/debug
delete_log: true # Deletes log on every restart, if set to true
no_proxy: false
[cam 1]
mode: ustreamer
port: 8080
device: /dev/v4l/by-id/usb-Creality_3D_Technology_CREALITY_CAM_00000000-video-index2
resolution: 1920x1080
max_fps: 30
mode: ustreamer and the device should end on 2 and not 3
?
Yes
save and restart
Then wait like 20s and send a new log
That values didn't get set
I don't know
Open a ssh terminal and run
systemctl status crowsnest
yep
Send the output of that please
wait
A screenshot would be fine too (if it's better for you)
what should I do
yep
I already wondered as there is missing some stuff
We really need to push that fix ^^
Send the output of the command v4l2-ctl --list-devices
How did you know it was pi5?
pispbe (platform:1000880000.pisp_be):
/dev/video20
/dev/video21
/dev/video22
/dev/video23
/dev/video24
/dev/video25
/dev/video26
/dev/video27
/dev/video28
/dev/video29
/dev/video30
/dev/video31
/dev/video32
/dev/video33
/dev/video34
/dev/video35
/dev/video36
/dev/video37
/dev/media0
/dev/media1
rpivid (platform:rpivid):
/dev/video19
/dev/media2
CREALITY CAM: CREALITY CAM (usb-xhci-hcd.1-2):
/dev/video0
/dev/video1
/dev/video2
/dev/video3
/dev/media3
Then run ffmpeg -i /dev/video0 ~/image.jpg
ffmpeg -i /dev/video0 ~/image.jpg
-bash: ffmpeg: command not found
installing, How did you know it was pi5?
It's inside your log and it has a bug that is currently only on the pi5 ^^
I had a hard time installing kiauh .d
Conversion failed!
Then try ffmpeg -i /dev/video2 ~/image.jpg
/dev/video2: Device or resource busy
sudo systemctl stop crowsnest and then try it again
Only for crowsnest or overall?
y
nope, klipper's dc said cant upload mainsail os. install raspbian lite
Conversion failed!
Now run sudo systemctl start crowsnest
Yes, run it anyway
๐
Yeah, we don't have MainsailOS yet for Bookworm and the pi5 need it for bookworm => no MainsailOS yet for the pi5
started
Does it show you a stream now?
Did that work before too?
no signal before
Did you add it inside Mainsail? Top right on the settings icon and then there is a webcam settings page
Now click on add webcam on that picture
Without a webcam added you can see no webcam....
oh
i see it
Should I make any adjustments here?
Should I fix fps etc?
max 200+
cam fps
200+?!?!?!?!?!
You should set a maximum of 30 and I recommend to lower it even further down
Why isn't higher better?
Your cam can only put out 30 fps.....So anything higher will give you only double the same frame
You can get 1 Millionen frames if you want, but if your cam only output 3 fps you only get those 3 frames and nothing more
And no you cannot simply increase it inside the crowsnest.conf......
An important note. You might have to run ffmpeg -i /dev/video0 ~/image.jpg again after you rebooted the pi.
video2 works
oh
Also why would you need 200 frames, to watch your print?!
You might want to try it with video0. I think that should work already and you don't need to stop crowsnest for that
It generally gives less lag in games, is there a load on it when you remove the limit?
Ofc there is a load......Like in your games....
We just tried it and it gave an error
Also you might be right, but first of all your monitor is most likely not capable of 200 frames, so it doesn't even matter..
I thought both gave the error?
Damn, is 30 enough? What would you suggest?
Also this isn't just a load on your CPU of the PC but also on your poor network, as this is some huge amount of data that get's transferred
This will appear with the other one too now
If you read that message, it just says that the file you want to write to is already there. Why? Because we wrote to that file with the other command directly before that
oh
im didnt readed it
mb
Can I change the location of the tabs on the dashboard?
And is moonraker and mobileraker compatible? Can I use them both together?
Just go to the dashboard settings that you can see at the left top of your screenshot there
Mobileraker needs moonraker, so yes
The webcam is showing too big, can we make it a little smaller?
or can we connect applehomekit to homebridge(i have homebridge on synology nas) etc?
I don't know, I don't have such things installed
Nope, you cannot resize the panels
its goofy big xd
You could try to lower the resolution maybe ๐คทโโ๏ธ
1920x1080 what should I do now?
Oh, right the resolutions aren't listed inside the log xD
I have sent the config above .d
Yes, but it doesn't tell what your cam supports.............
You can only set something your cam support.....
1080..........................................
Run v4l2-ctl -d /dev/video0 --list-formats-ext
Yes but that is already set and I said, you could try to lower it.....
v4l2-ctl: unrecognized option '--lsit-formats-ext'
typoed, I corrected it
$ v4l2-ctl -d /dev/video0 --list-formats-ext
ioctl: VIDIOC_ENUM_FMT
Type: Video Capture
[0]: 'H264' (H.264, compressed)
Size: Discrete 1920x1080
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 1280x720
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 640x480
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 1920x1080
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.033s (30.000 fps)
[1]: 'HEVC' (HEVC, compressed)
Size: Discrete 1920x1080
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 1280x720
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 640x480
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 1920x1080
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.033s (30.000 fps)
$ v4l2-ctl -d /dev/video2 --list-formats-ext
ioctl: VIDIOC_ENUM_FMT
Type: Video Capture
[0]: 'MJPG' (Motion-JPEG, compressed)
Size: Discrete 320x240
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.040s (25.000 fps)
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.040s (25.000 fps)
Size: Discrete 640x360
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.040s (25.000 fps)
Size: Discrete 720x576
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.040s (25.000 fps)
Size: Discrete 640x480
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.040s (25.000 fps)
Size: Discrete 320x240
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.040s (25.000 fps)
Interval: Discrete 0.033s (30.000 fps)
Interval: Discrete 0.040s (25.000 fps)
Wait, so it doesn't even do 1080?
raspberry?
That is the output of your cam. That are the resolutions your cam supports
Yes, because that supports 1080
But we cannot use /dev/video0
We can only use /dev/video2 of that cam with crowsnest
And there it doesn't support 1080
It also explains why it's so huge in your panel. Because it's a 4:3 aspect ratio instead of 16:9
640x360 should be better for the height/width ratio
That way it should get a bit smaller
[cam 1]
mode: ustreamer
port: 8080
device: /dev/v4l/by-id/usb-Creality_3D_Technology_CREALITY_CAM_00000000-video-index2
resolution: 640x360
max_fps: 30
?
after big
They even help late in the morning on the Klipper discord. THANKS โค๏ธ
Everyone lives in a different timezone and is doing it in their freetime, so yeah it can happen that people stay up longer sometimes.
The main support on this Discord is from the crew itself and we all live in the same timezone, so our support is limited to that zone ๐คทโโ๏ธ
Your support was really super good. I couldn't get such a quick response and solution anywhere else. I am grateful to you.
No problem ๐
Sometimes I help out on the Klipper Discord too, but tbh, if you want fast help from me for crowsnest, here is the place you should go
I just noticed this place, I searched for help on Klipper Discord for almost 1.5 days.
I saw your cryptic message there too, but that information there was useless tbh.
First of all you pinged James, maybe without context, I don't know. Then you just said, your usb cam is not working, and then some output from lsusb?
Like I said, we are all doing that in our free time and without payment, James too.
So I recommend to give always as much information as possible, that the supported don't need extra time just to find out the actual problem
Never mind, I couldn't understand what you wrote. James is my favorite guy. He helped me a lot with my raspberry installation and previous problems.
All I wanted to say is, give more information than that messages on the Klipper Discord next time you ask for help ๐
James my cam not works. (usb)
cant setup
Bus 001 Device 002:
It's as if I would say:
My car is broken
cannot drive
VW xyz
If there are no further questions, please close this post
:D ๐