Fork me on GitHub
Macros | Functions

Post-processing to generate .webm files. More...

#include <arpa/inet.h>
#include <endian.h>
#include <inttypes.h>
#include <string.h>
#include <stdlib.h>
#include <libavcodec/avcodec.h>
#include <libavformat/avformat.h>
#include "pp-webm.h"
#include "../debug.h"
Include dependency graph for pp-webm.c:

Macros

#define swap2(d)   d
 
#define LIBAVCODEC_VER_AT_LEAST(major, minor)
 

Functions

int janus_pp_webm_create (char *destination, int vp8)
 
int janus_pp_webm_preprocess (FILE *file, janus_pp_frame_packet *list, int vp8)
 
int janus_pp_webm_process (FILE *file, janus_pp_frame_packet *list, int vp8, int *working)
 
void janus_pp_webm_close (void)
 

Detailed Description

Post-processing to generate .webm files.

Author
Lorenzo Miniero loren.nosp@m.zo@m.nosp@m.eetec.nosp@m.ho.c.nosp@m.om

Implementation of the post-processing code (based on FFmpeg) needed to generate .webm files out of VP8/VP9 RTP frames.

Recordings post-processing utility

Macro Definition Documentation

#define LIBAVCODEC_VER_AT_LEAST (   major,
  minor 
)
Value:
(LIBAVCODEC_VERSION_MAJOR > major || \
(LIBAVCODEC_VERSION_MAJOR == major && \
LIBAVCODEC_VERSION_MINOR >= minor))
#define swap2 (   d)    d

Function Documentation

void janus_pp_webm_close ( void  )
int janus_pp_webm_create ( char *  destination,
int  vp8 
)
int janus_pp_webm_preprocess ( FILE *  file,
janus_pp_frame_packet list,
int  vp8 
)
int janus_pp_webm_process ( FILE *  file,
janus_pp_frame_packet list,
int  vp8,
int *  working 
)