Loading...
Searching...
No Matches
pp-options.h
Go to the documentation of this file.
#ifndef JANUS_PP_OPTIONS
#define JANUS_PP_OPTIONS
#include <glib.h>
#include "../version.h"
typedef struct janus_pprec_options {
gboolean fileexts_only;
gboolean jsonheader_only;
gboolean header_only;
gboolean parse_only;
gboolean extjson_only;
const char *metadata;
gboolean ignore_first_packets;
int match_pt;
int audio_level_extmap_id;
int video_orient_extmap_id;
int debug_level;
int debug_timestamps;
gboolean disable_colors;
const char *extension;
gboolean faststart;
int audioskew_th;
int silence_distance;
int restamp_multiplier;
int restamp_min_th;
int restamp_packets;
char **paths;
} janus_pprec_options;
gboolean janus_pprec_options_parse(janus_pprec_options *opts, int argc, char *argv[]);
void janus_pprec_options_help(void);
void janus_pprec_options_destroy(void);
#endif
janus_pprec_options_destroy
void janus_pprec_options_destroy(void)
Helper method to get rid of the options parser resources.
Definition pp-options.c:72
janus_pprec_options_help
void janus_pprec_options_help(void)
Helper method to print the command line options help summary.
Definition pp-options.c:63
janus_pprec_options_parse
gboolean janus_pprec_options_parse(janus_pprec_options *opts, int argc, char *argv[])
Helper method to parse the command line options.
Definition pp-options.c:17
janus_pprec_options
Struct containing the parsed command line options for janus-pp-rec.
Definition pp-options.h:19
janus_pprec_options::extension
const char * extension
Definition pp-options.h:33
janus_pprec_options::disable_colors
gboolean disable_colors
Definition pp-options.h:32
janus_pprec_options::video_orient_extmap_id
int video_orient_extmap_id
Definition pp-options.h:29
janus_pprec_options::debug_level
int debug_level
Definition pp-options.h:30
janus_pprec_options::restamp_packets
int restamp_packets
Definition pp-options.h:39
janus_pprec_options::restamp_multiplier
int restamp_multiplier
Definition pp-options.h:37
janus_pprec_options::debug_timestamps
int debug_timestamps
Definition pp-options.h:31
janus_pprec_options::ignore_first_packets
gboolean ignore_first_packets
Definition pp-options.h:26
janus_pprec_options::faststart
gboolean faststart
Definition pp-options.h:34
janus_pprec_options::restamp_min_th
int restamp_min_th
Definition pp-options.h:38
janus_pprec_options::silence_distance
int silence_distance
Definition pp-options.h:36
janus_pprec_options::header_only
gboolean header_only
Definition pp-options.h:22
janus_pprec_options::paths
char ** paths
Definition pp-options.h:40
janus_pprec_options::jsonheader_only
gboolean jsonheader_only
Definition pp-options.h:21
janus_pprec_options::extjson_only
gboolean extjson_only
Definition pp-options.h:24
janus_pprec_options::parse_only
gboolean parse_only
Definition pp-options.h:23
janus_pprec_options::audioskew_th
int audioskew_th
Definition pp-options.h:35
janus_pprec_options::match_pt
int match_pt
Definition pp-options.h:27
janus_pprec_options::fileexts_only
gboolean fileexts_only
Definition pp-options.h:20
janus_pprec_options::audio_level_extmap_id
int audio_level_extmap_id
Definition pp-options.h:28
janus_pprec_options::metadata
const char * metadata
Definition pp-options.h:25