[Community] [News] GTA04 Camera
Benjamin Deering
ben_deering at swissmail.org
Thu Apr 25 04:35:31 CEST 2013
>
> Yes, the last post there indicates to search for "gstreamer" "yavta".
> There I
> found [http://labs.isee.biz/index.php/How_to_setup_tvp5151_video_decoder#Play_with_TVP5151]
>
> gst-launch-0.10 -v v4l2src device=/dev/video2 queue-size=1 ! video/x-raw-yuv,format=\(fourcc\)UYVY,width=720,height=628 ! omapdmaifbsink
>
I didn't have much luck with this. I found an omap3isp patch that got
me a little further, but I think there are still other issues.
https://patchwork.kernel.org/patch/1242121/ It seems like gstreamer
verifies manual settings by asking the driver if it is ok?
I spent some time with the camera-demo script and I think I found out
something useful. If I bypass the omap ISP preview pad, the resizer works:
media-ctl -r
media-ctl -v -l '"ov9655 2-0030":0->"OMAP3 ISP CCDC":0[1]'
media-ctl -v -l '"OMAP3 ISP CCDC":1->"OMAP3 ISP resizer":0[1]'
media-ctl -v -l '"OMAP3 ISP resizer":1->"OMAP3 ISP resizer output":0[1]'
media-ctl -v -V '"ov9655 2-0030":0 [UYVY2X8 1280x1024]'
media-ctl -v -V '"OMAP3 ISP CCDC":1 [UYVY2X8 1280x1024]'
media-ctl -v -V '"OMAP3 ISP resizer":0 [UYVY 1280x1024]'
media-ctl -v -V '"OMAP3 ISP resizer":1 [UYVY 320x256]'
mplayer -v tv:// -vf rotate=2,swapuv -tv driver=v4l2:device=$(media-ctl
-e "OMAP3 ISP resizer output"):outfmt=uyvy:width=320:height=256 -vo x11
This discussion http://www.spinics.net/lists/linux-media/msg40786.html
and a few other places make it look like omap3isp does some automatic
cropping and links that use the cropped data need to know to what size
it was cropped.
for vga output, I used:
media-ctl -v -V '"OMAP3 ISP resizer":1 [UYVY 640x475]'
mplayer -v tv:// -vf rotate=2,swapuv -tv driver=v4l2:device=$(media-ctl
-e "OMAP3 ISP resizer output"):outfmt=uyvy:width=640:height=475 -vo x11
and for sxga I used:
media-ctl -v -V '"OMAP3 ISP resizer":1 [UYVY 1280x1014]'
mplayer -v tv:// -vf rotate=2,swapuv -tv driver=v4l2:device=$(media-ctl
-e "OMAP3 ISP resizer output"):outfmt=uyvy:width=1280:height=1014 -vo x11
It is a pretty small finding, but maybe it will give someone else an idea.
Ben
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.goldelico.com/pipermail/community/attachments/20130424/03d5c654/attachment.html>
More information about the Community
mailing list