Template:MX95 JPEG: Difference between revisions
From Variscite Wiki
No edit summary |
No edit summary |
||
Line 16: | Line 16: | ||
# gst-launch-1.0 v4l2src device=/dev/video0 num-buffers=1 ! video/x-raw,width={{{2}}},height={{{3}}} ! jpegenc ! filesink location=/tmp/test_{{{2}}}x{{{3}}}.jpg | # gst-launch-1.0 v4l2src device=/dev/video0 num-buffers=1 ! video/x-raw,width={{{2}}},height={{{3}}} ! jpegenc ! filesink location=/tmp/test_{{{2}}}x{{{3}}}.jpg | ||
{{#ifeq: {{KERNEL_VERSION_NEWER|6.6.23|{{#var:KERNEL_VER}}}} | true | | {{#ifeq: {{KERNEL_VERSION_NEWER|6.6.23|{{#var:KERNEL_VER}}}} | true | | ||
| | | {{#tag:pre| | ||
mipi_csi1: | mipi_csi1: | ||
# media-ctl -V "'ov5640_mainline 7-003c':0 [fmt: UYVY8_1X16/{{{2}}}x{{{3}}} field:none]" | # media-ctl -V "'ov5640_mainline 7-003c':0 [fmt: UYVY8_1X16/{{{2}}}x{{{3}}} field:none]" | ||
Line 31: | Line 31: | ||
# media-ctl -V "'mxc_isi.7':0 [fmt: UYVY8_1X16/{{{2}}}x{{{3}}} field:none]" | # media-ctl -V "'mxc_isi.7':0 [fmt: UYVY8_1X16/{{{2}}}x{{{3}}} field:none]" | ||
# gst-launch-1.0 v4l2src device=/dev/video1 num-buffers=1 ! video/x-raw,width={{{2}}},height={{{3}}} ! jpegenc ! filesink location=/tmp/test_{{{2}}}x{{{3}}}.jpg | # gst-launch-1.0 v4l2src device=/dev/video1 num-buffers=1 ! video/x-raw,width={{{2}}},height={{{3}}} ! jpegenc ! filesink location=/tmp/test_{{{2}}}x{{{3}}}.jpg | ||
}} | |||
}} | }} | ||
</includeonly> | </includeonly> |