Lines Matching refs:codec
2559 const AVCodec *codec;
2580 codec = avcodec_find_decoder(avctx->codec_id);
2588 codec = avcodec_find_decoder_by_name(forced_codec_name);
2589 if (!codec) {
2591 "No codec could be found with name '%s'\n", forced_codec_name);
2593 "No decoder could be found for codec %s\n", avcodec_get_name(avctx->codec_id));
2598 avctx->codec_id = codec->id;
2599 if (stream_lowres > codec->max_lowres) {
2601 codec->max_lowres);
2602 stream_lowres = codec->max_lowres;
2609 opts = filter_codec_opts(codec_opts, avctx->codec_id, ic, ic->streams[stream_index], codec);
2614 if ((ret = avcodec_open2(avctx, codec, &opts)) < 0) {
2816 "%s: could not find codec parameters\n", is->filename);
3604 { "codec", HAS_ARG, { .func_arg = opt_codec}, "force decoder", "decoder_name" },