emesene forum
March 11, 2010, 08:31:34 PM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
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
emesene forum
>
Forum
>
Development
>
Patches
>
Some work towards webcam sending
Pages:
1
[
2
]
3
« previous
next »
Print
Author
Topic: Some work towards webcam sending (Read 10236 times)
kjir
Jr. Member
l33tness: 12
Offline
Posts: 8
Re: Some work towards webcam sending
«
Reply #15 on:
October 06, 2008, 02:47:33 AM »
Bugs here, logs would be better to send them to my e-mail (otherwise the thread becomes too long).
Consider that most of the bugs are already known to me
Logged
kjir
Jr. Member
l33tness: 12
Offline
Posts: 8
Re: Some work towards webcam sending
«
Reply #16 on:
October 06, 2008, 02:59:38 AM »
I forgot to mention that this is going to work only in linux, support for other platforms will be difficult to implement (or at least test) for me because I only have linux boxes around
Logged
jandem
Global Moderator
Sr. Member
l33tness: 31
Offline
Posts: 65
Re: Some work towards webcam sending
«
Reply #17 on:
October 06, 2008, 08:05:33 AM »
You are doing a very nice job here
I wrote the rest of the webcam code, so let me know if you have any questions. Btw, is it still lagging for you? I found out that decoding is much faster if I start a separate process for it, so I wonder if it's caused by Python's Global Interpreter Lock or something similar, not sure though..
Logged
kjir
Jr. Member
l33tness: 12
Offline
Posts: 8
Re: Some work towards webcam sending
«
Reply #18 on:
October 06, 2008, 11:49:46 AM »
Quote from: jandem on October 06, 2008, 08:05:33 AM
You are doing a very nice job here
Thank you
Quote from: jandem on October 06, 2008, 08:05:33 AM
I wrote the rest of the webcam code, so let me know if you have any questions. Btw, is it still lagging for you? I found out that decoding is much faster if I start a separate process for it, so I wonder if it's caused by Python's Global Interpreter Lock or something similar, not sure though..
What I noticed is that the image is not always top quality, but that a big problem, IMHO. Of course user reports will tell if it's too slow or not, for now I'm concentrating on making things work
Logged
C10uD
ololol
Administrator
Hero Member
l33tness: -9988
Offline
Posts: 2138
Re: Some work towards webcam sending
«
Reply #19 on:
October 08, 2008, 11:23:27 AM »
ow.. good work!
if only my webcam and gstreamer worked in Intrepid Beta i could try it................... lol
Logged
Respawner
Full Member
l33tness: 1
Offline
Posts: 42
Ubuntu 9.04 user
Re: Some work towards webcam sending
«
Reply #20 on:
October 08, 2008, 12:01:45 PM »
Quote from: C10uD on October 08, 2008, 11:23:27 AM
ow.. good work!
if only my webcam and gstreamer worked in Intrepid Beta i could try it................... lol
I'm not alone with this problem I see
Logged
fabioamd87
Hero Member
l33tness: 0
Offline
Posts: 428
Re: Some work towards webcam sending
«
Reply #21 on:
October 10, 2008, 07:20:41 AM »
ati user?
Logged
Respawner
Full Member
l33tness: 1
Offline
Posts: 42
Ubuntu 9.04 user
Re: Some work towards webcam sending
«
Reply #22 on:
October 10, 2008, 07:30:56 AM »
Quote from: fabioamd87 on October 10, 2008, 07:20:41 AM
ati user?
Yes exactly.
Logged
fabioamd87
Hero Member
l33tness: 0
Offline
Posts: 428
Re: Some work towards webcam sending
«
Reply #23 on:
October 10, 2008, 08:51:27 AM »
well, I'm another intrepid user that cant use the webcam
Logged
C10uD
ololol
Administrator
Hero Member
l33tness: -9988
Offline
Posts: 2138
Re: Some work towards webcam sending
«
Reply #24 on:
October 10, 2008, 11:20:25 AM »
how this would be related to ati? O_o i get webcam working in other apps only preloading a library (like /usr/lib/libv4l/v4l1compat.so) but this is not emesene's case
Logged
Respawner
Full Member
l33tness: 1
Offline
Posts: 42
Ubuntu 9.04 user
Re: Some work towards webcam sending
«
Reply #25 on:
October 10, 2008, 01:21:46 PM »
Did you try using Cheese for example? (which use v4l2) It makes my computer crash
Logged
C10uD
ololol
Administrator
Hero Member
l33tness: -9988
Offline
Posts: 2138
Re: Some work towards webcam sending
«
Reply #26 on:
October 11, 2008, 02:35:21 AM »
ok, with today updates everything should be fine again..unfortunately seems that this webcam patch is taking the first device available, that is, in my case, a tv card :p
now i must figure out how to let it take /dev/video1 instead
Logged
fabioamd87
Hero Member
l33tness: 0
Offline
Posts: 428
Re: Some work towards webcam sending
«
Reply #27 on:
October 11, 2008, 02:19:02 PM »
seem that also my webcam now work... but is veeeeery slow, damn ati when relase a xorg 1.4 compatible driver???
Logged
kjir
Jr. Member
l33tness: 12
Offline
Posts: 8
Re: Some work towards webcam sending
«
Reply #28 on:
October 12, 2008, 11:54:16 AM »
Quote from: C10uD on October 11, 2008, 02:35:21 AM
now i must figure out how to let it take /dev/video1 instead
If you didn't figure it out on your own yet here is how to do it:
Open WebcamDevice.py
Find the line self.source = gst.element_factory_make("v4l2src")
After that line add this: self.source.set_property("device", "/dev/video1")
Enjoy!
Logged
C10uD
ololol
Administrator
Hero Member
l33tness: -9988
Offline
Posts: 2138
Re: Some work towards webcam sending
«
Reply #29 on:
October 12, 2008, 12:22:27 PM »
ups, sorry! yes i got that working after googling a bit but i forgot to post a reply
thanks anyway for your response!
another problem i had and then i solved was blank window (and blank frames sent).. since my webcam resolution is 352x288 i edited the line
caps = gst.Caps("video/x-raw-yuv, width=320, height=240, bpp=24, depth=24, framerate=30/1") with my own resolution even if i don't know if this is a good fix :p
the problem now is the socket seem autodisconnecting too fast without a good reason :s --edit: because of this, i don't know yet if frames are received correctly but atm i haven't received a positive answer yet :p
«
Last Edit: October 12, 2008, 12:25:22 PM by C10uD
»
Logged
Pages:
1
[
2
]
3
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Main
-----------------------------
=> Announcements
=> Feature Requests
=> Support (emesene1.x, emesene2)
===> Support (emesene 1.0.x) - SUPPORT CEASED
=> Themes
=> HOWTOs
=> Forum/site Requests
=> Offtopic
===> Nonsense
-----------------------------
Development
-----------------------------
=> Emesene
=> Plugins
=> Patches
=> Translations
-----------------------------
International Forum
-----------------------------
=> Deutsch
=> Español
=> Français
=> Italiano
=> Português
TinyPortal v.1.0.6 beta 2 ©
Bloc
Loading...