-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RGB3 support? #248
Comments
|
|
Yeah we only support RGBP, don't see many RGB only cameras tbh. They've normally got YUV. I've seen a few that only support YU12 or YV12 like yours. Would like to add support for those but won't have time to do it myself. |
same problem with old logitech webcam |
@Armageddit Can you post some details such as the output of |
oh sry i think it was RGB3 becaus if i try to start: i type in:
and get:
here the results from
i try the second camera that works only for 10sec and then i must restart the programm
im not good with linux or terminal can you tell me how to get this work? |
@Armageddit This could be quite tricky to get it to work, unless you are happy compiling mjpg-streamer from source yourself. If not you will have to wait for @jacksonliam to accept my fix and issue a new release. That said, there are a few extra things to test. See if you can find the
It might give you something like
Then try running your tests as before again. |
ok i run:
|
You need |
You will need to |
it is not empty:
i try to understand the README.md but dont understand what i should do |
|
ok and now:
? |
No
|
oh yes :D |
Cool can you place screenshot on #249 |
after restart i need this 3 codes to start:
|
Firstly, if you run If you want to automate the startup you can add to systemd: Create the file: The file contents:
You will have to update ENVIRONMENT to your setting. |
After completing the above test the service with |
dont work from any location:
and this file doesnt work too :(
i try to start wiht but if i use this 3 commands it woke fine:
it is possible that it was installed in the wrong directory |
|
When you add |
ok now it works fine :) BIG THX TO GilesBathgate!! |
Hi,
More precisely, the output are:
and:
and everything is ok in octoprint. The problem is at reboot with the service started through systemctl. Here I paste the .service file in /etc/systemd/system/ and journalctl output:
I tried adding Any suggestion to make it work is very appreciated. |
First step might be to use journalctl to debug the messages from mjpg_streamer? |
sorry, forgot to mention that i tried with journalctl
|
It doesn't say why the process was killed, |
|
You basically need to see the same messages as
in your systemctl output. I don't know how you do that, but there should be a systemctl debugging tutorial online. |
also...
and change |
i executed here the output you was referring to:
thanks a lot for your time and your help! |
@jacksonliam Looks like a similar issue: #101 |
this is my output:
but i don't understand why the issue occurs only when
|
Either your camera doesn't support RGB3, (so why comment on this issue), or there is something about v4l1compat mode not right. try:
|
i commented on this issue simply because your suggestions to Armageddit worked also for me (apart the service part). but i think you're right about RGB3 not supported (v4l2-ctl sais S561 and GBRG):
|
Does |
yes
|
The next step would be to replace:
with
where <PATH_TO> is the path from eg: Then debug the service and see if you get the same output. |
ok, done. these the steps:
|
I presumed some knowledge of systemctl, (I've mostly forgotten myself), what is needed is the output messages of the service ExecStart command. Reading up I think it's
|
|
in one of my experiments i saw something like "failure due to dependency". not sure about its means and i wasn't able to reproduce again. A simple workaround i found is to create a bash script like this:
and run it with cron It works but i'm pretty sure it's not the best way... |
You can also try:
|
after some tests i think that the problem has to do with dependencies. mjpg-streamer service doesn't start because something goes wrong with now the point is: what is the issue with
still working on it |
@fabiosci Ok, thanks for the update, I am not sure If I can be of any further help. There are probably irc chatrooms/discord for pi/systemd/v4l you can try. |
i undestand and want to thank you for your precious help! |
When I run mjpg-streamer I get the following output:
If I enable v4l1compat support I get this:
The text was updated successfully, but these errors were encountered: