ffreplay/ffreplay.ini

19 lines
942 B
INI

[DEFAULT]
# Binary
# The path to the binary to run for recording
binary=ffmpeg
# Output path
# Where should replays be saved?
outputPath=$SP$/ffreplay-$TIME$
# Segment time
# How long a segment of video is, in seconds
segmentTime=30
# Segment amount
# How many segments should be recorded at maximum. If you want a recording that is 10 minutes at least, and your segment time is 30, you want to set 21 -- 21 * 30 seconds = 630 seconds at maximum, 600 seconds at minimum
segmentCount=11
# Output options, formatted in json
output=["-c:v","libx264","-pix_fmt","yuv420p","-preset","ultrafast","-c:a","aac","-b:a","128k","-bufsize","20M","-maxrate","10M","-f","mpegts","-f","segment","-segment_time","$CONF:DEFAULT/segmentTime$","-segment_wrap","$CONF:DEFAULT/segmentCount$","-segment_list","$CONF:DEFAULT/temp$/segments.ffcat","-segment_list_type","ffconcat","-segment_list_size","$CONF:DEFAULT/segmentCount$","$CONF:DEFAULT/temp$/seg%d.ts"]