Hi people!<div><br></div><div>I'm trying to use gst-rtsp-server to serve the video from a v4l2 device.</div><div><br></div><div>The device is fully supported. I can make a pipeline, following the code examples from gst-rtsp-server, in this way:</div>
<div><br></div><div>$ gst-launch-0.10 v4l2src device=/dev/video1 ! ffmpegcolorspace ! video/x-raw-yuv,width=320,height=240 ! fakesink</div><div><br></div><div>When I try to add one element more to the pipeline (ffenc_h263) to encode the video before it was added to the RTSP stream, I get this error:</div>
<div><br></div><div><div>$ gst-launch-0.10 v4l2src device=/dev/video1 ! ffmpegcolorspace ! video/x-raw-yuv,width=320,height=240 ! ffenc_h263 ! fakesink</div><div>WARNING: erroneous pipeline: could not link ffmpegcsp0 to ffenc_h2630</div>
</div><div><br></div><div>I read the source and sinks capabilities of ffmpegcolorspace and ffenc_263, and I think they are compatibles.</div><div><br></div><div>From ffmpegcolorspace source capabilities I have seen very much video/x-raw-yuv, video/x-raw-rgb and video/x-raw-gray posibilities, and from ffenc_h263 sink capabilities I have seen this:</div>
<div><br></div><div><div>video/x-raw-rgb</div><div>video/x-raw-yuv</div><div>video/x-raw-gray</div></div><div><br></div><div>I understand that ffenc_h263 must accept any raw video in rgb, yuv or gray... Do I make a mistake?</div>
<div><br></div><div>I'm trying to build the pipeline first with gst-launch to, when I have a success, use it as input to the command test-launch from the gst-rtsp-server distribution.</div><div><br></div><div><br></div>