From d183f13456991d12ea57ad14ba38a1f7407d0037 Mon Sep 17 00:00:00 2001 From: Adel Gadllah Date: Sun, 11 Jan 2015 12:16:40 +0100 Subject: [PATCH] recorder: Switch to vp9 Currently we have been using the vp8 codec because it was the best unencumbered codec at that time. With vp9 we now have a successor that leads to smaller files at at the same video quality and has been supported by current browsers for a while. With the raise of hidpi and 4K displays we need a better codec that handles those resolutions better, so switch to vp9. https://bugzilla.gnome.org/show_bug.cgi?id=742744 --- src/shell-recorder.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/shell-recorder.c b/src/shell-recorder.c index 8ab1b0502..ba1e546e4 100644 --- a/src/shell-recorder.c +++ b/src/shell-recorder.c @@ -156,7 +156,7 @@ G_DEFINE_TYPE(ShellRecorder, shell_recorder, G_TYPE_OBJECT); * (Theora does have some support for frames at non-uniform times, but * things seem to break down if there are large gaps.) */ -#define DEFAULT_PIPELINE "vp8enc min_quantizer=13 max_quantizer=13 cpu-used=5 deadline=1000000 threads=%T ! queue ! webmmux" +#define DEFAULT_PIPELINE "vp9enc min_quantizer=13 max_quantizer=13 cpu-used=5 deadline=1000000 threads=%T ! queue ! webmmux" /* If we can find the amount of memory on the machine, we use half * of that for memory_target, otherwise, we use this value, in kB. @@ -1459,7 +1459,7 @@ shell_recorder_set_draw_cursor (ShellRecorder *recorder, * might be used to send the output to an icecast server * via shout2send or similar. * - * The default value is 'vp8enc min_quantizer=13 max_quantizer=13 cpu-used=5 deadline=1000000 threads=%T ! queue ! webmmux' + * The default value is 'vp9enc min_quantizer=13 max_quantizer=13 cpu-used=5 deadline=1000000 threads=%T ! queue ! webmmux' */ void shell_recorder_set_pipeline (ShellRecorder *recorder,