add clips_root, for later use, bigger bufsize

This commit is contained in:
jb_alvarado 2018-02-02 11:06:25 +01:00
parent 94e95368bd
commit 8728d29a4a

View File

@ -33,7 +33,7 @@ recipient =
# 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: INFO, DEBUG, WARNING # log_level can be: INFO, DEBUG, WARNING
[LOGGING] [LOGGING]
log_file = /tmp/ffplayout.log log_file = /var/log/ffplayout/ffplayout.log
log_level = INFO log_level = INFO
@ -63,6 +63,7 @@ a_sample = 44100
# day_start means at witch hour starts the day, as integer # day_start means at witch hour starts the day, as integer
[PLAYLIST] [PLAYLIST]
playlist_path = /playlists playlist_path = /playlists
clips_root = /ADtvMedia
day_start = 6 day_start = 6
@ -80,7 +81,7 @@ day_start = 6
# buffer_cmd: need to end with the buffer size command, full command would look: # buffer_cmd: need to end with the buffer size command, full command would look:
# /usr/bin/pv -q -B 72600k # /usr/bin/pv -q -B 72600k
[BUFFER] [BUFFER]
buffer_length = 7 buffer_length = 20
buffer_cli = /usr/bin/mbuffer buffer_cli = /usr/bin/mbuffer
buffer_cmd = ["-q", "-c", "-m"] buffer_cmd = ["-q", "-c", "-m"]
@ -94,7 +95,7 @@ service_name = Live Stream
service_provider = example.org service_provider = example.org
logo = /usr/local/share/logo.png logo = /usr/local/share/logo.png
logo_o = overlay=W-w-2:0 logo_o = overlay=W-w-2:0
post_comp_video = ["-c:v", "libx264", "-crf", "23", "-g", "25", "-maxrate", "1300k", "-bufsize", "1300k", "-preset", "fast", "-profile:v", "Main", "-level", "3.1", "-refs", "3"] post_comp_video = ["-c:v", "libx264", "-crf", "23", "-g", "50", "-maxrate", "1300k", "-bufsize", "2600k", "-preset", "medium", "-profile:v", "Main", "-level", "3.1", "-refs", "3"]
post_comp_audio = ["-c:a", "libfdk_aac", "-b:a", "128k"] post_comp_audio = ["-c:a", "libfdk_aac", "-b:a", "128k"]
post_comp_extra = ["-threads", "2", "-flags", "+global_header", "-f", "flv"] post_comp_extra = ["-threads", "2", "-flags", "+global_header", "-f", "flv"]
out_addr = rtmp://192.168.3.31/live/stream out_addr = rtmp://127.0.0.1/live/stream