Hi Tomas

So if i specify a specific codec by name via the "-vcodec" option then
define a decoder and an encoder for this name in the libavcodec then ffmpeg
will use the decoder/encoder for this named codec, even if theres other
codecs specified for the given CODEC_ID, e.g. h264.

Thanks



On 9 June 2010 11:43, Tomas Härdin <[email protected]> wrote:

> On Wed, 2010-06-09 at 11:25 +0100, herbert westmacott wrote:
> > Hi
> >
> > Im looking to see if its possible to provide a custom decoder for a codec
> ID
> > that ffmpeg already supports.
> >
> > For example ffmpeg provides a decoder for h264, if I provide my own
> custom
> > decoder, how to I tell ffmpeg API which decoder to use?  The same
> question
> > applies to the encoder side for a codec ID that is already covered, in
> this
> > a "vcodec" option can be used on the CLI but how do we acheive this using
> > the API.
> >
> > Im interested more in using the ffmpeg API rather than the CLI.
> >
> > Thanks
>
> Look up the codecs using their names rather then their codec IDs, or
> register them further up the list in allcodecs.c.
>
> /Tomas
>
> _______________________________________________
> libav-user mailing list
> [email protected]
> https://lists.mplayerhq.hu/mailman/listinfo/libav-user
>
>
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to