libgpac
Documentation of the core library of GPAC
unframer.c File Reference
#include <gpac/filters.h>
#include <gpac/constants.h>
#include <gpac/internal/media_dev.h>
#include <gpac/mpeg4_odf.h>
+ Include dependency graph for unframer.c:

Functions

static GF_Err unframer_configure_pid (GF_Filter *filter, GF_FilterPid *pid, Bool is_remove)
 
static GF_Err unframer_process (GF_Filter *filter)
 
const GF_FilterRegister * unframer_register (GF_FilterSession *session)
 

Variables

static const GF_FilterCapability UnframerCaps []
 
const GF_FilterRegister UnframerRegister
 

Function Documentation

◆ unframer_configure_pid()

static GF_Err unframer_configure_pid ( GF_Filter *  filter,
GF_FilterPid *  pid,
Bool  is_remove 
)
static
+ Here is the call graph for this function:

◆ unframer_process()

static GF_Err unframer_process ( GF_Filter *  filter)
static
+ Here is the call graph for this function:

◆ unframer_register()

const GF_FilterRegister* unframer_register ( GF_FilterSession *  session)

Variable Documentation

◆ UnframerCaps

const GF_FilterCapability UnframerCaps[]
static
Initial value:
=
{
}
@ GF_CODECID_NONE
Definition: constants.h:383
@ GF_STREAM_FILE
Definition: constants.h:104
#define GF_CAPS_OUTPUT
Definition: filters.h:2232
#define CAP_UINT(_f, _a, _b)
Definition: filters.h:2172
#define GF_CAPS_INPUT_OUTPUT
Definition: filters.h:2242
#define GF_CAPS_INPUT_EXCLUDED
Definition: filters.h:2228
#define CAP_BOOL(_f, _a, _b)
Definition: filters.h:2180
@ GF_CAPFLAG_EXCLUDED
Definition: filters.h:2208
@ GF_PROP_PID_CODECID
Definition: filters.h:1116
@ GF_PROP_PID_STREAM_TYPE
Definition: filters.h:1112
@ GF_PROP_PID_UNFRAMED
Definition: filters.h:1118
@ GF_PROP_PID_FORCE_UNFRAME
Definition: filters.h:1408
@ GF_TRUE
Definition: setup.h:474
@ GF_FALSE
Definition: setup.h:473

◆ UnframerRegister

const GF_FilterRegister UnframerRegister
Initial value:
= {
.name = "unframer",
GF_FS_SET_HELP("This filter is used to force reframing of input sources using the same internal framing as GPAC (e.g. ISOBMFF) but with broken framing or signaling.\n"
"EX gpac -i src.mp4 unframer -o dst.mp4\n"
"This will:\n"
"- force input PIDs of unframer to be in serialized form (AnnexB, ADTS, ...)\n"
"- trigger reframers to be instanciated after the `unframer` filter.\n"
"Using the unframer filter avoids doing a dump to disk then re-import or other complex data piping."
)
.max_extra_pids = 0xFFFFFFFF,
.configure_pid = unframer_configure_pid,
.process = unframer_process,
.hint_class_type = GF_FS_CLASS_TOOL
}
#define GF_FS_SET_HELP(_help)
Definition: filters.h:2372
#define SETCAPS(__struct)
Definition: filters.h:2364
@ GF_FS_REG_FORCE_REMUX
Definition: filters.h:2418
@ GF_FS_REG_EXPLICIT_ONLY
Definition: filters.h:2393
@ GF_FS_CLASS_TOOL
Definition: filters.h:2455
static GF_Err unframer_process(GF_Filter *filter)
Definition: unframer.c:81
static GF_Err unframer_configure_pid(GF_Filter *filter, GF_FilterPid *pid, Bool is_remove)
Definition: unframer.c:33
static const GF_FilterCapability UnframerCaps[]
Definition: unframer.c:104