+#FONT_DESC = "Andale Mono, 72"
+FONT_DESC = "Mono, 72"
+
+SAMPLE_LENGTH_SECONDS = 4
+
+# 48000 samples per seconds, at 1024 samples per buffer
+NUM_AUDIO_BUFFERS = round(SAMPLE_LENGTH_SECONDS * 48000 / 1024)
FILE_PIPELINE_TEMPLATE = """
matroskamux name=mux ! filesink location="{2}/sample_{0}.mkv"
videotestsrc num-buffers=1 pattern=black ! \
textoverlay valignment=center halignment=center font-desc="%s" text="{0}" ! \
queue ! schroenc rate-control=3 ! mux.
FILE_PIPELINE_TEMPLATE = """
matroskamux name=mux ! filesink location="{2}/sample_{0}.mkv"
videotestsrc num-buffers=1 pattern=black ! \
textoverlay valignment=center halignment=center font-desc="%s" text="{0}" ! \
queue ! schroenc rate-control=3 ! mux.