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"
Post-processing to generate .mp4 files.
- Author
- Lorenzo Miniero loren.nosp@m.zo@m.nosp@m.eetec.nosp@m.ho.c.nosp@m.om
- Copyright
- GNU General Public License v3
Implementation of the post-processing code (based on FFmpeg) needed to generate .mp4 files out of H.264 RTP frames.
Recordings post-processing utility
#define LIBAVCODEC_VER_AT_LEAST |
( |
|
major, |
|
|
|
minor |
|
) |
| |
Value:(LIBAVCODEC_VERSION_MAJOR > major || \
(LIBAVCODEC_VERSION_MAJOR == major && \
LIBAVCODEC_VERSION_MINOR >= minor))
void janus_pp_h264_close |
( |
void |
| ) |
|
int janus_pp_h264_create |
( |
char * |
destination, |
|
|
char * |
metadata, |
|
|
gboolean |
faststart |
|
) |
| |