Changes between Version 8 and Version 9 of linux/media
- Timestamp:
- 02/26/2019 10:31:07 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
linux/media
v8 v9 279 279 280 280 Examples: 281 * Analog CVBS capture 282 {{{#!bash 281 * Analog CVBS NTSC capture 282 {{{#!bash 283 v4l2-ctl --device /dev/v4l-subdev14 --set-standard NTSC 283 284 ./media-ctl-setup adv7180 > setup 284 285 /bin/sh setup 285 286 }}} 287 * Analog CVBS PAL capture 288 {{{#!bash 289 v4l2-ctl --device /dev/v4l-subdev14 --set-standard PAL 290 ./media-ctl-setup adv7180 > setup 291 /bin/sh setup 292 }}} 286 293 * Digital HDMI capture 287 294 {{{#!bash … … 289 296 /bin/sh setup 290 297 }}} 298 299 Note that it is required that you re-run the {{{media-ctl-setup}}} script and its generated output commands whenever the input source changes (ie Analog NTSC->PAL or HDMI input format (resolution/colorspace/framerate). 300 301 To detect when the input changes on a capture source you can catch the {{{V4L2_EVENT_SOURCE_CHANGE}}} event via the {{{VIDIOC_DQEVENT}}} ioctl - see https://www.linuxtv.org/downloads/v4l-dvb-apis-old/vidioc-dqevent.html 291 302 292 303