Template:AM62 CAM PREVIEW: Difference between revisions
From Variscite Wiki
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
{{#vardefine:MEDIA_BUS_FMT|{{#ifexpr: {{#var:YOCTO_VERSION}} < 4.1 | UYVY8_1X16 | YUYV8_1X16}}}} | {{#vardefine:MEDIA_BUS_FMT|{{#ifexpr: {{#var:YOCTO_VERSION}} < 4.1 | UYVY8_1X16 | YUYV8_1X16}}}} | ||
# media-ctl --set-v4l2 '"ov5640 0-003c":0 [fmt:{{#var:MEDIA_BUS_FMT}}/{{{3}}}x{{{4}}}@1/{{{5}}}]' | # media-ctl --set-v4l2 '"ov5640 0-003c":0 [fmt:{{#var:MEDIA_BUS_FMT}}/{{{3}}}x{{{4}}}@1/{{{5}}}]' | ||
# XDG_RUNTIME_DIR="/run/user/0" gst-launch-1.0 v4l2src device={{{1}}} ! video/x-raw,width={{{3}}},height={{{4}}}, format=YUY2 ! waylandsink sync=false | # XDG_RUNTIME_DIR="/run/user/0" gst-launch-1.0 v4l2src device={{{1}}} ! video/x-raw,width={{{3}}},height={{{4}}},framerate={{{5}}}/1,format=YUY2 ! waylandsink sync=false | ||
</includeonly> | </includeonly> |