Thanks for the answer

On Thu, Jun 27, 2013 at 6:08 PM, Dan Dennedy <d...@dennedy.org> wrote:
> On Tue, Jun 25, 2013 at 3:13 PM, Tomas Neme <lacrymol...@gmail.com> wrote:
>> I'm wanting to make a new module, a very simple producer-consumer
>> through unix sockets, and I don't know how to get started.
>
> You should be asking yourself if this is a wise decision. Regardless
> of the transport, you have said nothing about the protocol. Do you
> really want to make a new media stream protocol instead of using one
> already available and maybe implemented by libavformat? Maybe you are
> better off to work with libavformat:

avformat doesn't do what I need. I need a sort of multicast for
rawvideo, and even udp through localhost seems to be too slow (I see
quite a lot of package loss). I decided to do a very simple thing:
just copy raw frames into shared memory (instead of sockets)
(consumer), and have clients (producers) read from there, and pass
them on. It's a proof of concept, and it might fail, but I'm almost
done with the first prototype, so we'll go on with this

> MLT expects a plugin to export a function named mlt_register(), which
> it will invoke. Within that function, the your plugin calls
> mlt_repository_register() for each mlt_service that it provides. You
> can also write a MLT app that registers services and does not
> have/need a mlt_register() function.

yes, I found the MLT_REPOSITORY macro that seems to do that, right?

--
"The whole of Japan is pure invention. There is no such country, there
are no such people" --Oscar Wilde

|_|0|_|
|_|_|0|
|0|0|0|

(\__/)
(='.'=)This is Bunny. Copy and paste bunny
(")_(") to help him gain world domination.

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to