<div dir="ltr">Hi Yaroslav.<br><br><div><div class="gmail_extra">You really should drop GStreamer-0.10 and start using a more recent GStreamer-1.0 version.<br><br></div><div class="gmail_extra">Besides that, your client has no way of knowing, what it is reading, so obviously, your ffmpegcolorspace has no way of knowing what it should be converting from. You need to add a format spec between filesrc and ffmpegcolorspace like<br><br><div style="margin-left:40px">'video/x-raw,format=I420,width=320,height=240.......'<br></div><br></div><div class="gmail_extra">Please <b>NOTE</b> the format spec shown here is in GStreamer-1.0 format, which is not compatible with GStreamer-0.10. However you can see the format when starting your server side.<br><br></div><div class="gmail_extra">Note that 'filesrc' has a typefind option, but obviously you can't detect the type of a stream consisting of raw video data, so this won't work.<br><br></div><div class="gmail_extra">Also note that using fifo files has some properties/effects that sometimes can be undesired. You will find out which when trying. Why not using tcpserversink and tcpclientsrc ?<br><br></div><div class="gmail_extra">Best regards<br></div><div class="gmail_extra">Peter<br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_quote">On Thu, Feb 4, 2016 at 9:07 AM, Yaroslav <span dir="ltr"><<a href="mailto:yaroslavrakhnenko@gmail.com" target="_blank">yaroslavrakhnenko@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Server and Client are on the same machine.I need<br>
On server I need to read data from v4l2src and write it in socket, on client<br>
- read data from soket and write it in file.<br>
<br>
Server:<br>
gst-launch-0.10 v4l2src device=/dev/video0 ! filesink location=/home/pipe<br>
<br>
Client:<br>
gst-launch-0.10 filesrc location=/home/pipe ! ffmpegcolorspace  ! jpegenc !<br>
avimux ! filesink location=/home/video.avi<br>
<br>
<br>
<br>
When server run container in "PAUSED...". When i start client:<br>
<br>
gstbasetransform.c(2541): gst_base_transform_handle_buffer ():<br>
/GstPipeline:pipeline0/GstFFMpegCsp:ffmpegcsp0:<br>
not negotiated<br>
<br>
after it client and server close. What am I doing wrong?<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/Video-Streaming-over-socket-tp4675658.html" rel="noreferrer" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/Video-Streaming-over-socket-tp4675658.html</a><br>
Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div><br></div></div></div>