<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 02/07/2012 10:05 PM, Luca Della Ghezza wrote:
<blockquote cite="mid:1328648727.28942.11.camel@pc-cuarto"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="GENERATOR" content="GtkHTML/3.28.3">
Hi to all!<br>
I'm tryng to write a simple intranet videochat script in bash, it
just connects 2 pc in a lan trough ssh and using gst-launch the
script opens the remote cam and shows the image on the local pc.
It's quite easy using a pipe like this:<br>
<br>
gst-launch v4l2src ! videoscale !
video/x-raw-yuv,width=320,height=240, framerate=30/1 !
ffmpegcolorspace ! jpegenc ! tcpserversink host=$MyIp port=1000<br>
(I use tcp because the router filters udp)<br>
<br>
That works, but if the remote pc has the cam on a device that is
not /dev/vide0 the pipe can't shows the image of the web cam. I
have to specify in the pipe device=/dev/video1.<br>
So I tried the autovideosrc option, but no way the pipe is still
showing the /dev/video0 device, even if in gstreamer-properties
the video input device defined is the usb web cam.<br>
</blockquote>
the settings done in gstreamer-properties would affect
gconfvideosource /gsettingsvideosrc. One more question, is there a
/dev/video0? If not v4l2src could probably be enhanced to try
/dev/video1 and so on automatically.<br>
<br>
Stefan<br>
<br>
<blockquote cite="mid:1328648727.28942.11.camel@pc-cuarto"
type="cite">
<br>
How can I do to obtain an automatic detection of the web cam
device in the pipe?<br>
<br>
Thx a lot for your help.<br>
<br>
luquino.
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
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>
</body>
</html>