Selecting Video Input

Ian Davidson id012c3076 at blueyonder.co.uk
Tue Dec 11 03:23:53 PST 2012


I have a Video Capture card which I know works.  I can run xawtv and can 
see the video from my camera connected to the Composite input. Xawtv 
allows me to save the configuration information and that is below.


[ian at localhost ~]$ cat .xawtv
[global]
ratio = 4:3
freqtab = europe-west
pixsize = 128 x 96
pixcols = 1
jpeg-quality = 75
keypad-ntsc = no
keypad-partial = yes
osd = yes
osd-position = 30 , 20
use-wm-fullscreen = yes

# [Station name]
# capture = overlay | grabdisplay | on | off
# input = Television | Composite1 | S-Video | ...
# norm = PAL | NTSC | SECAM | ...
# channel = #
# fine = # (-128..+127)
# key = keysym | modifier+keysym
# color = #
# bright = #
# hue = #
# contrast = #

[defaults]
group = main
norm = PAL
input = Composite1
capture = grab

When I try to use GStreamer using the following command, I do not get 
the video input captured
gst-launch-1.0 v4l2src ! 
'video/x-raw,format=(string)I420,width=320,height=240,framerate=(fraction)25/1' 
! queue ! mux. alsasrc num-buffers=440 ! audioconvert ! 
'audio/x-raw,rate=44100,channels=2' ! queue ! mux. avimux name=mux ! 
filesink location=test.avi

I suspect that GStreamer is not defaulting to the Composite1 source, but 
some other - so how do I convince it to use the Composite1?

Thanks

-- 
--
Ian Davidson
/239 Streetsbrook Road, Solihull, West Midlands, B91 1HE/
--
Facts used in this message may or may not reflect an underlying 
objective reality. Facts are supplied for personal use only.
Recipients quoting supplied information do so at their own risk. Facts 
supplied may vary in whole or part from widely accepted standards.
While painstakingly researched, facts may or may not be indicative of 
actually occurring events or natural phenomena.
The author accepts no responsibility for personal loss or injury 
resulting from memorisation and subsequent use.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20121211/483f7c4c/attachment.html>


More information about the gstreamer-devel mailing list