Hi,

august wrote
>
> Hi,
>
> Two questions:
>
> 1)  Under gmerlin_avdecoder, it seems as if the transport method
> (http,rtp, file) is tightly integrated in the decoding code.  Do I
> understand that right, and is there a reason for this?

Yes, it is. The reason is, that some input modules (e.g. rtp, dvd, dvb)
do things (e.g. creating the stream table, getting metadata), which are
done by the demuxer for regular files. This requires a lot of communication
between the modules and it's best to do that within the same library.

Using gmerlin-avdecoder with custom input modules is possible via
bgav_open_callbacks(), but using input modules for other things isn't
possible.

> Would it make
> sense to abstract this so that the code can be used for other things
> like transferring non-av files?

I don't think that would be practical. The input modules are tightly
coupled to multimedia streams. Some things you would expect from a
generic library (e.g. ssl support) are not available.
Also there are plenty of other libraries, which do that (e.g. libcurl).

> 2) Is there any doku on encoding?  Or, perhaps a simple gavl frame to
>    encoded video example?

At the moment, there is only the API documentation for encoding plugins.
The latest official version is here:

http://gmerlin.sourceforge.net/doc/gmerlin/structbg__encoder__plugin__s.html

I would recommend to build this documentation from the CVS version because
I slightly changed the encoding API during the last development cycle.

Encoding plugins do all steps (encoding, multiplexing, writing to output)
at once, and there is no access to the intermediate data ATM.

Also new is a generic frontend for encoding plugins (used by the
recorder and transcoder), which is in include/gmerlin/encoder.h.
To use it, one should support the whole gmerlin configuration
architecture though.

Burkhard


------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Gmerlin-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gmerlin-general

Reply via email to