[Pidgin] #34: Voice/video support

Pidgin trac at pidgin.im
Sun Feb 3 23:26:13 EST 2008


#34: Voice/video support
--------------------------+-------------------------------------------------
  Reporter:  MarkDoliner  |       Owner:  seanegan       
      Type:  enhancement  |      Status:  assigned       
  Priority:  minor        |   Milestone:  Patches welcome
 Component:  libpurple    |     Version:                 
Resolution:               |    Keywords:                 
   Pending:  0            |  
--------------------------+-------------------------------------------------
Comment (by forlorn_beast):

 Well, I was actually gonna try to use mplayer just to deal with the
 receiving, and have mencoder deal with the encoding for the protocol
 sending. I mean, I should look into gstreamer. It might be a good
 alternative. Either way, I still have to work on making capturing the
 video/audio from v4l and whatever sound library is in use. Honestly, I am
 barely getting into C coding. I have only done web development so far with
 php and HTML/javascript, but I understand logic, so its not like I am
 starting from scratch learning how to program.

 I did study assembly but didn't code in it extensively. I just learned
 enough to understand how to follow jumps and what the logic instructions
 are. So I find myself trying to work on stuff, and this is something I
 would like to work on. I understand that there is already work on
 im.pidgin.pidgin.vv in the monotone code, but I don't know if I can help
 with any of that. I clearly don't have enough experience compared
 relatively to the guys already working on that. They are working on a
 permanent solution as well, where as I am trying to make a quick fix only
 if it worx for you kind of solution.

  I did check out the #pidgin channel on irc.freenode.net and asked about
 which headers files I would look into to see how pidgin handles the stream
 when a protocol signals that someone wants to broadcast something to the
 user, but they just sort of asked me to work on the pidgin.vv stuff. I
 really didn't want to persue it any further, but I do know that it should
 be possible to have libpurple pass the data to the plugin when a user
 accepts to receive the broadcast. Of course, I will also have to handle
 sending the users own broadcast, and of course in the proper format for
 the protocol. That is where I was expecting the mplayer/mencoder duo to
 come in handy.

  With the specifications of the video and audio, it shouldn't be difficult
 to call mencoder with the right parameters with an execlp() and with the
 plugin being able to identify the protocol and passing that identifying
 data, have the program run the right function containing the execlp() to
 encode it properly. I still haven't worked out how to get the stream back
 to libpurple, but that is why m4vv4lp at sourceforge is still in planning.
 I will take a look into gstreamer tonight and see if it wouldn't be
 difficult for me to catch on. And if you can tell me which header to look
 at to figure out how to intercept the signal and data for webcams, please
 let me know. That would help me out a lot.  Thanks for the support.

-- 
Ticket URL: <http://developer.pidgin.im/ticket/34#comment:83>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list