Searched refs:ofmt_ctx (Results 1 - 2 of 2) sorted by relevance
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/doc/examples/ |
H A D | remuxing.c | 49 AVFormatContext *ifmt_ctx = NULL, *ofmt_ctx = NULL; local 79 avformat_alloc_output_context2(&ofmt_ctx, NULL, NULL, out_filename); 80 if (!ofmt_ctx) { 86 ofmt = ofmt_ctx->oformat; 90 AVStream *out_stream = avformat_new_stream(ofmt_ctx, in_stream->codec->codec); 103 if (ofmt_ctx->oformat->flags & AVFMT_GLOBALHEADER) 106 av_dump_format(ofmt_ctx, 0, out_filename, 1); 109 ret = avio_open(&ofmt_ctx->pb, out_filename, AVIO_FLAG_WRITE); 116 ret = avformat_write_header(ofmt_ctx, NULL); 130 out_stream = ofmt_ctx [all...] |
H A D | transcoding.c | 41 static AVFormatContext *ofmt_ctx; variable 96 ofmt_ctx = NULL; 97 avformat_alloc_output_context2(&ofmt_ctx, NULL, NULL, filename); 98 if (!ofmt_ctx) { 105 out_stream = avformat_new_stream(ofmt_ctx, NULL); 151 ret = avcodec_copy_context(ofmt_ctx->streams[i]->codec, 159 if (ofmt_ctx->oformat->flags & AVFMT_GLOBALHEADER) 163 av_dump_format(ofmt_ctx, 0, filename, 1); 165 if (!(ofmt_ctx->oformat->flags & AVFMT_NOFILE)) { 166 ret = avio_open(&ofmt_ctx [all...] |
Completed in 201 milliseconds