Notifications
Clear all

Octoprint: Camera control page - what is the url?  

  RSS
MartinD
(@martind)
Estimable Member
Octoprint: Camera control page - what is the url?

Hello, 

I am newbie with octoprint and I want to add something new to my printer, I installed Octoprint, and I have 2 issues, (I created separate threads).

I am using Logitech Brio camera, it is recognized by Octoprint software (I can see stream and the snapshots), however I cannot show page (supposed to be http://ip/www/control.htm or http://ip/webcam/control.htm) but it just wont show up.

 

Best Answer by MartinD:

@egar

Thank you for pointing me out, find solution already.

ANSWER: DUE TO SECURITY REAONS THE WEBCAMCONTROL WAS DISABLED BY DEFAULT. SO BEFORE ENABLING IT THINK IF YOU NEED IT.

How to enable control.htm page:

Edit following file on Octopi:

/boot/octopi.txt

and at the end change lines to: 

# Current working directory is the mjpg-streamer base directory.
#
camera_http_webroot="./www"
camera_http_options=""

by removing # at the start of line, and change the settings in "" as described above. 

Save, reboot, and control page is available at: http://ipaddress/webcam/control.htm

Posted : 19/03/2021 2:11 pm
egar
 egar
(@egar)
Estimable Member
RE: Octoprint: Camera control page - what is the url?

You may get some responses here, but your questions seem to be more Octoprint related than Prusa related.  A better location for these types of questions would be on the Octoprint user forum at https://community.octoprint.org

There is a very engaged and active community on those forums

 

Posted : 19/03/2021 2:18 pm
MartinD
(@martind)
Estimable Member
Topic starter answered:
RE: Octoprint: Camera control page - what is the url?

@egar

Thank you for pointing me out, find solution already.

ANSWER: DUE TO SECURITY REAONS THE WEBCAMCONTROL WAS DISABLED BY DEFAULT. SO BEFORE ENABLING IT THINK IF YOU NEED IT.

How to enable control.htm page:

Edit following file on Octopi:

/boot/octopi.txt

and at the end change lines to: 

# Current working directory is the mjpg-streamer base directory.
#
camera_http_webroot="./www"
camera_http_options=""

by removing # at the start of line, and change the settings in "" as described above. 

Save, reboot, and control page is available at: http://ipaddress/webcam/control.htm

Posted : 19/03/2021 2:35 pm
Dan Rogers
(@dan-rogers)
Noble Member
RE: Octoprint: Camera control page - what is the url?

Sigh. I got the camera light to light up today - was a sign that Motion was running.  But didn't help me do squat.

 

Posted : 21/03/2021 4:53 am
Dan Rogers
(@dan-rogers)
Noble Member
RE: Octoprint: Camera control page - what is the url?

@martind

What if you don't have Octopi?  I manually installed Octoprint - I guess I'll go rooting around in the /boot directory and see what I find.

Posted : 21/03/2021 3:18 pm
MartinD
(@martind)
Estimable Member
Topic starter answered:
RE: Octoprint: Camera control page - what is the url?

@dan-rogers

The same steps should work.

Posted : 21/03/2021 3:29 pm
Dan Rogers
(@dan-rogers)
Noble Member
RE: Octoprint: Camera control page - what is the url?

What is FFMPEG and what's the path to it?

Posted : 21/03/2021 6:00 pm
Dan Rogers
(@dan-rogers)
Noble Member
RE: Octoprint: Camera control page - what is the url?

Found it.    I ended up compiling something called mjpg_streamer and that is now providing me an addressible raspicam - and I was able to configure octoprint to see the snapshots.

 

Posted : 21/03/2021 6:22 pm
Share: