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

Luca Abeni lucabe72
Fri Nov 16 15:21:23 CET 2007


Hi all,


Michael Niedermayer wrote:
[...]
> i think there are a few libs which could be created
> 
> * low level protocols (tcp,udp,file,oss,alsa,v4l)
> * high level protocols (http, ftp, mms, ...)
> 
> * a lib providing standard functionality which is missing on the target OS
> (exported names though should be prefixed with something to avoid name
> clashes)
> 
> all just an idea, maybe there are better ways to split things ...

So, what happened to this? Anyone working on those libraries?

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
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?

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.

Of course, if someone else is already working on this I'll find something else
to hack ;-)

Comments?


				Thanks,
					Luca




More information about the ffmpeg-devel mailing list