[FFmpeg-devel] [RFC] Split libavformat

Luca Abeni lucabe72
Mon Nov 26 12:59:41 CET 2007


Hi Michael,

Michael Niedermayer wrote:
[...]
>> also iam starting to think that the way you split lavf is extreemly bad
>> spliting out random (de)muxers and protocols is quite similar to what can
>> already and much cleaner be done with --disable-demuxer/...
> 
> maybe "extreemly bad" is exagerating

thanks; now I feel less guilty ;-)


> but the way you split things is a little
> as if libavcodec and libavformat where together and you would split rarely
> used codecs and (de)muxers out into a seperate lib instead of spliting
> codecs from (de)muxers

I do not fully agree with this example: what I am trying to do is to separate
from libavformat all the formats and protocols that do not read from a "real
file"... And that heavily depened on the operating system.


> for static linking spliting net/grabing off makes no difference, they can
> just be disabled configure style
[...]

I read all your doubts, and I cannot say I disagree with them.

I started working on this split because I often read on the mailing list
that grabbing and network code should be removed from libavformat. At the
nth time I read something like this, I said "hey, this is easy!" and I
posted my ideas about just moving some code to different libraries.
And to show what I was thinking about, I posted my patches.

I now see this is not what you was hoping for... So, let's just discuss
how things should be done and I'll try to provide the right patches.



			Thanks,
				Luca




More information about the ffmpeg-devel mailing list