= {
.name = "fin",
GF_FS_SET_HELP(
"This filter dispatch raw blocks from input file into a filter chain.\n"
"Block size can be adjusted using [-block_size]().\n"
"Content format can be forced through [-mime]() and file extension can be changed through [-ext]().\n"
"Note: Unless disabled at session level (see [-no-probe](CORE) ), file extensions are usually ignored and format probing is done on the first data block.\n"
"The special file name `null` is used for creating a file with no data, needed by some filters such as [dasher](dasher).\n"
"The special file name `rand` is used to generate random data.\n"
"The special file name `randsc` is used to generate random data with `0x000001` start-code prefix.\n"
"\n"
"The filter handles both files and GF_FileIO objects as input URL.\n"
"\n"
"## Packet Injecting\n"
"The filter can be used to inject a single packet instead of a file using (-pck)[] option.\n"
"No specific properties are attached, except a timescale if (-ptime)[] is set.\n"
"EX gpac fin:pck=str@\"My Sample Text\":ptime=2500/100:#CodecID=stxt:#StreamType=text\n"
"This will declare the PID as WebVTT and send a single packet with payload `My Sample Text` and a timestamp value of 25 second.\n"
)
}
#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_USE_SYNC_READ
Definition: filters.h:2424
@ GF_FS_CLASS_NETWORK_IO
Definition: filters.h:2449
attribute Array args
Definition: jsf.idl:24
static const GF_FilterArgs FileInArgs[]
Definition: in_file.c:717
static GF_FilterProbeScore filein_probe_url(const char *url, const char *mime_type)
Definition: in_file.c:275
static GF_Err filein_process(GF_Filter *filter)
Definition: in_file.c:424
static GF_Err filein_initialize(GF_Filter *filter)
Definition: in_file.c:255
static Bool filein_process_event(GF_Filter *filter, const GF_FilterEvent *evt)
Definition: in_file.c:317
static void filein_finalize(GF_Filter *filter)
Definition: in_file.c:264
static const GF_FilterCapability FileInCaps[]
Definition: in_file.c:729