beautypg.com

Sensoray 911 Quick Start User Manual

Page 2

background image

$ xawtv –c /dev/video1 &

(for Channel-2 preview)

$ xawtv –c /dev/video2 &

(for Channel-3 preview)

$ xawtv –c /dev/video3 &

(for Channel-4 preview)

$ xawtv –c /dev/video4 &

(for Chan-1 of 2

nd

810/811/911 board)

$ xawtv –c /dev/video5 &

(for Chan-2 of 2

nd

810/811/911 board)

$ xawtv –c /dev/video6 &

(for Chan-3 of 2

nd

810/811/911 board)

$ xawtv –c /dev/video7 &

(for Chan-4 of 2

nd

810/811/911 board)

( close all XawTV windows, for next step of A/V capturing tests)


Using “

streamer

” (a companion tool with XawTV) for frame or A/V capturing:

$ sudo apt-get install streamer

$ streamer –h

( for help and list of command options )


$ streamer -c /dev/video0 -n ntsc -s 640x480 -o image1.pgm

( Grab gray-level image from Channel-1,

and save the data into a .pgm file )

$ streamer -c /dev/video1 -n ntsc -s 640x480 -r 2 -t 10 \

-o imageCh2_00.jpeg

( Capture 10 frames from Channel-2, in JPEG format,

and save the images into .jpeg files )

$ streamer -c /dev/video2 -n ntsc -r 30 -s 640x480 -f mjpeg \

-o video3.avi -t 0:60

( Capture/record video from Channel-3, in MJPEG format,

and save the video data into a .avi file )


$ streamer -C /dev/dsp1 -R 32000 -F stereo -O audio-1.wav -t 0:03:00

( Capture/record audio from Audio Channel-1,

and save the audio data into a .wav file )

$ streamer -c /dev/video2 -n ntsc -r 30 -s 640x480 -f mjpeg \

-C /dev/dsp3 -F stereo -R 32000 -o movie-ch3.avi -t 5:00

( Capture & record video+audio from Channel-3, in MJPEG,
and save the A/V data into an .avi file )

$ streamer -c /dev/video3 -n ntsc -r 30 -s 352x288 -f rgb24

-C /dev/dsp4 -F stereo -R 32000 -o movie-ch4.avi -t 10:00

( capture and record raw video + audio from Channel-4,

and save the A/V data into an .avi file )

8)

For the users using

VLC

and with Ubnutu/Mint Linux distro, followings are

the procedures and commands for Quick-Start and preview HOWTO:

$ sudo apt-get install vlc

$ vlc v4l2:///dev/video0:standard=NTSC:width=640:height=480 &

(for Channel-1 preview, with VGA resolution)


$ vlc v4l2:///dev/video1:standard=NTSC:width=720:height=480 &

(for Channel-2 preview, with D1.ntsc resolution)


$ vlc v4l2:///dev/video2:standard=NTSC:width=352:height=288 &

(for Channel-3 preview, with CIF resolution)

This manual is related to the following products: