Advertisement
Guest User

Untitled

a guest
Oct 17th, 2012
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. #!/bin/sh
  2. # Credit goes to Steve Sakoman
  3.  
  4. #Set the pipes
  5. media-ctl -r -l '"mt9v032 3-005c":0->"OMAP3 ISP CCDC":0[1], "OMAP3 ISP CCDC":2->"OMAP3 ISP preview":0[1], "OMAP3 ISP preview":1->"OMAP3 ISP resizer":0[1], "OMAP3 ISP resizer":1->"OMAP3 ISP resizer output":0[1]'
  6.  
  7. #Set the formats
  8. media-ctl -f '"mt9v032 3-005c":0[SGRBG10 752x480], "OMAP3 ISP CCDC":2[SGRBG10 752x480], "OMAP3 ISP preview":1[UYVY 752x480], "OMAP3 ISP resizer":1[UYVY 752x480]'
  9.  
  10. #Yavta test capture
  11. #yavta -p -f UYVY -s 752x480 -n 4 --capture=10 --skip 9 -F `media-ctl -e "OMAP3 ISP resizer output"`
  12.  
  13. #Live coverage
  14. LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so mplayer tv:// -tv driver=v4l2:device=/dev/video6
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement