requirements for media-api
Enrico Weigelt <[email protected]> Thu, 29 Jan 2004 20:33:14 +0100
| Newsgroups | gmane.comp.multimedia.media-api |
|---|---|
| Message-ID | <[email protected]> |
Hi folks,
after long discussions, I'd like to list requirements for the
media-api, we've worked out for now:
* general framework
-> module management (load-on-call, dynamic or static linking)
-> different types of modules (codecs, io, ...)
-> generic build system for modules (also those not in the main distro)
* codec modules
=> query interface:
each module supports can supply a bunch of codecs, which each converts
from one fixed presentation to another (i.e. mp3 -> pcm16-44khz)
=> capability interfaces:
-> can I work on files ? can I use mmap ? how useful is it ?
-> can I do keyframe-seeking ? can I do per-sample-seeking ?
what is required on input side ?
-> how long in timestamps are samples/frames ? (time-resolution)
-> are timestamps natively supported (or emulated) ?
-> what buffer capabilities do we have ?
-> what latency (in frames or time) does the conversion have ?
-> what is the min and max keyframe distance (i.e. in timestamps) ?
-> how much CPU time does the conversion approx need ?
-> which input modes do we support (push, fetch) ?
-> which output modes do we support (push, fetch) ?
-> do we support or require MT ?
=> detection interfaces
-> several rules to detect whether the input is in req. format
-> also support for native idents (i.e. in AVI) or use textual names
provided by the multiplexer ?
=> instance interfaces
-> create a new converter
-> connect converter to an input or output
-> process # of frames or spec. time
-> seek
-> read out decoded frames
-> push in encoded frames
... to be continued ...
cu
--
---------------------------------------------------------------------
Enrico Weigelt == metux IT services
phone: +49 36207 519931 www: http://www.metux.de/
fax: +49 36207 519932 email: [email protected]
cellphone: +49 174 7066481
---------------------------------------------------------------------
DSL-Zugang ab 0 Euro. -- statische IP -- DSL-Flatfrate --
Diese Mail wurde mit UUCP versandt. http://www.metux.de/uucp/
---------------------------------------------------------------------