LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 01-31-2005, 12:37 PM   #1
mac57
Member
 
Registered: Nov 2004
Location: Texas
Distribution: openSUSE 10.3, Yoper Linux 3.0 , Arch Linux 2007.08
Posts: 253

Rep: Reputation: 30
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.
 
Old 02-14-2005, 03:06 PM   #2
leosgb
Member
 
Registered: Nov 2004
Location: Brazil
Distribution: Gentoo
Posts: 363

Rep: Reputation: 31
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?
 
Old 06-15-2005, 12:31 PM   #3
branens
LQ Newbie
 
Registered: Dec 2004
Distribution: fedora red hat
Posts: 10

Rep: Reputation: 0
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
 
Old 06-15-2005, 01:21 PM   #4
mac57
Member
 
Registered: Nov 2004
Location: Texas
Distribution: openSUSE 10.3, Yoper Linux 3.0 , Arch Linux 2007.08
Posts: 253

Original Poster
Rep: Reputation: 30
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?
 
Old 06-17-2005, 09:58 AM   #5
branens
LQ Newbie
 
Registered: Dec 2004
Distribution: fedora red hat
Posts: 10

Rep: Reputation: 0
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

Last edited by branens; 06-17-2005 at 10:01 AM.
 
Old 06-17-2005, 11:06 AM   #6
mac57
Member
 
Registered: Nov 2004
Location: Texas
Distribution: openSUSE 10.3, Yoper Linux 3.0 , Arch Linux 2007.08
Posts: 253

Original Poster
Rep: Reputation: 30
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.
 
Old 03-26-2006, 06:32 AM   #7
nylander
LQ Newbie
 
Registered: Jul 2005
Location: copenhagen
Distribution: debian
Posts: 1

Rep: Reputation: 0
I'm having the same problem!!

Any solution to the problem.....

Lasse
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Could not open sound device Pwlib OPenh323 ohphone problem branens Linux - General 3 11-22-2009 11:42 AM
[SOLVED] Video Capture Device wmeler Linux - Hardware 1 05-04-2005 12:34 PM
HELP! Couldn't initialize SDL: No available video device orktes Linux - Software 6 03-24-2004 03:04 PM
No video device found thiru Linux - Hardware 0 08-14-2003 08:02 AM
Gnomemeeting Does Not Detect Video Device ROORTOKES Linux - Software 2 08-07-2003 02:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 09:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration