My video recording pipeline is really special as following:
/--> vf_sink
CameraSrc --> VideoEncoder --
\--> qtmux -->filesink
camsrc ! capsfilter ! queue ! VideoEncoder name=encoder ! vf_sink encoder. !
qtmux ! queue ! filesink
CameraSrc works in v4l2 share-memory mode, the caps between CameraSrc and
VideoEncoder is a customized data structure of the shared memory.
VideoEncoder works as both encoder and tee, to constrain hw context access.
-----Original Message-----
From: Olivier Crête [mailto:[email protected]]
Sent: Monday, September 06, 2010 3:45 PM
To: [email protected]
Subject: Re: [Farsight-devel] how to specify codec and encoding/decoding
pipeline for farsight?
Hi,
On Mon, 2010-09-06 at 09:38 +0800, Zhao, Halley wrote:
> I want to specify a dedicated v4l2src and encoder for video
> conference, where should it happen? Inside farsight or inside empathy?
It's done by farsight2, but the configuration is from empathy.
In /usr/share/empathy/codec-preferences you add a section for your codec
and add a specific pipeline instead of the auto-discovered one like
this:
[video/H264]
farsight-send-profile=myencoder ! rtph264pay
farsight-recv-profile=rtph264depay ! mydecoder
> Is there any detailed doc to understand farsight? Is there any doc on
> work division between farsight and empathy?
Farsight2 is a GStreamer element, it's documented at our website:
http://farsight.freedesktop.org/wiki/
Look especially at:
http://farsight.freedesktop.org/apidoc/farsight2/
http://farsight.freedesktop.org/apidoc/farsight2-plugins/
http://farsight.freedesktop.org/wiki/Farsight2Design (possibly slightly
outdated but should give you an overview)
> I try to grep 'fsrtpconference' in empathy, no result found, how does
> empathy use the libraries what farsight provide?
Empathy uses Farsight2 through the telepathy-farsight library, you wont
find the fsrtpconference string in there either though, you'll find
"fs%sconference", the protocol name comes from the connection manager.
--
Olivier Crête
[email protected]
------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:
Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Farsight-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/farsight-devel