[FFmpeg-devel] [PATCH] add (e)ac3float decoders

Justin Ruggles justin.ruggles
Thu Mar 10 18:06:20 CET 2011


On 03/10/2011 11:51 AM, Ivan Kalvachev wrote:

> On 3/10/11, madshi <madshi at gmail.com> wrote:
>> How about Justin's suggestion to add a "request_sample_fmt"
>> field then? An option to get floating point output is better
>> than not having any way to get floating point at all.
>>
>> Best regards, Mathias.
> 
> The problem with the single field is that the application doesn't know
> what formats are supported by the decoder in advance. It needs a list
> of them. Like the one from get_format().
> 
> Well, I guess you can try to reinvent the wheel in the hard and bumpy way.


We could use AVCodec.sample_fmts

-Justin



More information about the ffmpeg-devel mailing list