[FFmpeg-devel] [RFC] Expose more legal encoding parameters from AVCodec

Michael Niedermayer michaelni
Mon Apr 7 17:47:06 CEST 2008


On Mon, Apr 07, 2008 at 04:35:27PM +0200, Stefano Sabatini wrote:
> Hi all,
> 
> AVCodec already contains the capabilities, pix_fmts and
> supported_framerates fields, which tell (if specified) some of the
> parameters which are supported for encoding/decoding.
> 
> I would like to extend such features, for example to expose: 
> * a more verbose description of the codec, similiar to the
>   long_description already implemented in libavformat.  Also relevant
>   is [1].
> 
> * valid sizes for the video streams, for example as in the case of
>   H263 which only supports a limited legal set of sizes
> 
> * legal audio samplerates (e.g. as in MP2)
> 
> * others?
> 
> This would be useful both for the command line user (if we provide
> some way to convey this information to the user, I'm thinking for
> example to extend ffprobe for this) and in a scenario of adaptive
> encoding, where you have to programmatically choose which parameters
> is better to use in function of the available
> storage/computing/bandwidth resources, and reimplementing this in
> every application doesn't sound that good.
> 
> If maintainers see this like a good idea I could start to elaborate
> more on this.

I think its a good idea in principle ...

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

While the State exists there can be no freedom; when there is freedom there
will be no State. -- Vladimir Lenin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080407/331fb6ab/attachment.pgp>



More information about the ffmpeg-devel mailing list