Lines Matching defs:avf2
164 AVFormatContext *avf2 = NULL;
231 ret = avformat_alloc_output_context2(&avf2, NULL,
235 tee_slave->avf = avf2;
236 av_dict_copy(&avf2->metadata, avf->metadata, 0);
237 avf2->opaque = avf->opaque;
238 avf2->io_open = avf->io_open;
239 avf2->io_close = avf->io_close;
240 avf2->io_close2 = avf->io_close2;
241 avf2->interrupt_callback = avf->interrupt_callback;
242 avf2->flags = avf->flags;
243 avf2->strict_std_compliance = avf->strict_std_compliance;
287 if (!(st2 = avformat_new_stream(avf2, NULL))) {
297 ret = ff_format_output_open(avf2, filename, &options);
304 if ((ret = avformat_write_header(avf2, &options)) < 0) {
311 tee_slave->bsfs = av_calloc(avf2->nb_streams, sizeof(*tee_slave->bsfs));
331 for (i = 0; i < avf2->nb_streams; i++) {
332 ret = avformat_match_stream_specifier(avf2, avf2->streams[i], spec);
396 av_log(avf2, AV_LOG_ERROR, "Unknown option '%s'\n", entry->key);
538 AVFormatContext *avf2;
546 if (!(avf2 = tee->slaves[i].avf))
551 ret = av_interleaved_write_frame(avf2, NULL);
593 avf2->streams[s2]->time_base);
594 ret = av_interleaved_write_frame(avf2, pkt2);