Fork me on GitHub
Macros | Functions

Post-processing to generate .mp4 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-h264.h"
#include "../debug.h"
Include dependency graph for pp-h264.c:

Macros

#define LIBAVCODEC_VER_AT_LEAST(major, minor)
 

Functions

int janus_pp_h264_create (char *destination, char *metadata, gboolean faststart)
 
int janus_pp_h264_preprocess (FILE *file, janus_pp_frame_packet *list)
 
int janus_pp_h264_process (FILE *file, janus_pp_frame_packet *list, int *working)
 
void janus_pp_h264_close (void)
 

Detailed Description

Post-processing to generate .mp4 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 .mp4 files out of H.264 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))

Function Documentation

void janus_pp_h264_close ( void  )
int janus_pp_h264_create ( char *  destination,
char *  metadata,
gboolean  faststart 
)
int janus_pp_h264_preprocess ( FILE *  file,
janus_pp_frame_packet list 
)
int janus_pp_h264_process ( FILE *  file,
janus_pp_frame_packet list,
int *  working 
)