[FFmpeg-devel] [RFC] libmpcodecs libavfilter wrapper?

Ronald S. Bultje rsbultje
Thu Nov 25 21:02:12 CET 2010


Hi,

On Thu, Nov 25, 2010 at 2:41 PM, Michael Niedermayer <michaelni at gmx.at> wrote:
> On Thu, Nov 25, 2010 at 08:20:06PM +0100, Luca Barbato wrote:
>> On 11/25/2010 05:03 PM, Michael Niedermayer wrote:
>> > And i told already that such wraper needs to be written by someone who has
>> > more experience with porting code between projects. For such person it should
>> > not be much pain to do it.
>> > You surely will have to agree that mplayer is able to use the filters from
>> > libmpcodecs.
>> > Now you can surely take vf_*.c from libmpcodecs and check that into
>> > libavfilter/libmpcodecs
>> > and then write the surrounding code to translate libavfilter API to libmpcodecs
>> > API.
>> > You dont want to implement it that way maybe, i dont know but iam not aware of
>> > any problem in this approuch
>>
>> There isn't a problem per-se beside the fact mplayer codebase is quite
>> scattered and the faster way to achieve a wrapper might be fix the
>> missing function/struct one by one through the gcc output...
>>
>> > Also ill wager a bet that arpi could implement a wraper in less than a day
>> > arpi has very extensive experience with porting code between projects and he
>> > wrote large parts of libmpcodecs.
>>
>> 24h? Probably, maybe 30h and I guess we'd have some restriction in its
>> usage.
>
> i think we should ask arpi, the foundation could pay him for it

To port, or to wrap?

Ronald



More information about the ffmpeg-devel mailing list