<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Actually, not 100% success.<br>
<br>
I reboot the computer and repeated the test and I think that this
time, it picked up the 'Television' input again, not the Composite1.<br>
<br>
I have listed the output from gst-inspect-1.0 below. I do not see
anything which relates to the input selection.<br>
<br>
<div class="moz-text-html" lang="x-western">
<div style="color:#000; background-color:#fff; font-family:times
new roman, new york, times, serif;font-size:12pt">
<div>[ian@localhost ~]$ gst-inspect-1.0 v4l2src<br>
Factory Details:<br>
Rank: primary (256)<br>
Long-name: Video (video4linux2) Source<br>
Klass: Source/Video<br>
Description: Reads frames from a Video4Linux2 device<br>
Author: Edgard Lima <a class="moz-txt-link-rfc2396E" href="mailto:edgard.lima@indt.org.br"><edgard.lima@indt.org.br></a>,
Stefan Kost <a class="moz-txt-link-rfc2396E" href="mailto:ensonic@users.sf.net"><ensonic@users.sf.net></a><br>
<br>
Plugin Details:<br>
Name: video4linux2<br>
Description: elements for Video 4 Linux<br>
Filename:
/usr/lib64/gstreamer-1.0/libgstvideo4linux2.so<br>
Version: 1.0.3<br>
License: LGPL<br>
Source module: gst-plugins-good<br>
Source release date: 2012-11-21<br>
Binary package: Fedora GStreamer-plugins-good package<br>
Origin URL: <a class="moz-txt-link-freetext" href="http://download.fedoraproject.org">http://download.fedoraproject.org</a><br>
<br>
GObject<br>
+----GInitiallyUnowned<br>
+----GstObject<br>
+----GstElement<br>
+----GstBaseSrc<br>
+----GstPushSrc<br>
+----GstV4l2Src<br>
<br>
Implemented Interfaces:<br>
GstURIHandler<br>
GstTuner<br>
GstColorBalance<br>
GstVideoOrientation<br>
<br>
Pad Templates:<br>
SRC template: 'src'<br>
Availability: Always<br>
Capabilities:<br>
video/x-raw<br>
format: RGB15<br>
width: [ 1, 32768 ]<br>
height: [ 1, 32768 ]<br>
framerate: [ 0/1, 100/1 ]<br>
video/x-raw<br>
format: RGB16<br>
width: [ 1, 32768 ]<br>
height: [ 1, 32768 ]<br>
framerate: [ 0/1, 100/1 ]<br>
video/x-raw<br>
format: BGR<br>
width: [ 1, 32768 ]<br>
height: [ 1, 32768 ]<br>
framerate: [ 0/1, 100/1 ]<br>
video/x-raw<br>
format: RGB<br>
width: [ 1, 32768 ]<br>
height: [ 1, 32768 ]<br>
framerate: [ 0/1, 100/1 ]<br>
video/x-raw<br>
format: BGRx<br>
width: [ 1, 32768 ]<br>
height: [ 1, 32768 ]<br>
framerate: [ 0/1, 100/1 ]<br>
video/x-raw<br>
format: RGBx<br>
width: [ 1, 32768 ]<br>
height: [ 1, 32768 ]<br>
framerate: [ 0/1, 100/1 ]<br>
video/x-raw<br>
format: GRAY8<br>
width: [ 1, 32768 ]<br>
height: [ 1, 32768 ]<br>
framerate: [ 0/1, 100/1 ]<br>
video/x-raw<br>
format: YVU9<br>
width: [ 1, 32768 ]<br>
height: [ 1, 32768 ]<br>
framerate: [ 0/1, 100/1 ]<br>
video/x-raw<br>
format: YV12<br>
width: [ 1, 32768 ]<br>
height: [ 1, 32768 ]<br>
framerate: [ 0/1, 100/1 ]<br>
video/x-raw<br>
format: YUY2<br>
width: [ 1, 32768 ]<br>
height: [ 1, 32768 ]<br>
framerate: [ 0/1, 100/1 ]<br>
video/x-raw<br>
format: UYVY<br>
width: [ 1, 32768 ]<br>
height: [ 1, 32768 ]<br>
framerate: [ 0/1, 100/1 ]<br>
video/x-raw<br>
format: Y42B<br>
width: [ 1, 32768 ]<br>
height: [ 1, 32768 ]<br>
framerate: [ 0/1, 100/1 ]<br>
video/x-raw<br>
format: Y41B<br>
width: [ 1, 32768 ]<br>
height: [ 1, 32768 ]<br>
framerate: [ 0/1, 100/1 ]<br>
video/x-raw<br>
format: NV12<br>
width: [ 1, 32768 ]<br>
height: [ 1, 32768 ]<br>
framerate: [ 0/1, 100/1 ]<br>
video/x-raw<br>
format: NV21<br>
width: [ 1, 32768 ]<br>
height: [ 1, 32768 ]<br>
framerate: [ 0/1, 100/1 ]<br>
video/x-raw<br>
format: YUV9<br>
width: [ 1, 32768 ]<br>
height: [ 1, 32768 ]<br>
framerate: [ 0/1, 100/1 ]<br>
video/x-raw<br>
format: I420<br>
width: [ 1, 32768 ]<br>
height: [ 1, 32768 ]<br>
framerate: [ 0/1, 100/1 ]<br>
video/x-bayer<br>
width: [ 1, 32768 ]<br>
height: [ 1, 32768 ]<br>
framerate: [ 0/1, 100/1 ]<br>
image/jpeg<br>
width: [ 1, 32768 ]<br>
height: [ 1, 32768 ]<br>
framerate: [ 0/1, 100/1 ]<br>
image/jpeg<br>
width: [ 1, 32768 ]<br>
height: [ 1, 32768 ]<br>
framerate: [ 0/1, 100/1 ]<br>
image/jpeg<br>
width: [ 1, 32768 ]<br>
height: [ 1, 32768 ]<br>
framerate: [ 0/1, 100/1 ]<br>
video/x-dv<br>
systemstream: true<br>
width: [ 1, 32768 ]<br>
height: [ 1, 32768 ]<br>
framerate: [ 0/1, 100/1 ]<br>
video/mpegts<br>
video/x-h264<br>
width: [ 1, 32768 ]<br>
height: [ 1, 32768 ]<br>
framerate: [ 0/1, 100/1 ]<br>
video/x-sonix<br>
width: [ 1, 32768 ]<br>
height: [ 1, 32768 ]<br>
framerate: [ 0/1, 100/1 ]<br>
video/x-pwc1<br>
width: [ 1, 32768 ]<br>
height: [ 1, 32768 ]<br>
framerate: [ 0/1, 100/1 ]<br>
video/x-pwc2<br>
width: [ 1, 32768 ]<br>
height: [ 1, 32768 ]<br>
framerate: [ 0/1, 100/1 ]<br>
video/x-raw<br>
format: YVYU<br>
width: [ 1, 32768 ]<br>
height: [ 1, 32768 ]<br>
framerate: [ 0/1, 100/1 ]<br>
<br>
<br>
Element Flags:<br>
no flags set<br>
<br>
Element Implementation:<br>
Has change_state() function: 0x7f1ee15510c0<br>
<br>
Element has no clocking capabilities.<br>
Element has no indexing capabilities.<br>
<br>
URI handling capabilities:<br>
Element can act as source.<br>
Supported URI protocols:<br>
v4l2<br>
<br>
Pads:<br>
SRC: 'src'<br>
Implementation:<br>
Has getrangefunc(): gst_base_src_getrange<br>
Has custom eventfunc(): gst_base_src_event<br>
Has custom queryfunc(): gst_base_src_query<br>
Has custom iterintlinkfunc():
gst_pad_iterate_internal_links_default<br>
Pad Template: 'src'<br>
<br>
Element Properties:<br>
name : The name of the object<br>
flags: readable, writable<br>
String. Default: "v4l2src0"<br>
parent : The parent of the object<br>
flags: readable, writable<br>
Object of type "GstObject"<br>
blocksize : Size in bytes to read per buffer (-1 =
default)<br>
flags: readable, writable<br>
Unsigned Integer. Range: 0 -
4294967295 Default: 4096 <br>
num-buffers : Number of buffers to output before
sending EOS (-1 = unlimited)<br>
flags: readable, writable<br>
Integer. Range: -1 - 2147483647
Default: -1 <br>
typefind : Run typefind before negotiating<br>
flags: readable, writable<br>
Boolean. Default: false<br>
do-timestamp : Apply current stream time to buffers<br>
flags: readable, writable<br>
Boolean. Default: false<br>
device : Device location<br>
flags: readable, writable<br>
String. Default: "/dev/video0"<br>
device-name : Name of the device<br>
flags: readable<br>
String. Default: "BT878 video
(Pinnacle PCTV Stud"<br>
device-fd : File descriptor of the device<br>
flags: readable<br>
Integer. Range: -1 - 2147483647
Default: -1 <br>
flags : Device type flags<br>
flags: readable<br>
Flags "GstV4l2DeviceTypeFlags"
Default: 0x00000000, "(none)"<br>
(0x00000001): capture -
Device supports video capture<br>
(0x00000002): output -
Device supports video playback<br>
(0x00000004): overlay -
Device supports video overlay<br>
(0x00000010): vbi-capture -
Device supports the VBI capture<br>
(0x00000020): vbi-output -
Device supports the VBI output<br>
(0x00010000): tuner -
Device has a tuner or modulator<br>
(0x00020000): audio -
Device has audio inputs or outputs<br>
brightness : Picture brightness, or more precisely,
the black level<br>
flags: readable, writable,
controllable<br>
Integer. Range: -2147483648 -
2147483647 Default: 0 <br>
contrast : Picture contrast or luma gain<br>
flags: readable, writable,
controllable<br>
Integer. Range: -2147483648 -
2147483647 Default: 0 <br>
saturation : Picture color saturation or chroma
gain<br>
flags: readable, writable,
controllable<br>
Integer. Range: -2147483648 -
2147483647 Default: 0 <br>
hue : Hue or color balance<br>
flags: readable, writable,
controllable<br>
Integer. Range: -2147483648 -
2147483647 Default: 0 <br>
norm : video standard<br>
flags: readable, writable<br>
Enum "V4L2_TV_norms" Default: 0,
"none"<br>
(0): none - none<br>
(45056): NTSC - NTSC<br>
(4096): NTSC-M - NTSC-M<br>
(8192): NTSC-M-JP -
NTSC-M-JP<br>
(32768): NTSC-M-KR -
NTSC-M-KR<br>
(16384): NTSC-443 -
NTSC-443<br>
(255): PAL - PAL<br>
(7): PAL-BG - PAL-BG<br>
(1): PAL-B - PAL-B<br>
(2): PAL-B1 - PAL-B1<br>
(4): PAL-G - PAL-G<br>
(8): PAL-H - PAL-H<br>
(16): PAL-I - PAL-I<br>
(224): PAL-DK - PAL-DK<br>
(32): PAL-D - PAL-D<br>
(64): PAL-D1 - PAL-D1<br>
(128): PAL-K - PAL-K<br>
(256): PAL-M - PAL-M<br>
(512): PAL-N - PAL-N<br>
(1024): PAL-Nc - PAL-Nc<br>
(2048): PAL-60 - PAL-60<br>
(16711680): SECAM -
SECAM<br>
(65536): SECAM-B - SECAM-B<br>
(262144): SECAM-G -
SECAM-G<br>
(524288): SECAM-H -
SECAM-H<br>
(3276800): SECAM-DK -
SECAM-DK<br>
(131072): SECAM-D -
SECAM-D<br>
(1048576): SECAM-K -
SECAM-K<br>
(2097152): SECAM-K1 -
SECAM-K1<br>
(4194304): SECAM-L -
SECAM-L<br>
(8388608): SECAM-Lc -
SECAM-Lc<br>
io-mode : I/O mode<br>
flags: readable, writable<br>
Enum "GstV4l2IOMode" Default: 0,
"auto"<br>
(0): auto -
GST_V4L2_IO_AUTO<br>
(1): rw -
GST_V4L2_IO_RW<br>
(2): mmap -
GST_V4L2_IO_MMAP<br>
(3): userptr -
GST_V4L2_IO_USERPTR<br>
<br>
Element Signals:<br>
"prepare-format" : void user_function (GstElement* object,<br>
gint arg0,<br>
guint arg1,<br>
guint arg2,<br>
guint arg3,<br>
gpointer user_data);<br>
[ian@localhost ~]$ <br>
</div>
</div>
</div>
<br>
<br>
<div class="moz-cite-prefix">On 11/12/2012 12:15, Ian Davidson
wrote:<br>
</div>
<blockquote cite="mid:50C723CF.3010606@blueyonder.co.uk" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
Thanks,<br>
<br>
I changed the command to<br>
gst-launch-1.0 v4l2src norm=PAL !
'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<br>
and that then captured the video.<br>
<br>
<div class="moz-cite-prefix">On 11/12/2012 11:32, Krzysztof
Konopko wrote:<br>
</div>
<blockquote cite="mid:50C719B7.8050408@youview.com" type="cite">
<pre wrap="">Try using 'device' property of the v4l2src element.
For more info see:
gst-inspect-1.0 v4l2src
Kris
On 11/12/12 11:23, Ian Davidson wrote:
</pre>
<blockquote type="cite">
<pre wrap="">I suspect that GStreamer is not defaulting to the Composite1 source, but
some other - so how do I convince it to use the Composite1?
</pre>
</blockquote>
<pre wrap="">_______________________________________________
gstreamer-devel mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
--<br>
Ian Davidson<br>
<i>239 Streetsbrook Road, Solihull, West Midlands, B91 1HE</i><br>
--<br>
Facts used in this message may or may not reflect an underlying
objective reality. Facts are supplied for personal use only.<br>
Recipients quoting supplied information do so at their own risk.
Facts supplied may vary in whole or part from widely accepted
standards.<br>
While painstakingly researched, facts may or may not be
indicative of actually occurring events or natural phenomena.<br>
The author accepts no responsibility for personal loss or injury
resulting from memorisation and subsequent use. </div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
gstreamer-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre>
</blockquote>
<br>
<div class="moz-signature">-- <br>
--<br>
Ian Davidson<br>
<i>239 Streetsbrook Road, Solihull, West Midlands, B91 1HE</i><br>
--<br>
Facts used in this message may or may not reflect an underlying
objective reality. Facts are supplied for personal use only.<br>
Recipients quoting supplied information do so at their own risk.
Facts supplied may vary in whole or part from widely accepted
standards.<br>
While painstakingly researched, facts may or may not be indicative
of actually occurring events or natural phenomena.<br>
The author accepts no responsibility for personal loss or injury
resulting from memorisation and subsequent use.
</div>
</body>
</html>