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

Michael Niedermayer michaelni
Tue Nov 2 12:55:11 CET 2010


On Tue, Nov 02, 2010 at 12:06:37AM -0400, compn wrote:
> On Tue, 2 Nov 2010 02:00:24 +0100, Stefano Sabatini wrote:
> >The problem with libmpcodecs is that it isn't a library, and was never
> >meant to be usable from outside MPlayer, so trying to integrate it
> >into FFmpeg is a nightmare. Indeed the only way is to copy the files
> >to FFmpeg and all the dependencies (vf.h, mp_msg.h, help_mp.h,
> >m_option.h, m_struct.h, img_format.h, mp_image.h, mpc_info.h, vfcap.h
> >etc) and somehow patch it to the build system...  and yet I have no
> >idea how I can map the MPlayer log system to that of FFmpeg and looks
> >more that I can withstand...
> 
> (note that i have no idea what i'm doin and to take this mail as a
> joke)
> 
> probably start small:
> s/mp_msg/av_log
> s/MSGL_ERR/AV_LOG_ERROR
> etc, then you can cross off mp_msg.h
> 
> s/MSGTR_OpeningVideoFilter/"opening video filter"
> etc, then cross off help_mp-en.h

the obvious way:

#define mp_msg
#define MSGL_ERR 0
#define MSGTR_OpeningVideoFilter ""
...

(if there is no header that satisfies these without introducing new unresolved
 dependancies)


and once one or 2 filters work, one can look at changing these things to more
reasonable things

iam not aware of any real issue in libmpcodecs for porting it but as said
it needs someone with a bit more experience in such porting, aka this is
probably not a good case for ones first such project

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

I know you won't believe me, but the highest form of Human Excellence is
to question oneself and others. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20101102/aa88c815/attachment.pgp>



More information about the ffmpeg-devel mailing list