On Fri, 1 Jul 2011 20:36:40 -0700, "Ronald S. Bultje" <[email protected]> 
wrote:
> Hi,
> 
> On Sat, Jun 18, 2011 at 5:52 AM, Anton Khirnov <[email protected]> wrote:
> > It supports passing options to codecs.
> > ---
> >  libavfilter/vsrc_movie.c |    2 +-
> >  libavformat/avformat.h   |   27 +++++++++++++++++++++++++++
> >  libavformat/utils.c      |   18 +++++++++++++-----
> >  3 files changed, 41 insertions(+), 6 deletions(-)
> [..]
> > +/**
> > + * Read packets of a media file to get stream information. This
> > + * is useful for file formats with no headers such as MPEG. This
> > + * function also computes the real framerate in case of MPEG-2 repeat
> > + * frame mode.
> > + * The logical file position is not changed by this function;
> > + * examined packets may be buffered for later processing.
> > + *
> > + * @param ic media file handle
> > + * @param options  If non-NULL, an ic.nb_streams long array of pointers to
> > + *                 dictionaries, where i-th member contains options for
> > + *                 codec corresponding to i-th stream.
> > + *                 On return each dictionary will be filled with options 
> > that were not found.
> 
> What happens if we open a codec multiple times. Say, there are three
> streams for a DVD, one MPEG-2 video and two AC-3 audio, and I want to
> use the drc_scale private option for both. I don't think that works
> right now.
> 

Could you elaborate, I don't see why wouldn't it work.

-- 
Anton Khirnov
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to