GF_DASHSegmenter 3899 applications/mp4box/main.c GF_DASHSegmenter *dasher; GF_DASHSegmenter 611 include/gpac/media_tools.h typedef struct __gf_dash_segmenter GF_DASHSegmenter; GF_DASHSegmenter 622 include/gpac/media_tools.h GF_DASHSegmenter *gf_dasher_new(const char *mpdName, GF_DashProfile profile, const char *tmp_dir, u32 timescale, GF_Config *dasher_context_file); GF_DASHSegmenter 627 include/gpac/media_tools.h void gf_dasher_del(GF_DASHSegmenter *dasher); GF_DASHSegmenter 633 include/gpac/media_tools.h void gf_dasher_clean_inputs(GF_DASHSegmenter *dasher); GF_DASHSegmenter 643 include/gpac/media_tools.h GF_Err gf_dasher_set_info(GF_DASHSegmenter *dasher, const char *title, const char *copyright, const char *moreInfoURL, const char *sourceInfo); GF_DASHSegmenter 651 include/gpac/media_tools.h GF_Err gf_dasher_set_location(GF_DASHSegmenter *dasher, const char *location); GF_DASHSegmenter 659 include/gpac/media_tools.h GF_Err gf_dasher_add_base_url(GF_DASHSegmenter *dasher, const char *base_url); GF_DASHSegmenter 670 include/gpac/media_tools.h GF_Err gf_dasher_enable_url_template(GF_DASHSegmenter *dasher, Bool enable, const char *default_template, const char *default_extension); GF_DASHSegmenter 678 include/gpac/media_tools.h GF_Err gf_dasher_enable_segment_timeline(GF_DASHSegmenter *dasher, Bool enable); GF_DASHSegmenter 687 include/gpac/media_tools.h GF_Err gf_dasher_enable_single_segment(GF_DASHSegmenter *dasher, Bool enable); GF_DASHSegmenter 695 include/gpac/media_tools.h GF_Err gf_dasher_enable_single_file(GF_DASHSegmenter *dasher, Bool enable); GF_DASHSegmenter 703 include/gpac/media_tools.h GF_Err gf_dasher_set_switch_mode(GF_DASHSegmenter *dasher, GF_DashSwitchingMode bitstream_switching); GF_DASHSegmenter 713 include/gpac/media_tools.h GF_Err gf_dasher_set_durations(GF_DASHSegmenter *dasher, Double default_segment_duration, Bool segment_duration_strict, Double default_fragment_duration); GF_DASHSegmenter 723 include/gpac/media_tools.h GF_Err gf_dasher_enable_rap_splitting(GF_DASHSegmenter *dasher, Bool segments_start_with_rap, Bool fragments_start_with_rap); GF_DASHSegmenter 731 include/gpac/media_tools.h GF_Err gf_dasher_set_segment_marker(GF_DASHSegmenter *dasher, u32 segment_marker_4cc); GF_DASHSegmenter 741 include/gpac/media_tools.h GF_Err gf_dasher_enable_sidx(GF_DASHSegmenter *dasher, Bool enable_sidx, u32 subsegs_per_sidx, Bool daisy_chain_sidx); GF_DASHSegmenter 752 include/gpac/media_tools.h GF_Err gf_dasher_set_dynamic_mode(GF_DASHSegmenter *dasher, GF_DashDynamicMode dash_mode, Double mpd_update_time, s32 time_shift_depth, Double mpd_live_duration); GF_DASHSegmenter 760 include/gpac/media_tools.h GF_Err gf_dasher_set_min_buffer(GF_DASHSegmenter *dasher, Double min_buffer); GF_DASHSegmenter 768 include/gpac/media_tools.h GF_Err gf_dasher_set_ast_offset(GF_DASHSegmenter *dasher, s32 ast_offset); GF_DASHSegmenter 776 include/gpac/media_tools.h GF_Err gf_dasher_enable_memory_fragmenting(GF_DASHSegmenter *dasher, Bool enable); GF_DASHSegmenter 785 include/gpac/media_tools.h GF_Err gf_dasher_set_initial_isobmf(GF_DASHSegmenter *dasher, u32 initial_moof_sn, u64 initial_tfdt); GF_DASHSegmenter 796 include/gpac/media_tools.h GF_Err gf_dasher_configure_isobmf_default(GF_DASHSegmenter *dasher, Bool no_fragments_defaults, Bool pssh_moof, Bool samplegroups_in_traf, Bool single_traf_per_moof); GF_DASHSegmenter 805 include/gpac/media_tools.h GF_Err gf_dasher_enable_utc_ref(GF_DASHSegmenter *dasher, Bool insert_utc); GF_DASHSegmenter 813 include/gpac/media_tools.h GF_Err gf_dasher_enable_real_time(GF_DASHSegmenter *dasher, Bool real_time); GF_DASHSegmenter 821 include/gpac/media_tools.h GF_Err gf_dasher_set_content_protection_location_mode(GF_DASHSegmenter *dasher, GF_DASH_ContentLocationMode mode); GF_DASHSegmenter 829 include/gpac/media_tools.h GF_Err gf_dasher_set_profile_extension(GF_DASHSegmenter *dasher, const char *dash_profile_extension); GF_DASHSegmenter 837 include/gpac/media_tools.h GF_Err gf_dasher_add_input(GF_DASHSegmenter *dasher, GF_DashSegmenterInput *input); GF_DASHSegmenter 845 include/gpac/media_tools.h GF_Err gf_dasher_process(GF_DASHSegmenter *dasher, Double sub_duration); GF_DASHSegmenter 853 include/gpac/media_tools.h u32 gf_dasher_next_update_time(GF_DASHSegmenter *dasher, u64 *ms_ins_session); GF_DASHSegmenter 861 include/gpac/media_tools.h void gf_dasher_set_start_date(GF_DASHSegmenter *dasher, u64 dash_utc_start_date); GF_DASHSegmenter 173 src/media_tools/dash_segmenter.c GF_Err ( *dasher_get_components_info) (GF_DashSegInput *dash_input, GF_DASHSegmenter *opts); GF_DASHSegmenter 174 src/media_tools/dash_segmenter.c GF_Err ( *dasher_create_init_segment) (GF_DashSegInput *dash_inputs, u32 nb_dash_inputs, u32 adaptation_set, char *szInitName, const char *tmpdir, GF_DASHSegmenter *dash_opts, GF_DashSwitchingMode bs_switch_mode, Bool *disable_bs_switching); GF_DASHSegmenter 175 src/media_tools/dash_segmenter.c GF_Err ( *dasher_segment_file) (GF_DashSegInput *dash_input, const char *szOutName, GF_DASHSegmenter *opts, Bool first_in_set); GF_DASHSegmenter 395 src/media_tools/dash_segmenter.c GF_Err gf_dasher_store_segment_info(GF_DASHSegmenter *dash_cfg, const char *representationID, const char *SegmentName, u64 segStartTime, u64 segEndTime) GF_DASHSegmenter 719 src/media_tools/dash_segmenter.c static void gf_dash_load_segment_timeline(GF_DASHSegmenter *dash_cfg, GF_BitStream *mpd_timeline_bs, const char *representationID, u64 *previous_segment_duration , Bool *first_segment_in_timeline,u32 *segment_timeline_repeat_count) GF_DASHSegmenter 828 src/media_tools/dash_segmenter.c static GF_Err gf_media_isom_segment_file(GF_ISOFile *input, const char *output_file, GF_DASHSegmenter *dash_cfg, GF_DashSegInput *dash_input, Bool first_in_set) GF_DASHSegmenter 2582 src/media_tools/dash_segmenter.c static GF_Err dasher_isom_get_input_components_info(GF_DashSegInput *input, GF_DASHSegmenter *opts) GF_DASHSegmenter 2857 src/media_tools/dash_segmenter.c static GF_Err dasher_isom_create_init_segment(GF_DashSegInput *dash_inputs, u32 nb_dash_inputs, u32 adaptation_set, char *szInitName, const char *tmpdir, GF_DASHSegmenter *dash_opts, GF_DashSwitchingMode bs_switch_mode, Bool *disable_bs_switching) GF_DASHSegmenter 3279 src/media_tools/dash_segmenter.c static GF_Err dasher_isom_segment_file(GF_DashSegInput *dash_input, const char *szOutName, GF_DASHSegmenter *dash_cfg, Bool first_in_set) GF_DASHSegmenter 3411 src/media_tools/dash_segmenter.c static GF_Err dasher_generic_get_components_info(GF_DashSegInput *input, GF_DASHSegmenter *opts) GF_DASHSegmenter 4056 src/media_tools/dash_segmenter.c static GF_Err dasher_mp2t_get_components_info(GF_DashSegInput *dash_input, GF_DASHSegmenter *dash_opts) GF_DASHSegmenter 4089 src/media_tools/dash_segmenter.c static GF_Err dasher_mp2t_segment_file(GF_DashSegInput *dash_input, const char *szOutName, GF_DASHSegmenter *dash_cfg, Bool first_in_set) GF_DASHSegmenter 4884 src/media_tools/dash_segmenter.c static GF_Err write_mpd_header(GF_DASHSegmenter *dasher, FILE *mpd, Bool is_mpeg2, Double mpd_duration, Bool use_cenc, Bool use_xlink) GF_DASHSegmenter 5038 src/media_tools/dash_segmenter.c static GF_Err write_period_header(GF_DASHSegmenter *dasher, FILE *mpd, const char *szID, Double period_start, Double period_duration, GF_DASHSegmenter 5218 src/media_tools/dash_segmenter.c static GF_Err gf_dasher_init_context(GF_DASHSegmenter *dasher, GF_DashDynamicMode *dash_mode, s32 *timeShiftBufferDepth, const char *periodID, s32 ast_shift_ms) GF_DASHSegmenter 5295 src/media_tools/dash_segmenter.c u32 gf_dasher_next_update_time(GF_DASHSegmenter *dasher, u64 *ms_in_session) GF_DASHSegmenter 5356 src/media_tools/dash_segmenter.c static Bool gf_dasher_cleanup(GF_DASHSegmenter *dasher) GF_DASHSegmenter 5547 src/media_tools/dash_segmenter.c GF_DASHSegmenter *gf_dasher_new(const char *mpdName, GF_DashProfile dash_profile, const char *tmp_dir, u32 dash_timescale, GF_Config *dasher_context_file) GF_DASHSegmenter 5549 src/media_tools/dash_segmenter.c GF_DASHSegmenter *dasher; GF_DASHSegmenter 5550 src/media_tools/dash_segmenter.c GF_SAFEALLOC(dasher, GF_DASHSegmenter); GF_DASHSegmenter 5563 src/media_tools/dash_segmenter.c void gf_dasher_set_start_date(GF_DASHSegmenter *dasher, u64 dash_utc_start_date) GF_DASHSegmenter 5582 src/media_tools/dash_segmenter.c void gf_dasher_clean_inputs(GF_DASHSegmenter *dasher) GF_DASHSegmenter 5605 src/media_tools/dash_segmenter.c void gf_dasher_del(GF_DASHSegmenter *dasher) GF_DASHSegmenter 5621 src/media_tools/dash_segmenter.c GF_Err gf_dasher_set_info(GF_DASHSegmenter *dasher, const char *title, const char *copyright, const char *moreInfoURL, const char *sourceInfo) GF_DASHSegmenter 5632 src/media_tools/dash_segmenter.c GF_Err gf_dasher_set_location(GF_DASHSegmenter *dasher, const char *location) GF_DASHSegmenter 5640 src/media_tools/dash_segmenter.c GF_Err gf_dasher_add_base_url(GF_DASHSegmenter *dasher, const char *base_url) GF_DASHSegmenter 5649 src/media_tools/dash_segmenter.c static void dasher_format_seg_name(GF_DASHSegmenter *dasher, const char *inName) GF_DASHSegmenter 5664 src/media_tools/dash_segmenter.c GF_Err gf_dasher_enable_url_template(GF_DASHSegmenter *dasher, Bool enable, const char *default_template, const char *default_extension) GF_DASHSegmenter 5674 src/media_tools/dash_segmenter.c GF_Err gf_dasher_enable_segment_timeline(GF_DASHSegmenter *dasher, Bool enable) GF_DASHSegmenter 5682 src/media_tools/dash_segmenter.c GF_Err gf_dasher_enable_single_segment(GF_DASHSegmenter *dasher, Bool enable) GF_DASHSegmenter 5689 src/media_tools/dash_segmenter.c GF_Err gf_dasher_enable_single_file(GF_DASHSegmenter *dasher, Bool enable) GF_DASHSegmenter 5697 src/media_tools/dash_segmenter.c GF_Err gf_dasher_set_switch_mode(GF_DASHSegmenter *dasher, GF_DashSwitchingMode bitstream_switching) GF_DASHSegmenter 5705 src/media_tools/dash_segmenter.c GF_Err gf_dasher_set_durations(GF_DASHSegmenter *dasher, Double default_segment_duration, Bool segment_duration_strict, Double default_fragment_duration) GF_DASHSegmenter 5718 src/media_tools/dash_segmenter.c GF_Err gf_dasher_enable_rap_splitting(GF_DASHSegmenter *dasher, Bool segments_start_with_rap, Bool fragments_start_with_rap) GF_DASHSegmenter 5727 src/media_tools/dash_segmenter.c GF_Err gf_dasher_set_segment_marker(GF_DASHSegmenter *dasher, u32 segment_marker_4cc) GF_DASHSegmenter 5735 src/media_tools/dash_segmenter.c GF_Err gf_dasher_enable_sidx(GF_DASHSegmenter *dasher, Bool enable_sidx, u32 subsegs_per_sidx, Bool daisy_chain_sidx) GF_DASHSegmenter 5745 src/media_tools/dash_segmenter.c GF_Err gf_dasher_set_dynamic_mode(GF_DASHSegmenter *dasher, GF_DashDynamicMode dash_mode, Double mpd_update_time, s32 time_shift_depth, Double mpd_live_duration) GF_DASHSegmenter 5756 src/media_tools/dash_segmenter.c GF_Err gf_dasher_set_min_buffer(GF_DASHSegmenter *dasher, Double min_buffer) GF_DASHSegmenter 5764 src/media_tools/dash_segmenter.c GF_Err gf_dasher_set_ast_offset(GF_DASHSegmenter *dasher, s32 ast_offset_ms) GF_DASHSegmenter 5772 src/media_tools/dash_segmenter.c GF_Err gf_dasher_enable_memory_fragmenting(GF_DASHSegmenter *dasher, Bool fragments_in_memory) GF_DASHSegmenter 5780 src/media_tools/dash_segmenter.c GF_Err gf_dasher_set_initial_isobmf(GF_DASHSegmenter *dasher, u32 initial_moof_sn, u64 initial_tfdt) GF_DASHSegmenter 5789 src/media_tools/dash_segmenter.c GF_Err gf_dasher_configure_isobmf_default(GF_DASHSegmenter *dasher, Bool no_fragments_defaults, Bool pssh_moof, Bool samplegroups_in_traf, Bool single_traf_per_moof) GF_DASHSegmenter 5800 src/media_tools/dash_segmenter.c GF_Err gf_dasher_enable_utc_ref(GF_DASHSegmenter *dasher, Bool insert_utc) GF_DASHSegmenter 5808 src/media_tools/dash_segmenter.c GF_Err gf_dasher_enable_real_time(GF_DASHSegmenter *dasher, Bool real_time) GF_DASHSegmenter 5817 src/media_tools/dash_segmenter.c GF_Err gf_dasher_set_content_protection_location_mode(GF_DASHSegmenter *dasher, GF_DASH_ContentLocationMode mode) GF_DASHSegmenter 5825 src/media_tools/dash_segmenter.c GF_Err gf_dasher_set_profile_extension(GF_DASHSegmenter *dasher, const char *dash_profile_extension) GF_DASHSegmenter 5834 src/media_tools/dash_segmenter.c GF_Err gf_dasher_add_input(GF_DASHSegmenter *dasher, GF_DashSegmenterInput *input) GF_DASHSegmenter 5898 src/media_tools/dash_segmenter.c GF_Err gf_dasher_process(GF_DASHSegmenter *dasher, Double sub_duration)