Lines Matching defs:file
6 * This file is part of FFmpeg.
76 char file[1024];
125 const char *single_file_name; /* file names selected for this particular stream */
167 const char *single_file_name; /* file names as specified in options */
460 // write out to file
518 int use_rename = proto && !strcmp(proto, "file");
567 c->single_file ? os->initfile : seg->file,
710 avio_printf(out, "\t\t\t\t\t<SegmentURL media=\"%s\" />\n", seg->file);
1141 int use_rename = proto && !strcmp(proto, "file");
1147 av_log(s, AV_LOG_ERROR, "Cannot use rename on non file protocol, this may lead to races and temporary partial files\n");
1530 "One or many segment file names doesn't end with .webm. "
1752 static int add_segment(OutputStream *os, const char *file,
1771 av_strlcpy(seg->file, file, sizeof(seg->file));
1785 av_log(NULL, AV_LOG_WARNING, "Correcting the segment index after file %s: current=%d corrected=%d\n",
1786 file, os->segment_index, next_exp_index);
1878 static int dashenc_delete_segment_file(AVFormatContext *s, const char* file)
1885 av_bprintf(&buf, "%s%s", c->dirname, file);
1901 dashenc_delete_segment_file(s, os->segments[i]->file);
1903 // Delete the segment regardless of whether the file was successfully deleted
1917 int use_rename = proto && !strcmp(proto, "file");
2250 int use_rename = proto && !strcmp(proto, "file");
2376 { "single_file", "Store all segments in one file, accessed using byte ranges", OFFSET(single_file), AV_OPT_TYPE_BOOL, { .i64 = 0 }, 0, 1, E },
2377 { "single_file_name", "DASH-templated name to be used for baseURL. Implies storing all segments in one file, accessed using byte ranges", OFFSET(single_file_name), AV_OPT_TYPE_STRING, { .str = NULL }, 0, 0, E },
2390 { "global_sidx", "Write global SIDX atom. Applicable only for single file, mp4 output, non-streaming mode", OFFSET(global_sidx), AV_OPT_TYPE_BOOL, { .i64 = 0 }, 0, 1, E },
2392 { "auto", "select segment file format based on codec", 0, AV_OPT_TYPE_CONST, {.i64 = SEGMENT_TYPE_AUTO }, 0, UINT_MAX, E, "segment_type"},
2393 { "mp4", "make segment file in ISOBMFF format", 0, AV_OPT_TYPE_CONST, {.i64 = SEGMENT_TYPE_MP4 }, 0, UINT_MAX, E, "segment_type"},
2394 { "webm", "make segment file in WebM format", 0, AV_OPT_TYPE_CONST, {.i64 = SEGMENT_TYPE_WEBM }, 0, UINT_MAX, E, "segment_type"},
2401 { "dash", "MPEG-DASH ISO Base media file format live profile", 0, AV_OPT_TYPE_CONST, {.i64 = MPD_PROFILE_DASH }, 0, UINT_MAX, E, "mpd_profile"},