[FFmpeg-devel] [PATCH]Refuse to mux invalid transport streams

Carl Eugen Hoyos cehoyos at ag.or.at
Mon May 20 16:33:50 CEST 2013


Michael Niedermayer <michaelni <at> gmx.at> writes:

> > +        av_log(s, AV_LOG_ERROR, "Codec %s not 
> > supported in transport streams\n",
> > +               avcodec_get_name(st->codec->codec_id));
> > +        return AVERROR(EINVAL);
> 
> why dont you set AVOutputFormat.codec_tag

It is supposed to be set by the user.

> / querry_codec ?

I didn't know it and since it has no effect on 
ffmpeg it wouldn't help;-(

Carl Eugen



More information about the ffmpeg-devel mailing list