70 *filename = (
char *)p + 1;
87 *filename = (
char *)p + 1;
105 char *bsf_name, *
buf, *dup, *saveptr;
111 while (bsf_name =
av_strtok(buf,
",", &saveptr)) {
116 "Cannot initialize bitstream filter with name '%s', "
117 "unknown filter or internal error happened\n",
141 char *format = NULL, *select = NULL;
149 #define STEAL_OPTION(option, field) do { \
150 if ((entry = av_dict_get(options, option, NULL, 0))) { \
151 field = entry->value; \
152 entry->value = NULL; \
153 av_dict_set(&options, option, NULL, 0); \
178 "Invalid stream specifier '%s' for output '%s'\n",
222 tee_slave->
avf = avf2;
224 if (!tee_slave->
bsfs) {
231 const char *spec = entry->
key + strlen(
"bsfs");
235 "Specifier separator in '%s' is '%c', but only characters '%s' "
246 "Invalid stream specifier '%s' in bsfs option '%s' for slave "
247 "output '%s'\n", spec, entry->
key, filename);
253 "output '%s'\n", spec, entry->
value, i, filename);
254 if (tee_slave->
bsfs[i]) {
256 "Duplicate bsfs specification associated to stream %d of slave "
257 "output '%s', filters will be ignored\n", i, filename);
263 "Error parsing bitstream filter sequence '%s' associated to "
264 "stream %d of slave output '%s'\n", entry->
value, i, filename);
300 bsf_next = bsf->
next;
318 av_log(log_ctx, log_level,
"filename:'%s' format:%s\n",
324 av_log(log_ctx, log_level,
" stream:%d codec:%s type:%s",
328 av_log(log_ctx, log_level,
" bsfs:");
330 av_log(log_ctx, log_level,
"%s%s",
335 av_log(log_ctx, log_level,
"\n");
342 unsigned nb_slaves = 0, i;
343 const char *filename = avf->
filename;
362 for (i = 0; i < nb_slaves; i++) {
377 "to any slave.\n", i);
382 for (i = 0; i < nb_slaves; i++)
415 bsf_ctx = bsf_ctx->
next;
420 "Failed to filter bitstream with filter %s for stream %d in file '%s' with codec %s\n",
432 int ret_all = 0,
ret;
456 int ret_all = 0,
ret;
496 .priv_class = &tee_muxer_class,