Skip to content
Snippets Groups Projects
Commit d5a6e660 authored by Julian Rother's avatar Julian Rother
Browse files

*_live_transcode: Changed keyframe interval to match facebook's preferences

parent 6436a1a4
No related branches found
No related tags found
No related merge requests found
Pipeline #440 passed
......@@ -5,7 +5,7 @@
#include "util.h"
#define OUTPUT_FORMAT(bitrate) "-f", "flv", "-r", "25", "-c:v", "libx264", "-b:v", bitrate, "-bufsize", bitrate, "-preset", "veryfast", "-x264-params", "keyint=125:min-keyint=125:no-scenecut", "-c:a", "aac"
#define OUTPUT_FORMAT(bitrate) "-f", "flv", "-r", "25", "-c:v", "libx264", "-b:v", bitrate, "-bufsize", bitrate, "-preset", "veryfast", "-x264-params", "keyint=50:min-keyint=50:no-scenecut", "-c:a", "aac"
static void copy_to_log(int fd)
{
......
......@@ -5,7 +5,7 @@
#include "util.h"
#define OUTPUT_FORMAT(bitrate) "-f", "flv", "-r", "25", "-c:v", "libx264", "-b:v", bitrate, "-bufsize", bitrate, "-preset", "veryfast", "-x264-params", "keyint=125:min-keyint=125:no-scenecut", "-c:a", "aac"
#define OUTPUT_FORMAT(bitrate) "-f", "flv", "-r", "25", "-c:v", "libx264", "-b:v", bitrate, "-bufsize", bitrate, "-preset", "veryfast", "-x264-params", "keyint=50:min-keyint=50:no-scenecut", "-c:a", "aac"
static void copy_to_log(int fd)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment