User Tools

Site Tools


pinephone

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
pinephone [2020/07/15 08:37] – [PinePhone Camera] markpinephone [2020/07/15 10:10] – [Camera] mark
Line 192: Line 192:
 fswebcam --device /dev/video1 --resolution 1280x720  -p UYVY --verbose --save bob.jpeg fswebcam --device /dev/video1 --resolution 1280x720  -p UYVY --verbose --save bob.jpeg
 </code> </code>
 +
 +Using gstreamer, the orientation is wrong. 
 +
 +V4l2Src should implement GstVideoOrientation see https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good/html/gst-plugins-good-plugins-v4l2src.html
 +
 +
 +GstVideoOrientation
 +
 +See
 +
 +https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/blob/230cf41cc966d7b3ebea248b82e1e3a60ac58d63/sys/v4l2/gstv4l2src.c#L110
 +
 +this is implemented in
 +
 +https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/blob/1.10.4/sys/v4l2/gstv4l2vidorient.c
 +
 +
 +For gst-droid (used on android), https://github.com/sailfishos/gst-droid/blob/e755c8521b3ff0a622fba4c85e57ff41015c7793/gst/droidcamsrc/gstdroidcamsrc.c#L271
 +
 +For droidcamsrc:
 +
 +
 +https://github.com/sailfishos/gst-droidcamsrc
 +
 +
 +So does not look like v4l handles angle
 +
 +
  
 ==== PinePhone Camera ====  ==== PinePhone Camera ==== 
pinephone.txt · Last modified: 2020/07/21 12:02 by mark