Re: Developing a Network Encoder
- From: "Alessandro Angeli [MVP::DS/MF]" <nobody@xxxxxxxxxxxxxxxxxx>
- Date: Fri, 29 Sep 2006 20:25:33 +0200
Reza wrote:
Has anyone ever tried to use the SDK tools to develop an
encoder that is network aware and can distribute the
encoding task among the available nodes in the local
network?
The bulk of the encoding task is the audio/video compression
which is done by the DMOs. Those DMOs are monolithic black
boxes whose work *you* can not distribute (without a huge
load of low-level system hacking). That only leaves you with
the option of dividing the encoding job up into segments and
distribute the segments, but you can only do that for
off-line encodes, not live ones. But it's live encodes that
have time constraints and not off-line ones, so there is not
much point in undergoing such a programming task, unless
waiting really gets under your skin or you have a lot of
files to encode, but in the latter case you can just
distribute the files themselves.
Even if you were to start on this project, parallel encoding
of segments works only in single-pass mode and when the
segments are considerably longer than the lookahead window,
otherwise the quality control machanism will be prevented
from doing its job. It would be hard or impossible to make
it work in multi-pass mode because the complete encoding
stats from previous passes will not be available to all
nodes. If the segments are very very long (several
"scenes"), working with the partial stats may still yield
good results. On the other hand, this is a problem only
because the encoding stats storage of the WM codecs is not
accessible, so you may overcome this by reverse engineering
the codecs to find out where and how the stats are stored or
by using the DMOs in a "creative" way so that you can gather
your own statistics and force them to obey your bitrate
distribution curve.
Of course, I may be wrong.
--
// Alessandro Angeli
// MVP :: DirectShow / MediaFoundation
// a dot angeli at psynet dot net
// http://www.riseoftheants.com/mmx/faq.htm
.
- Prev by Date: Re: I can't believe how complex this Format SDK is...
- Next by Date: Re: WMP program won't work on new server
- Previous by thread: Re: I can't believe how complex this Format SDK is...
- Next by thread: deploy WMS web base application
- Index(es):
Relevant Pages
|