[FFmpeg-devel] Splitting libavformat (Was: [PATCH] IPv6 support v.2)

Diego Biurrun diego
Fri Nov 16 17:46:59 CET 2007


On Fri, Nov 16, 2007 at 03:21:23PM +0100, Luca Abeni wrote:
> 
> I am leaving for the weekend in about one or two hours, and I'll not be
> online until monday, but I'll have some time to hack ffmpeg.
> If noone else is working on this, I'll split libavformat.
> 
> I am thinking about 2 possibilities:
> 1) a first lib for low level protocols, and a second one for high level
>     protocols, as suggested by Michael

I think you might easily run into problems trying to find a distinction
between low-level and high-level protocols...

> 2) a first library for network protocols (udp, tcp, http, rtp, rtsp) and a second
>     one for grabbing from other devices (audio, v4l, v4l2, x11grab & friends)
> 
> Anyone has other ideas? Which one is preferred?

I'd go for the second or just move everything that is not a muxer or
demuxer out of libavformat into a single lib.

> In my plan, I will simply move code from one library to another, without changing
> any API (I hope this can be done ;-). After this split, the only URLProtocols
> remaining in libavformat will be file_protocol and pipe_protocol.

Why keep them?

Diego




More information about the ffmpeg-devel mailing list