2nd webcam issues

pi@octopi:~ $ sudo netstat -4anp -t |grep 8080
[sudo] password for pi:
tcp        0      0 0.0.0.0:8080            0.0.0.0:*               LISTEN      410/python3
tcp        0      0 127.0.0.1:34382         127.0.0.1:8080          TIME_WAIT  

I get nothing

What's the output of ps aux|grep 410 ? (without the question mark)

pi@octopi:~ $ ps aux|grep 410
pi         410  9.4  1.7 455392 69688 ?        Ssl  16:38   5:33 /home/pi/oprint/bin/python3 /home/pi/oprint/bin/octoprint serve --host=127.0.0.1 --port=5000
pi         828  0.3  1.4 209284 54356 tty1     Sl   16:39   0:12 /opt/OctoDash/octodash --type=utility --utility-sub-type=network.mojom.NetworkService --field-trial-handle=16015867841026372206,4682852112575593024,131072 --enable-features=WebComponentsV0Enabled --disable-features=CertVerifierService,CookiesWithoutSameSiteMustBeSecure,SameSiteByDefaultCookies,SpareRendererForSitePerProcess --lang=en-GB --service-sandbox-type=network --standard-schemes=app --secure-schemes --bypasscsp-schemes --cors-schemes --fetch-schemes --service-worker-schemes --streaming-schemes --shared-files=v8_context_snapshot_data:100
pi         843  1.5  2.9 340724 115180 tty1    Sl   16:39   0:56 /opt/OctoDash/octodash --type=renderer --touch-events=enabled --field-trial-handle=16015867841026372206,4682852112575593024,131072 --enable-features=WebComponentsV0Enabled --disable-features=CertVerifierService,CookiesWithoutSameSiteMustBeSecure,SameSiteByDefaultCookies,SpareRendererForSitePerProcess --lang=en-GB --standard-schemes=app --secure-schemes --bypasscsp-schemes --cors-schemes --fetch-schemes --service-worker-schemes --streaming-schemes --app-path=/opt/OctoDash/resources/app.asar --no-sandbox --no-zygote --num-raster-threads=2 --enable-main-frame-before-activation --renderer-client-id=4 --no-v8-untrusted-code-mitigations --shared-files=v8_context_snapshot_data:100
pi         867  0.1  1.4 220980 56624 tty1     Sl   16:39   0:06 /opt/OctoDash/octodash --type=gpu-process --field-trial-handle=16015867841026372206,4682852112575593024,131072 --enable-features=WebComponentsV0Enabled --disable-features=CertVerifierService,CookiesWithoutSameSiteMustBeSecure,SameSiteByDefaultCookies,SpareRendererForSitePerProcess --gpu-preferences=UAAAAAAAAAAgAAAQAAAAAAAAAAAAAAAAAABgAAAAAAAwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAAAAAAACAAAAAAAAAAAAAAAAAAAAAIAAAAAAAAAAgAAAAAAAAACAAAAAAAAAA= --use-gl=swiftshader-webgl --shared-files
pi        3346  0.0  0.0   7348   472 pts/1    S+   17:37   0:00 grep --color=auto 410

That's strange, you say that you're still able to see the webcam image in OctoPrint ? Is it a still image, or really the stream from the webcam ?

the stream, sorry.

You don't have to be sorry, I just don't see where it comes from... Just to be sure, what's the output of systemctl status ffmpeg_hls.service ?

Do you use The Spaghetti Detective & premium webcam streaming? That will take over any stream that mjpg streamer starts.

i do use the spaghetti detective but i don't pay for the premium and currently have watch for failures, pause on detected failures off.

Uninstall/disable the TSD plugin, then reboot the Pi & try again.

you should issue the systemctl enable --now webcamd.service command before or right after rebooting, otherwise the streams won't show up in Octoprint

wow disabling TSD worked! i have control over both camera again!!!!!! so is it safe to say i cant use TSD? I mainly want it to view the progress and check in when I'm not at home.

You can use TSD with only one webcam, but if you want multiple cameras, you can't use it. It all comes down to what you want most...

Btw sory to have wasted your time, I'm not familiar with TSD and didn't know it could take over streams...

1 Like

dude I want to say sorry for wasting your time lol trust me I really really appreciate your help even though it wasn't your sudjestion that helped solve the issue in the end! the community on here is amazing and I truly appreciate it!

did you know of any solutions where I could monitor the cams while on my phone and still use both webcams?

You could connect your phone to your home network via VPN.
Depending on the router you're using you can just activate that option in your routers settings.
Check in the routers manual if it got a VPN feature.