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? You specify the source by editing this gconf key: /system/gstreamer/0.10/default/videosrc You can modify it using the "gstreamer-properties" application if you have it. For the encoder, you can either give it a higher priority than the software encoders or you can force a pipeline in /usr/share/empathy/codec-preferences like this: [video/H264] farsight-send-profile=myencoder ! rtph264pay Using a profile is required if you elements don't use buffers of type video/x-raw-yuv or video/x-raw-rgb, because we add ffmpegcolorspace! videoscale before the automatically discovered ones. > Is there any detailed doc to understand farsight? Is there any doc on > work division between farsight and empathy? http://farsight.freedesktop.org/wiki/ http://farsight.freedesktop.org/apidoc/farsight2/ > I try to grep ‘fsrtpconference’ in empathy, no result found, how does > empathy use the libraries what farsight provide? Empathy uses libtelepathy-farsight, which does the bridging between the Telepathy and Farsight2 APIs. -- Olivier Crête olivier.cr...@collabora.co.uk Collabora Ltd signature.asc Description: This is a digitally signed message part -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev___ Farsight-devel mailing list Farsight-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/farsight-devel
Re: [Farsight-devel] how to specify codec and encoding/decoding pipeline for farsight?
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:olivier.cr...@collabora.co.uk] Sent: Monday, September 06, 2010 3:45 PM To: farsight-devel@lists.sourceforge.net 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 olivier.cr...@collabora.co.uk -- 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 Farsight-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/farsight-devel
Re: [Farsight-devel] how to specify codec and encoding/decoding pipeline for farsight?
Thanks Olivier. It is really helpful. It is really appreciated. -Original Message- From: Olivier Crête [mailto:olivier.cr...@collabora.co.uk] Sent: 2010年9月6日 15:45 To: farsight-devel@lists.sourceforge.net 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 olivier.cr...@collabora.co.uk -- 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 Farsight-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/farsight-devel
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 olivier.cr...@collabora.co.uk signature.asc Description: This is a digitally signed message part -- 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 Farsight-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/farsight-devel
[Farsight-devel] how to specify codec and encoding/decoding pipeline for farsight?
I want to specify a dedicated v4l2src and encoder for video conference, where should it happen? Inside farsight or inside empathy? Since my v4l2src works in shared memory mode, and encoder is hw accelerated; my encoding pipeline differ from usual ones. Is there any detailed doc to understand farsight? Is there any doc on work division between farsight and empathy? I try to grep 'fsrtpconference' in empathy, no result found, how does empathy use the libraries what farsight provide? thanks ZHAO, Halley (Aihua) Email: halley.z...@intel.commailto:aihua.z...@intel.com> Tel: +86(21)61166476 iNet: 8821-6476 SSG/OTC/Moblin 3W038 Pole: F4 -- 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 Farsight-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/farsight-devel