Skip to content
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

Subtitles #162

Open
planet4 opened this issue May 25, 2021 · 2 comments
Open

Subtitles #162

planet4 opened this issue May 25, 2021 · 2 comments

Comments

@planet4
Copy link

planet4 commented May 25, 2021

I am about to give up. When running Picam manually subtitles works fine but after using init.d and a restart it does not work at all. I have tried all kind of tricks just to add a title next to the time. What have I missed? Must Picam use system.d instead? What is the proper way of autostarting picam?

@iizukanao
Copy link
Owner

@planet4 Do you do cd to picam directory before you execute picam command? Also, if possible, please share your script here.

@alemelis
Copy link

alemelis commented Oct 2, 2021

@planet4 sleep did the trick for me

this is my script to run picam on my raspberrypi

/home/pi/picam/picam -o /run/shm/hls \
	--vfr \
	--autoex \
	--time \
	--alsadev hw:1,0 &
sleep 3

touch /home/pi/hooks/subtitle
sleep 10

cat /home/pi/subs > /home/pi/hooks/subtitle

hope it helps!

(possibly related to #158 ?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants