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

Script wont start with error #12

Open
Trauni opened this issue Jun 23, 2022 · 2 comments
Open

Script wont start with error #12

Trauni opened this issue Jun 23, 2022 · 2 comments

Comments

@Trauni
Copy link

Trauni commented Jun 23, 2022

I guess I fixed this past in the time but I don`t know how.

Traceback (most recent call last): File "rtmp_stream_delayer.py", line 198, in <module> from delayer_settings import BACKUPSTREAM_SHORT, BACKUPSTREAM_LONG, \ ImportError: cannot import name 'FFMPEG_EXTRA_OPTS' from 'delayer_settings' (/etc/delay/regie-1-900s/delayer_settings.py)

STREAM_DESTINATION = 'rtmp://127.0.0.1/becleanfeed1/live' DELAY = 900 # Seconds SINGLE = False # Set to true to just delay a single stream and exit, no reconnecting/backup-streams BACKUPSTREAM_SHORT = '' # Show while intermission BACKUPSTREAM_LONG = '' # Show while longer downtime FFMPEG_EXECUTABLE = "ffmpeg" # Use avconv if you need

new server old issues I gues.

@Trauni
Copy link
Author

Trauni commented Jun 23, 2022

I dont know why, unzipped again the delaysettings file and it works...

@sistason
Copy link
Owner

I think you either had:

  • some issue with lineendings (copied over from windows?) so that the delayer_settings.py was just one line
  • since you posted the file (but all in one line?): There is no FFMPEG_EXTRA_OPTS in there, so maybe the file was cut in the middle or you removed the option instead of commenting it out with a #

glad the new settings unzipping worked :)

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

2 participants