Sensoray 911 Quick Start User Manual
Page 3

$ vlc v4l2:///dev/video3:standard=ntsc --sout “#transcode{vcodec= \
mpeg4,vb=5000}:standard{access=file,dst=./v_ch4_MP4.avi}”
(recording/transcoding from Channel-4, in D1 size,
and save the video into an .avi file )
9)
For the users using
MPlayer
and with Ubnutu/Mint Linux distro, followings
are the procedures and commands for Quick-Start and preview HOWTO:
$ sudo apt-get install mplayer
$
mplayer tv:// -tv driver=v4l2:norm=NTSC:width=640:height=480:device=/dev/video0
(for previewing Channel-1, with VGA resolution)
$
mplayer tv:// -tv driver=v4l2:norm=NTSC:width=720:height=480:device=/dev/video1
(for previewing Channel-2, with D1.ntsc resolution)
$
mplayer tv:// -tv driver=v4l2:norm=NTSC:width=352:height=288:device=/dev/video2
(for previewing Channel-3, with CIF resolution)
$
mplayer tv:// -tv driver=v4l2:norm=NTSC:width=352:height=240:device=/dev/video3
(for previewing Channel-4, with SIF resolution)
10) For the users using
GStreamer
and with Ubnutu/Fedora Linux distro,
followings are the procedures and commands for Quick-Start and preview/
capture HOWTO:
$ gst-launch-0.10 v4l2src device=/dev/video0 ! autovideosink
( previewing Channel-1, with D1 resolution)
$ gst-launch-0.10 v4l2src device=/dev/video1 ! ffmpegcolorspace ! \
video/x-raw-yuv,width=640,height=480 ! xvimagesink
( previewing Channel-2, with VGA resolution)
$ gst-launch-0.10 v4l2src device=/dev/video2 ! ffmpegcolorspace ! \
video/x-raw-yuv,width=640,height=480 ! jpegenc ! \
multifilesink location=./frame$.4d.jpeg
( capturing frames from Channel-3, with VGA resolution,
and saving the frames/images into .jpeg files )
$ gst-launch-0.10 v4l2src device=/dev/video3 ! ffmpegcolorspace ! \
videorate ! ‘video/x-raw-yuv,width=640,height=480, \
framerate=5/1’ ! clockoverlay halign=left valign=top \
text=”2011-12-08:” shaded-background=true ! jpegenc ! \
multifilesink location=./frame$.4d.jpeg
( capturing frames from Channel-4, at 5 fps, with clock
overlay, and saving the images into .jpeg files )
$ gst-launch-0.10 v4l2src device=/dev/video0 ! ffmpegcolorspace ! \
video/x-raw-yuv,width=640,height=480 ! clockoverlay ! \
avimux ! filesink location=./video-raw-ch1.avi
( capturing raw video from Channel-1,
and saving the video into an .avi file )
$ gst-launch-0.10 v4l2src device=/dev/video1 ! ffmpegcolorspace ! \
video/x-raw-yuv,width=640,height=480 ! jpegenc ! \