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

Service don't work #1

Open
stonike-tm opened this issue Nov 21, 2022 · 4 comments
Open

Service don't work #1

stonike-tm opened this issue Nov 21, 2022 · 4 comments

Comments

@stonike-tm
Copy link

Thanks a lot for this repo !
I want to automate the start but the service don't work.
I'm on a raspberry pi 4/64 bits and record on the SD card directly (/home/pi/RECORD/)

I don't know why but when I launch in background, the application dosen't record. (I try to use & or do an sh script or ....)
The only way to make this happend is to use 'screen' to launch in a background terminal

@lplassman
Copy link
Owner

What does your service file look like? The service file is located at: /etc/systemd/system/ndi_recorder.service

By default, the service file records to this path: /media/root/primary/

@stonike-tm
Copy link
Author

Service file is like :

[Unit]
Description=NDI Recorder
After=network-online.target

[Service]
User=root
ExecStart=/opt/ndi_recorder/bin/ndi_recorder -p /home/pi/RECORD
Restart=always
RestartSec=5

[Install]
WantedBy=multi-user.target

ndi_recorder running well, I can acces with browser, start record but no recorded file ...

@lplassman
Copy link
Owner

Strange...I will do some testing of my own and see if I can figure out what the problem is.

@Kaputtnique
Copy link

Kaputtnique commented Jan 14, 2025

are the problem solved? i have may the same issue with unprivileged lxc debian 12. website is there, service is running.. its says recording.. but i dont see which format is used by the recorder (mp4,mov,mkv) and i cant locate any files :(

i tested it without service, starting with ndi_recorder -p PATH is working. But the service isnt working. i deleted the systemd/system file and created new sym link. but it doesnt work it only takes the var path like in ur example.

I test further

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