Changing octopi.txt on existing octoprint setup

Camera model

Logitech c270

I set up octoprint without changing octopi.txt. The webcam works but is super laggy and delayed. A lot of the times it'll get stuck on the frame it starts on. If I shut down octoprint, will it be safe for me to remove the microSD card from my raspberryPI 4b without data loss or corrupting the microsd card? If not then how would I go about changing octopi.txt.

I plugged the c270 into my laptop and the feed is fine on their. Im 99% positive the issue is with octopi.txt.

I haven't triedd it in safe mode but I have not installed any plugins yet.

Im using a prusa i3mk3s+ with a raspberry pi4b and a logitech c270 webcam

Yes, this will be perfectly fine and is best practice, shutting down first and giving it a little time for the shutdown to complete. Just make sure when you put the SD card into your computer you don't format when prompted.

The other option is to use SSH to remotely connect to your pi and edit the octopi.txt directly via command line. sudo nano /boot/octopi.txt is the command you would use.

Great, thank you so much!