change # to ;
This commit is contained in:
parent
5ec80d90c1
commit
144a96ea64
126
ffplayout.conf
126
ffplayout.conf
@ -1,38 +1,38 @@
|
|||||||
# This file is part of ffplayout.
|
; This file is part of ffplayout.
|
||||||
#
|
;
|
||||||
# ffplayout is free software: you can redistribute it and/or modify
|
; ffplayout is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
; it under the terms of the GNU General Public License as published by
|
||||||
# the Free Software Foundation, either version 3 of the License, or
|
; the Free Software Foundation, either version 3 of the License, or
|
||||||
# (at your option) any later version.
|
; (at your option) any later version.
|
||||||
#
|
;
|
||||||
# ffplayout is distributed in the hope that it will be useful,
|
; ffplayout is distributed in the hope that it will be useful,
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
; but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
# GNU General Public License for more details.
|
; GNU General Public License for more details.
|
||||||
#
|
;
|
||||||
# You should have received a copy of the GNU General Public License
|
; You should have received a copy of the GNU General Public License
|
||||||
# along with ffplayout. If not, see <http://www.gnu.org/licenses/>.
|
; along with ffplayout. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
# ------------------------------------------------------------------------------
|
; ------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
# sometimes it can happen, that a file is corrupt but still playable,
|
; sometimes it can happen, that a file is corrupt but still playable,
|
||||||
# this can produce an streaming error over all following files
|
; this can produce an streaming error over all following files
|
||||||
# the only way in this case is, to stop ffplayout and start it again
|
; the only way in this case is, to stop ffplayout and start it again
|
||||||
# here we only say it can stop, the starting process is in your hand
|
; here we only say it can stop, the starting process is in your hand
|
||||||
# best way is a systemd serivce on linux
|
; best way is a systemd serivce on linux
|
||||||
# stop_threshold: stop ffplayout, if it is async in time above this value
|
; stop_threshold: stop ffplayout, if it is async in time above this value
|
||||||
[GENERAL]
|
[GENERAL]
|
||||||
stop_on_error = True
|
stop_on_error = True
|
||||||
stop_threshold = 11
|
stop_threshold = 11
|
||||||
|
|
||||||
|
|
||||||
# send error messages to email address, like:
|
; send error messages to email address, like:
|
||||||
# missing playlist
|
; missing playlist
|
||||||
# unvalid json format
|
; unvalid json format
|
||||||
# missing clip path
|
; missing clip path
|
||||||
# leave recipient blank, if you don't need this
|
; leave recipient blank, if you don't need this
|
||||||
# mail_level can be: WARNING, ERROR
|
; mail_level can be: WARNING, ERROR
|
||||||
[MAIL]
|
[MAIL]
|
||||||
subject = "Playout Error"
|
subject = "Playout Error"
|
||||||
smpt_server = mail.example.org
|
smpt_server = mail.example.org
|
||||||
@ -43,24 +43,24 @@ recipient =
|
|||||||
mail_level = ERROR
|
mail_level = ERROR
|
||||||
|
|
||||||
|
|
||||||
# Logging to file
|
; Logging to file
|
||||||
# if log_to_file = False > log to stderr (console)
|
; if log_to_file = False > log to stderr (console)
|
||||||
# path to /var/log/ only if you run this program as deamon
|
; path to /var/log/ only if you run this program as deamon
|
||||||
# log_level can be: DEBUG, INFO, WARNING, ERROR
|
; log_level can be: DEBUG, INFO, WARNING, ERROR
|
||||||
[LOGGING]
|
[LOGGING]
|
||||||
log_to_file = True
|
log_to_file = True
|
||||||
log_file = /var/log/ffplayout/ffplayout.log
|
log_file = /var/log/ffplayout/ffplayout.log
|
||||||
log_level = INFO
|
log_level = INFO
|
||||||
|
|
||||||
|
|
||||||
# output settings for the pre-compression
|
; output settings for the pre-compression
|
||||||
# all clips get prepared in that way,
|
; all clips get prepared in that way,
|
||||||
# so the input for the final compression is unique
|
; so the input for the final compression is unique
|
||||||
# copy_mode means that there is no recomression
|
; copy_mode means that there is no recomression
|
||||||
# aspect mus be a float number
|
; aspect mus be a float number
|
||||||
# logo is only used if the path exist
|
; logo is only used if the path exist
|
||||||
# with logo_filter = overlay=W-w-12:12 you can modify the logo position
|
; with logo_filter = overlay=W-w-12:12 you can modify the logo position
|
||||||
# live_protocols is for checking input, is input a live source ffplayout handles it a bit different
|
; live_protocols is for checking input, is input a live source ffplayout handles it a bit different
|
||||||
[PRE_COMPRESS]
|
[PRE_COMPRESS]
|
||||||
copy_mode = False
|
copy_mode = False
|
||||||
width = 1024
|
width = 1024
|
||||||
@ -72,27 +72,27 @@ logo_filter = overlay=W-w-12:12
|
|||||||
live_protocols = ["http", "https", "ftp", "rtmp", "rtmpe", "rtmps", "rtp", "rtsp", "srt", "tcp", "udp"]
|
live_protocols = ["http", "https", "ftp", "rtmp", "rtmpe", "rtmps", "rtp", "rtsp", "srt", "tcp", "udp"]
|
||||||
|
|
||||||
|
|
||||||
# playlist settings
|
; playlist settings
|
||||||
# set playlist_mode to False if you want to play clips from the [STORAGE] section
|
; set playlist_mode to False if you want to play clips from the [STORAGE] section
|
||||||
# put only the root path here, for example: "/playlists"
|
; put only the root path here, for example: "/playlists"
|
||||||
# subfolders are readed by the script
|
; subfolders are readed by the script
|
||||||
# subfolders needs this structur:
|
; subfolders needs this structur:
|
||||||
# "/playlists/2018/01" (/playlists/year/month)
|
; "/playlists/2018/01" (/playlists/year/month)
|
||||||
# day_start means at which time the playlist should start
|
; day_start means at which time the playlist should start
|
||||||
# leave day_start blank when playlist should always start at the begin
|
; leave day_start blank when playlist should always start at the begin
|
||||||
[PLAYLIST]
|
[PLAYLIST]
|
||||||
playlist_mode = True
|
playlist_mode = True
|
||||||
path = /playlists
|
path = /playlists
|
||||||
day_start = 05:59:25.000
|
day_start = 05:59:25.000
|
||||||
|
|
||||||
|
|
||||||
# play ordered or ramdomly files from path
|
; play ordered or ramdomly files from path
|
||||||
# extensions: search only files with this extension, can be a list
|
; extensions: search only files with this extension, can be a list
|
||||||
# set shuffle to True to pick files randomly
|
; set shuffle to True to pick files randomly
|
||||||
# filler_path are for the GUI only at the moment
|
; filler_path are for the GUI only at the moment
|
||||||
# filler_clip is for fill the end to reach 24 hours, it will loop when is necessary
|
; filler_clip is for fill the end to reach 24 hours, it will loop when is necessary
|
||||||
# blackclip is for stream copy mode,
|
; blackclip is for stream copy mode,
|
||||||
# best for this is a ~4 hours clip with black color and soft noise sound
|
; best for this is a ~4 hours clip with black color and soft noise sound
|
||||||
[STORAGE]
|
[STORAGE]
|
||||||
path = /media
|
path = /media
|
||||||
filler_path = /media/filler/filler-clips
|
filler_path = /media/filler/filler-clips
|
||||||
@ -102,12 +102,12 @@ extensions = ["*.mp4"]
|
|||||||
shuffle = False
|
shuffle = False
|
||||||
|
|
||||||
|
|
||||||
# overlay text
|
; overlay text
|
||||||
# for paramters check ffmpeg doc
|
; for paramters check ffmpeg doc
|
||||||
# leave textfile blank when you don't need this
|
; leave textfile blank when you don't need this
|
||||||
# in some systems decimal point is a comma, have this in mind when ffmpeg complains about wrong values
|
; in some systems decimal point is a comma, have this in mind when ffmpeg complains about wrong values
|
||||||
# on windows fontfile path need to be like this: C\:/WINDOWS/fonts/DejaVuSans.ttf
|
; on windows fontfile path need to be like this: C\:/WINDOWS/fonts/DejaVuSans.ttf
|
||||||
# textfile has the same pattern
|
; textfile has the same pattern
|
||||||
[TEXT]
|
[TEXT]
|
||||||
textfile = /media/live.txt
|
textfile = /media/live.txt
|
||||||
fontsize = 24
|
fontsize = 24
|
||||||
@ -120,9 +120,9 @@ x = w-w/8*mod(t,8*(w+tw)/w)
|
|||||||
y = (h-line_h)*0.9
|
y = (h-line_h)*0.9
|
||||||
|
|
||||||
|
|
||||||
# the final playout post compression
|
; the final playout post compression
|
||||||
# set the settings to your needs
|
; set the settings to your needs
|
||||||
# preview works only on a desktop system with ffplay!! Set it to True, if you need it
|
; preview works only on a desktop system with ffplay!! Set it to True, if you need it
|
||||||
[OUT]
|
[OUT]
|
||||||
preview = False
|
preview = False
|
||||||
service_name = Live Stream
|
service_name = Live Stream
|
||||||
|
Loading…
x
Reference in New Issue
Block a user