[Farsight-devel] Regarding Recording in farsight

2010-04-12 Thread Nalina
Hi Sir/Mam,
I need to record my video conference.So where can i add this piece of 
code in farsight codec.
Please let me know. Thanks in advance.


Regards,
Nalina

--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Farsight-devel mailing list
Farsight-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/farsight-devel


Re: [Farsight-devel] Regarding Recording in farsight

2010-04-13 Thread Youness Alaoui
You build the pipeline yourself, so you just need to have a tee and encode the
output from the farsight conference through a gstreamer pipeline.

Nalina wrote:
> Hi Sir/Mam,
> I need to record my video conference.So where can i add this piece of 
> code in farsight codec.
> Please let me know. Thanks in advance.
> 
> 
> Regards,
> Nalina
> 
> --
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> ___
> Farsight-devel mailing list
> Farsight-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/farsight-devel




signature.asc
Description: OpenPGP digital signature
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Farsight-devel mailing list
Farsight-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/farsight-devel


Re: [Farsight-devel] Regarding Recording in farsight

2010-04-13 Thread Nalina
Ya i got to know that, but wher to insert that tee is confusing me.
Can u guide me in this?
thanku.

Youness Alaoui wrote:
> You build the pipeline yourself, so you just need to have a tee and encode the
> output from the farsight conference through a gstreamer pipeline.
>
> Nalina wrote:
>   
>> Hi Sir/Mam,
>> I need to record my video conference.So where can i add this piece of 
>> code in farsight codec.
>> Please let me know. Thanks in advance.
>>
>>
>> Regards,
>> Nalina
>>
>> --
>> Download Intel® Parallel Studio Eval
>> Try the new software tools for yourself. Speed compiling, find bugs
>> proactively, and fine-tune applications for parallel performance.
>> See why Intel Parallel Studio got high marks during beta.
>> http://p.sf.net/sfu/intel-sw-dev
>> ___
>> Farsight-devel mailing list
>> Farsight-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/farsight-devel
>> 
>
>
>   


--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
Farsight-devel mailing list
Farsight-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/farsight-devel


Re: [Farsight-devel] Regarding Recording in farsight

2010-04-15 Thread Youness Alaoui
Sorry, just saw your mail went into my spam folder...

Well, you usually have something like this :
source -> fsrtpconference -> sink
you link the source to the pad returned by g_object_get(fs_session, 'sink-pad'),
and you link the sink when you receive a 'src-pad-added' signal from the
fs_stream, right ?
All you have to do is when building your pipeline, to put a tee in there,
depending on what you want to record.. if you want to record the output you
would do something like :

source -> fsrtpconference -> tee -> sink
   |--> filesink

If you want to record the input you would do :

source -> tee -> fsrtpconference -> sink
   |-> filesink

Or do a combination of both in order to record both the input and the output
streams...

It is a bit more complicated of course if you want to record both the video and
the audio, and in case you get multiple src-pad-added signals (different codecs
sent from the same person)...
If you get multiple src-pad-added, use a 'live-adder' element before the tee, if
you want to record audio+video, then save a pointer to your 'encodebin' and make
sure you link to it from both sessions...

If you had experience with gstreamer, you would have known all of this, so I'm
guessing that you don't have that much gstreamer experience... so let me warn
you : this isn't complicated at all, but it's not easy to do either, it will
require a fair amount of code to do this correctly.
The good news is that I'm currently working on a project to help make that sort
of thing eaiser. a set of utility classes that take care of building the
gstreamer pipelines for you and would have an easy way for you to record the
streams to a file. However this isn't near completion yet, so you would have to
be patient... I suggest you try to do this on your own as it will be a good
exercise for you to learn gstreamer a bit more.


I hope that helps,
Youness


Nalina wrote:
> Ya i got to know that, but wher to insert that tee is confusing me.
> Can u guide me in this?
> thanku.
> 
> Youness Alaoui wrote:
>> You build the pipeline yourself, so you just need to have a tee and
>> encode the
>> output from the farsight conference through a gstreamer pipeline.
>>
>> Nalina wrote:
>>  
>>> Hi Sir/Mam,
>>> I need to record my video conference.So where can i add this piece of
>>> code in farsight codec.
>>> Please let me know. Thanks in advance.
>>>
>>>
>>> Regards,
>>> Nalina
>>>
>>> --
>>>
>>> Download Intel® Parallel Studio Eval
>>> Try the new software tools for yourself. Speed compiling, find bugs
>>> proactively, and fine-tune applications for parallel performance.
>>> See why Intel Parallel Studio got high marks during beta.
>>> http://p.sf.net/sfu/intel-sw-dev
>>> ___
>>> Farsight-devel mailing list
>>> Farsight-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/farsight-devel
>>> 
>>
>>
>>   
> 




signature.asc
Description: OpenPGP digital signature
--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Farsight-devel mailing list
Farsight-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/farsight-devel