emesene forum
March 13, 2010, 07:32:11 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: REPORT ANY ISSUE HERE - PLEASE CHECK IF THE PROBLEM HAS ALREADY BEEN REPORTED FIRST -- THANKS
 
  Home   Forum   Help Search Login Register  
Pages: 1 2 [3]
  Print  
Author Topic: Some work towards webcam sending  (Read 10286 times)
hit^
Hero Member
*****

l33tness: 1
Offline Offline

Posts: 335


svn up´d


View Profile
« Reply #30 on: October 27, 2008, 06:55:28 AM »

When sending to myself (to aMSN):
Code:
Hosts: [('192.168.1.65', 6891)]
Starting SocketHandler thread
Could not bind to port 6892
Exception: <class 'socket.error'>
Error - (98, 'Address already in use')
Connecting to 192.168.1.65:6891
recipientid=112&sessionid=14864777

Sending to WLM8.5:
Code:
Hosts: [('192.168.1.101', 9049), ('192.168.1.101', 38114), ('213.168.10.11', 9049), ('213.168.10.11', 38114)]
Starting SocketHandler thread
Connecting to 192.168.1.101:9049
Connecting to 192.168.1.101:38114
Connecting to 213.168.10.11:9049
Connecting to 213.168.10.11:38114
Socket error, closing this socket
(('/usr/lib/python2.5/asyncore.py', 'recv', '342'), <class 'socket.error'>, error(111, 'Connection refused'), '[/usr/lib/python2.5/asyncore.py|read|68] [/usr/lib/python2.5/asyncore.py|handle_read_event|388] [/home/hit/Desktop/emewebcam/emesenelib/p2p/transfers.py|handle_read|1061] [/usr/lib/python2.5/asyncore.py|recv|342]')
Socket error, closing this socket
(('/usr/lib/python2.5/asyncore.py', 'recv', '342'), <class 'socket.error'>, error(111, 'Connection refused'), '[/usr/lib/python2.5/asyncore.py|read|68] [/usr/lib/python2.5/asyncore.py|handle_read_event|388] [/home/hit/Desktop/emewebcam/emesenelib/p2p/transfers.py|handle_read|1061] [/usr/lib/python2.5/asyncore.py|recv|342]')

And sending from aMSN to emesene results in crashing emesene after some time:
Code:
python: xcb_lock.c:77: _XGetXCBBuffer: Assertion `((int) ((xcb_req) - (dpy->request)) >= 0)' failed.
Locking assertion failure.  Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0x58a767]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_lock+0x2e) [0x58a90e]
#2 /usr/lib/libX11.so.6 [0x49b159]
#3 /usr/lib/libX11.so.6(XUngrabPointer+0x25) [0x490da5]
#4 /usr/lib/libgdk-x11-2.0.so.0(gdk_display_pointer_ungrab+0x99) [0x7d21d09]
#5 /usr/lib/libgdk-x11-2.0.so.0(gdk_pointer_ungrab+0x1a) [0x7cfcbca]
#6 /usr/lib/gtk-2.0/modules/libgnomebreakpad.so [0x853519e]
#7 /usr/lib/gtk-2.0/modules/libgnomebreakpad.so [0x85356e5]
#8 [0x110400]
#9 [0x110416]
#10 /lib/libc.so.6(gsignal+0x50) [0x8da4c0]
#11 /lib/libc.so.6(abort+0x188) [0x8dbe88]
#12 /lib/libc.so.6(__assert_fail+0xee) [0x8d33fe]
#13 /usr/lib/libX11.so.6 [0x49af64]
#14 /usr/lib/libX11.so.6(_XSend+0x63) [0x49c373]
#15 /usr/lib/libX11.so.6(_XFlush+0x32) [0x49c532]
#16 /usr/lib/libX11.so.6(XFlush+0x31) [0x473b41]
#17 /usr/lib/libgdk-x11-2.0.so.0(gdk_display_flush+0x81) [0x7d21551]
#18 /usr/lib/libgdk-x11-2.0.so.0(gdk_window_process_all_updates+0xda) [0x7d17c1a]
#19 /usr/lib/libgdk-x11-2.0.so.0 [0x7d17c6b]
python: xcb_lock.c:77: _XGetXCBBuffer: Assertion `((int) ((xcb_req) - (dpy->request)) >= 0)' failed.
Multiple segmentation faults occurred; can't display error dialog
[hit@sahver emewebcam]$

WebcamDevice.py:
Code:
        ...
        self.source = gst.element_factory_make("v4lsrc")
        ...
        caps = gst.Caps("video/x-raw-yuv, width=320, height=240, bpp=24, depth=24, framerate=15/1")
        ...

Ati and Fedora 10, v4l2src wasn't working at all
Logged

"We are changing the world, one commit at a time."
C10uD
ololol
Administrator
Hero Member
*****

l33tness: -9988
Offline Offline

Posts: 2143



View Profile Email
« Reply #31 on: February 02, 2009, 08:40:26 AM »

a lot of time passed, so here's the patch actualized for newer revisions: like > 1558

(contains a few other nonworking things like pyisf and gif stuff, but..)
« Last Edit: March 21, 2009, 03:47:09 AM by C10uD » Logged
C10uD
ololol
Administrator
Hero Member
*****

l33tness: -9988
Offline Offline

Posts: 2143



View Profile Email
« Reply #32 on: March 21, 2009, 03:47:35 AM »

time to speedup things, this patch needed some visibility, so see homepage
Logged
Pages: 1 2 [3]
  Print  
 
Jump to:  

TinyPortal v.1.0.6 beta 2 © Bloc
Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!