Fedora Linux Support Community & Resources Center
  #1  
Old 17th December 2008, 03:54 AM
lmgutie Offline
Registered User
 
Join Date: Jul 2008
Posts: 59
Webcam image upside-down

Well F10 has much better support for webcams. My webcam works now which is great, however, applications such as amsn, skype, show the image upside-down and I haven't found how to fix it. How can I turn the image so the applications show it correctly?
Reply With Quote
  #2  
Old 17th December 2008, 04:15 AM
Billy_Mays Offline
Registered User
 
Join Date: Dec 2008
Posts: 50
flip your camera over.
Reply With Quote
  #3  
Old 17th December 2008, 05:00 AM
LBCoder Offline
Registered User
 
Join Date: Oct 2008
Posts: 221
Thats funny.
Depending on the specific driver used for your camera, there may be a driver option or special program to flip the image.

For example: http://ubuntuforums.org/archive/index.php/t-908660.html
-- suggests adding the parameter "vflip=1" when loading the module. If the module you are using supports that option, then it should hopefully do the job.
Reply With Quote
  #4  
Old 17th December 2008, 08:51 PM
lmgutie Offline
Registered User
 
Join Date: Jul 2008
Posts: 59
I checked and I am using gspca which detects a sonixb webcam. I tried using:
modprobe gspca_sonixb vflip=1
but I get an error:
FATAL: Error inserting gspca_sonixb ... Unknown symbol in module, or unknown parameter...
Anybody knows how to accomplish it with this driver?
Reply With Quote
  #5  
Old 17th December 2008, 08:57 PM
Hlingler's Avatar
Hlingler Offline
Administrator
 
Join Date: Sep 2006
Location: Connellsville, PA, USA
Posts: 11,289
Please list some hardware specs so we're not just throwing out guesses here: camera make and model, driver(s) and packages installed. System software fully up-to-date?

If the gspca_sonixb kmod fails with vflip=1 it almost certainly fails without it - try?? Maybe the wrong driver (but that's just a guess...).

V
Reply With Quote
  #6  
Old 18th December 2008, 03:19 AM
lmgutie Offline
Registered User
 
Join Date: Jul 2008
Posts: 59
My webcam is sold as model "GE Minicam Pro", manufactured by Jasco, vendor=0c45, id=608f. It can be found here:
http://www.jascoproducts.com/product...uct=30#details

dmesg shows:
usb 2-4: new full speed USB device using ohci_hcd and address 3
usb 2-4: configuration #1 chosen from 1 choice
usb 2-4: New USB device found, idVendor=0c45, idProduct=608f
usb 2-4: New USB device strings: Mfr=0, Product=1, SerialNumber=0
usb 2-4: Product: USB camera
gspca: probing 0c45:608f
gspca: probe ok
usbcore: registered new interface driver sonixb
sonixb: registered

I am using an Acer Aspire ASE380 desktop with Fedora 10 x86_64, fully updated. I have tested on kernels 2.6.27.5-117 and 2.6.27.7-134 both with GNOME. I have tested the webcam with amsn and skype; both show a good image but upside-down. v4l packages are installed; v4l2ucp reports the driver is sonixb 2.2.0 and capabilities are 0x05000001.

the following works:
modprobe gspca_sonixb

the following does not:
modprobe gspca_sonixb vflip=1
FATAL: Error inserting gspca_sonixb (/lib/modules/2.6.27.7-134.fc10.x86_64/kernel/drivers/media/video/gspca/gspca_sonixb.ko): Unknown symbol in module, or unknown parameter (see dmesg)

I had to use the following to make Skype find the webcam:
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype

Last edited by lmgutie; 18th December 2008 at 03:23 AM.
Reply With Quote
  #7  
Old 18th December 2008, 03:36 AM
Hlingler's Avatar
Hlingler Offline
Administrator
 
Join Date: Sep 2006
Location: Connellsville, PA, USA
Posts: 11,289
Hm. Well then, the 'vflip=1' switch is clearly verboten. At least in this version or compile option.

Since the gspca driver kmods are supplied with the kernel, there is no easy/clear way to go fetch the code nor find a web site, however, I see with 'modinfo gspca_sonixb: "author = Michel Xhaard <mxhaard@users.sourceforge.net>". A quick search at SourceForge.net came up empty. I'd suggest giving the author a nice e-mail asking for help....

V
Reply With Quote
  #8  
Old 22nd December 2009, 09:24 AM
HansdeGoede Offline
Anaconda developer
 
Join Date: Nov 2009
Posts: 10
linuxfedorafirefox
Hi,

Unfortunately we cannot fix this for your camera automatically as there are others with the same USB_ID which are not upside down. You can still get the image to be the right way up, by doing (in a terminal):

export LIBV4LCONTROL_FLAGS=3

And then launching your webcam applications from that same terminal.

Regards,

Hans (The better webcam support guy)
Reply With Quote
  #9  
Old 22nd December 2009, 02:16 PM
lmgutie Offline
Registered User
 
Join Date: Jul 2008
Posts: 59
linuxfedorafirefox
Thanks !!!

It worked. I placed this line in the shell script I use to launch Skype.

Last edited by lmgutie; 21st January 2010 at 04:19 PM. Reason: Detailed answer.
Reply With Quote
  #10  
Old 21st January 2010, 04:58 AM
lmgutie Offline
Registered User
 
Join Date: Jul 2008
Posts: 59
linuxfedorafirefox
I just found that the "v4l2ucp" tool has vertical and horizontal flip switches.
It works fine with Skype.

Last edited by lmgutie; 21st January 2010 at 04:17 PM. Reason: Innacurate comments deleted.
Reply With Quote
  #11  
Old 22nd January 2010, 03:21 PM
malkav Offline
Registered User
 
Join Date: Aug 2009
Posts: 2
linuxfedorafirefox
I tried both methods (the terminal command and v4l2ucp) and in Skype my camera is still upside down. Its normal in Cheese or MPlayer preview out of the box with F12. But whatever modifications I do, Skype seems to be unaffected by any of them.

If you have any ideas, please let me know.

Thank you,
Konstantinos

Last edited by malkav; 22nd January 2010 at 03:24 PM.
Reply With Quote
  #12  
Old 22nd January 2010, 03:58 PM
lmgutie Offline
Registered User
 
Join Date: Jul 2008
Posts: 59
linuxfedorafirefox
Idea:
This might be because Skype is not ready to use V4L2.
So I use a shell script to make Skype compatible with V4L2.
Lately my script looked like this:
Quote:
export LIBV4LCONTROL_FLAGS=3
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype
I just eliminated the flag line and control vertical flip from v4l2ucp.
Reply With Quote
  #13  
Old 22nd January 2010, 04:44 PM
malkav Offline
Registered User
 
Join Date: Aug 2009
Posts: 2
linuxfedorafirefox
Imgutie, many thanks man. Totally works.
Reply With Quote
  #14  
Old 19th April 2011, 12:19 AM
Biggoog Offline
Registered User
 
Join Date: Mar 2011
Posts: 3
linuxfedorafirefox
Re: Webcam image upside-down

Imgutie Thanks found one thats works

Last edited by Biggoog; 19th April 2011 at 12:21 AM.
Reply With Quote
Reply

Tags
image, upsidedown, webcam

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to fix (patch) upside down picture with the Chocony Webcam on Asus Notebooks jonathonp Guides & Solutions (No Questions) 13 20th October 2009 03:15 AM
webcam upside down cr.tauro Using Fedora 3 11th August 2009 03:08 AM
webcam upside down cr.tauro Hardware & Laptops 1 9th August 2009 11:08 PM
web cam Genius 312 image upside down. cr.tauro Hardware & Laptops 0 30th July 2009 03:12 PM
upside down webcam ange Hardware & Laptops 2 15th April 2009 01:57 AM


Current GMT-time: 02:06 (Monday, 20-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat