Skip to contentSkip to conversation

Flipping the video from webcams

DISCUSSION Rainer Koenig 3 participants 5 messages Jul 10, 2008 – Jul 11, 2008 1 message not in the archive Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

Hello,

I've got a notebook with an integrated webcam and I got a driver (r5u870) that works fine with it, except that the camera images I get are all upside down. It seems that due to a desgin flaw the camera was assembled upside down and there is no easy way to turn it. So I need to rotate the picture with software, which practically means "flip X" and "flip Y". I even found some bits in the driver that look like they address this issue, but turning them to "1" (instead of 0) doesn't help at all.

So I wonder: Is there a way to flip the picture that is coming from the camera by setting some options somewhere so that my IM client gets the picture in the right orientation?

TIA
Rainer

Signature · 6 lines
Rainer Koenig, Diplom-Informatiker (FH), Augsburg, Germany

--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
#1 lore raw

Hello Rainer,

Quoted 10 lines · Rainer Koenig

Hello,

I've got a notebook with an integrated webcam and I got a driver (r5u870) that works fine with it, except that the camera images I get are all upside down. It seems that due to a desgin flaw the camera was assembled upside down and there is no easy way to turn it. So I need to rotate the picture with software, which practically means "flip X" and "flip Y". I even found some bits in the driver that look like they address this issue, but turning them to "1" (instead of 0) doesn't help at all.

Quoted 7 lines

So I wonder: Is there a way to flip the picture that is coming from the camera by setting some options somewhere so that my IM client gets the picture in the right orientation?

TIA
Rainer

You may put the laptop upside down :)
Seriously, Andreas Demmer reported success on image flipping using vloopback+camsource.
I think on his blog you will find the information:
http://www.andreas-demmer.de/weblog/beitrag229/
but I don't understand German sadly...

Cheers,
Thierry

--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

#2 lore raw

Hi Thierry,

Am Donnerstag, 10. Juli 2008 22:00 schrieb Thierry Merle:

Quoted 1 line

You may put the laptop upside down :)

;-) Will not be accepted due to a violation of ergonmic principles :-)

Quoted 5 lines

Seriously, Andreas Demmer reported success on image flipping using vloopback+camsource.
I think on his blog you will find the information:
http://www.andreas-demmer.de/weblog/beitrag229/
but I don't understand German sadly...

Well I understand German, I tried out but I failed. The strange thing is that Kopete has no problem to read the video device /dev/video0, but both camsource and gqcam fail to read from the device. The camstream log is just filled with error messages. I'm afraid that the r5u870 driver (version 0.11.0, the latest from the site that is donw since this lunchtime :-() is not implementing all. v4lctl also shows some error messages when querying or trying to capture images.

Thanks for the hint anyway, I'll keep on searching.

Regards
Rainer

Signature · 6 lines
Rainer Koenig, Diplom-Informatiker (FH), Augsburg, Germany

--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
#3 lore raw
In reply to Rainer Koenig
Quoted 6 lines · Rainer Koenig

Hello,

I've got a notebook with an integrated webcam and I got a driver (r5u870) that works fine with it, except that the camera images I get are all upside down. It seems that due to a desgin flaw the camera was assembled upside down and there is no easy way to turn it. So I need to rotate the picture with software, which practically means "flip X" and "flip Y". I even found some bits in the driver that look like they address this issue, but turning them to "1" (instead of 0) doesn't help at all.

So I wonder: Is there a way to flip the picture that is coming from the camera by setting some options somewhere so that my IM client gets the picture in the right orientation?

Most of the time there are some bits in the sensor which will flip the pixelscanorder and thus the image, what sensor does your cam use (OV66xx, OV73xx, TAS7XX0, ? )

Regards,

Hans

--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

A message that is not in the archive (sent off-list or not yet received): aae5e9b33584111fbf6db53272b5cb5a@localhost

#5 lore raw

Hi Alex,

Am Freitag, 11. Juli 2008 01:56 schrieb Alex Hixon:

Quoted 1 line

You didn't really mention what version of the driver you're running, an

0.11.0 should be. It was the latest from http://wiki.mediati.org/R5u870
but now this site is not reachable for the moment.

Quoted 1 line

on what device, so I can't really help you specifically. In an earlier

Vendor-ID was Ricoh, Device-ID is 1841.

Quoted 3 lines

version of the driver, there was a bug where by default we wouldn't turn

on the V-Flip control by default.

Yes, I saw in the source that for one device-id they had a Default flip.

Quoted 3 lines

You should still just be able to turn on/off the V-Flip control in any

V4L2 application that supports them (eg xawtv).

ACK. Problem is that Kopete doesn't offer flip controls. So I need to find a way of flipping the picture in the driver.

Quoted 5 lines

Also, considering that the r5u870 driver hasn't been merged upstream yet,

you might want to try emailing on the r5u870 list (you can signup at

http://lists.mediati.org).

Well, I have the things at work, so next possible date to get logs and error messges directly from the machine is monday. Maybe by then midiati.org is up again.

Thanks and have a nice weekend
Rainer

Signature · 6 lines
Rainer Koenig, Diplom-Informatiker (FH), Augsburg, Germany

--
video4linux-list mailing list
Unsubscribe mailto:[email protected]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list