Post-processing to generate .webm files. More...
#include <arpa/inet.h>
#include <endian.h>
#include <inttypes.h>
#include <string.h>
#include <stdlib.h>
#include "pp-avformat.h"
#include "pp-webm.h"
#include "../debug.h"
Macros | |
#define | swap2(d) d |
Functions | |
const char ** | janus_pp_webm_get_extensions (void) |
int | janus_pp_webm_create (char *destination, char *metadata, gboolean vp8, const char *extension) |
int | janus_pp_webm_preprocess (FILE *file, janus_pp_frame_packet *list, gboolean vp8, json_t *info) |
int | janus_pp_webm_process (FILE *file, janus_pp_frame_packet *list, gboolean vp8, int *working) |
void | janus_pp_webm_close (void) |
Post-processing to generate .webm files.
Implementation of the post-processing code (based on FFmpeg) needed to generate .webm files out of VP8/VP9 RTP frames.
#define swap2 | ( | d | ) | d |
void janus_pp_webm_close | ( | void | ) |
int janus_pp_webm_create | ( | char * | destination, |
char * | metadata, | ||
gboolean | vp8, | ||
const char * | extension | ||
) |
const char ** janus_pp_webm_get_extensions | ( | void | ) |
int janus_pp_webm_preprocess | ( | FILE * | file, |
janus_pp_frame_packet * | list, | ||
gboolean | vp8, | ||
json_t * | info | ||
) |
int janus_pp_webm_process | ( | FILE * | file, |
janus_pp_frame_packet * | list, | ||
gboolean | vp8, | ||
int * | working | ||
) |