[MPlayer-dev-eng] updated TODO for prerelease - rt encoder ideas
Arpi
arpi at thot.banki.hu
Thu Apr 11 18:19:18 CEST 2002
Hi,
> > - move realtime mpeg1 encoders (lavc, fame, rte) to libmpcodecs/vf
>
> What about instead moving them to libmpcodecs/ve then having a special
> vf module that can use generic video encoders for realtime encoding to
> pass to hardware decoder cards, etc.? This might be a bit more work,
> but it sounds like a more flexible architecture. It could eliminate
> having two different encoding interfaces to libavcodec, while at the
> same time opening the door for network-streaming vo drivers in the
> future that use codecs other than mpeg1 (say for example mpeg4 :).
not really
the realtime encoders are started with very different parameters.
and the interface of ve_ and vf_ differs, ve_ will callback to mencoder's
muxer, and not even compiled for mplayer. vf_ will query and 'handshake'
colorspace with next driver (vo) and config it so.
i'm sure it would be much mroe code and more mess than having 2 separated
drivers.
maybe using teh same code as template, with #ifdefs, and include it from ve_
and vf_ version...
A'rpi / Astral & ESP-team
--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu
More information about the MPlayer-dev-eng
mailing list