![]() |
Re: [ANNOUNCE] Mirror
Thanks for that screenshot, matteone. It shows that the resolution of the front-facing camera may be the limiting factor.
To improve the quality of the image, perhaps the application can be modified to use the main camera. Of course the difficulty with that approach is that you can't see the screen while you're pointing the main camera at your face. But if you have a small mirror with you, you can position it so that you can see the N900 screen. Regards, Roger |
Re: [ANNOUNCE] Mirror
Quote:
Code:
gst-launch-0.10 v4l2src device=/dev/video1 ! video/x-raw-yuv,width=640,height=480,framerate=30/1 ! ffmpegcolorspace ! videoflip method=4 ! autovideosink |
Re: [ANNOUNCE] Mirror
Same problem as always, daperl:
...could not negotiate formate.... check your filtered caps, if any.... As soon as you try to tidy up the output of the camera, it gorks. EDIT: Setting it to ... ! video/x-raw-yuv,width=640 ! ... works, but it looks exactly the same. |
Re: [ANNOUNCE] Mirror
Ok this isn't stretched anymore, but it still has the dark band:
gst-launch-0.10 v4l2src device=/dev/video1 ! "video/x-raw-yuv,pixel-aspect-ratio=(fraction)1/1" ! ffmpegcolorspace ! videoflip method=4 ! xvimagesink force-aspect-ratio=true |
Re: [ANNOUNCE] Mirror
The dark band problem is deeper, either electronics or kernel driver level. It's there even I don't use gstreamer at all (=direct v4l2)
|
Re: [ANNOUNCE] Mirror
Quote:
just an observation. you want to use a small mirror in your possession to hack together an app supposed to work as a mirror? isn't that a little redundant ? |
Re: [ANNOUNCE] Mirror
In case some devs wants to track progress or make their own packages, I opened a garage project for this 'app' (talk about waste of resources :) ). The address is https://garage.maemo.org/projects/mirrorapp/
|
Re: [ANNOUNCE] Mirror
Quote:
(or, as they say on slashdot, "whoosh!") |
Re: [ANNOUNCE] Mirror
Quote:
|
Re: [ANNOUNCE] Mirror
Ok, so here's how to get rid of the dark band. Use "videocrop" to crop it away!
The new pipeline to produce a properly sized image with no dark band: gst-launch-0.10 v4l2src device=/dev/video1 ! "video/x-raw-yuv,pixel-aspect-ratio=(fraction)1/1" ! ffmpegcolorspace ! videoflip method=4 ! videocrop right=122 ! xvimagesink force-aspect-ratio=true |
| All times are GMT. The time now is 00:23. |
vBulletin® Version 3.8.8