picam-streamer icon indicating copy to clipboard operation
picam-streamer copied to clipboard

error creating state dir (./state): File exists

Open jdfindley opened this issue 3 years ago • 1 comments

Mr Lizuka, I am stuck at why every time I go to run picam with ./picam --alsadev hw:1,0 -o /run/shm/hls

I get this error: error creating state dir (./state): File exists

Thoughts? I can get around it by the following: chmod +x make_dirs.sh ./make_dirs.sh But of course, I don't want to do that everytime. Thanks for your work on this fine program. John

jdfindley avatar Oct 01 '21 19:10 jdfindley

If you put ./make_dirs.sh in /etc/rc.local, it will automatically run at boot.

iizukanao avatar Oct 02 '21 06:10 iizukanao