maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Skype switch front to back camera n900 (https://talk.maemo.org/showthread.php?t=57901)

Ichigo 2010-07-06 11:33

Skype switch front to back camera n900
 
Possible switch front to back camera on n900?
iPhone 4 have this: http://www.youtube.com/watch?v=5btA6fRCZ9Q (1:30)

DarthLuda 2010-07-06 11:37

Re: Skype switch front to back camera n900
 
IPhone's bad reference....

weißelstone 2010-07-06 11:43

Re: Skype switch front to back camera n900
 
Sure it's possible. Just change the skype config/source so that it uses the other v4l device.
By the way, I can't see Skype with front cam in this video, just the specific apple video call thing.

Crogge 2010-07-06 11:46

Re: Skype switch front to back camera n900
 
A widget or something would be useful :)

Ichigo 2010-07-06 11:47

Re: Skype switch front to back camera n900
 
Quote:

Originally Posted by weißelstone (Post 742306)
Sure it's possible. Just change the skype config/source so that it uses the other v4l device.

give me tutorial please if possible :)

Quote:

Originally Posted by weißelstone (Post 742306)
By the way, I can't see Skype with front cam in this video, just the specific apple video call thing.

yes my fault, but need like that on skype :)

mangal_sk8erboy 2010-07-06 12:44

Re: Skype switch front to back camera n900
 
yeah..ive always wanted the back cam..its much clearer that the front..any one facing clarity problems with the front camera?(i have extremely low resolution!)

gerbick 2010-07-06 13:19

Re: Skype switch front to back camera n900
 
Quote:

Originally Posted by weißelstone (Post 742306)
Sure it's possible. Just change the skype config/source so that it uses the other v4l device.
By the way, I can't see Skype with front cam in this video, just the specific apple video call thing.

This kind of answer, while earnest; doesn't quite help. I'm sure it's common knowledge that the Skype source is closed; the request needs to be made to the vendor for such a feature by either the handset manufacturer to fit closely with what hardware is there to be utilized or by exposing the APIs and offering documentation (and incentive) to do so... by the handset manufacturer usually.

Well... heck. My answer doesn't help as much either. Perhaps aMSN, RTComm and the rest - including Pidgin will make this happen first perhaps? Or even Fring?

Ichigo 2010-07-06 18:19

Re: Skype switch front to back camera n900
 
Quote:

Originally Posted by gerbick (Post 742439)
Skype source is closed

very bad :(

Kegetys 2010-07-06 18:35

Re: Skype switch front to back camera n900
 
Maybe it would be possible to find the video device it uses from the binary and change that, or redirect the path with LD_PRELOAD style hook? If either is possible, maybe it would also be possible to make a new video device that allows changing from one camera to the other in real time.

pycage 2010-07-06 18:55

Re: Skype switch front to back camera n900
 
/dev/video0 and /dev/video1 are just names. Swap them to swap cameras. I haven't tested this, but it ought to work.

jacktanner 2010-07-06 19:17

Re: Skype switch front to back camera n900
 
isn't the back camera higher res? if so, that's more pixels to transmit, and thus more bandwidth needed for skype... could lead to problems.

by the way, are there any apps that let you take a still pic using the front camera, with live preview on the display?

ear0wax 2010-07-06 19:28

Re: Skype switch front to back camera n900
 
if the image is rescaled using software it will probably work, has anyone tried yet?

attila77 2010-07-06 20:07

Re: Skype switch front to back camera n900
 
Some parameters appear to be tweakable at /etc/skyhost/skypevideocodecs.conf but the binaries are pretty locked up, no apparent /dev/video* or gstreamer usage in /usr/lib/skyhost (though I might just be looking at the wrong place).

However, the VideoHost plugin/thingy seems to be a purely Nokia add-on so it might not be impossible to lobby for a camera switch option.

mohannad 2010-07-06 20:38

Re: Skype switch front to back camera n900
 
Quote:

Originally Posted by jacktanner (Post 742883)

by the way, are there any apps that let you take a still pic using the front camera, with live preview on the display?

there are a few in the extras repo. I think there is one called mirror or something.

lancewex 2010-07-06 20:48

Re: Skype switch front to back camera n900
 
What about using the back cam with Google video chat? How likely is that? Works pretty well with the front camera.

Ichigo 2010-07-07 14:36

Re: Skype switch front to back camera n900
 
Quote:

Originally Posted by pycage (Post 742864)
/dev/video0 and /dev/video1 are just names. Swap them to swap cameras. I haven't tested this, but it ought to work.

not work rename, this is special file

romanianusa 2010-07-08 15:14

Re: Skype switch front to back camera n900
 
That'll be great if you can use the back cam for video chat...it's much clearer.

noipv4 2010-07-19 07:02

Re: Skype switch front to back camera n900
 
/etc/skyhost/skypevideocodecs.conf

default file

[sender-param]
profile-idc=66
profile-iop=224
level-idc=21
QQVGA-pref=0
QVGA-pref=80
VGA-pref=0

[receiver-param]
profile-idc=66
profile-iop=224
level-idc=21
max-br=100
QQVGA-pref=60
QVGA-pref=0
VGA-pref=0

By changing VGA-pref=80 in the [sender-param] one can send 640x480 videos on skype.


MEanings of the flags:

profile-level-id: A base16 RFC 4648 [9] (hexadecimal) representation
of the following three bytes in the sequence parameter set NAL
unit specified in H.264 [4]: 1) profile_idc, 2) a byte herein
referred to as profile-iop, composed of the values of
constraint_set0_flag, constraint_set1_flag, constraint_set2_flag,
constraint_set3_flag, and reserved_zero_4bits in bit-significance
order, starting from the most significant bit, and 3) level_idc.
Note that reserved_zero_4bits is required to be equal to 0 in
H.264 [4], but other values for it may be specified in the future
by ITU-T or ISO/IEC.

The profile-level-id parameter indicates the default sub-profile,
i.e. the subset of coding tools that may have been used to
generate the stream or that the receiver supports, and the default
level of the stream or the receiver supports.


http://tools.ietf.org/html/draft-iet...p-h264-rcdo-06

mathina 2010-07-19 07:09

Re: Skype switch front to back camera n900
 
can any one tell me what will be the voip setting on my N900 currently iam using (action voip ) and iam from Dubai UAE

mathina 2010-07-19 08:09

Re: Skype switch front to back camera n900
 
i have tried video call with skype the front camera have very bad qulaity

mangal_sk8erboy 2010-09-05 20:12

Re: Skype switch front to back camera n900
 
Quote:

Originally Posted by noipv4 (Post 756448)
/etc/skyhost/skypevideocodecs.conf

default file

[sender-param]
profile-idc=66
profile-iop=224
level-idc=21
QQVGA-pref=0
QVGA-pref=80
VGA-pref=0

[receiver-param]
profile-idc=66
profile-iop=224
level-idc=21
max-br=100
QQVGA-pref=60
QVGA-pref=0
VGA-pref=0

By changing VGA-pref=80 in the [sender-param] one can send 640x480 videos on skype.


MEanings of the flags:

profile-level-id: A base16 RFC 4648 [9] (hexadecimal) representation
of the following three bytes in the sequence parameter set NAL
unit specified in H.264 [4]: 1) profile_idc, 2) a byte herein
referred to as profile-iop, composed of the values of
constraint_set0_flag, constraint_set1_flag, constraint_set2_flag,
constraint_set3_flag, and reserved_zero_4bits in bit-significance
order, starting from the most significant bit, and 3) level_idc.
Note that reserved_zero_4bits is required to be equal to 0 in
H.264 [4], but other values for it may be specified in the future
by ITU-T or ISO/IEC.

The profile-level-id parameter indicates the default sub-profile,
i.e. the subset of coding tools that may have been used to
generate the stream or that the receiver supports, and the default
level of the stream or the receiver supports.


http://tools.ietf.org/html/draft-iet...p-h264-rcdo-06

hey, by pasting these commands, will i be able to use the back camera right away?
and if so, how do i switch back to the front camera when needed?
(is there another way you can increase the clarity of the front camera too??)

please help!
i will be using skype VERY often!

mangal_sk8erboy 2010-09-06 11:11

Re: Skype switch front to back camera n900
 
*bump*
help guys?
it would be great if the opening of the back cover could trigger the use of the back camera and disable the front camera and vise versa.

new_bee 2010-09-20 16:21

Re: Skype switch front to back camera n900
 
bump;

any one working on this idea?
I know skype is closed source. but is there a way to emulate the back camera as front camera or script which redirects front camera when called to the back camera. so that we run the srcipt first and when skyp is called it will automatically connects to the back camera. any ideas?

WorldKaoss 2010-09-20 16:38

Re: Skype switch front to back camera n900
 
what about creating a virtual device "/dev/videostream" and streaming the front camera to it by default, and when the back-lid is open switch the streaming to back-camera.

new_bee 2010-09-21 14:55

Re: Skype switch front to back camera n900
 
bump!!!!!!!!!! any one??

Thalass 2010-10-16 05:20

Re: Skype switch front to back camera n900
 
Quote:

Originally Posted by WorldKaoss (Post 821596)
what about creating a virtual device "/dev/videostream" and streaming the front camera to it by default, and when the back-lid is open switch the streaming to back-camera.

This is a great idea, but you'd still have to modify skype to look for the video at /dev/videostream. But it would be very useful for other programs, too. Video recording, photos, anything. Open source programs like Bliss900 or something are easier to modify than Skype!

TiagoTiago 2010-10-16 06:33

Re: Skype switch front to back camera n900
 
This being linux, wouldn't there be a way to trick Skype into reading from a different device while thinking it is still dealing with the face camera?


Btw, did anyone tried that change to transmit in 640x480? Does it work? Does it look any better to the person on the other side of the line?

flydeep 2010-10-19 01:45

Re: Skype switch front to back camera n900
 
tried skype front cam with google voice today, totally unusable. Don't even know why they have a camera in first place.


All times are GMT. The time now is 20:12.

vBulletin® Version 3.8.8