Lines Matching defs:avf2
127 AVFormatContext *avf2 = fifo->avf;
135 ret = ff_format_output_open(avf2, avf->url, &format_options);
142 for (i = 0;i < avf2->nb_streams; i++)
143 ffstream(avf2->streams[i])->cur_dts = 0;
145 ret = avformat_write_header(avf2, &format_options);
153 av_log(avf2, AV_LOG_ERROR, "Unknown option '%s'\n", entry->key);
166 AVFormatContext *avf2 = fifo->avf;
168 return av_write_frame(avf2, NULL);
184 AVFormatContext *avf2 = fifo->avf;
208 dst_tb = avf2->streams[s_idx]->time_base;
211 ret = av_write_frame(avf2, pkt);
227 AVFormatContext *avf2 = fifo->avf;
233 ret = av_write_trailer(avf2);
234 ff_format_io_close(avf2, &avf2->pb);
487 AVFormatContext *avf2;
490 ret = avformat_alloc_output_context2(&avf2, oformat, NULL, filename);
494 fifo->avf = avf2;
496 avf2->interrupt_callback = avf->interrupt_callback;
497 avf2->max_delay = avf->max_delay;
498 ret = av_dict_copy(&avf2->metadata, avf->metadata, 0);
501 avf2->opaque = avf->opaque;
502 avf2->io_close = avf->io_close;
503 avf2->io_close2 = avf->io_close2;
504 avf2->io_open = avf->io_open;
505 avf2->flags = avf->flags;
508 AVStream *st = avformat_new_stream(avf2, NULL);