LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   Any ohphone Users Out There? Need Help Specifying Video Device (https://www.linuxquestions.org/questions/mandriva-30/any-ohphone-users-out-there-need-help-specifying-video-device-284499/)

mac57 01-31-2005 11:37 AM

Any ohphone Users Out There? Need Help Specifying Video Device
 
Do any of you out there run ohphone, a H323 client like Gnomemeeting, but with a command line interface, not a GUI interface? I cannot get ohphone to use my webcam; I suspect that there is something special I need to do.

Right now, I have tried the command line option --videodevice /dev/video0, but this doesn't work. ohphone pops up a local and remote video window as it should, but both look like the old TV test pattern (vertical bars of color) rather than live video. My webcam does work (Gnomemeeting uses it just fine, as does the camstream test program).

With Mandrake 10.1 CE, is there an alternate way of specifying video devices which is in fact needed? Perhaps some conseqence of v4l (video for linux) or the move to udev? Clearly /dev/video0 doesn't work. By the way, I have checked device ownership. That device is owned by root and accessible to group "video" of which my userid is a member. I have manually forced it, with a chmod 666 /dev/video0, and this hasn't helped. I don't think it is a device permissions problem.

Any and all help much appreciated.

leosgb 02-14-2005 02:06 PM

I am trying to use ohphone too but to make phone calls. Unfortunatelly i just cant :( which versionn are you running there and where did you get it?

This is its output to me:
OhPhone Version 1.3.7 by Open H323 Project on Unix Linux (2.6.5-63255U10_3cl-i686)

Incomming channel port ranges 5000 to 5999
Local username: juliana.yonamine
TerminateOnHangup is 0
Auto answer is 0
DialAfterHangup is 0
FastStart is 1
H245Tunnelling is 1
SilenceSupression is 1
H245InSetup is 1
Jitter buffer: 50-250 ms
Connect port: 1720

Video receive disabled

Video transmit disabled


Sound output device: "/dev/dsp"
Sound input device: "/dev/dsp"
Recording using mixer channel phout
Record volume is 0
Play volume is 32
G.711 frame size: 30
GSM frame size: 4
User Input Send Mode: as H.245 string
Codecs (in preference order):
Table:
G.726-32k{sw} <12>
G.711-uLaw-64k{sw} <3>
G.711-ALaw-64k{sw} <4>
G.726-24k{sw} <11>
G.726-40k{sw} <13>
GSM-06.10{sw} <1>
MS-GSM{sw} <2>
SpeexNarrow-5.95k{sw} <5>
SpeexNarrow-8k{sw} <6>
SpeexNarrow-11k{sw} <7>
SpeexNarrow-15k{sw} <8>
SpeexNarrow-18.2k{sw} <9>
G.726-16k{sw} <10>
LPC-10{sw} <14>
UserInput/hookflash <15>
UserInput/basicString <16>
UserInput/dtmf <17>
UserInput/RFC2833 <18>
Set:
0:
0:
G.726-32k{sw} <12>
G.711-uLaw-64k{sw} <3>
G.711-ALaw-64k{sw} <4>
G.726-24k{sw} <11>
G.726-40k{sw} <13>
GSM-06.10{sw} <1>
MS-GSM{sw} <2>
SpeexNarrow-5.95k{sw} <5>
SpeexNarrow-8k{sw} <6>
SpeexNarrow-11k{sw} <7>
SpeexNarrow-15k{sw} <8>
SpeexNarrow-18.2k{sw} <9>
G.726-16k{sw} <10>
LPC-10{sw} <14>
1:
UserInput/hookflash <15>
2:
UserInput/basicString <16>
UserInput/dtmf <17>
UserInput/RFC2833 <18>


Listening interfaces : ALL:1720
Enabling H.235 security access to gatekeeper.
Error registering with gatekeeper at "gk"
OhPhone ended.

Notice that i replaced the gatekeeper's name by gk only. Where did you get your ohphone?

branens 06-15-2005 11:31 AM

when you run ohphone you must specify that you want to transmit and receive video

./ohphone -n --videotransmitt --videoreceive x11 192.168.0.2 for example

mac57 06-15-2005 12:21 PM

Here is the command line I use to run ohphone - this works great on my other computer running Yoper, but on my "main" computer running Mandrake 10.1 CE, I don't get any meaningful video - I just get what looks like a TV test pattern. Here is the command I use:

ohphone -ln --videotransmit --videosize large --videolocal --videoreceive x11 --sound-in /dev/sound/dsp --sound-recvol 25"

By the way, I can use GnomeMeeting just fine, and get full audio and video, hence I am guessing that my webcam set up is just fine.

Any thoughts?

branens 06-17-2005 08:58 AM

I had problems with opening audio and video channel as for the setting my device I had no problems. You should try to run gnomemeeting with video and sound and then in shell type this command " lsof /dev " it will list you all device's in use. Find the one that gnomemeeting uses to check if you are seeting your device properly

option -n means don't search for the gatekeeper

branens

ps if this doesn't help paste everything that ohphone writes when you run it and I will look it up

mac57 06-17-2005 10:06 AM

Hi, thanks for the tip - I had never used lsof before.

lsof reports that Gnomemeeting is using /dev/video0

This is the default setting for ohphone, but I tried to force the issue, by tacking "--videodevice /dev/video0" to the end of my ohphone command line. Still no joy - just got TV test pattern when I also specified "--videotest" to see if it was working.

Here is the output from ohphone when run this way:

[emcee@whisper-mandrake tmp]$ ohphone -ln --videotransmit --videosize large --videolocal --videoreceive x11 --sound-in /dev/sound/dsp --sound-recvol 64 --videodevice /dev/video0 --videotest
OhPhone Version 1.4.3 by Open H323 Project on Unix Linux (2.6.8.1-24mdksmp-i686)

Incoming channel port ranges 5000 to 5999
Local username: emcee
TerminateOnHangup is 0
Auto answer is 0
DialAfterHangup is 0
FastStart is 1
H245Tunnelling is 1
SilenceSupression is 1
H245InSetup is 1
Jitter buffer: 50-250 ms
Connect port: 1720

Set video size to be large
Video receive using device : x11
Video receive quality hint : -1

Video transmit enabled with local video window enabled
Video transmit size is large
Video capture using input 0
Video capture using format PAL
Video picture in picture of local video disabled
Video transmit quality is 0
Video background fill blocks 2
Video transmit frames per sec 0 (default)
Video bitrate 0 bps

Sound output device: "/dev/sound/dsp"
Sound input device: "/dev/sound/dsp"
Recording using mixer channel mic
Record volume is 64
Play volume is 64G.711 frame size: 30
GSM frame size: 4
User Input Send Mode: as H.245 string
Codecs (in preference order):
Table:
GSM-06.10{sw} <1>
MS-GSM{sw} <2>
G.711-uLaw-64k{sw} <3>
G.711-ALaw-64k{sw} <4>
iLBC-13k3{sw} <5>
iLBC-15k2{sw} <6>
SpeexNarrow-8k{sw} <7>
SpeexNarrow-11k{sw} <8>
SpeexNarrow-15k{sw} <9>
SpeexNarrow-18.2k{sw} <10>
SpeexNarrow-5.95k{sw} <11>
G.726-16k{sw} <12>
G.726-24k{sw} <13>
G.726-32k{sw} <14>
G.726-40k{sw} <15>
LPC-10{sw} <16>
H.261-CIF <17>
H.261-QCIF <18>
UserInput/hookflash <19>
UserInput/basicString <20>
UserInput/dtmf <21>
UserInput/RFC2833 <22>
Set:
0:
0:
GSM-06.10{sw} <1>
MS-GSM{sw} <2>
G.711-uLaw-64k{sw} <3>
G.711-ALaw-64k{sw} <4>
iLBC-13k3{sw} <5> iLBC-15k2{sw} <6>
SpeexNarrow-8k{sw} <7>
SpeexNarrow-11k{sw} <8>
SpeexNarrow-15k{sw} <9>
SpeexNarrow-18.2k{sw} <10>
SpeexNarrow-5.95k{sw} <11>
G.726-16k{sw} <12>
G.726-24k{sw} <13>
G.726-32k{sw} <14>
G.726-40k{sw} <15>
LPC-10{sw} <16>
1:
H.261-CIF <17>
H.261-QCIF <18>
2:
UserInput/hookflash <19>
3:
UserInput/basicString <20>
UserInput/dtmf <21>
UserInput/RFC2833 <22>


Listening interfaces : ALL:1720
H.261-CIF <17>found for use
(testing) Command ?

That is it, and still just TV Test patterm. Any thoughts would be most appreciated! Thanks.

nylander 03-26-2006 05:32 AM

I'm having the same problem!!

Any solution to the problem.....

Lasse


All times are GMT -5. The time now is 06:39 AM.