Re: Developing a Network Encoder

Tech-Archive recommends: Speed Up your PC by fixing your registry



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


.



Relevant Pages

  • Re: Steve Lacy "Scratching the Seventies/Dreams"
    ... is the number of bits per second used in the encoding process. ... bitrate usually means a larger size file, ... eMusic currently encodes its MP3s using VBR (Variable Bit ...
    (rec.music.bluenote)
  • Re: Attached image sent as "application/octet-stream"
    ... MIME has different encoding ideas, plus it describes the data it encodes (as an example, ... part of the encoded file is Content-Type) and MIME-QP is the default for HTML messages. ... happened when I sent messages in HTML format I have now changed the encoding from Quoted Printable to Base64, and now the files are attached properly. ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)
  • Re: How to copy a mp3 file from a cd to a directory
    ... > your home directory the files will get ripped and encoded on the fly. ... The AudioCD browser *is* a ripping and encoding application (what else would ... you call software that rips and encodes?) ...
    (alt.os.linux)
  • XslTransform/XmlWriter cant encode &#160 in us-ascii or iso-8859-1
    ... iso-8859-1 as the output encoding, and so used this line in the ... it now) that the encoding is ignored unless used with a Stream or ... the XmlTextWriter does not escape the Unicode characters into ... encoding to utf-8 or utf-16 it encodes as it should. ...
    (microsoft.public.dotnet.xml)
  • Re: utf-8 encoding
    ... > segments and terms. ... > sites to utf-8 format. ... NIO apis have other ways as well) with the encoder set to the particular ... Then when ouputting you will use an OutputStreamWriter with the encoding set ...
    (comp.lang.java.help)