X-Git-Url: https://git.ao2.it/vidi-player.git/blobdiff_plain/d2933a9ba8a8813900e05b4051b625180b01958c..89d6d61324d22afd1f441c9b01956645c4305fe0:/create_test_videofont.py diff --git a/create_test_videofont.py b/create_test_videofont.py index 2f83fc2..14c6509 100755 --- a/create_test_videofont.py +++ b/create_test_videofont.py @@ -21,10 +21,10 @@ LIVE_PIPELINE_TEMPLATE = """ """ % (FONT_DESC, NUM_AUDIO_BUFFERS) FILE_PIPELINE_TEMPLATE = """ - matroskamux name=mux ! filesink location="{2}/sample_{0}.mkv" + webmmux name=mux ! filesink location="{2}/sample_{0}.webm" videotestsrc num-buffers=1 pattern=black ! \ textoverlay valignment=center halignment=center font-desc="%s" text="{0}" ! \ - queue ! schroenc rate-control=3 ! mux. + queue ! vp9enc ! mux. audiotestsrc num-buffers=%d freq={1:f} ! audio/x-raw,rate=48000 ! \ queue ! audioconvert ! vorbisenc quality=0.5 ! queue ! mux. """ % (FONT_DESC, NUM_AUDIO_BUFFERS)