Changes between Version 14 and Version 15 of linux/media
- Timestamp:
- 08/29/2019 06:21:44 PM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
linux/media
v14 v15 275 275 Installation: 276 276 {{{#!bash 277 wget http ://dev.gateworks.com/docs/linux/media/media-ctl-setup277 wget https://raw.githubusercontent.com/Gateworks/media-ctl-setup/master/media-ctl-setup 278 278 chmod +x media-ctl-setup 279 279 }}} … … 284 284 v4l2-ctl --device /dev/v4l-subdev14 --set-standard NTSC 285 285 ./media-ctl-setup adv7180 > setup 286 /bin/shsetup286 source ./setup 287 287 }}} 288 288 * Analog CVBS PAL capture … … 290 290 v4l2-ctl --device /dev/v4l-subdev14 --set-standard PAL 291 291 ./media-ctl-setup adv7180 > setup 292 /bin/shsetup292 source ./setup 293 293 }}} 294 294 * Digital HDMI capture 295 295 {{{#!bash 296 296 ./media-ctl-setup tda1997x > setup 297 /bin/sh setup 298 }}} 297 source ./setup 298 }}} 299 300 Note in the above examples we 'source' the setup script instead of executing it so that it can exports variables like the video capture device to the DEVICE env variable which can be used in further examples below. 299 301 300 302 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).